커스텀 nRF52840 보드용 DTM 추가(RTT, 전원, LED)

- LED 표시, 전원 홀드, 버튼 길게 누름으로 RF 테스트 중지, UART/RTT 빌드 타깃 정리
This commit is contained in:
2026-05-18 17:51:36 +09:00
commit ed9522eaa1
18 changed files with 14440 additions and 0 deletions
@@ -0,0 +1,33 @@
/**
* 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