Files
DTM_Firmware/nRF5_SDK_17.1.0_ddde560/components/boards/custom_board.h
T
jh.chun ed9522eaa1 커스텀 nRF52840 보드용 DTM 추가(RTT, 전원, LED)
- LED 표시, 전원 홀드, 버튼 길게 누름으로 RF 테스트 중지, UART/RTT 빌드 타깃 정리
2026-05-18 17:51:36 +09:00

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