update(phy): Added phy support for esp32c5

This commit is contained in:
Shen Weilong
2024-07-02 21:47:19 +08:00
parent a70b435613
commit f3b92cabfa
3 changed files with 15 additions and 1 deletions

View File

@@ -182,8 +182,17 @@ else() # Regular app build
rom_linker_script("coexist")
rom_linker_script("net80211")
rom_linker_script("pp")
elseif(target STREQUAL "esp32c5")
# esp32c5.rom.api.ld has been split to several lds by components.
# esp32c5.rom.api.ld is still reserved to map the APIs
rom_linker_script("phy")
rom_linker_script("coexist")
rom_linker_script("net80211")
rom_linker_script("pp")
endif()
if(CONFIG_ESP_ROM_HAS_NEWLIB AND NOT target STREQUAL "esp32" AND NOT target STREQUAL "esp32s2")
# ESP32 and S2 are a bit different, keep them as special cases in the target specific include section
rom_linker_script("newlib")

View File

@@ -284,5 +284,10 @@ phy_wifi_set_tx_gain = 0x400014f4;
phy_bt_get_tx_tab_ = 0x400014f8;
phy_bt_set_tx_gain = 0x400014fc;
phy_bt_tx_gain_init = 0x40001500;
phy_pbus_xpd_rx_off = 0x40002518;
phy_i2c_writeReg_Mask = 0x4000787e;
phy_pbus_xpd_rx_on = 0x40002628;
phy_pbus_xpd_tx_on = 0x4000274c;
/* Data (.data, .bss, .rodata) */
phy_rom_phyFuns = 0x4085fb80;
phy_param_rom = 0x4085fc70;