Commit Graph

1925 Commits

Author SHA1 Message Date
morris
fb7cc00378 Merge branch 'refactor/reorganize_the_interrupt_description_files' into 'master'
refactor(interrupt): Put the interrupts definitions in soc/interrupts.h

Closes IDF-5776

See merge request espressif/esp-idf!24578
2023-07-19 12:05:56 +08:00
Shen Weilong
e9e6372690 feat(ble): Added ble examples for multiple connections 2023-07-18 12:05:11 +08:00
Chen Jichang
304c7572a6 refactor(interrupt):put the interrupts definitions in soc/interrupts.h
Now the soc interrupts definitions are scattered around in the esp-idf
which are out of sync. Put interrupts definitions in soc/periph_defs.h
(!ESP32) or soc/soc.h(ESP32) together in soc/interrupts.h.
2023-07-17 19:31: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
842ff10777 fix(soc): fix wrong freq definition for 26Mhz version esp32c2 soc 2023-07-15 01:54:48 +08:00
wuzhenghui
2b600df4ee fix(esp_pm): Constrains the minimum frequency of APB_MAX when the modem is working 2023-07-14 20:10:16 +08:00
Mahavir Jain
48ead0158e Merge branch 'fix/mbedtls_internal_shaX_process_api_port' into 'master'
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api

See merge request espressif/esp-idf!24545
2023-07-14 18:23:34 +08:00
harshal.patil
eb3dab8af4 ci(mbedtls): added a test for the mbedtls_internal_shaX_process API 2023-07-14 04:08:30 +00:00
harshal.patil
79d07f9909 fix(mbedtls): Fix the port for the mbedtls_internal_shaX_process API
- Also added the fix to update intermediate SHA state in the mbedtls_shaX_update API
2023-07-14 04:08:30 +00:00
cjin
cf744f9466 ble: support eco1 BLE light sleep 2023-07-14 10:49:14 +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
Armando (Dou Yiwen)
c7d8b06fd2 Merge branch 'feature/add_esp32p4_esp_rom_support' into 'master'
esp_rom: add esp32p4 esp_rom support

See merge request espressif/esp-idf!24703
2023-07-13 19:08:42 +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
Armando
59ed00a784 fix(soc): fix wrong register names in axi_dma_reg.h 2023-07-13 12:38:29 +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
Jiang Jiang Jian
d04928a9c0 Merge branch 'feature/external_coexist_improve_esp32s3_master_performance' into 'master'
Feature/external coexist improve esp32s3 master performance

Closes WIFI-5583, IDF-6640, IDF-6652, and FCC-52

See merge request espressif/esp-idf!23150
2023-07-13 07:51:06 +08:00
Konstantin Kondrashov
dd08ec095b Merge branch 'feature/add_new_pkg_and_flash_efuses_esp32c3' into 'master'
feat(efuse): Add flash efuses for esp32c3

Closes IDF-7609

See merge request espressif/esp-idf!24685
2023-07-13 00:57:58 +08:00
Konstantin Kondrashov
9708952fa8 Merge branch 'feature/add_new_pkg_and_flash_psram_efuses' into 'master'
feat(efuse): Add flash&psram efuses for S3

Closes IDF-7439

See merge request espressif/esp-idf!24624
2023-07-13 00:57:14 +08:00
muhaidong
de03939923 external coex: rename coex gpio struct field names 2023-07-12 19:23:39 +08:00
KonstantinKondrashov
b95dfc67fa feat(efuse): Add flash efuses for esp32c3 2023-07-11 19:49:17 +08:00
KonstantinKondrashov
cf46ef954f feat(efuse): Add flash&psram efuses for S3 2023-07-11 19:41:40 +08:00
Armando
ec88a3f018 fix(ahb_dma): temporarily disable ahb_dma on p4 2023-07-11 16:59:02 +08:00
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