mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
rom caps: add ESP_ROM_WITHOUT_REGI2C rom caps
This commit is contained in:
parent
f1e0151e63
commit
ee4214ebf1
@ -22,7 +22,7 @@ else()
|
||||
|
||||
|
||||
# Override regi2c implementation in ROM
|
||||
if(CONFIG_ESP_ROM_HAS_REGI2C_BUG)
|
||||
if(CONFIG_ESP_ROM_HAS_REGI2C_BUG OR CONFIG_ESP_ROM_WITHOUT_REGI2C)
|
||||
list(APPEND sources "patches/esp_rom_regi2c_${target}.c")
|
||||
endif()
|
||||
|
||||
|
@ -46,3 +46,7 @@ config ESP_ROM_HAS_LAYOUT_TABLE
|
||||
config ESP_ROM_HAS_SPI_FLASH
|
||||
bool
|
||||
default y
|
||||
|
||||
config ESP_ROM_WITHOUT_REGI2C
|
||||
bool
|
||||
default y
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@ -17,3 +17,4 @@
|
||||
#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_SPI_FLASH (1) // ROM has the implementation of SPI Flash driver
|
||||
#define ESP_ROM_WITHOUT_REGI2C (1) // ROM has no regi2c APIs
|
||||
|
Loading…
Reference in New Issue
Block a user