Contiki-NG
sl_board_control_config.h
1#ifndef SL_BOARD_CONTROL_CONFIG_H
2#define SL_BOARD_CONTROL_CONFIG_H
3
4// <<< Use Configuration Wizard in Context Menu >>>
5
6// <q SL_BOARD_ENABLE_VCOM> Enable Virtual COM UART
7// <i> Default: 0
8#define SL_BOARD_ENABLE_VCOM 1
9
10// <q SL_BOARD_ENABLE_DISPLAY> Enable Display
11// <i> Default: 0
12#define SL_BOARD_ENABLE_DISPLAY 0
13
14// <q SL_BOARD_ENABLE_SENSOR_RHT> Enable Relative Humidity and Temperature sensor
15// <i> Default: 0
16#define SL_BOARD_ENABLE_SENSOR_RHT 0
17
18// <q SL_BOARD_DISABLE_MEMORY_SPI> Disable SPI Flash
19// <i> Default: 1
20#define SL_BOARD_DISABLE_MEMORY_SPI 1
21
22// <<< end of configuration section >>>
23
24// <<< sl:start pin_tool >>>
25
26// <gpio> SL_BOARD_ENABLE_VCOM
27// $[GPIO_SL_BOARD_ENABLE_VCOM]
28#define SL_BOARD_ENABLE_VCOM_PORT gpioPortA
29#define SL_BOARD_ENABLE_VCOM_PIN 5
30// [GPIO_SL_BOARD_ENABLE_VCOM]$
31
32// <gpio> SL_BOARD_ENABLE_DISPLAY
33// $[GPIO_SL_BOARD_ENABLE_DISPLAY]
34#define SL_BOARD_ENABLE_DISPLAY_PORT gpioPortD
35#define SL_BOARD_ENABLE_DISPLAY_PIN 15
36// [GPIO_SL_BOARD_ENABLE_DISPLAY]$
37
38// <gpio> SL_BOARD_ENABLE_SENSOR_RHT
39// $[GPIO_SL_BOARD_ENABLE_SENSOR_RHT]
40#define SL_BOARD_ENABLE_SENSOR_RHT_PORT gpioPortB
41#define SL_BOARD_ENABLE_SENSOR_RHT_PIN 10
42// [GPIO_SL_BOARD_ENABLE_SENSOR_RHT]$
43
44// <<< sl:end pin_tool >>>
45
46#endif // SL_BOARD_CONTROL_CONFIG_H