forked from Beckhoff/BBAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_cx2030_cx2100-0904.h
41 lines (34 loc) · 1.27 KB
/
config_cx2030_cx2100-0904.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// SPDX-License-Identifier: MIT
/**
Beckhoff BIOS API driver to access hwmon sensors for Beckhoff IPCs
Copyright (C) 2014 - 2019 Beckhoff Automation GmbH & Co. KG
Author: Patrick Bruenn <[email protected]>
*/
#ifndef TEST_DEVICE
#define TEST_DEVICE 0x21000904
/** general configuration */
#define CONFIG_GENERAL_BOARDINFO {"CX20x0\0", 2, 1, 100}
#define CONFIG_GENERAL_BOARDNAME "CX20x0\0\0\0\0\0\0\0\0\0"
#define CONFIG_GENERAL_VERSION {2, 11, 1}
/** PWRCTRL configuration */
#define CONFIG_PWRCTRL_LAST_SHUTDOWN_ENABLED 1
#define CONFIG_PWRCTRL_BL_REVISION {0, 14, 0}
#define CONFIG_PWRCTRL_FW_REVISION {0, 17, 54}
#define CONFIG_PWRCTRL_DEVICE_ID 0xD
#define CONFIG_PWRCTRL_SERIAL "09922514060066"
#define CONFIG_PWRCTRL_PRODUCTION_DATE {16, 14}
#define CONFIG_PWRCTRL_TEST_COUNT 1
#define CONFIG_PWRCTRL_TEST_NUMBER "120200"
/** S-UPS configuration */
#define CONFIG_SUPS_DISABLED 1
/** CX Power Supply configuration */
#define CONFIG_CXPWRSUPP_TYPE 904
#define CONFIG_CXPWRSUPP_SERIALNO 834
#define CONFIG_CXPWRSUPP_FWVERSION {5, 0}
/** LED configuration */
#define CONFIG_LED_TC_ENABLED 0
#define CONFIG_LED_USER_ENABLED 0
#else
#define TEST_DEVICE /* redefine to get a nice warning from gcc */
#error "TEST_DEVICE was already defined"
#endif /* #ifndef TEST_DEVICE */