Commit Graph

1903 Commits

Author SHA1 Message Date
Jiang Jiang Jian
ccb6e2887a Merge branch 'bugfix/fix_ftm_dist_est' into 'master'
Enable FTM for ESP32C2, fix other FTM issues

Closes WIFI-3464, WIFI-4127, WIFI-4600, WIFI-4655, WIFI-5001, WIFI-5444, WIFI-5472, WIFI-5742, and WIFI-5893

See merge request espressif/esp-idf!22798
2023-07-11 12:20:42 +08:00
morris
682e5ae450 Merge branch 'feature/esp_gdma_ops' into 'master'
feat(esp_gdma): add hal interface for common operations

Closes IDF-7809

See merge request espressif/esp-idf!24433
2023-07-11 10:40:42 +08:00
Armando (Dou Yiwen)
282e3b03bb Merge branch 'feature/add_esp32p4_hal_support' into 'master'
hal: add esp32p4 hal support

See merge request espressif/esp-idf!24427
2023-07-11 10:09:16 +08:00
Armando
c5e99100e7 feat(hw stack): added todo for hw stack guard in soc_caps.h 2023-07-10 16:11:47 +08:00
Armando
ea05ae6af2 feat(esp32p4): added hal support 2023-07-10 16:11:47 +08:00
Jiang Jiang Jian
cdaf1fd518 Merge branch 'fix/esp32s3_sysview_trace_corrupt' into 'master'
fix(app_trace): Fix apptrace data corruption on ESP32-S3

Closes OCD-647 and IDFGH-9216

See merge request espressif/esp-idf!24500
2023-07-10 16:01:43 +08:00
morris
9eb145aa21 feat(esp_gdma): adapt the gdma driver to ahb-dma and axi-dma 2023-07-10 13:45:57 +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
Nachiket Kukade
6e6139061d fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
Enable FTM for ESP32C2 and update wifi libs with below fixes -

1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).

Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-10 10:41:37 +05:30
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
93d4095fb0 feat(soc): added pmu_icg_mapping.h on p4 2023-07-06 18:57:41 +08:00
Armando
1c3aedf45e remove p4 rtc_io related files as requested 2023-07-06 18:23:18 +08:00
Armando
a9365b8049 feat(soc): rename rtc_timer_reg to lp_timer_reg 2023-07-06 18:23:18 +08:00
Armando
369f8ba459 feat(soc): update interrupts.c 2023-07-06 18:23:18 +08:00
Armando
9d755f855e feat(soc): update efuse registers 2023-07-06 18:23:18 +08:00
Armando
e921d03a0d feat(soc): update gpio_ext_reg.h and its base addr 2023-07-06 18:23:18 +08:00
Armando
65bfa590da feat(soc): soc updates 2023-07-06 18:23:18 +08:00
Armando
2f6ce0cc17 fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2 2023-07-06 17:54:31 +08:00
Armando
8cf0e5d5b8 feat(soc): rename rtc_wdt_reg to lp_wdt_reg 2023-07-06 17:54:31 +08:00
Armando
0959c0cb96 feat(soc): rename mspi registers 2023-07-06 17:54:31 +08:00
Armando
611c1037a2 feat(soc): added soc_caps.h on esp32p4 2023-07-06 17:54:31 +08: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
Armando
070040c444 feat(soc): added soc support for esp32p4, part3 2023-07-05 11:45:48 +08:00
morris
0298e6f257 Merge branch 'feature/gpio_num_per_target' into 'master'
refactor(gpio): per-target gpio number definition

See merge request espressif/esp-idf!24546
2023-07-04 14:12:39 +08:00
morris
d623ce0d53 refactor(gpio): per-target gpio number definition 2023-07-03 13:33:11 +08:00
Alexey Lapshin
4df3ff619e feat(esp_system): implement hw stack guard for riscv chips
- add hardware stack guard based on assist-debug module
- enable hardware stack guard by default
- disable hardware stack guard for freertos ci.release test
- refactor rtos_int_enter/rtos_int_exit to change SP register inside them
- fix panic_reason.h header for RISC-V
- update docs to include information about the new feature
2023-07-01 16:27:40 +00:00
Alexey Gerenkov
d786d2d459 fix(app_trace): Fix apptrace data corruption on ESP32-S3
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
 #endif

 #define TRACEMEM_MUX_BLK0_NUM                   22
-#define TRACEMEM_MUX_BLK1_NUM                   23
+#define TRACEMEM_MUX_BLK1_NUM                   26

 #if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
 #error Invalid TRAX block 0 num!
2023-06-29 15:55:40 +03:00
Armando
d417ec9f06 feat(soc): modify mipi_csi_bridge_reg.h prefix
Prefix CSI_BRIG -> CSI_BRG
2023-06-28 19:39:34 +08:00
Armando
fa435cc699 feat(soc): updated mspi registers 2023-06-28 19:39:34 +08:00
Armando
9ee0da1705 register changes 2023-06-28 13:57:28 +08:00
Armando
424a3d3fa3 feat(soc): Rename pwm_reg.h to mcpwm_reg.h 2023-06-28 12:22:14 +08:00
Armando
bd9e566d6d feat(soc): Merge spi2_reg.h and spi3_reg.h 2023-06-28 12:22:14 +08:00
Armando
989c6f6e46 feat(soc): Added soc headers for esp32p4, part 2 2023-06-28 11:19:20 +08: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
deda773bbf Merge branch 'chor/update_gdma_register_name_prefix_esp32c3' into 'master'
gdma: update soc reg.h for esp32c3 to be consistent with TRM

Closes DOC-5141

See merge request espressif/esp-idf!24082
2023-06-27 14:57:17 +08:00
morris
1c0be26531 fix(soc): soc header files can pass CI check 2023-06-26 23:00:45 +08:00
morris
d18a03b0db Merge branch 'refactor/rename_gpio_ext_reg_name_c6_h2' into 'master'
gpio_ext: rename register prefix to be GPIO_EXT_xxx

See merge request espressif/esp-idf!23969
2023-06-26 22:29:39 +08:00
Lou Tianhao
7fd74057a3 example: bringup light sleep example for esp32h2 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
d3ca0656c8 Power Management: support MODEM domain powered down in 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
Armando (Dou Yiwen)
8db5812449 Merge branch 'feature/introduce_idf_env_bringup_for_esp32p4' into 'master'
kconfig: introduced CONFIG_IDF_ENV_BRINGUP for new chip bringup usage

See merge request espressif/esp-idf!24234
2023-06-26 18:17:05 +08:00
Armando (Dou Yiwen)
ddb9c1172f Merge branch 'feature/add_esp32p4_soc_support' into 'master'
soc: added soc headers for esp32p4 (part 1)

See merge request espressif/esp-idf!24284
2023-06-26 14:44:13 +08:00
Armando
c448597f24 kconfig: introduced CONFIG_IDF_ENV_BRINGUP for new chip bringup usage 2023-06-26 03:30:23 +00:00
Shu Chen
54e45c7be4 Merge branch 'bugfix/fix_multipan_enable_and_update_reg' into 'master'
ieee802154: fix multipan api error and update coex_arb_delay reg

See merge request espressif/esp-idf!24145
2023-06-26 11:00:08 +08:00
Armando
4d5506a31b soc: rename ana_i2c_mst_reg.h to i2c_ana_mst_reg.h 2023-06-25 17:31:18 +08:00
Armando
7250e397ac soc: migrate system_reg.h, hp_sys_reg.h to hp_system_reg.h 2023-06-25 16:51:09 +08:00