Revision 3cb82b1a
core/src/aos_system.c | ||
---|---|---|
265 | 265 |
|
266 | 266 |
// print static information about module and operating system |
267 | 267 |
_printSystemInfoSeparator(stream, '=', SYSTEM_INFO_WIDTH); |
268 |
#ifdef BOARD_VERSION |
|
269 |
_printSystemInfoLine(stream, "Module", SYSTEM_INFO_NAMEWIDTH, "%s (v%s)", BOARD_NAME, BOARD_VERSION); |
|
270 |
#else |
|
271 | 268 |
_printSystemInfoLine(stream, "Module", SYSTEM_INFO_NAMEWIDTH, "%s", BOARD_NAME); |
272 |
#endif |
|
273 | 269 |
#ifdef PLATFORM_NAME |
274 | 270 |
_printSystemInfoLine(stream, "Platform", SYSTEM_INFO_NAMEWIDTH, "%s", PLATFORM_NAME); |
275 | 271 |
#endif |
modules/DiWheelDrive_1-1/board.h | ||
---|---|---|
34 | 34 |
/* |
35 | 35 |
* Board identifier. |
36 | 36 |
*/ |
37 |
#define BOARD_DIWHEELDRIVE |
|
38 |
#define BOARD_NAME "AMiRo DiWheelDrive" |
|
39 |
#define BOARD_VERSION "1.1" |
|
37 |
#define BOARD_DIWHEELDRIVE_1_1 |
|
38 |
#define BOARD_NAME "AMiRo DiWheelDrive v1.1" |
|
40 | 39 |
|
41 | 40 |
/* |
42 | 41 |
* Board oscillators-related settings. |
modules/DiWheelDrive_1-1/mcuconf.h | ||
---|---|---|
19 | 19 |
#ifndef MCUCONF_H |
20 | 20 |
#define MCUCONF_H |
21 | 21 |
|
22 |
#define STM32F103_MCUCONF |
|
23 |
|
|
24 | 22 |
/* |
25 | 23 |
* STM32F103 drivers configuration. |
26 | 24 |
* The following settings override the default settings present in |
... | ... | |
35 | 33 |
* 0...3 Lowest...Highest. |
36 | 34 |
*/ |
37 | 35 |
|
36 |
#define STM32F103_MCUCONF |
|
37 |
|
|
38 | 38 |
/* |
39 | 39 |
* HAL driver system settings. |
40 | 40 |
*/ |
modules/LightRing_1-0/board.h | ||
---|---|---|
34 | 34 |
/* |
35 | 35 |
* Board identifier. |
36 | 36 |
*/ |
37 |
#define BOARD_LIGHTRING |
|
38 |
#define BOARD_NAME "AMiRo LightRing" |
|
39 |
#define BOARD_VERSION "1.0" |
|
37 |
#define BOARD_LIGHTRING_1_0 |
|
38 |
#define BOARD_NAME "AMiRo LightRing v1.0" |
|
40 | 39 |
|
41 | 40 |
/* |
42 | 41 |
* Board oscillators-related settings. |
modules/LightRing_1-0/mcuconf.h | ||
---|---|---|
19 | 19 |
#ifndef MCUCONF_H |
20 | 20 |
#define MCUCONF_H |
21 | 21 |
|
22 |
#define STM32F103_MCUCONF |
|
23 |
|
|
24 | 22 |
/* |
25 | 23 |
* STM32F103 drivers configuration. |
26 | 24 |
* The following settings override the default settings present in |
... | ... | |
35 | 33 |
* 0...3 Lowest...Highest. |
36 | 34 |
*/ |
37 | 35 |
|
36 |
#define STM32F103_MCUCONF |
|
37 |
|
|
38 | 38 |
/* |
39 | 39 |
* HAL driver system settings. |
40 | 40 |
*/ |
modules/NUCLEO-L476RG/board.h | ||
---|---|---|
32 | 32 |
*/ |
33 | 33 |
#define BOARD_ST_NUCLEO64_L476RG |
34 | 34 |
#define BOARD_NAME "STMicroelectronics STM32 Nucleo64-L476RG" |
35 |
#define BOARD_VERSION "1.0" |
|
36 | 35 |
|
37 | 36 |
/* |
38 | 37 |
* Board oscillators-related settings. |
modules/PowerManagement_1-1/board.h | ||
---|---|---|
34 | 34 |
/* |
35 | 35 |
* Board identifier. |
36 | 36 |
*/ |
37 |
#define BOARD_POWERMANAGEMENT |
|
38 |
#define BOARD_NAME "AMiRo PowerManagement" |
|
39 |
#define BOARD_VERSION "1.1" |
|
37 |
#define BOARD_POWERMANAGEMENT_1_1 |
|
38 |
#define BOARD_NAME "AMiRo PowerManagement v1.1" |
|
40 | 39 |
|
41 | 40 |
/* |
42 | 41 |
* Board oscillators-related settings. |
modules/PowerManagement_1-1/mcuconf.h | ||
---|---|---|
19 | 19 |
#ifndef MCUCONF_H |
20 | 20 |
#define MCUCONF_H |
21 | 21 |
|
22 |
#define STM32F4xx_MCUCONF |
|
23 |
|
|
24 |
/* |
|
25 |
* Some old revisions of F4x MCU randomly chrashes with certain compiler options enabled. |
|
26 |
* This flag makes the kernel dynamically detect the MCUs ID code and CPU ID and react accordingly. |
|
27 |
* (see ChibiOS kernel: os/hal/ports/STM32/STM32F4xx/hal_lld.c) |
|
28 |
*/ |
|
29 |
#define STM32_USE_REVISION_A_FIX |
|
30 |
|
|
31 | 22 |
/* |
32 | 23 |
* STM32F4xx drivers configuration. |
33 | 24 |
* The following settings override the default settings present in |
... | ... | |
42 | 33 |
* 0...3 Lowest...Highest. |
43 | 34 |
*/ |
44 | 35 |
|
36 |
#define STM32F4xx_MCUCONF |
|
37 |
|
|
38 |
/* |
|
39 |
* Some old revisions of F4x MCU randomly chrashes with certain compiler options enabled. |
|
40 |
* This flag makes the kernel dynamically detect the MCUs ID code and CPU ID and react accordingly. |
|
41 |
* (see ChibiOS kernel: os/hal/ports/STM32/STM32F4xx/hal_lld.c) |
|
42 |
*/ |
|
43 |
#define STM32_USE_REVISION_A_FIX |
|
44 |
|
|
45 | 45 |
/* |
46 | 46 |
* HAL driver system settings. |
47 | 47 |
*/ |
Also available in: Unified diff