Skip to content

Commit 9bf2048

Browse files
committed
Stop using .Super_Target for detecting duplicates
1 parent 9f7c82a commit 9bf2048

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

hal/targets.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,6 @@
1212
"public": false,
1313
"default_lib": "std"
1414
},
15-
".Super-Target": {
16-
"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"],
17-
"features": ["BLE", "IPV4", "IPV6", "CLIENT", "UVISOR"],
18-
"extra_labels": [],
19-
"core": "Cortex-M4",
20-
"fpu": "double",
21-
"public": true,
22-
"default_build": "standard",
23-
"release": true,
24-
"supported_toolchains": ["ARM"]
25-
},
2615
"CM4_UARM": {
2716
"inherits": ["Target"],
2817
"core": "Cortex-M4",

tools/git_hooks/find_duplicates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
parser.add_argument("--silent", help="Supress printing of filenames, just return number of duplicates", action="store_true")
1717
args = parser.parse_args()
1818

19-
toolchain = GCC_ARM(TARGET_MAP[".Super-Target"])
19+
toolchain = GCC_ARM(TARGET_MAP["K64F"])
2020

2121
resources = sum([toolchain.scan_resources(d) for d in args.dirs], None)
2222

0 commit comments

Comments
 (0)