liuning
c6db306833
sleep_modem: split esp_wifi_internal_mac_sleep_configure, add lock for pm functions
2023-09-18 11:49:52 +08:00
liuning
90698bf1f5
fix(sleep_modem): fix lightsleep failure if enable lightsleep at phy disabled
2023-09-18 11:46:32 +08:00
gaoxu
5b4469f973
fix: remove wno format in esp_hw_support component
2023-09-18 02:43:41 +00:00
Armando (Dou Yiwen)
7894b21ef0
Merge branch 'bugfix/fix_120_ddr_pll_cali_issue' into 'master'
...
mspi: fixed bbpll calibration issue
Closes IDF-8237
See merge request espressif/esp-idf!25934
2023-09-14 15:46:54 +08:00
Konstantin Kondrashov
cbdb799b6f
feat(esp_timer): Support systimer for ESP32P4
2023-09-13 19:13:38 +08:00
Armando
d85c96209a
fix(mspi): fixed bbpll calibration issue
2023-09-13 11:22:31 +08:00
morris
ae1a9bf015
Merge branch 'feat/mcpwm_event_comparator_driver' into 'master'
...
feat(MCPWM): MCPWM event comparator driver
Closes IDF-7989
See merge request espressif/esp-idf!25552
2023-09-12 14:41:07 +08:00
morris
47e499de52
feat(mcpwm): clean up MCPWM ETM driver
2023-09-11 16:53:34 +08:00
Chen Jichang
7638235311
feat(mcpwm): MCPWM event comparator driver
...
In esp32p4, the MCPWM has a new feature, mainly ETM-oriented.
Each operator has two event comparators, can generate an event
when the count value of the timer that operator connects is equal
to the value of event comparator.
2023-09-11 16:53:34 +08:00
Planck (Lu Zeyu)
2a340c5fc5
fix(test_etm): fix vTaskDelay caused ci failure
2023-09-11 16:24:24 +08:00
hongshuqing
77a303276a
esp32/esp32s2/esp32s3 cpu freq to pll
...
add assert for cpu_freq_to_8m
update esp32 DBIAS_XTAL_80M_160M define
delete modify of esp32
remove esp32 comment
restore esp32 modify
2023-09-11 10:40:27 +08:00
Jiang Jiang Jian
5d983c3185
Merge branch 'bugfix/esp32c6_udp_bc_mc_short_time_cause_packet_loss' into 'master'
...
optimize the retention step of the APM and TEE modules to set only the critical parts to level 2 priority
Closes WIFIBUG-80
See merge request espressif/esp-idf!25792
2023-09-11 10:02:13 +08:00
Jiang Jiang Jian
a1c0d9c3a1
Merge branch 'feature/ble_lib_update_h2_c6' into 'master'
...
ble: update h2 c6 libble to 5d7af429
Closes BLERP-7
See merge request espressif/esp-idf!25691
2023-09-07 10:25:08 +08:00
morris
94d39009b4
Merge branch 'feature/esplcd_replace_periph_func_with_atomic' into 'master'
...
feat(esp_lcd): Replace `periph_module` function call with new ll func
Closes IDF-8167
See merge request espressif/esp-idf!25717
2023-09-07 01:59:04 +08:00
morris
2e6015b39f
Merge branch 'refactor/add_namespace_intr_cpu_id' into 'master'
...
refactor(intr): add namespace for intr_cpu_id_t
See merge request espressif/esp-idf!25725
2023-09-06 16:41:57 +08:00
Li Shuai
0f103817bc
fix(esp32c6/power save): optimize the retention step of the APM and TEE modules to set only the critical parts that affect wifi data frame receipt to level 2 priority
2023-09-06 14:57:46 +08:00
Planck (Lu Zeyu)
86d4f9993f
feat(esp_lcd): replace periph_module func with new ll func
...
Update periph_ctrl.h
2023-09-06 14:42:01 +08:00
Marius Vikhammer
0a630831a7
Merge branch 'feature/move_wdt_defines_to_ll' into 'master'
...
fix(wdt): move non-auto generated wdt values to ll
See merge request espressif/esp-idf!25757
2023-09-06 10:12:43 +08:00
morris
e8847a176f
refactor(intr): add namespace for intr_cpu_id_t
...
previously the intr_types.h doesn't have a namespace,
it has the risk of introduing conflict in user's project.
2023-09-06 09:50:41 +08:00
cjin
574800b50a
feat: added ble wake up overhead support
2023-09-05 20:40:04 +08:00
Marius Vikhammer
e3861261eb
fix(wdt): move non-auto generated wdt values to ll
2023-09-05 11:52:34 +08:00
Mahavir Jain
d382eeed54
Merge branch 'esp32p4/add_hmac_ds_support' into 'master'
...
esp32p4/add hmac ds support
Closes IDF-7543 and IDF-6518
See merge request espressif/esp-idf!25148
2023-09-04 16:45:56 +08:00
harshal.patil
b8c208cdb3
feat(ds): add Digital Signature peripheral support for esp32p4
2023-09-01 15:44:21 +05:30
harshal.patil
095c2a3324
feat(hmac): add HMAC peripheral support for esp32p4
2023-09-01 15:41:39 +05:30
Sudeep Mohanty
5cd989f23b
fix(interrupts): Cleanup pending tags in the code base regarding interrupt vectors
2023-09-01 17:18:39 +08:00
Omar Chebib
d3afca3020
Merge branch 'fix/esp32p4_supports_interrupts' into 'master'
...
feat(riscv): Add support to ESP32-P4's CLIC interrupt controller
Closes IDF-7795 and IDF-7793
See merge request espressif/esp-idf!25383
2023-09-01 11:48:39 +08:00
morris
cf61f63bc2
Merge branch 'feature/hw_crc_esp32p4' into 'master'
...
feat(gdma): support hardware crc calculation on esp32p4
Closes IDF-7497
See merge request espressif/esp-idf!25307
2023-08-31 14:46:32 +08:00
Song Ruo Jing
91aab6bda0
Merge branch 'feature/add_uart_iram_safe_check' into 'master'
...
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver
See merge request espressif/esp-idf!25618
2023-08-31 12:57:46 +08:00
Omar Chebib
8ca191e4c1
fix(esp32p4): Fixed interrupt handling to use the CLIC controller
2023-08-31 12:16:08 +08:00
morris
b962fdee89
refactor(gdma): add reset and clock control in LL driver
2023-08-31 02:11:47 +00:00
morris
200eb866dc
feat(gdma): support hardware crc calculation
...
On ESP32-P4, the GDMA peripherals support CRC calculating.
2023-08-31 02:11:47 +00:00
Song Ruo Jing
767698b90d
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver
2023-08-30 11:30:03 +08:00
morris
47bb157cab
refactor(twai): add reset and clock control to twai LL layer
2023-08-29 22:19:57 +08:00
Erhan Kurubas
f0fba3fc4c
Merge branch 'fix/bp_wp_in_panic' into 'master'
...
Fix bp/wp logic when debugger is connected
See merge request espressif/esp-idf!25582
2023-08-29 18:23:36 +08:00
morris
cd9f48823d
Merge branch 'refactor/rcc_critical_section_follow_up' into 'master'
...
refactor(lp_periph): move enable and reset control to LL driver
See merge request espressif/esp-idf!25498
2023-08-29 08:40:02 +08:00
Erhan Kurubas
7549995754
fix(readme): add esp32p4 etm test app to the supported targets table
2023-08-28 10:46:56 +02:00
Erhan Kurubas
65dcc565a7
fix(breakpoint): fix bp/wp logic when debugger is connected
2023-08-28 10:46:56 +02:00
Jiang Jiang Jian
24914d15d8
Merge branch 'feature/manage_modem_etm_clock_indepently' into 'master'
...
feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently
Closes IDF-8013
See merge request espressif/esp-idf!25284
2023-08-28 13:35:58 +08:00
morris
4a45479336
refactor(lp_periph): move enable and reset control to LL driver
2023-08-28 05:17:56 +00:00
morris
ab42d63054
fix(ci): pre-commit failure on readme check
2023-08-28 05:17:56 +00:00
Jiang Jiang Jian
52aea44fa0
Merge branch 'bugfix/esp32c6_udp_bc_mc_rx_loss_rate_is_high' into 'master'
...
fix esp32c6 UDP BC/MC RX loss rate is high when light sleep is enabled
Closes WIFIBUG-85
See merge request espressif/esp-idf!25309
2023-08-28 12:50:29 +08:00
Armando (Dou Yiwen)
d4d6241db0
Merge branch 'feature/esp32p4_build_test' into 'master'
...
ci: enable ci build stage on esp32p4
Closes IDF-7524 and IDF-7525
See merge request espressif/esp-idf!25343
2023-08-25 13:35:20 +08:00
Marius Vikhammer
e07023292a
Merge branch 'feature/p4_spinlocks' into 'master'
...
esp32p4: support spinlocks
Closes IDF-7771
See merge request espressif/esp-idf!25036
2023-08-25 11:43:38 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Marius Vikhammer
0d9f9e6816
feat(core-systems): add support for spinlock/compare and set on esp32p4
2023-08-24 10:30:25 +08:00
morris
911c388cf8
feat(etm): add core driver support for esp32-p4
...
esp_etm core driver support:
- channel allocator
- gpio etm sub driver
- gptimer etm sub driver
2023-08-23 15:11:56 +08:00
morris
3b50c716d8
Merge branch 'feature/gptimer_ll_enable_reset' into 'master'
...
HW-Support: Add Atomic Code Block for Reset and Clock Control
See merge request espressif/esp-idf!25401
2023-08-23 15:11:42 +08:00
morris
035c7c145c
feat(clk_cali): always enable timer group0 for clock calibration
...
Calibration registers are located in the timer group0,
this commit is going to always enable it when the calibration is used by app
2023-08-22 17:05:35 +08:00
morris
a9c813ca3e
feat(hw_support): add atomic code block for peripheral bus clock and reset
2023-08-22 17:05:35 +08:00
Sudeep Mohanty
4e51c6b049
feat(freertos): Added changes for multi-core RISC-V port for FreeRTOS
...
This commit updates the FreeRTOS port layer for multi-core RISC-V targets.
2023-08-22 15:35:15 +08:00
Li Shuai
0c9eba8a2a
fix(esp32c6/power save): improve TEE and APM module retention priority to 2 to avoid the wifi fail to read the rxbuf link and trigger the rxbuf overflow error
2023-08-21 12:28:51 +00:00
Jiang Jiang Jian
6e9708a489
Merge branch 'feature/add_ci_for_esp_wifi_powersave_example' into 'master'
...
ci(wifi): add pytest case for wifi powersave example
See merge request espressif/esp-idf!25227
2023-08-21 10:49:50 +08:00
Planck (Lu Zeyu)
e99a1e1bdd
fix(intr_flags_to_level): fix value returned one more than correct value
2023-08-18 19:49:50 +08:00
morris
4ee4158a8f
Merge branch 'bugfix/async_memcpy_dst_align_check' into 'master'
...
fix(async_memcpy): destination alignment check against cache line size
Closes IDF-7494
See merge request espressif/esp-idf!25359
2023-08-16 12:57:19 +08:00
Marius Vikhammer
f83c29f242
Merge branch 'feature/esp32p4_docs_build' into 'master'
...
ESP32-P4 build docs
Closes IDF-7520 and IDF-7773
See merge request espressif/esp-idf!25026
2023-08-16 11:49:43 +08:00
Marius Vikhammer
27baef2424
docs(esp32p4): added building docs for ESP32-P4
2023-08-16 10:13:47 +08:00
morris
595c3fe6a2
fix(async_memcpy): destination alignment check against cache line size
...
On ESP32P4, becasue we need to invalidate the destination buffer,
if the buffer is not aligned to cache line, then it might break
other date structure, randomly.
2023-08-15 17:40:17 +08:00
Michael (XIAO Xufeng)
8845767bc0
Merge branch 'feat/sub_power_modes_docs' into 'master'
...
sleep_modes: add docs and test app for sub power modes on S2, S3, C2, C3.
See merge request espressif/esp-idf!23142
2023-08-15 10:57:48 +08:00
Xiao Xufeng
fca7fd8613
ci(sleep_mode): Update test app for new sub modes on S2, S3, C2, C3
2023-08-11 17:20:16 +08:00
Armando (Dou Yiwen)
337aeb4b78
Merge branch 'feature/add_esp32p4_hello_world' into 'master'
...
esp32p4: introduced new chip ESP32P4: Hello World! 🌏
Closes IDF-7523
See merge request espressif/esp-idf!25013
2023-08-10 16:04:55 +08:00
wuzhenghui
a425d8816a
feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently
2023-08-09 20:19:50 +08:00
Lou Tianhao
808a01e656
feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN
2023-08-09 19:46:25 +08:00
Armando
06782d1623
change(esp32p4): update rtc interrupt registration todo list
2023-08-09 19:33:36 +08:00
Armando
00df6b378d
refactor(sar): build sar_periph_ctrl related files by chip
2023-08-09 19:33:36 +08:00
Armando
706d684418
feat(esp32p4): introduced new target esp32p4, supported hello_world
2023-08-09 19:33:25 +08:00
Xiao Xufeng
5ee8add38c
refactor(esp_hw_support): Move rtc_8md256 and rtc_power_modes test apps to esp_hw_support
2023-08-09 14:57:57 +08:00
wuzhenghui
e9c6083729
fix(light_sleep): shouldn't backup uart fifo reg in pd_top light sleep
2023-08-08 16:45:17 +08:00
Lou Tian Hao
791360336a
Merge branch 'feature/support_pd_hp_aon_domain_in_deepsleep' into 'master'
...
Feature: support pd hp aon domain in deepsleep
See merge request espressif/esp-idf!25175
2023-08-07 17:28:40 +08:00
Armando
de68029de9
change(header): modify p4 headers issues from check_header_py
2023-08-04 14:13:59 +02:00
morris
55ea6b78a7
Merge branch 'feature/async_memcpy_rewrite' into 'master'
...
feat(async_memcpy): refactor driver code to support different DMA backends
See merge request espressif/esp-idf!25050
2023-08-04 17:52:13 +08:00
wuzhenghui
8b5052f213
fix(light_sleep): save vddsdio_config before lightsleep
2023-08-04 11:58:07 +08:00
wuzhenghui
0b0e8ab80b
fix(light_sleep): suspend/resume cache correspondingly after light sleep
2023-08-04 11:56:55 +08:00
wuzhenghui
c34cdd05e9
fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver
2023-08-04 10:39:43 +08:00
Lou Tianhao
caddc10bf3
feat(pm/deepsleep): support pd hp aon domain in deepsleep
2023-08-03 17:23:02 +08:00
morris
fd3d1aa101
feat(async_memcpy): refactor driver code to support different DMA backen
...
To support AHB and AXI DMA memory copy for the same target (esp32p4).
2023-08-03 12:02:09 +08:00
Wu Zheng Hui
016cb6a19a
Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep' into 'master'
...
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data
Closes IDFCI-1760
See merge request espressif/esp-idf!25084
2023-08-02 11:02:01 +08:00
Lou Tian Hao
3f6be5938b
Merge branch 'docs/rewrite_all_low_to_any_low_when_not_esp32' into 'master'
...
Docs: rewrite_all_low_to_any_low_when_not_esp32
See merge request espressif/esp-idf!24997
2023-08-01 20:56:36 +08:00
Xu Si Yu
36511a3005
Merge branch 'feature/add_sleep_test_for_ot_ci' into 'master'
...
OpenThread CI: add a test case of sleepy device
See merge request espressif/esp-idf!24715
2023-08-01 20:38:29 +08:00
Mahavir Jain
53ff7d43db
Merge branch 'ci/fix_test_switch_ota' into 'master'
...
fix(app_update): Fix CI test_switch_ota by increasing deepsleep
See merge request espressif/esp-idf!24801
2023-08-01 16:49:25 +08:00
wuzhenghui
26618ad536
fix(lightsleep): suspend cache before goto sleep
...
There is a possibility that the cache is still accessing the
SPI flashwhen sleep isolating SPI IO, so it is necessary to
wait for the cache to be free before requesting sleep.
2023-08-01 16:29:04 +08:00
Lou Tianhao
f33188fb35
docs(pm/sleep): rewrite_all_low_to_any_low_when_not_esp32
2023-08-01 11:53:14 +08:00
Xu Si Yu
753f74cb99
feat(openthread): add sleep debug message
2023-07-31 17:01:37 +08:00
Song Ruo Jing
8b574fb87f
remove(clk): remove warning log if RC_FAST clock calibration is needed on esp32h2
2023-07-26 20:29:58 +08:00
Armando (Dou Yiwen)
6bc9a39010
Merge branch 'feature/add_esp32p4_esp_system_support' into 'master'
...
system: added p4 base support for system related parts
See merge request espressif/esp-idf!24850
2023-07-25 16:50:40 +08:00
morris
facb9a02d3
Merge branch 'bugfix/fix_gdma_build_failure_on_p4' into 'master'
...
fix(gdma): fixed compilation failure of gdma
See merge request espressif/esp-idf!24964
2023-07-25 15:10:40 +08:00
Armando
e11b154c99
feat(interrupt): mtvt, mtvec base support on p4
2023-07-25 05:59:10 +00:00
Armando
c156e56684
feat(spinlock): added spinlock base support on p4
2023-07-25 05:59:10 +00:00
Armando
019e68bb15
feat(interrupt): added clic support on p4
2023-07-25 05:59:10 +00:00
Armando
c76de79f4c
feat(cpu): added cpu utils base support on p4
2023-07-25 05:59:10 +00:00
Armando
bc182ef010
feat(brc_predictor): p4 base support for branch predictor
2023-07-25 05:59:10 +00:00
morris
6d46cf739c
feat(gdma): test non-cacheable DMA descriptor
...
To avoid different DMA descriptors reside in the same cache line,
we want the CPU to access the DMA descriptor in a non-cachable way
2023-07-25 10:59:07 +08:00
laokaiyao
274e1c0089
fix(gdma): fixed compilation failure of gdma
2023-07-24 19:36:31 +08:00
Lou Tian Hao
57c6c0a1a3
Merge branch 'bringup/esp32h2_deep_sleep_for_rebase' into 'master'
...
esp32h2: support deep_sleep
Closes IDF-6268, IDF-6572, and IDF-7406
See merge request espressif/esp-idf!24438
2023-07-24 10:47:51 +08:00
Lou Tianhao
0d30bbe855
change(pm/deepsleep): rewrite the option all low as any low for esp32s2, esp32s3, esp32c6 and esp32h2
2023-07-21 20:44:15 +08:00
Lou Tianhao
44cd96b543
change(pm/deepsleep): remove disable rtcio before hold it when ext1 wakeup
2023-07-21 20:44:09 +08:00
Kevin (Lao Kaiyao)
7219e50579
Merge branch 'feature/gdma_support_err_eof_callback' into 'master'
...
feat(gdma): supported rx err_eof interrupt
See merge request espressif/esp-idf!24557
2023-07-21 14:41:46 +08:00
KonstantinKondrashov
28aec9594a
fix(app_update): Fix CI test_switch_ota by increasing deepsleep
...
It increases the deepsleep time from 2000 to 20000.
2000 is too small for esp32-s3 chip.
2023-07-21 13:58:20 +08:00
Song Ruo Jing
4b9f601ac3
Merge branch 'feature/esp32p4_clock_prework_support' into 'master'
...
feat(clk): Add support to get xtaL freq for ESP32P4
See merge request espressif/esp-idf!24927
2023-07-21 00:12:18 +08:00
Ivan Grokhotkov
e6c3f62281
Merge branch 'feature/esp_intr_dump' into 'master'
...
system: add esp_intr_dump API to debug interrupt allocation
Closes IDF-4281 and IDF-6066
See merge request espressif/esp-idf!23877
2023-07-20 19:53:58 +08:00
Song Ruo Jing
b8a8713f96
feat(clk): Add support to get xtaL freq for ESP32P4
2023-07-20 18:13:13 +08:00
laokaiyao
3c2233d48b
feat(gdma): supported rx err_eof interrupt
2023-07-20 14:19:39 +08:00
Lou Tianhao
e70763f9a4
feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep
2023-07-20 11:43:57 +08:00
Lou Tianhao
7bd92287c4
change(pm/deepsleep): Update deep_sleep pmu analog parameter for esp32h2
2023-07-20 11:43:57 +08:00
Lou Tianhao
dcacd8cdf8
feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2
2023-07-20 11:43:57 +08:00
Ivan Grokhotkov
0ebe2cecfa
feat(system): add an error log and a hint on failed interrupt alloc
...
When interrupt allocation fails, esp_intr_alloc will now print a
message telling that no free interrupt was found. This message is
then checked in hints.yml, to give a link to the troubleshooting
guide.
2023-07-19 16:47:41 +02:00
Ivan Grokhotkov
621afc48b1
feat(system): add esp_intr_dump function to debug interrupt alloc
...
esp_intr_dump function can be used to print the list of allocated and
free interrupts. It can be used as a debugging aid when interrupt
allocation fails.
2023-07-19 16:47:40 +02:00
morris
57879e772d
feat(gdma): support channel allocator on esp32p4
...
There's two GDMA groups on ESP32P4, one is connected to AHB bus,
and another one is connected AXI bus.
We now have two seperate APIs for allocating DMA channels,
depends on the bus type.
2023-07-19 18:18:07 +08:00
Mahavir Jain
6431091ce6
fix(esp32h2): correct typo in chip revision prompt
2023-07-18 20:46:45 +05:30
Mahavir Jain
3466204d18
Merge branch 'fix/esp_ptr_check_sign_compare' into 'master'
...
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom`
Closes IDFGH-10398 and IDFGH-10632
See merge request espressif/esp-idf!24791
2023-07-17 12:33:56 +08:00
Darian
4fc2e5cb95
Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0' into 'master'
...
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips
Closes IDF-3328
See merge request espressif/esp-idf!23873
2023-07-15 19:01:03 +08:00
wuzhenghui
a5c992c8af
fix(esp_pm): fix PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT feature
...
- Fix flash accessed code to resolve issues with PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT enabled
2023-07-14 21:21:19 +08:00
wuzhenghui
6c14e1de9f
fix: put vddsdio configure api always in iram if pd_flash is enabled
...
- Put vddsdio configure api always in iram if pd_flash is enabled to ensure access flash at flash unavailable time
2023-07-14 20:12:59 +08:00
wuzhenghui
9f993705a6
fix: wait spi bus idle before hold CS pin
...
- Wait for spi bus idle before holding CS pin to prevent hold selected state during sleep
2023-07-14 20:12:59 +08:00
wuzhenghui
b9550a1609
feat: support cache safe assertion check
...
- Add support for cache safe assertion check to ensure that code expected to be in RAM is in IRAM
2023-07-14 20:12:59 +08:00
Jiang Jiang Jian
4b484574cd
Merge branch 'bugfix/esp32c6_eco1_ble_lpclk_main_xtal' into 'master'
...
support 40 MHz XTAL as BLE low power clock source of esp32c6 eco1
Closes WIFI-5909 and WIFI-6114
See merge request espressif/esp-idf!24235
2023-07-14 16:26:56 +08:00
Jiang Jiang Jian
0c496896ba
Merge branch 'bugfix/wifi_bcn_timeout_m_f_probe_req_l0' into 'master'
...
fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue
Closes WIFI-5722
See merge request espressif/esp-idf!24077
2023-07-14 11:31:47 +08:00
cjin
9578fdc250
ble : remove extra retention cnt upon deinit temporarily
2023-07-14 10:49:17 +08:00
cjin
cf744f9466
ble: support eco1 BLE light sleep
2023-07-14 10:49:14 +08:00
Wu Zheng Hui
e9b6472753
Merge branch 'bugfix/enable_i2c_master_clock_in_bbpll_configure' into 'master'
...
fix(rtc_clk): fix i2c master clock missing in bbpll configure
Closes WIFI-6147
See merge request espressif/esp-idf!24765
2023-07-14 00:40:21 +08:00
Laukik Hase
b61e3777b8
fix(esp_hw_support): Fix different signed comparison in esp_ptr_in_drom
...
- Closes https://github.com/espressif/esp-idf/issues/11653
- Closes https://github.com/espressif/esp-idf/issues/11865
2023-07-13 18:35:42 +05:30
Li Shuai
efa4eeafd0
light sleep: enable system clock in PMU HP sleep state when selecting a 40 MHz XTAL as low power clock source of ble
2023-07-13 20:44:56 +08:00
Li Shuai
21781b1ab1
modem clock: provide a protected wifipwr clock enable/disable interface to fix the bug of selecting xtal as the low power clock source for ble
2023-07-13 20:44:56 +08:00
Li Shuai
9950b6a527
modem clock: gatable clock interface which can gate or ungate modem clock domain
2023-07-13 20:44:56 +08:00
Chen Ji Chang
7ec38eb309
Merge branch 'bugfix/update_all_esp32xxx/rom/gpio.h_comments' into 'master'
...
gpio: Update the incorrect comments in rom/gpio.h
Closes IDFGH-10490
See merge request espressif/esp-idf!24487
2023-07-13 19:44:31 +08:00
Darian Leung
8450f3119e
soc: Move revision MAX/MIN static assert to esp_hw_support
...
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:
- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.
This commit moves the static assert "revision.c" in "esp_hw_support".
2023-07-13 12:37:35 +02:00
Li Shuai
19809bdebf
power save: fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue
2023-07-13 16:59:31 +08:00
wuzhenghui
14ea226351
fix(rtc_clk): fix i2c master clock missing in bbpll configure
2023-07-13 14:07:35 +08:00
Chen Jichang
b9c22b126a
bugfix(driver/gpio):update the incorrect comment
...
There are some register description errors in parts of rom/gpio.h
This commit update the incorrect comments in rom/gpio.h And now
esp_rom_gpio.h is recommend instead of rom/gpio.h. So this commit adds
macro SIG_GPIO_OUT_IDX in esp_rom_gpio_connect_out_signal
function and removes the reference to gpio.h in some source files.
Closes https://github.com/espressif/esp-idf/issues/11737
2023-07-13 10:52:50 +08:00
morris
56a376c696
feat(esp_gdma): add hal interface for common operations
...
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
Song Ruo Jing
ea48030514
Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
...
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps
Closes IDF-7406
See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
Armando (Dou Yiwen)
adb93a3770
Merge branch 'feature/add_esp32p4_soc_support_part_3' into 'master'
...
soc: added soc headers for esp32p4 (part 3)
See merge request espressif/esp-idf!24481
2023-07-07 11:44:46 +08:00
Wu Zheng Hui
94613a5904
Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_master' into 'master'
...
ci: fix deepsleep wakestub example ci failure
See merge request espressif/esp-idf!24466
2023-07-07 11:38:14 +08:00
Kevin (Lao Kaiyao)
a6e2ea141a
Merge branch 'refactor/adc_2nd_step_calib_coeff_stuff' into 'master'
...
adc_calib: refactor 2nd step coeff
Closes IDF-7653
See merge request espressif/esp-idf!24397
2023-07-06 20:32:31 +08:00
Armando
2f6ce0cc17
fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2
2023-07-06 17:54:31 +08:00
laokaiyao
edc1abc8ea
refactor(adc_calib): Simplify 2nd step coefficient calculation
...
- remove unnecessary variables and calculations
- improve readability of code
2023-07-06 14:22:03 +08:00
Jin Chen
d918b5226c
Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
...
ble: support esp32h2 modem clock selection
Closes EBLE50Y23-129
See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
wuzhenghui
05d15a2eed
sleep: enrich top_domain_pd_allowed function description
2023-07-05 11:16:44 +00:00
Song Ruo Jing
4985caa38f
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps
2023-07-05 11:47:51 +08:00
Li Shuai
f4c3b07436
fix(rtc_clk): fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC
2023-07-04 11:23:07 +08:00
cjin
3d2342df6c
ble: support esp32h2 modem clock selection
2023-07-03 16:05:42 +08:00
xiaqilin
59ffcd07d6
ieee802154: change BLE_BB/ieee802154_BB
2023-07-03 02:21:58 +00:00
xiaqilin
95afd4b9af
openthread: add openthread autostart for sleep device
2023-07-03 02:21:58 +00:00
xiaqilin
485a9d44cf
ieee802154: add sleep state
2023-07-03 02:21:58 +00:00
xiaqilin
dc4b3f24bc
ieee802154: support light sleep
2023-07-03 02:21:58 +00:00
Lou Tian Hao
7c2ac1feb6
Merge branch 'bringup/esp32h2_light_sleep_for_rebase' into 'master'
...
esp32h2: support light_sleep
Closes IDF-6266 and IDF-7359
See merge request espressif/esp-idf!23567
2023-06-28 10:37:18 +08:00
morris
7fc9d3fe69
Merge branch 'test/check_soc_header_file_compile' into 'master'
...
soc: check the soc header files can compile
Closes IDF-5721
See merge request espressif/esp-idf!24393
2023-06-27 13:30:19 +08:00
Wu Zheng Hui
173d0951ee
Merge branch 'feature/improve_pd_vddsido_help_doc' into 'master'
...
Power Management: improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc
Closes IDFGH-10297
See merge request espressif/esp-idf!24301
2023-06-26 23:01:31 +08:00
morris
1c0be26531
fix(soc): soc header files can pass CI check
2023-06-26 23:00:45 +08:00
Lou Tianhao
6ee0f89676
Power Management: fix hp xtal wait bug for esp32h2 and esp32c6
2023-06-26 21:05:17 +08:00
Lou Tianhao
a329b15e7e
Power Management: support pu xtal in light sleep for esp32h2
2023-06-26 21:05:16 +08:00
Lou Tianhao
117008143b
bugfix: remove the workaround implemented in MR 22773 about the lp_timer
2023-06-26 21:05:16 +08:00
Lou Tianhao
7fd74057a3
example: bringup light sleep example for esp32h2
2023-06-26 21:05:16 +08:00
Lou Tianhao
2657d8f307
Power Management: change the IO hold interface for esp32c6
2023-06-26 21:05:16 +08:00
Lou Tianhao
ca55b91242
Power Management: update pmu init and sleep parameter
2023-06-26 21:05:16 +08:00
Lou Tianhao
b06cadddb3
Power Management: fix REGDMA clock issue when wake up form light sleep
2023-06-26 21:05:10 +08:00
Lou Tianhao
8457998505
Power Management: fix REGDMA power issue when TOP domain powered down during light sleep for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
b4210682c8
Power Management: support TOP domain powered down in light sleep for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
46cf3ecdc2
Power Management: support PAU REGDMA feature for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
6ea441c815
Power Management: support CPU powered down in light sleep for esp32h2
2023-06-26 20:57:55 +08:00
Lou Tianhao
63d32ab620
Power Management: support DFS and PMU feature for esp32h2
2023-06-26 20:57:55 +08:00
Kevin (Lao Kaiyao)
028c7bee0d
Merge branch 'feature/support_new_adc_cali_scheme_on_c6' into 'master'
...
adc_calib: support calibration v2 on esp32c6
Closes IDF-7610
See merge request espressif/esp-idf!24343
2023-06-26 18:30:19 +08:00
wuzhenghui
95c79e7ec5
Kconfig: improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc
...
Closes https://github.com/espressif/esp-idf/issues/11558
2023-06-26 11:51:56 +08:00
Armando
c448597f24
kconfig: introduced CONFIG_IDF_ENV_BRINGUP for new chip bringup usage
2023-06-26 03:30:23 +00:00
laokaiyao
f949819976
adc_calib: support calibration v2 on esp32c6
2023-06-26 10:40:36 +08:00
wuzhenghui
6fe405bffc
ci: fix failed ci test jobs
2023-06-21 15:24:50 +08:00
wuzhenghui
679ae47271
sleep: enable sleep reject when entering deep sleep and return err if sleep request is rejected
2023-06-21 11:27:40 +08:00
Wu Zheng Hui
1be9eee3ca
Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_master' into 'master'
...
esp_pm: fix esp32s3 psram access failed when dfs is enabled
Closes IDF-7400 and IDF-4120
See merge request espressif/esp-idf!24144
2023-06-19 17:58:03 +08:00
wuzhenghui
4196eddff1
esp_hw_support: add modem module mac reset api
2023-06-19 12:53:09 +08:00
Island
81e418b1f2
Merge branch 'ble_dev/support_ble_light_sleep_using_extra_link' into 'master'
...
ESP32C6: Add BLE light sleep support using extra link
Closes IDF-6528
See merge request espressif/esp-idf!23720
2023-06-19 11:47:58 +08:00
wuzhenghui
9074bee47c
ci: add access psram with DFS unity test
2023-06-19 10:15:08 +08:00
wuzhenghui
8334403f3c
bugfix: fix esp32s3 psram access failed when dfs is enabled
2023-06-19 10:15:04 +08:00
cjin
d2d65a72a0
btbb: support register retention in esp32c6
2023-06-16 15:37:03 +08:00
cjin
f3457133f6
ble:added esp32c6 light sleep support
2023-06-16 15:37:03 +08:00
Song Ruo Jing
921713fff4
uart: Support LP_UART port with UART driver on esp32c6
2023-06-16 07:31:40 +00:00
Jakob Hasse
006e675656
Merge branch 'bugfix/extern_c_decl' into 'master'
...
esp_hw_support: Added extern "C" declaration
Closes IDF-2860
See merge request espressif/esp-idf!24217
2023-06-14 23:23:37 +08:00
Michael (XIAO Xufeng)
702e97e9be
Merge branch 'feat/kconfig_c3_v1.0_dev' into 'master'
...
esp32c3: add development option for v1.0 chips
See merge request espressif/esp-idf!24205
2023-06-14 15:03:50 +08:00
Armando (Dou Yiwen)
17d6768e65
Merge branch 'feature/add_target_esp32p4' into 'master'
...
esp32p4: introduce the target
See merge request espressif/esp-idf!24155
2023-06-14 10:16:44 +08:00
Jakob Hasse
e87ac7255c
esp_hw_support: Added extern "C" declaration
2023-06-13 13:44:21 +02:00
Michael (XIAO Xufeng)
1490424ab6
esp32c3: add development support option for v1.0 chips
2023-06-13 17:39:13 +08:00
Konstantin Kondrashov
ac188ad074
Merge branch 'bugfix/mac_ext_order_for_c6_h2' into 'master'
...
esp_hw_support: Change the byte order of MAC for IEEE802154 (C6 and H2 chips)
Closes IDF-6809
See merge request espressif/esp-idf!23988
2023-06-13 16:08:13 +08:00
Armando
101e6a18eb
esp32p4: introduce the target
...
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
Armando (Dou Yiwen)
f9cd9e3e32
Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled' into 'master'
...
mspi: added timing tuning start, and success log
See merge request espressif/esp-idf!24052
2023-06-12 18:22:13 +08:00
morris
575ad2bd6f
Merge branch 'bugfix/adc_outof_bound_read' into 'master'
...
adc: fix out of bound read
See merge request espressif/esp-idf!24134
2023-06-12 14:13:57 +08:00
Armando
b5142b248d
mspi: added timing tuning start, and success log
2023-06-12 11:44:24 +08:00
Wu Zheng Hui
2b6551f84d
Merge branch 'bugfix/support_esp326_xtal_xpd' into 'master'
...
esp32c6: support xtal xpd
Closes IDF-7318
See merge request espressif/esp-idf!22932
2023-06-12 11:28:59 +08:00
morris
88600bd91b
driver: minor code clean up to pass coverity scan test
2023-06-10 16:21:12 +08:00
Konstantin Kondrashov
f875978fb3
Merge branch 'bugfix/incorrect_time_after_ota' into 'master'
...
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
Closes IDFGH-7930
See merge request espressif/esp-idf!23030
2023-06-09 00:30:52 +08:00
KonstantinKondrashov
f7dfd1f48e
mac_addr(C6 and H2): Fix byte order of MAC_EXT and change format of IEEE802154 MAC
...
The changes only related to C6 and H2 chips where CONFIG_SOC_IEEE802154_SUPPORTED=y.
For this case these APIs return 8 bytes
esp_efuse_mac_get_default() -> 8 bytes
esp_efuse_mac_get_custom() -> 8 bytes
esp_read_mac(..., ESP_MAC_IEEE802154) -> 8 bytes
The rest cases len is 6 bytes
2023-06-08 23:11:32 +08:00
Mahavir Jain
c20f640d51
Merge branch 'feature/anti_dpa_configuration_c6_h2' into 'master'
...
esp32c6/esp32h2: crypto: add support for DPA protection configuration
Closes IDF-6973
See merge request espressif/esp-idf!23921
2023-06-08 22:49:21 +08:00
KonstantinKondrashov
cb6e2133f0
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
...
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.
So now system time will be valid even after OTA.
Closes https://github.com/espressif/esp-idf/issues/9448
2023-06-08 21:59:21 +08:00
Michael (XIAO Xufeng)
54712f9d9d
Merge branch 'bugfix/esp32_package_name' into 'master'
...
esp32: stop using deprecated name PICOD2 to avoid confusion
See merge request espressif/esp-idf!24109
2023-06-08 21:06:37 +08:00
wuzhenghui
71563e0995
sleep: Fix domain power down status cannot get updated accordingly with the allowance of retention in runtime
2023-06-08 17:26:18 +08:00
wuzhenghui
8a1e63c8ad
feature: support xtal_xpd pmu parameters
2023-06-08 17:23:52 +08:00
Mahavir Jain
1696be719c
crypto: add support for DPA protection configuration in C6/H2
...
- Technical details covered in section "15.3.2 Anti-DPA Attack Security
Control" chapter of the ESP32-C6 TRM
- Default configuration sets the security level low for the DPA
protection
- This change applies to all the crypto peripherals where the clock
frequency is dynamically adjusted to create randomness in the power
consumption trajectory
- This configuration helps to make the SCA attacks difficult on the
crypto peripherals
2023-06-08 11:09:23 +05:30
Xiao Xufeng
91fc40cfd9
esp32: stop using deprecated name PICOD2 to avoid confusion
2023-06-08 02:09:12 +08:00
laokaiyao
71ef56f988
gdma: support on_recv_done callback
2023-06-07 11:38:32 +08:00
morris
630b1b079e
drivers: fix issue reported by coverity
2023-06-06 14:16:09 +08:00
xuxiao
722c60c14b
esp_wifi: itwt add setup timeout timer to track response frame
2023-06-02 21:10:32 +08:00
wuzhenghui
713da85988
bugfix: fix sleep failed caused by uart clk lost
2023-06-02 20:52:25 +08:00
wuzhenghui
2981d38000
bugfix: fix some flash funcs called in sleep wakeup process
2023-05-31 17:56:46 +08:00