zephyr/boards/arm/nrf52_vbluno52/board.h
Nam Do 92dacb2a62 boards: arm: Add support for the VBLUno52 board
+ 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>
2017-07-14 08:40:44 -05:00

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 */