1
0
Fork 0

Fixes for bootloader refactor build failures (#15638)

This commit is contained in:
Ryan 2022-01-06 06:55:46 +11:00 committed by GitHub
parent 99e11f4823
commit 5fb93934d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 53 additions and 121 deletions

View file

@ -622,12 +622,7 @@ def arm_processor_rules(info_data, rules):
info_data['protocol'] = 'ChibiOS'
if 'bootloader' not in info_data:
if 'STM32' in info_data['processor']:
info_data['bootloader'] = 'stm32-dfu'
elif 'WB32' in info_data['processor']:
info_data['bootloader'] = 'wb32-dfu'
else:
info_data['bootloader'] = 'unknown'
info_data['bootloader'] = 'unknown'
if 'STM32' in info_data['processor']:
info_data['platform'] = 'STM32'