mirror of https://github.com/ARMmbed/mbed-os.git
Stop using .Super_Target for detecting duplicates
parent
9f7c82a37f
commit
9bf20486ec
|
@ -12,17 +12,6 @@
|
|||
"public": false,
|
||||
"default_lib": "std"
|
||||
},
|
||||
".Super-Target": {
|
||||
"device_has": ["AACI", "ANALOGIN", "STDIO_MESSAGES", "STORAGE", "TSC", "PORTIN", "I2C_ASYNCH", "DEBUG_AWARENESS", "I2CSLAVE", "CAN", "RTC_LSI", "LOCALFILESYSTEM", "CLCD", "LOWPOWERTIMER", "RTC", "ERROR_PATTERN", "SPI", "SERIAL_ASYNCH", "SERIAL_FC", "SEMIHOST", "INTERRUPTIN", "SPI_ASYNCH", "PORTOUT", "SERIAL", "ANALOGOUT", "SPISLAVE", "PORTINOUT", "PWMOUT", "SLEEP", "ERROR_RED", "ETHERNET", "I2C", "SERIAL_ASYNCH_DMA"],
|
||||
"features": ["BLE", "IPV4", "IPV6", "CLIENT", "UVISOR"],
|
||||
"extra_labels": [],
|
||||
"core": "Cortex-M4",
|
||||
"fpu": "double",
|
||||
"public": true,
|
||||
"default_build": "standard",
|
||||
"release": true,
|
||||
"supported_toolchains": ["ARM"]
|
||||
},
|
||||
"CM4_UARM": {
|
||||
"inherits": ["Target"],
|
||||
"core": "Cortex-M4",
|
||||
|
|
|
@ -16,7 +16,7 @@ if __name__ == "__main__":
|
|||
parser.add_argument("--silent", help="Supress printing of filenames, just return number of duplicates", action="store_true")
|
||||
args = parser.parse_args()
|
||||
|
||||
toolchain = GCC_ARM(TARGET_MAP[".Super-Target"])
|
||||
toolchain = GCC_ARM(TARGET_MAP["K64F"])
|
||||
|
||||
resources = sum([toolchain.scan_resources(d) for d in args.dirs], None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue