mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: allow flash support for bootloader
This commit is contained in:
parent
5216870492
commit
3ef88e1b8f
|
@ -57,7 +57,7 @@
|
|||
this driver has been tested with STM32F427 and STM32F412
|
||||
*/
|
||||
|
||||
#ifndef HAL_USE_EMPTY_STORAGE
|
||||
#ifndef HAL_NO_FLASH_SUPPORT
|
||||
|
||||
#ifndef BOARD_FLASH_SIZE
|
||||
#error "You must define BOARD_FLASH_SIZE in kbyte"
|
||||
|
@ -347,4 +347,5 @@ failed:
|
|||
return -1;
|
||||
}
|
||||
|
||||
#endif // HAL_USE_EMPTY_STORAGE
|
||||
#endif // HAL_NO_FLASH_SUPPORT
|
||||
|
||||
|
|
Loading…
Reference in New Issue