diff --git a/firmware/bootloader/src/Makefile b/firmware/bootloader/src/Makefile index c16115ae23..0144b7bc53 100644 --- a/firmware/bootloader/src/Makefile +++ b/firmware/bootloader/src/Makefile @@ -19,7 +19,7 @@ endif # disable some modules to shrink bootloader binary DDEFS += -DHAL_USE_ADC=FALSE -DHAL_USE_CAN=FALSE -DHAL_USE_EXT=FALSE -DHAL_USE_GPT=FALSE -DHAL_USE_I2C=FALSE -DHAL_USE_ICU=FALSE -DHAL_USE_PWM=FALSE -DHAL_USE_RTC=FALSE -DHAL_USE_I2C=FALSE #disable ChibiOS flsah driver and prevent header from include -DDEFS += -DHAL_USE_FLASH=FASLE +DDEFS += -DHAL_USE_FLASH=FALSE # disable USB (The bootloader has currently UART support only) DDEFS += -DEFI_USB_SERIAL=FALSE -DHAL_USE_SERIAL_USB=FALSE -DHAL_USE_USB=FALSE -DHAL_USE_USB_MSD=FALSE