finish nimble blehr porting and do some kernel improve
This commit is contained in:
46
board/Nordic_NRF52832/BSP/Inc/main.h
Normal file
46
board/Nordic_NRF52832/BSP/Inc/main.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/* Copyright (c) 2012 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 MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
|
||||
#include "tos.h"
|
||||
#include "nrf_gpio.h"
|
||||
|
||||
#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 BUTTON_START 16
|
||||
#define BUTTON_0 16
|
||||
#define BUTTON_1 17
|
||||
#define BUTTON_STOP 17
|
||||
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
|
||||
|
||||
//Board
|
||||
#define RX_PIN_NUMBER 11
|
||||
#define TX_PIN_NUMBER 9
|
||||
#define CTS_PIN_NUMBER 10
|
||||
#define RTS_PIN_NUMBER 8
|
||||
//Module
|
||||
//#define RX_PIN_NUMBER 5
|
||||
//#define TX_PIN_NUMBER 6
|
||||
//#define CTS_PIN_NUMBER 7
|
||||
//#define RTS_PIN_NUMBER 12
|
||||
//#define HWFC true
|
||||
#define HWFC false
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user