Skip to content

Commit 2d05258

Browse files
authored
Merge pull request #5876 from gorazdko/ff-lpc546xx-modify-target
lpc546xx and ff_lpc546xx: create parent object MCU_LPC546XX
2 parents 07fce41 + 8593ca6 commit 2d05258

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

targets/targets.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -740,24 +740,26 @@
740740
"release_versions": ["2", "5"],
741741
"device_name" : "LPC54114J256BD64"
742742
},
743-
"LPC546XX": {
744-
"supported_form_factors": ["ARDUINO"],
743+
"MCU_LPC546XX": {
745744
"core": "Cortex-M4F",
746745
"supported_toolchains": ["ARM", "IAR", "GCC_ARM"],
747-
"extra_labels": ["NXP", "MCUXpresso_MCUS", "LPCXpresso", "LPC"],
746+
"extra_labels": ["NXP", "MCUXpresso_MCUS", "LPCXpresso", "LPC", "LPC546XX"],
748747
"is_disk_virtual": true,
749748
"macros": ["CPU_LPC54618J512ET180", "FSL_RTOS_MBED"],
750749
"inherits": ["Target"],
751-
"detect_code": ["1056"],
752750
"device_has": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
753751
"features": ["LWIP"],
754752
"release_versions": ["2", "5"],
755753
"device_name" : "LPC54618J512ET180"
756754
},
755+
"LPC546XX": {
756+
"supported_form_factors": ["ARDUINO"],
757+
"inherits": ["MCU_LPC546XX"],
758+
"detect_code": ["1056"]
759+
},
757760
"FF_LPC546XX": {
758-
"inherits": ["LPC546XX"],
761+
"inherits": ["MCU_LPC546XX"],
759762
"extra_labels_remove" : ["LPCXpresso"],
760-
"supported_form_factors": [""],
761763
"detect_code": ["8081"]
762764
},
763765
"NUCLEO_F030R8": {

0 commit comments

Comments
 (0)