Skip to content

Commit 8e26fdc

Browse files
committed
add LED status, remove unused macros
1 parent 7ff4990 commit 8e26fdc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ports/nrf/boards/makerdiary_m60_keyboard/mpconfigboard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727

2828
#include "nrfx/hal/nrf_gpio.h"
2929

30-
#define MAKERDIARYM60KEYBOARD
31-
3230
#define MICROPY_HW_BOARD_NAME "Makerdiary M60 Keyboard"
3331
#define MICROPY_HW_MCU_NAME "nRF52840"
3432

33+
#define MICROPY_HW_LED_STATUS (&pin_P0_30)
34+
3535
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(1, 10)
3636
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(1, 14)
3737
#define MICROPY_QSPI_DATA2 NRF_GPIO_PIN_MAP(1, 15)

ports/nrf/boards/makerdiary_nrf52840_m2_devkit/mpconfigboard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727

2828
#include "nrfx/hal/nrf_gpio.h"
2929

30-
#define MAKERDIARYNRF52840M2DEVKIT
31-
3230
#define MICROPY_HW_BOARD_NAME "Makerdiary nRF52840 M.2 Developer Kit"
3331
#define MICROPY_HW_MCU_NAME "nRF52840"
3432

33+
#define MICROPY_HW_LED_STATUS (&pin_P0_30)
34+
3535
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(1, 10)
3636
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(1, 14)
3737
#define MICROPY_QSPI_DATA2 NRF_GPIO_PIN_MAP(1, 15)

0 commit comments

Comments
 (0)