ed9522eaa1
- LED 표시, 전원 홀드, 버튼 길게 누름으로 RF 테스트 중지, UART/RTT 빌드 타깃 정리
34 lines
634 B
C
34 lines
634 B
C
/**
|
|
* Custom board definition for the nRF52840 DTM UART test image.
|
|
*/
|
|
#ifndef CUSTOM_BOARD_H
|
|
#define CUSTOM_BOARD_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "nrf_gpio.h"
|
|
|
|
#define LEDS_NUMBER 0
|
|
#define LEDS_ACTIVE_STATE 0
|
|
#define LEDS_LIST {}
|
|
#define LEDS_INV_MASK 0
|
|
|
|
#define BUTTONS_NUMBER 0
|
|
#define BUTTON_PULL NRF_GPIO_PIN_NOPULL
|
|
#define BUTTONS_ACTIVE_STATE 0
|
|
#define BUTTONS_LIST {}
|
|
|
|
#define RX_PIN_NUMBER NRF_GPIO_PIN_MAP(0,7)
|
|
#define TX_PIN_NUMBER NRF_GPIO_PIN_MAP(0,6)
|
|
#define CTS_PIN_NUMBER UART_PIN_DISCONNECTED
|
|
#define RTS_PIN_NUMBER UART_PIN_DISCONNECTED
|
|
#define HWFC false
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|