Contiki-NG
Files

Files

file  nrf52840-board-def.h
 Platform features configuration.
 

Leds configurations

On nRF52dk all leds are green.

#define PLATFORM_HAS_LEDS   1
 
#define LEDS_CONF_COUNT   4
 
#define LEDS_CONF_GREEN   1
 

Button configurations

#define PLATFORM_HAS_BUTTON   1
 
#define PLATFORM_SUPPORTS_BUTTON_HAL   1
 
#define PLATFORM_RTC_INSTANCE_ID   0
 nRF52 RTC instance to be used for Contiki clock driver.
 
#define PLATFORM_TIMER_INSTANCE_ID   0
 nRF52 timer instance to be used for Contiki rtimer driver.
 

UART0 Pin configurations

#define NRF_UART0_TX_PIN   6
 
#define NRF_UART0_RX_PIN   8
 

Detailed Description