Stop using .Super_Target for detecting duplicates

pull/2854/head
Jimmy Brisson 2016-09-28 13:43:23 -05:00
parent 9f7c82a37f
commit 9bf20486ec
2 changed files with 1 additions and 12 deletions

View File

@ -12,17 +12,6 @@
"public": false, "public": false,
"default_lib": "std" "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": { "CM4_UARM": {
"inherits": ["Target"], "inherits": ["Target"],
"core": "Cortex-M4", "core": "Cortex-M4",

View File

@ -16,7 +16,7 @@ if __name__ == "__main__":
parser.add_argument("--silent", help="Supress printing of filenames, just return number of duplicates", action="store_true") parser.add_argument("--silent", help="Supress printing of filenames, just return number of duplicates", action="store_true")
args = parser.parse_args() 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) resources = sum([toolchain.scan_resources(d) for d in args.dirs], None)