Skip to content

Commit 71b2caf

Browse files
committed
Add target definitions for using 16k nrf51 on the NRF51_UNIFIED platform: MCU_NRF51_16K_UNIFIED_S130
Add target definition for Raytac MDBT40 module to use the MCU_NRF51_16K_UNIFIED_S130 target.
1 parent 3300d28 commit 71b2caf

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

targets/targets.json

+13
Original file line numberDiff line numberDiff line change
@@ -3493,6 +3493,19 @@
34933493
},
34943494
"device_has": ["ANALOGIN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"]
34953495
},
3496+
"MCU_NRF51_16K_UNIFIED_S130": {
3497+
"inherits": ["MCU_NRF51_UNIFIED"],
3498+
"extra_labels_add": ["MCU_NORDIC_16K", "MCU_NRF51_16K_S130", "MCU_NRF51_16K"],
3499+
"macros_add": ["TARGET_MCU_NORDIC_16K", "TARGET_MCU_NRF51_16K_S130", "TARGET_MCU_NRF51_16K"],
3500+
"public": false
3501+
},
3502+
"Raytac_MDBT40": {
3503+
"inherits": ["MCU_NRF51_16K_UNIFIED_S130"],
3504+
"macros_add": ["TARGET_NRF_LFCLK_RC"],
3505+
"release_versions": ["2"],
3506+
"device_has": ["ANALOGIN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE"],
3507+
"device_name": "nRF51822_xxAA"
3508+
},
34963509
"MCU_NRF51_32K_UNIFIED": {
34973510
"inherits": ["MCU_NRF51_UNIFIED"],
34983511
"extra_labels_add": ["MCU_NORDIC_32K", "MCU_NRF51_32K"],

0 commit comments

Comments
 (0)