Skip to content

Commit 9fb3df5

Browse files
committed
Add missing macro that enables custom peripheral pins
Resolves #832
1 parent 3208828 commit 9fb3df5

9 files changed

+27
-0
lines changed

boards/disco_f746ng.json

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"cpu": "cortex-m7",
44
"extra_flags": "-DSTM32F7 -DSTM32F746xx",
55
"f_cpu": "216000000L",
6+
"framework_extra_flags": {
7+
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
8+
},
69
"mcu": "stm32f746ngh6",
710
"product_line": "STM32F746xx",
811
"variant": "STM32F7xx/F746B(E-G)T_F746N(E-G)H_F750N8H_F756BGT_F756NGH",

boards/disco_h747xi.json

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"cpu": "cortex-m7",
44
"extra_flags": "-DSTM32H7 -DSTM32H7xx -DSTM32H747xx",
55
"f_cpu": "400000000L",
6+
"framework_extra_flags": {
7+
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
8+
},
69
"mcu": "stm32h747xih6",
710
"product_line": "STM32H747xx",
811
"zephyr": {

boards/fk407m1.json

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"cpu": "cortex-m4",
55
"extra_flags": "-DSTM32F4 -DSTM32F407xx -DSTM32F40_41xxx",
66
"f_cpu": "168000000L",
7+
"framework_extra_flags": {
8+
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
9+
},
710
"mcu": "stm32f407vet6",
811
"product_line": "STM32F407xx",
912
"variant": "STM32F4xx/F407V(E-G)T_F417V(E-G)T"

boards/leafony_ap03.json

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"cpu": "cortex-m4",
55
"extra_flags": "-DSTM32L4 -DSTM32L452xx",
66
"f_cpu": "80000000L",
7+
"framework_extra_flags": {
8+
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
9+
},
710
"mcu": "stm32l452ret6",
811
"product_line": "STM32L452xx",
912
"variant": "STM32L4xx/L452RC(I-T-Y)_L452RE(I-T-Y)x(P)_L462RE(I-T-Y)"

boards/lora_e5_mini.json

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"cpu": "cortex-m4",
55
"extra_flags": "-DSTM32WL -DSTM32WLxx -DSTM32WLE5xx",
66
"f_cpu": "48000000L",
7+
"framework_extra_flags": {
8+
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
9+
},
710
"mcu": "stm32wle5jc",
811
"product_line": "STM32WLE5xx",
912
"variant": "STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I"

boards/nucleo_f429zi.json

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"cpu": "cortex-m4",
88
"extra_flags": "-DSTM32F4 -DSTM32F429xx",
99
"f_cpu": "180000000L",
10+
"framework_extra_flags": {
11+
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
12+
},
1013
"mcu": "stm32f429zit6",
1114
"product_line": "STM32F429xx",
1215
"variant": "STM32F4xx/F427Z(G-I)T_F429ZET_F429Z(G-I)(T-Y)_F437Z(G-I)T_F439Z(G-I)(T-Y)"

boards/nucleo_f439zi.json

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"cpu": "cortex-m4",
77
"extra_flags": "-DSTM32F4 -DSTM32F439xx",
88
"f_cpu": "180000000L",
9+
"framework_extra_flags": {
10+
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
11+
},
912
"mcu": "stm32f439zit6",
1013
"product_line": "STM32F439xx",
1114
"variant": "STM32F4xx/F427Z(G-I)T_F429ZET_F429Z(G-I)(T-Y)_F437Z(G-I)T_F439Z(G-I)(T-Y)"

boards/sparky_v1.json

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"cpu": "cortex-m4",
55
"extra_flags": "-DSTM32F3 -DSTM32F303xC -DBLACKPILL_F303CC",
66
"f_cpu": "72000000L",
7+
"framework_extra_flags": {
8+
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
9+
},
710
"mcu": "stm32f303cct6",
811
"product_line": "STM32F303xC",
912
"variant": "STM32F3xx/F303C(B-C)T"

boards/steval_mksboxv1.json

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"cpu": "cortex-m4",
44
"extra_flags": "-DSTM32L4 -DSTM32L4xx -DSTM32L4R9xx",
55
"f_cpu": "120000000L",
6+
"framework_extra_flags": {
7+
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
8+
},
69
"mcu": "stm32l4r9zi",
710
"product_line": "STM32L4R9xx",
811
"variant": "STM32L4xx/L4R9Z(G-I)J_L4S9ZIJ"

0 commit comments

Comments
 (0)