Skip to content

Instantly share code, notes, and snippets.

@hotchpotch
Created September 27, 2016 07:51
Show Gist options
  • Save hotchpotch/fe1d96ebabe3a46a41d5b5e9412811bd to your computer and use it in GitHub Desktop.
Save hotchpotch/fe1d96ebabe3a46a41d5b5e9412811bd to your computer and use it in GitHub Desktop.
BLE nano V1.5 support mbed OS 5
diff --git a/hal/targets.json b/hal/targets.json
index 7ce4ad8..3e8969c 100644
--- a/hal/targets.json
+++ b/hal/targets.json
@@ -1464,16 +1464,18 @@
"macros_add": ["TARGET_RBLAB_NRF51822"]
},
"RBLAB_BLENANO": {
- "inherits": ["MCU_NRF51_16K"],
- "release_versions": ["2"]
+ "extra_labels_add": ["MCU_NORDIC_32K", "MCU_NRF51_32K"],
+ "macros_add": ["TARGET_MCU_NORDIC_32K", "TARGET_MCU_NRF51_32K"],
+ "inherits": ["MCU_NRF51_32K"],
+ "release_versions": ["2", "5"]
},
"RBLAB_BLENANO_BOOT": {
- "inherits": ["MCU_NRF51_16K_BOOT"],
+ "inherits": ["MCU_NRF51_32K_BOOT"],
"extra_labels_add": ["RBLAB_BLENANO"],
"macros_add": ["TARGET_RBLAB_BLENANO"]
},
"RBLAB_BLENANO_OTA": {
- "inherits": ["MCU_NRF51_16K_OTA"],
+ "inherits": ["MCU_NRF51_32K_OTA"],
"extra_labels_add": ["RBLAB_BLENANO"],
"macros_add": ["TARGET_RBLAB_BLENANO"]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment