mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_HAL_ChibiOS: disable scripting if USE_FATFS=no
This commit is contained in:
parent
306783211b
commit
a61028c55d
@ -540,6 +540,7 @@ def write_mcu_config(f):
|
||||
else:
|
||||
f.write('#define HAL_USE_SDC FALSE\n')
|
||||
build_flags.append('USE_FATFS=no')
|
||||
env_vars['DISABLE_SCRIPTING'] = True
|
||||
if 'OTG1' in bytype:
|
||||
f.write('#define STM32_USB_USE_OTG1 TRUE\n')
|
||||
f.write('#define HAL_USE_USB TRUE\n')
|
||||
|
Loading…
Reference in New Issue
Block a user