group more nrf boards

This commit is contained in:
hathach
2020-11-28 00:45:44 +07:00
parent 4130c50b01
commit 658194ccc4
20 changed files with 131 additions and 818 deletions

View File

@@ -34,15 +34,16 @@
#define _PINNUM(port, pin) ((port)*32 + (pin))
// LED
#define LED_PIN _PINNUM(1, 1)
#define LED_STATE_ON 1
#define LED_PIN _PINNUM(1, 1)
#define LED_STATE_ON 1
// Button
#define BUTTON_PIN _PINNUM(1, 02)
#define BUTTON_PIN _PINNUM(1, 02)
#define BUTTON_STATE_ACTIVE 0
// UART
#define UART_RX_PIN 4
#define UART_TX_PIN 5
#define UART_RX_PIN 4
#define UART_TX_PIN 5
#ifdef __cplusplus
}