Commit 3659af97 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Merge pull request #703 from iabdalkader/micro_names

Add MICROPY_HW_MICRO_NAME to boards config
parents 16ac4962 fe81eea9
#define HYDRABUSV10
#define MICROPY_HW_BOARD_NAME "HydraBus1.0"
#define MICROPY_HW_MICRO_NAME "STM32F4"
#define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (1)
......
#define NETDUINO_PLUS_2
#define MICROPY_HW_BOARD_NAME "NetduinoPlus2"
#define MICROPY_HW_MICRO_NAME "STM32F405RG"
#define MICROPY_HW_HAS_SWITCH (1)
......
#define PYBV10
#define MICROPY_HW_BOARD_NAME "PYBv1.0"
#define MICROPY_HW_MICRO_NAME "STM32F405RG"
#define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (1)
......
#define PYBV3
#define MICROPY_HW_BOARD_NAME "PYBv3"
#define MICROPY_HW_MICRO_NAME "STM32F405RG"
#define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (1)
......
#define PYBV4
#define MICROPY_HW_BOARD_NAME "PYBv4"
#define MICROPY_HW_MICRO_NAME "STM32F405RG"
#define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (1)
......
#define STM32F4DISC
#define MICROPY_HW_BOARD_NAME "F4DISC"
#define MICROPY_HW_MICRO_NAME "STM32F407"
#define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (0)
......
......@@ -185,7 +185,7 @@ int pyexec_friendly_repl(void) {
#endif
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");
// to test ctrl-C
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment