Skip to content

Commit 1fe0933

Browse files
committed
move device_has to OSHCHIP specifically and define device name. These should probably move to the unified target at some point but is outside the scope of this PR
1 parent b1199b0 commit 1fe0933

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

targets/targets.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3292,7 +3292,7 @@
32923292
"macro_name": "MBED_CONF_NORDIC_UART_HWFC"
32933293
}
32943294
},
3295-
"device_has": ["ANALOGIN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"]
3295+
"device_has": ["ANALOGIN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"]
32963296
},
32973297
"MCU_NRF51_32K_UNIFIED": {
32983298
"inherits": ["MCU_NRF51_UNIFIED"],
@@ -3315,9 +3315,9 @@
33153315
},
33163316
"OSHCHIP": {
33173317
"inherits": ["MCU_NRF51_32K_UNIFIED"],
3318-
"overrides": {
3319-
"lf_clock_src": "NRF_LF_SRC_RC"
3320-
}
3318+
"overrides": {"lf_clock_src": "NRF_LF_SRC_RC"},
3319+
"device_has": ["ANALOGIN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"],
3320+
"device_name": "nRF51822_xxAC"
33213321
},
33223322
"MCU_NRF52": {
33233323
"inherits": ["Target"],

0 commit comments

Comments
 (0)