Remove NINA targets

pull/12864/head
Marcelo Salazar 2020-04-28 09:03:45 +01:00
parent d7d4589597
commit c2645ef423
5 changed files with 0 additions and 331 deletions

View File

@ -1,109 +0,0 @@
#ifndef MBED_PINNAMES_H
#define MBED_PINNAMES_H
#include "cmsis.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
PIN_INPUT,
PIN_OUTPUT
} PinDirection;
typedef enum {
// nRF52 pin names
p0 = 0,
p1 = 1,
p2 = 2,
p3 = 3,
p4 = 4,
p5 = 5,
p6 = 6,
p7 = 7,
p8 = 8,
p9 = 9,
p10 = 10,
p11 = 11,
p12 = 12,
p13 = 13,
p14 = 14,
p15 = 15,
p16 = 16,
p17 = 17,
p18 = 18,
p19 = 19,
p20 = 20,
p21 = 21,
p22 = 22,
p23 = 23,
p24 = 24,
p25 = 25,
p26 = 26,
p27 = 27,
p28 = 28,
p29 = 29,
p30 = 30,
p31 = 31,
NC = (int)0xFFFFFFFF, // Not connected
//NINA-B1 module pin names
NINA_B1_GPIO_1 = p8,
NINA_B1_GPIO_2 = p11,
NINA_B1_GPIO_3 = p12,
NINA_B1_GPIO_4 = p13,
NINA_B1_GPIO_5 = p14,
NINA_B1_GPIO_7 = p16,
NINA_B1_GPIO_8 = p18,
NINA_B1_GPIO_16 = p28,
NINA_B1_GPIO_17 = p29,
NINA_B1_GPIO_18 = p30,
NINA_B1_GPIO_20 = p31,
NINA_B1_GPIO_21 = p7,
NINA_B1_GPIO_22 = p6,
NINA_B1_GPIO_23 = p5,
NINA_B1_GPIO_24 = p2,
NINA_B1_GPIO_25 = p3,
NINA_B1_GPIO_27 = p4,
NINA_B1_GPIO_28 = p9,
NINA_B1_GPIO_29 = p10,
// Board pins
LED1 = NINA_B1_GPIO_7, // ORANGE
LED2 = NC,
LED3 = NC,
LED4 = NC,
// Nordic SDK pin names
RX_PIN_NUMBER = p5,
TX_PIN_NUMBER = p6,
CTS_PIN_NUMBER = p7,
RTS_PIN_NUMBER = p31,
STDIO_UART_TX = TX_PIN_NUMBER,
STDIO_UART_RX = RX_PIN_NUMBER,
STDIO_UART_CTS = CTS_PIN_NUMBER,
STDIO_UART_RTS = RTS_PIN_NUMBER,
I2C_SDA0 = p2,
I2C_SCL0 = p3,
// mBed interface pins
USBTX = TX_PIN_NUMBER,
USBRX = RX_PIN_NUMBER
} PinName;
typedef enum {
PullNone = 0,
PullDown = 1,
PullUp = 3,
PullDefault = PullUp
} PinMode;
#ifdef __cplusplus
}
#endif
#endif

View File

@ -1,23 +0,0 @@
// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches.
// Check the 'features' section of the target description in 'targets.json' for more details.
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MBED_DEVICE_H
#define MBED_DEVICE_H
#include "objects.h"
#endif

View File

