fix hil set matrix

This commit is contained in:
hathach
2024-11-13 15:06:39 +07:00
parent 42ead3a8e0
commit 6776c7171e
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,8 @@ def main():
} }
for board in config['boards']: for board in config['boards']:
name = board['name'] name = board['name']
if board['flasher'] == 'esptool': flasher = board['flasher']
if flasher['name'] == 'esptool':
toolchain = 'esp-idf' toolchain = 'esp-idf'
else: else:
toolchain = 'arm-gcc' toolchain = 'arm-gcc'

View File

@@ -120,8 +120,8 @@
{ {
"name": "stm32f072disco", "name": "stm32f072disco",
"uid": "3A001A001357364230353532", "uid": "3A001A001357364230353532",
"name": "jlink",
"flasher": { "flasher": {
"name": "jlink",
"uid": "779541626", "uid": "779541626",
"args": "-device stm32f072rb" "args": "-device stm32f072rb"
} }