mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'refactor/esp_hal_regi2c' into 'master'
refactor(esp_hal_regi2c): move regi2c implementation from esp_rom to esp_hal_regi2c Closes IDF-14920 and IDF-10110 See merge request espressif/esp-idf!45690
This commit is contained in:
@@ -110,3 +110,7 @@ config ESP_ROM_CONSOLE_OUTPUT_SECONDARY
|
||||
config ESP_ROM_HAS_SUBOPTIMAL_NEWLIB_ON_MISALIGNED_MEMORY
|
||||
bool
|
||||
default y
|
||||
|
||||
config ESP_ROM_HAS_REGI2C_IMPL
|
||||
bool
|
||||
default y
|
||||
|
||||
@@ -33,3 +33,4 @@
|
||||
#define ESP_ROM_HAS_OUTPUT_PUTC_FUNC (1) // ROM has esp_rom_output_putc (or ets_write_char_uart)
|
||||
#define ESP_ROM_CONSOLE_OUTPUT_SECONDARY (1) // The console output functions will also output to the USB-serial secondary console
|
||||
#define ESP_ROM_HAS_SUBOPTIMAL_NEWLIB_ON_MISALIGNED_MEMORY (1) // ROM mem/str functions are not optimized well for misaligned memory access.
|
||||
#define ESP_ROM_HAS_REGI2C_IMPL (1) // ROM has the implementation of REGI2C read/write functions
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2021-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -62,8 +62,3 @@ PROVIDE ( esp_rom_spiflash_fix_dummylen = spi_dummy_len_fix );
|
||||
PROVIDE ( esp_rom_spiflash_set_drvs = SetSpiDrvs);
|
||||
PROVIDE ( esp_rom_spiflash_select_padsfunc = SelectSpiFunction );
|
||||
PROVIDE ( esp_rom_spiflash_common_cmd = SPI_Common_Command );
|
||||
|
||||
PROVIDE ( esp_rom_regi2c_read = rom_i2c_readReg );
|
||||
PROVIDE ( esp_rom_regi2c_read_mask = rom_i2c_readReg_Mask );
|
||||
PROVIDE ( esp_rom_regi2c_write = rom_i2c_writeReg );
|
||||
PROVIDE ( esp_rom_regi2c_write_mask = rom_i2c_writeReg_Mask );
|
||||
|
||||
@@ -1098,11 +1098,7 @@ rom_i2c_paral_read = 0x400022dc;
|
||||
rom_i2c_paral_write = 0x400022e0;
|
||||
rom_i2c_paral_write_num = 0x400022e4;
|
||||
rom_i2c_paral_write_mask = 0x400022e8;
|
||||
rom_i2c_readReg = 0x400022ec;
|
||||
rom_chip_i2c_writeReg = 0x400022f0;
|
||||
rom_i2c_writeReg = 0x400022f4;
|
||||
rom_i2c_readReg_Mask = 0x400022f8;
|
||||
rom_i2c_writeReg_Mask = 0x400022fc;
|
||||
rom_set_txcap_reg = 0x40002300;
|
||||
i2c_sar2_init_code = 0x40002304;
|
||||
phy_i2c_init1 = 0x40002308;
|
||||
|
||||
Reference in New Issue
Block a user