forked from espressif/esp-idf
Merge branch 'feature/add_new_caps_for_rom_has_regi2c_bug' into 'master'
esp_rom: add ESP_ROM_HAS_REGI2C_BUG in rom caps See merge request espressif/esp-idf!21418
This commit is contained in:
@@ -22,7 +22,7 @@ else()
|
|||||||
|
|
||||||
|
|
||||||
# Override regi2c implementation in ROM
|
# Override regi2c implementation in ROM
|
||||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/patches/esp_rom_regi2c_${target}.c")
|
if(CONFIG_ESP_ROM_HAS_REGI2C_BUG)
|
||||||
list(APPEND sources "patches/esp_rom_regi2c_${target}.c")
|
list(APPEND sources "patches/esp_rom_regi2c_${target}.c")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@@ -54,3 +54,7 @@ config ESP_ROM_HAS_LAYOUT_TABLE
|
|||||||
config ESP_ROM_HAS_SPI_FLASH
|
config ESP_ROM_HAS_SPI_FLASH
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config ESP_ROM_HAS_REGI2C_BUG
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
@@ -19,3 +19,4 @@
|
|||||||
#define ESP_ROM_HAS_HEAP_TLSF (1) // ROM has the implementation of the tlsf and multi-heap library
|
#define ESP_ROM_HAS_HEAP_TLSF (1) // ROM has the implementation of the tlsf and multi-heap library
|
||||||
#define ESP_ROM_HAS_LAYOUT_TABLE (1) // ROM has the layout table
|
#define ESP_ROM_HAS_LAYOUT_TABLE (1) // ROM has the layout table
|
||||||
#define ESP_ROM_HAS_SPI_FLASH (1) // ROM has the implementation of SPI Flash driver
|
#define ESP_ROM_HAS_SPI_FLASH (1) // ROM has the implementation of SPI Flash driver
|
||||||
|
#define ESP_ROM_HAS_REGI2C_BUG (1) // ROM has the regi2c bug
|
||||||
|
@@ -14,3 +14,7 @@ config ESP_ROM_HAS_MZ_CRC32
|
|||||||
config ESP_ROM_NEEDS_SWSETUP_WORKAROUND
|
config ESP_ROM_NEEDS_SWSETUP_WORKAROUND
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config ESP_ROM_HAS_REGI2C_BUG
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
@@ -9,3 +9,4 @@
|
|||||||
#define ESP_ROM_HAS_CRC_LE (1) // ROM CRC library supports Little Endian
|
#define ESP_ROM_HAS_CRC_LE (1) // ROM CRC library supports Little Endian
|
||||||
#define ESP_ROM_HAS_MZ_CRC32 (1) // ROM has mz_crc32 function
|
#define ESP_ROM_HAS_MZ_CRC32 (1) // ROM has mz_crc32 function
|
||||||
#define ESP_ROM_NEEDS_SWSETUP_WORKAROUND (1) // ROM uses 32-bit time_t. A workaround is required to prevent printf functions from crashing
|
#define ESP_ROM_NEEDS_SWSETUP_WORKAROUND (1) // ROM uses 32-bit time_t. A workaround is required to prevent printf functions from crashing
|
||||||
|
#define ESP_ROM_HAS_REGI2C_BUG (1) // ROM has the regi2c bug
|
||||||
|
Reference in New Issue
Block a user