Skip to content

Commit fe6b6af

Browse files
committed
Add target for OSHChip
1 parent 26d0c6d commit fe6b6af

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
@@ -3757,5 +3757,19 @@
37573757
"device_has_add": ["LOWPOWERTIMER", "SERIAL_ASYNCH", "SERIAL_FC", "FLASH"],
37583758
"release_versions": ["2"],
37593759
"device_name": "STM32F411RE"
3760+
},
3761+
"OSHCHIP": {
3762+
"inherits": ["MCU_NRF51_32K_UNIFIED"],
3763+
"extra_labels_add": ["OSHCHIP"],
3764+
"macros_add": ["TARGET_OSHCHIP" , "TARGET_NRF_LFCLK_RC"],
3765+
"device_has": ["ANALOGIN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE"],
3766+
"release_versions": ["2", "5"],
3767+
"device_name": "nRF51822_xxAA",
3768+
"config": {
3769+
"lf_clock_src": {
3770+
"value": "NRF_LF_SRC_RC",
3771+
"macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC"
3772+
}
3773+
}
37603774
}
37613775
}

0 commit comments

Comments
 (0)