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