Wirepas SDK
board.h
Go to the documentation of this file.
1 /* Copyright 2019 Wirepas Ltd. All Rights Reserved.
2  *
3  * See file LICENSE.txt for full license details.
4  *
5  */
6 
13 #ifndef BOARD_UBLOX_B204_H_
14 #define BOARD_UBLOX_B204_H_
15 
16 // Serial port pins
17 #define BOARD_USART_TX_PIN 6
18 #define BOARD_USART_RX_PIN 5
19 #define BOARD_USART_CTS_PIN 7 /* For USE_USART_HW_FLOW_CONTROL */
20 #define BOARD_USART_RTS_PIN 31 /* For USE_USART_HW_FLOW_CONTROL */
21 
22 /* List of GPIO pins for the LEDs on the B204 board:
23 LED B204 / nrf52832 pin
24 GREEN: GPIO_7 / P0.16
25 RED: GPIO_1 / P0.08
26 BLUE: GPIO_8 / P0.18
27 */
28 #define BOARD_LED_PIN_LIST {16, 8, 18}
29 
30 // The board supports DCDC (#define BOARD_SUPPORT_DCDC)
31 // Since SDK v1.2 (bootloader > v7) this option has been move to
32 // board/<board_name>/config.mk. Set board_hw_dcdc to yes to enable DCDC.
33 #ifdef BOARD_SUPPORT_DCDC
34 #error This option has been moved to board/<board_name>/config.mk
35 #endif
36 
37 
38 #endif /* BOARD_UBLOX_B204_H_ */