From 00f0f13e12d3a110cc7807215c49fe3cfdf77565 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 Sep 2015 11:53:40 +0100 Subject: fish --- bootloader/bsp/ble400.h | 112 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 bootloader/bsp/ble400.h (limited to 'bootloader/bsp/ble400.h') diff --git a/bootloader/bsp/ble400.h b/bootloader/bsp/ble400.h new file mode 100644 index 0000000..4c8866b --- /dev/null +++ b/bootloader/bsp/ble400.h @@ -0,0 +1,112 @@ +/* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved. + * + * The information contained herein is property of Nordic Semiconductor ASA. + * Terms and conditions of usage are described in detail in NORDIC + * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. + * + * Licensees are granted free, non-transferable use of the information. NO + * WARRANTY of ANY KIND is provided. This heading must NOT be removed from + * the file. + * + */ +#ifndef BLE400_H +#define BLE400_H + +// LEDs definitions for BLE400 +#define LEDS_NUMBER 4 + +#define LED_START 18 +#define LED_0 18 +#define LED_1 19 +#define LED_2 20 +#define LED_3 21 +#define LED_4 22 +#define LED_STOP 22 + +#define LEDS_LIST { LED_0, LED_1, LED_2, LED_3, LED_4 } + +#define BSP_LED_0 LED_0 +#define BSP_LED_1 LED_1 +#define BSP_LED_2 LED_2 +#define BSP_LED_3 LED_3 +#define BSP_LED_4 LED_4 + +#define BSP_LED_0_MASK (1<