407 eeprom (#3896)

* I2C EEPROM support #3860

enable

* I2C EEPROM support #3860

fresh contib

* I2C EEPROM support #3860

fresh contib

* I2C EEPROM support #3860

BL gives us extra pain

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
rusefillc 2022-02-05 15:57:11 -05:00 committed by GitHub
parent e310ef7943
commit 65df8adf64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9f884591bd6650fad2d1b36ff22c04e09d8442fa
Subproject commit a7e2744b8a4f99eb0367df2953c3dc4c0617f959

View File

@ -11,10 +11,13 @@ ifeq ($(DEBUG_LEVEL_OPT),)
DDEFS += -DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE
endif
# let everyone know that we are compiling bootloader
IS_RE_BOOTLOADER = yes
# disable some modules to shrink bootloader binary
DDEFS += -DEFI_BOOTLOADER
DDEFS += -DHAL_USE_EXT=FALSE -DHAL_USE_ICU=FALSE -DHAL_USE_PWM=FALSE -DHAL_USE_RTC=FALSE -DEF_LUA=FALSE
#disable ChibiOS flsah driver and prevent header from include
#disable ChibiOS flash driver and prevent header from include
DDEFS += -DHAL_USE_FLASH=FALSE
DDEFS += -DEFI_USE_UART_DMA=FALSE

View File

@ -6,3 +6,7 @@ DDEFS += -DSTM32F407xx
# We are running on Frankenso hardware!
DDEFS += -DHW_FRANKENSO=1
ifndef IS_RE_BOOTLOADER
DDEFS += -DHAL_USE_EEPROM=TRUE
endif