Skip to content

Commit d7a442b

Browse files
authored
Merge pull request #9593 from c1728p9/standard_form_factor
Standardize Arduino form factor
2 parents a0ec77d + ba30a4a commit d7a442b

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/TARGET_FRDM/PinNames.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ typedef enum {
100100

101101
DAC0_OUT = PTB18,
102102

103+
A0 = (int)0xFFFFFFFF,
103104
A1 = DAC0_OUT,
104105
A2 = PTB2,
105106
A3 = PTB3,

targets/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/PinNames.h

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ typedef enum {
2828
} PinDirection;
2929

3030
typedef enum {
31+
// Not connected
32+
NC = (int)0xFFFFFFFF,
33+
3134
P0_0 = 0,
3235
P0_1 = 1,
3336
P0_2 = 2,
@@ -52,6 +55,8 @@ typedef enum {
5255
D2 = P0_6,
5356
D3 = P0_8,
5457
D4 = P0_9,
58+
D5 = NC,
59+
D6 = NC,
5560

5661
D7 = P0_7,
5762
D8 = P0_17,
@@ -63,6 +68,10 @@ typedef enum {
6368
D14 = P0_10,
6469
D15 = P0_11,
6570

71+
A0 = NC,
72+
A1 = NC,
73+
A2 = NC,
74+
A3 = NC,
6675
A4 = P0_10,
6776
A5 = P0_11,
6877

@@ -80,9 +89,7 @@ typedef enum {
8089
// Serial to USB pins
8190
USBTX = P0_6,
8291
USBRX = P0_1,
83-
84-
// Not connected
85-
NC = (int)0xFFFFFFFF,
92+
8693
} PinName;
8794

8895
typedef enum {

targets/targets.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2036,7 +2036,6 @@
20362036
},
20372037
"NUCLEO_F031K6": {
20382038
"inherits": ["FAMILY_STM32"],
2039-
"supported_form_factors": ["ARDUINO"],
20402039
"core": "Cortex-M0",
20412040
"default_toolchain": "uARM",
20422041
"extra_labels_add": ["STM32F0", "STM32F031K6"],
@@ -2061,7 +2060,6 @@
20612060
},
20622061
"NUCLEO_F042K6": {
20632062
"inherits": ["FAMILY_STM32"],
2064-
"supported_form_factors": ["ARDUINO"],
20652063
"core": "Cortex-M0",
20662064
"default_toolchain": "uARM",
20672065
"extra_labels_add": ["STM32F0", "STM32F042K6"],
@@ -2254,7 +2252,6 @@
22542252
},
22552253
"NUCLEO_F303K8": {
22562254
"inherits": ["FAMILY_STM32"],
2257-
"supported_form_factors": ["ARDUINO"],
22582255
"core": "Cortex-M4F",
22592256
"extra_labels_add": ["STM32F3", "STM32F303x8", "STM32F303K8"],
22602257
"config": {
@@ -3057,7 +3054,6 @@
30573054
"core": "Cortex-M0+",
30583055
"extra_labels_add": ["STM32L0", "STM32L031K6"],
30593056
"default_toolchain": "uARM",
3060-
"supported_form_factors": ["ARDUINO"],
30613057
"config": {
30623058
"clock_source": {
30633059
"help": "Mask value : USE_PLL_HSE_EXTC (need HW patch) | USE_PLL_HSE_XTAL (need HW patch) | USE_PLL_HSI",
@@ -3164,7 +3160,6 @@
31643160
},
31653161
"NUCLEO_L432KC": {
31663162
"inherits": ["FAMILY_STM32"],
3167-
"supported_form_factors": ["ARDUINO"],
31683163
"core": "Cortex-M4F",
31693164
"extra_labels_add": ["STM32L4", "STM32L432xC", "STM32L432KC"],
31703165
"config": {
@@ -4107,7 +4102,6 @@
41074102
"bootloader_supported": true
41084103
},
41094104
"FF1705_L151CC": {
4110-
"supported_form_factors": ["ARDUINO"],
41114105
"inherits": ["XDOT_L151CC"],
41124106
"detect_code": ["8080"]
41134107
},
@@ -4620,7 +4614,6 @@
46204614
"macros_add": ["TARGET_RBLAB_BLENANO"]
46214615
},
46224616
"RBLAB_BLENANO2": {
4623-
"supported_form_factors": ["ARDUINO"],
46244617
"inherits": ["MCU_NRF52832"],
46254618
"release_versions": ["5"],
46264619
"device_name": "nRF52832_xxAA"

0 commit comments

Comments
 (0)