add LED status, remove unused macros

This commit is contained in:
Yihui Xiong 2020-07-11 10:51:31 +08:00
parent 7ff499046b
commit 8e26fdc0e9
2 changed files with 4 additions and 4 deletions

View File

@ -27,11 +27,11 @@
#include "nrfx/hal/nrf_gpio.h"
#define MAKERDIARYM60KEYBOARD
#define MICROPY_HW_BOARD_NAME "Makerdiary M60 Keyboard"
#define MICROPY_HW_MCU_NAME "nRF52840"
#define MICROPY_HW_LED_STATUS (&pin_P0_30)
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(1, 10)
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(1, 14)
#define MICROPY_QSPI_DATA2 NRF_GPIO_PIN_MAP(1, 15)

View File

@ -27,11 +27,11 @@
#include "nrfx/hal/nrf_gpio.h"
#define MAKERDIARYNRF52840M2DEVKIT
#define MICROPY_HW_BOARD_NAME "Makerdiary nRF52840 M.2 Developer Kit"
#define MICROPY_HW_MCU_NAME "nRF52840"
#define MICROPY_HW_LED_STATUS (&pin_P0_30)
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(1, 10)
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(1, 14)
#define MICROPY_QSPI_DATA2 NRF_GPIO_PIN_MAP(1, 15)