EEPROM & Digital Volume I2C driver using generic I2C HAL driver

This commit is contained in:
Raphael Coeffic
2022-06-25 16:09:04 +02:00
committed by Raphael Coeffic
parent bc6c53681c
commit df83a82285
20 changed files with 821 additions and 450 deletions
@@ -103,12 +103,6 @@ if(BLUETOOTH)
)
endif()
if(NOT (PCB STREQUAL X10 OR PCB STREQUAL X12S OR PCB STREQUAL NV14))
set(BOOTLOADER_SRC
${BOOTLOADER_SRC}
../../../../../targets/${TARGET_DIR}/i2c_driver.cpp
)
endif()
if(PCB STREQUAL X10 OR PCB STREQUAL X12S OR PCB STREQUAL NV14)
set(BOOTLOADER_SRC
@@ -158,7 +152,7 @@ else()
${BOOTLOADER_SRC}
../../../../../gui/common/stdlcd/fonts.cpp
../../../../../gui/common/stdlcd/utf8.cpp
../../../../../targets/${TARGET_DIR}/i2c_driver.cpp
../../../../../targets/${TARGET_DIR}/eeprom_driver.cpp
)
remove_definitions(-DDEBUG)
endif()
@@ -280,9 +280,10 @@ void bootloaderInitApp()
bluetoothInit(BLUETOOTH_DEFAULT_BAUDRATE, false);
#endif
#if defined(PCBTARANIS)
i2cInit();
#if defined(EEPROM) && defined(EEPROM_RLC)
eepromInit();
#endif
init10msTimer();
// SD card detect pin