mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 14:12:50 +00:00
+ The VBLUno52 board nRF52832 ARM Cortex-M4F processor Bluetooth Low Energy 5.0 DAPLink interface UNO pinout 4 power + The following samples were tested: hello_world basic/button basic/blinky bluetooth/peripheral_hr bluetooth/beacon Signed-off-by: Nam Do <robotden@gmail.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
26 lines
526 B
C
26 lines
526 B
C
/*
|
|
* Copyright (c) 2017 VNG IoT Lab Limited.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __INC_BOARD_H
|
|
#define __INC_BOARD_H
|
|
|
|
#include <soc.h>
|
|
|
|
/* Button*/
|
|
#define BUT_GPIO_PIN 17
|
|
#define BUT_GPIO_NAME CONFIG_GPIO_NRF5_P0_DEV_NAME
|
|
#define SW0_GPIO_PIN BUT_GPIO_PIN
|
|
#define SW0_GPIO_NAME BUT_GPIO_NAME
|
|
|
|
/* Onboard GREEN LED 0 */
|
|
#define LED0_GPIO_PIN 12
|
|
#define LED0_GPIO_PORT CONFIG_GPIO_NRF5_P0_DEV_NAME
|
|
|
|
#define LED_GPIO_PIN LED0_GPIO_PIN
|
|
#define LED_GPIO_PORT LED0_GPIO_PORT
|
|
|
|
#endif /* __INC_BOARD_H */
|