holybro_can-gps-v1:Ensure yeild is used for FLASH programing

This commit is contained in:
David Sidrane
2021-02-22 07:31:46 -08:00
committed by Daniel Agar
parent 84b3f51c6b
commit dd736f8540

View File

@@ -122,13 +122,7 @@
#define APPLICATION_LAST_64BIT_ADDRRESS ((uint64_t *)((APPLICATION_LOAD_ADDRESS+APPLICATION_SIZE)-sizeof(uint64_t)))
/* If this board uses big flash that have large sectors */
#if defined(CONFIG_STM32_FLASH_CONFIG_E) || \
defined(CONFIG_STM32_FLASH_CONFIG_F) || \
defined(CONFIG_STM32_FLASH_CONFIG_G) || \
defined(CONFIG_STM32_FLASH_CONFIG_I)
#define OPT_USE_YIELD
#endif
/* Bootloader Option*****************************************************************
*