nrf52: Set names to be used on PWM0-2 in board config. For nrf52840, the PWM3 is excluded as repo does not have latest headers to reflect this yet. Bump up to be done soon.

This commit is contained in:
Glenn Ruben Bakke 2016-12-17 01:27:58 +01:00
parent dd9812e1e9
commit b350dc5198
2 changed files with 10 additions and 0 deletions

View File

@ -64,5 +64,8 @@
#define MICROPY_HW_SPI0_MISO (24) // A24 (Arduino D12)
#define MICROPY_HW_SPI0_NSS (22) // A22 (Arduino D10)
#define MICROPY_HW_PWM0_NAME "PWM0"
#define MICROPY_HW_PWM1_NAME "PWM1"
#define MICROPY_HW_PWM2_NAME "PWM2"
#define HELP_TEXT_BOARD_LED "1,2,3,4"

View File

@ -59,4 +59,11 @@
#define MICROPY_HW_UART1_RTS (5)
#define MICROPY_HW_UART1_HWFC (1)
#define MICROPY_HW_PWM0_NAME "PWM0"
#define MICROPY_HW_PWM1_NAME "PWM1"
#define MICROPY_HW_PWM2_NAME "PWM2"
#if 0
#define MICROPY_HW_PWM3_NAME "PWM3"
#endif
#define HELP_TEXT_BOARD_LED "1,2,3,4"