Skip to content

Commit 05fea6e

Browse files
authored
Corection in macros for NRF5x devices
Remove duplicated macro "BLE_STACK_SUPPORT_REQD" for MCU_NRF51 add macro "S132" for MCU_NRF52
1 parent daf7ef3 commit 05fea6e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hal/targets.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,8 +1105,7 @@
11051105
"TARGET_NRF51822",
11061106
"BLE_STACK_SUPPORT_REQD",
11071107
"SOFTDEVICE_PRESENT",
1108-
"S130",
1109-
"BLE_STACK_SUPPORT_REQD"
1108+
"S130"
11101109
],
11111110
"MERGE_BOOTLOADER": false,
11121111
"extra_labels": ["NORDIC", "MCU_NRF51", "MCU_NRF51822", "NRF5"],
@@ -1726,7 +1725,7 @@
17261725
"MCU_NRF52": {
17271726
"inherits": ["Target"],
17281727
"core": "Cortex-M4F",
1729-
"macros": ["NRF52", "TARGET_NRF52832", "BLE_STACK_SUPPORT_REQD", "SOFTDEVICE_PRESENT"],
1728+
"macros": ["NRF52", "TARGET_NRF52832", "BLE_STACK_SUPPORT_REQD", "SOFTDEVICE_PRESENT", "S132"],
17301729
"extra_labels": ["NORDIC", "MCU_NRF52", "MCU_NRF52832", "NRF5"],
17311730
"OUTPUT_EXT": "hex",
17321731
"is_disk_virtual": true,

0 commit comments

Comments
 (0)