@ -1,129 +0,0 @@
#ifndef MBED_PINNAMES_H
#define MBED_PINNAMES_H
#include "cmsis.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
PIN_INPUT,
PIN_OUTPUT
} PinDirection;
typedef enum {
// nRF52 pin names
p0 = 0,
p1 = 1,
p2 = 2,
p3 = 3,
p4 = 4,
p5 = 5,
p6 = 6,
p7 = 7,
p8 = 8,
p9 = 9,
p10 = 10,
p11 = 11,
p12 = 12,
p13 = 13,
p14 = 14,
p15 = 15,
p16 = 16,
p17 = 17,
p18 = 18,
p19 = 19,
p20 = 20,
p21 = 21,
p22 = 22,
p23 = 23,
p24 = 24,
p25 = 25,
p26 = 26,
p27 = 27,
p28 = 28,
p29 = 29,
p30 = 30,
p31 = 31,
NC = (int)0xFFFFFFFF, // Not connected
//NINA-B1 module pin names
NINA_B1_GPIO_1 = p8,
NINA_B1_GPIO_2 = p11,
NINA_B1_GPIO_3 = p12,
NINA_B1_GPIO_4 = p13,
NINA_B1_GPIO_5 = p14,
NINA_B1_GPIO_7 = p16,
NINA_B1_GPIO_8 = p18,
NINA_B1_GPIO_16 = p28,
NINA_B1_GPIO_17 = p29,
NINA_B1_GPIO_18 = p30,
NINA_B1_GPIO_20 = p31,
NINA_B1_GPIO_21 = p7,
NINA_B1_GPIO_22 = p6,
NINA_B1_GPIO_23 = p5,
NINA_B1_GPIO_24 = p2,
NINA_B1_GPIO_25 = p3,
NINA_B1_GPIO_27 = p4,
NINA_B1_GPIO_28 = p9,
NINA_B1_GPIO_29 = p10,
// EVK-NINA-B1 board
LED1 = NINA_B1_GPIO_1, // Red
LED2 = NINA_B1_GPIO_7, // Green/SW1
LED3 = NINA_B1_GPIO_8, // Blue
LED4 = NINA_B1_GPIO_8,
SW1 = NINA_B1_GPIO_7,
SW2 = NINA_B1_GPIO_18,
D0 = NINA_B1_GPIO_23,
D1 = NINA_B1_GPIO_22,
D2 = NINA_B1_GPIO_21,
D3 = NINA_B1_GPIO_20,
D4 = NINA_B1_GPIO_8,
D5 = NC, // SWDIO
D6 = NINA_B1_GPIO_28,
D7 = NINA_B1_GPIO_29,
D8 = NC, // SWDCLK
D9 = NINA_B1_GPIO_1,
D10 = NINA_B1_GPIO_2,
D11 = NINA_B1_GPIO_4,
D12 = NINA_B1_GPIO_3,
D13 = NINA_B1_GPIO_5,
D14 = NINA_B1_GPIO_24,
D15 = NINA_B1_GPIO_25,
A0 = NINA_B1_GPIO_25,
A1 = NINA_B1_GPIO_24,
A2 = NINA_B1_GPIO_27,
A3 = NINA_B1_GPIO_18,
A4 = NINA_B1_GPIO_17,
A5 = NINA_B1_GPIO_16,
// Nordic SDK pin names
RX_PIN_NUMBER = p5,
TX_PIN_NUMBER = p6,
CTS_PIN_NUMBER = p7,
RTS_PIN_NUMBER = p31,
STDIO_UART_TX = TX_PIN_NUMBER,
STDIO_UART_RX = RX_PIN_NUMBER,
STDIO_UART_CTS = CTS_PIN_NUMBER,
STDIO_UART_RTS = RTS_PIN_NUMBER,
I2C_SDA0 = p2,
I2C_SCL0 = p3,
// mBed interface pins
USBTX = TX_PIN_NUMBER,
USBRX = RX_PIN_NUMBER
} PinName;
typedef enum {
PullNone = 0,
PullDown = 1,
PullUp = 3,
PullDefault = PullUp
} PinMode;
#ifdef __cplusplus
}
#endif
#endif

View File

@ -1,6 +0,0 @@
#ifndef MBED_DEVICE_H
#define MBED_DEVICE_H
#include "objects.h"
#endif

View File

@ -7115,70 +7115,6 @@
],
"device_name": "nRF52832_xxAA"
},
"UBLOX_EVA_NINA": {
"inherits": [
"MCU_NRF52832"
],
"release_versions": [
"5"
],
"device_name": "nRF52832_xxAA",
"macros_add": [
"CONFIG_GPIO_AS_PINRESET",
"NRF52_PAN_12",
"NRF52_PAN_15",
"NRF52_PAN_20",
"NRF52_PAN_30",
"NRF52_PAN_31",
"NRF52_PAN_36",
"NRF52_PAN_51",
"NRF52_PAN_53",
"NRF52_PAN_54",
"NRF52_PAN_55",
"NRF52_PAN_58",
"NRF52_PAN_62",
"NRF52_PAN_63",
"NRF52_PAN_64"
],
"detect_code": [
"1238"
]
},
"UBLOX_EVK_NINA_B1": {
"supported_form_factors": [
"ARDUINO"
],
"inherits": [
"MCU_NRF52832"
],
"release_versions": [
"5"
],
"device_name": "nRF52832_xxAA",
"macros_add": [
"CONFIG_GPIO_AS_PINRESET",
"NRF52_PAN_12",
"NRF52_PAN_15",
"NRF52_PAN_20",
"NRF52_PAN_30",
"NRF52_PAN_31",
"NRF52_PAN_36",
"NRF52_PAN_51",
"NRF52_PAN_53",
"NRF52_PAN_54",
"NRF52_PAN_55",
"NRF52_PAN_58",
"NRF52_PAN_62",
"NRF52_PAN_63",
"NRF52_PAN_64"
],
"overrides": {
"console-uart-flow-control": "RTSCTS"
},
"detect_code": [
"1237"
]
},
"MCU_NRF52840": {
"inherits": [
"Target"