From 9bf20486ec0681b94326075824b62544b345dd69 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Wed, 28 Sep 2016 13:43:23 -0500 Subject: [PATCH] Stop using .Super_Target for detecting duplicates --- hal/targets.json | 11 ----------- tools/git_hooks/find_duplicates.py | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/hal/targets.json b/hal/targets.json index 058b425d26..fc03fb2c46 100644 --- a/hal/targets.json +++ b/hal/targets.json @@ -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", diff --git a/tools/git_hooks/find_duplicates.py b/tools/git_hooks/find_duplicates.py index 9f954ac6be..f503b8b574 100755 --- a/tools/git_hooks/find_duplicates.py +++ b/tools/git_hooks/find_duplicates.py @@ -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)