Merge pull request #703 from iabdalkader/micro_names

Add MICROPY_HW_MICRO_NAME to boards config
This commit is contained in:
Paul Sokolovsky 2014-06-27 01:19:17 +03:00
commit 3659af97c5
7 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#define HYDRABUSV10 #define HYDRABUSV10
#define MICROPY_HW_BOARD_NAME "HydraBus1.0" #define MICROPY_HW_BOARD_NAME "HydraBus1.0"
#define MICROPY_HW_MICRO_NAME "STM32F4"
#define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (1) #define MICROPY_HW_HAS_SDCARD (1)

View File

@ -1,6 +1,7 @@
#define NETDUINO_PLUS_2 #define NETDUINO_PLUS_2
#define MICROPY_HW_BOARD_NAME "NetduinoPlus2" #define MICROPY_HW_BOARD_NAME "NetduinoPlus2"
#define MICROPY_HW_MICRO_NAME "STM32F405RG"
#define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_SWITCH (1)

View File

@ -1,6 +1,7 @@
#define PYBV10 #define PYBV10
#define MICROPY_HW_BOARD_NAME "PYBv1.0" #define MICROPY_HW_BOARD_NAME "PYBv1.0"
#define MICROPY_HW_MICRO_NAME "STM32F405RG"
#define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (1) #define MICROPY_HW_HAS_SDCARD (1)

View File

@ -1,6 +1,7 @@
#define PYBV3 #define PYBV3
#define MICROPY_HW_BOARD_NAME "PYBv3" #define MICROPY_HW_BOARD_NAME "PYBv3"
#define MICROPY_HW_MICRO_NAME "STM32F405RG"
#define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (1) #define MICROPY_HW_HAS_SDCARD (1)

View File

@ -1,6 +1,7 @@
#define PYBV4 #define PYBV4
#define MICROPY_HW_BOARD_NAME "PYBv4" #define MICROPY_HW_BOARD_NAME "PYBv4"
#define MICROPY_HW_MICRO_NAME "STM32F405RG"
#define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (1) #define MICROPY_HW_HAS_SDCARD (1)

View File

@ -1,6 +1,7 @@
#define STM32F4DISC #define STM32F4DISC
#define MICROPY_HW_BOARD_NAME "F4DISC" #define MICROPY_HW_BOARD_NAME "F4DISC"
#define MICROPY_HW_MICRO_NAME "STM32F407"
#define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (0) #define MICROPY_HW_HAS_SDCARD (0)

View File

@ -185,7 +185,7 @@ int pyexec_friendly_repl(void) {
#endif #endif
friendly_repl_reset: friendly_repl_reset:
stdout_tx_str("Micro Python " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; " MICROPY_HW_BOARD_NAME " with STM32F405RG\r\n"); stdout_tx_str("Micro Python " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; " MICROPY_HW_BOARD_NAME " with " MICROPY_HW_MICRO_NAME "\r\n");
stdout_tx_str("Type \"help()\" for more information.\r\n"); stdout_tx_str("Type \"help()\" for more information.\r\n");
// to test ctrl-C // to test ctrl-C