Skip to content

Commit f268bc6

Browse files
committed
Add target for OSHChip
1 parent 6b034fb commit f268bc6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

targets/targets.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3678,5 +3678,19 @@
36783678
"device_has_add": ["LOWPOWERTIMER", "SERIAL_ASYNCH", "SERIAL_FC", "FLASH"],
36793679
"release_versions": ["2"],
36803680
"device_name": "STM32F411RE"
3681+
},
3682+
"OSHCHIP": {
3683+
"inherits": ["MCU_NRF51_32K_UNIFIED"],
3684+
"extra_labels_add": ["OSHCHIP"],
3685+
"macros_add": ["TARGET_OSHCHIP" , "TARGET_NRF_LFCLK_RC"],
3686+
"device_has": ["ANALOGIN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE"],
3687+
"release_versions": ["2", "5"],
3688+
"device_name": "nRF51822_xxAA",
3689+
"config": {
3690+
"lf_clock_src": {
3691+
"value": "NRF_LF_SRC_RC",
3692+
"macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC"
3693+
}
3694+
}
36813695
}
36823696
}

0 commit comments

Comments
 (0)