From 6d996a0634e949ba26d6c15724be60afb4ee82c7 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 16 Jul 2025 11:41:43 +0800 Subject: [PATCH] fix(wifi): fix wifi rom code using ets_delay_us for C5 and C61 --- components/esp_rom/esp32c5/ld/esp32c5.rom.pp.ld | 4 ++-- components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/esp_rom/esp32c5/ld/esp32c5.rom.pp.ld b/components/esp_rom/esp32c5/ld/esp32c5.rom.pp.ld index 306b56b489..53079241dd 100644 --- a/components/esp_rom/esp32c5/ld/esp32c5.rom.pp.ld +++ b/components/esp_rom/esp32c5/ld/esp32c5.rom.pp.ld @@ -52,7 +52,7 @@ hal_tsf_clear_soc_wakeup_request = 0x40000c60; hal_get_tsf_time = 0x40000c64; hal_get_sta_tsf = 0x40000c68; ic_get_trc = 0x40000c74; -ic_mac_deinit = 0x40000c78; +/* ic_mac_deinit = 0x40000c78; */ /* ic_mac_init = 0x40000c7c; */ ic_interface_enabled = 0x40000c80; is_lmac_idle = 0x40000c84; @@ -75,7 +75,7 @@ lmacRxDone = 0x40000cc4; lmacSetTxFrame = 0x40000cc8; lmacTxDone = 0x40000ccc; /*lmacTxFrame = 0x40000cd0;*/ -lmacDisableTransmit = 0x40000cd4; +/* lmacDisableTransmit = 0x40000cd4; */ lmacDiscardFrameExchangeSequence = 0x40000cd8; lmacProcessCollision = 0x40000cdc; lmacProcessAckTimeout = 0x40000ce0; diff --git a/components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld b/components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld index 2ead480bfd..b648e2a8e1 100644 --- a/components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld +++ b/components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld @@ -50,7 +50,7 @@ hal_get_tsf_time = 0x40000bd0; hal_get_sta_tsf = 0x40000bd4; tsf_hal_get_tbtt_interval = 0x40000bd8; ic_get_trc = 0x40000be4; -ic_mac_deinit = 0x40000be8; +/* ic_mac_deinit = 0x40000be8; */ /* ic_mac_init = 0x40000bec; */ ic_interface_enabled = 0x40000bf0; is_lmac_idle = 0x40000bf4; @@ -73,7 +73,7 @@ lmacRxDone = 0x40000c34; lmacSetTxFrame = 0x40000c38; lmacTxDone = 0x40000c3c; /*lmacTxFrame = 0x40000c40;*/ -lmacDisableTransmit = 0x40000c44; +/* lmacDisableTransmit = 0x40000c44; */ lmacDiscardFrameExchangeSequence = 0x40000c48; lmacProcessCollision = 0x40000c4c; lmacProcessAckTimeout = 0x40000c50;