cjin
b37f172cc6
ble: fix cca for esp32c2
2023-06-29 19:59:16 +08:00
Jiang Jiang Jian
ef659e407e
Merge branch 'bugfix/fix_esp32s3_tsens' into 'master'
...
esp_wifi: Fix call tx_pwctrl_background caused crash in ESP32S3.
Closes WIFI-6064
See merge request espressif/esp-idf!24474
2023-06-29 18:09:46 +08:00
chenjianhua
e748546365
bluedroid: fixed gatt tcb free when disconnecting
2023-06-29 18:03:49 +08:00
Jiang Jiang Jian
7b5cec5836
Merge branch 'bugfix/decouple_softap_c2' into 'master'
...
esp_wifi: decouple softap for esp32c2.
See merge request espressif/esp-idf!24411
2023-06-29 17:05:46 +08:00
Mahavir Jain
90290507fb
fix(mbedtls): Build issue in dynamic buffer feature
...
Fix build issue in mbedTLS dynamic buffer feature with
`CONFIG_MBEDTLS_DHM_C` enabled case. Also added a build
configuration for the test coverage.
Closes https://github.com/espressif/esp-idf/issues/11770
2023-06-29 13:30:30 +05:30
Sonika Rathi
cf7e743a9b
Merge branch 'bugfix/wp_sdcard_polarity_support' into 'master'
...
Added support for write protection polarity for SDCard
Closes IDFGH-9892
See merge request espressif/esp-idf!24262
2023-06-29 14:59:22 +08:00
cjin
c460a1c1af
ble: support esp32c6 power save example
2023-06-29 14:35:48 +08:00
Armando (Dou Yiwen)
1c76664849
Merge branch 'feature/add_esp32p4_soc_support_part_2' into 'master'
...
soc: added soc headers for esp32p4 (part 2)
See merge request espressif/esp-idf!24406
2023-06-29 11:12:10 +08:00
Armando (Dou Yiwen)
ad0345a41a
Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue' into 'master'
...
spi_flash: fix concurrency issue when concurrently calling esp_flash apis under xip_psram or auto_suspend
See merge request espressif/esp-idf!24215
2023-06-29 11:08:39 +08:00
chenjianxing
c2d30dbd0c
fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3.
2023-06-29 11:03:37 +08:00
Alexey Lapshin
ef699e70ad
fix(app_trace): Fix SystemView build
2023-06-28 18:28:36 +04:00
Zim Kalinowski
c412ac625c
Merge branch 'feature/qemu-bootloader-support' into 'master'
...
bootloader_support: Enable tests on QEMU (ESP32 and ESP32C3)
Closes IDF-7335
See merge request espressif/esp-idf!21416
2023-06-28 21:03:15 +08:00
Mahavir Jain
08be8ff5ec
Merge branch 'support/esp_coredump_logs_config' into 'master'
...
Optionally disable logs in espcoredump component
See merge request espressif/esp-idf!23899
2023-06-28 20:28:40 +08: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
sonika.rathi
b8c3a3aeee
Added support for write protection polarity for SDCard
...
Closes https://github.com/espressif/esp-idf/issues/11208
2023-06-28 13:20:36 +02:00
Sumeet Singh
4d3e48ad1f
Merge branch 'feature/exposed_gap_service_macros_to_menuconfig' into 'master'
...
NimBLE: Exposed macros used by GAP service to menuconfig
See merge request espressif/esp-idf!23876
2023-06-28 18:34:30 +08:00
Chen Ji Chang
01d70a8ff7
Merge branch 'feature/use_esp_rom_delay_us_to_test_the_accuracy_of_gptimer' into 'master'
...
gptimer: replace vTaskDelay with esp_rom_delay_us in test_apps
Closes IDF-7308
See merge request espressif/esp-idf!24419
2023-06-28 16:15:31 +08:00
Vikram
677b70ea96
Optionally disable logs in espcoredump component
...
Early log strings used by this component are placed in DRAM.
Disabling these logs saves ~5KB of internal memory
Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-06-28 06:46:32 +00:00
Armando
9ee0da1705
register changes
2023-06-28 13:57:28 +08:00
chenjianxing
3472c2a02a
esp_wifi: decouple softap for esp32c2.
2023-06-28 13:47:31 +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
Chen Jichang
001a16ea6e
refactor(driver/gptimer): replace vTaskDelay
...
with esp_rom_delay_us in test_apps
This commit replaces vTaskDelay with esp_rom_delay_us in the gptimer
driver. The former function can introduce millisecond jitter due to
OS task switching, while the latter has less jitter because of the
polling delay. Therefore this commit reduces the delta values for
various timer tests.
Changes made in this commit include:
- Replacing vTaskDelay with esp_rom_delay_us
- Adjusting delta values for various timer tests
2023-06-28 11:50:26 +08:00
Wang Meng Yang
52071f4e44
Merge branch 'bugfix/sdp_32_and_128_bit_UUID' into 'master'
...
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID
Closes IDFGH-10312
See merge request espressif/esp-idf!24173
2023-06-28 11:34:51 +08:00
Armando
989c6f6e46
feat(soc): Added soc headers for esp32p4, part 2
2023-06-28 11:19:20 +08:00
Armando (Dou Yiwen)
b3b9b327a1
Merge branch 'bugfix/fix_s3_adc1_wrong_clk_div' into 'master'
...
adc: fix adc oneshot mode clk div issue on esp32, esp32s2 and esp32s3
Closes IDF-7654
See merge request espressif/esp-idf!24420
2023-06-28 11:12:40 +08:00
Armando
5d3f2c7571
feat(spi_flash): add common test_flash_utils component
2023-06-28 11:08:05 +08:00
Armando
5948c4b8ff
spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
...
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-06-28 11:08:05 +08:00
Armando
267ab08a29
spiflash: added esp_flash API concurrency pressure test
2023-06-28 11:08:05 +08:00
Armando
0e6d3aa9cd
spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen
2023-06-28 11:08:05 +08:00
Armando
f1f446d495
spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue
2023-06-28 11:08:05 +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
Island
f63719837a
Merge branch 'bugfix/fixed_ble_create_sync_fail' into 'master'
...
Bugfix/fixed ble create sync fail
See merge request espressif/esp-idf!24304
2023-06-28 10:27:18 +08:00
Jiang Jiang Jian
93fcfbeb54
Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc' into 'master'
...
esp_wifi: fix ret when setting channel at wifi not started, fix timer callback
Closes IDF-7270, WIFI-5607, WIFI-5736, and WIFI-3607
See merge request espressif/esp-idf!23782
2023-06-27 21:34:53 +08:00
Liu Ning
8514469092
esp_wifi: fix ret when setting channel at wifi not started, fix timer callback
2023-06-27 21:34:53 +08:00
Martin Vychodil
e097c40345
Merge branch 'bugfix/memprot_checks' into 'master'
...
[System] remove Memprot specific checks and setup (heap caps, OS restart)
Closes IDF-7255
See merge request espressif/esp-idf!23433
2023-06-27 21:14:09 +08:00
Lou Tianhao
c7c937ea75
bugfix: set FORCE_INLINE_ATTR for resume_uart
2023-06-27 18:35:16 +08:00
Lou Tianhao
5c608f0f50
TODO: IDF-7657
2023-06-27 18:34:33 +08:00
Zim Kalinowski
434a9e4e2f
ci(bootloader): Enable QEMU tests (ESP32 and ESP32C3)
2023-06-27 17:14:18 +08:00
Darian
9f5271031d
Merge branch 'feature/ringbuf_add_create_with_caps' into 'master'
...
esp_ringbuf: Add xRingbufferCreateWithCaps()
See merge request espressif/esp-idf!24377
2023-06-27 16:40:33 +08:00
Sumeet Singh
9de43c3bef
NimBLE: Exposed macros used by GAP service to menuconfig
2023-06-27 12:56:55 +05:30
Martin Vychodil
5640bb2d2d
Merge branch 'bugfix/wl_logv_too_few_args' into 'master'
...
Storage/Wear Levelling: fixed too few arguments in ESP_LOGV macro (WL_Flash::config)
Closes IDF-7640
See merge request espressif/esp-idf!24414
2023-06-27 14:59:37 +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
Armando
eaf21a34af
fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue
2023-06-27 14:40:22 +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
Marius Vikhammer
cf838f44cb
fix(core-system/esp event): Fixed missing error return documentation for esp_event_loop_create_default
...
ESP_ERR_INVALID_STATE was not listed as a possible return error code.
Closes https://github.com/espressif/esp-idf/issues/11745
2023-06-27 10:55:53 +08:00
Martin Vychodil
65bc1ed055
System: remove digital-system reset within OS restart when Memprot on
2023-06-26 20:22:59 +02:00
Martin Vychodil
0e350d49ad
fix(Storage/Wear Levelling): Fixed too few arguments in ESP_LOGV macro (WL_Flash::config)
...
- Added missing argument for wl_page_size in ESP_LOGV macro in WL_Flash::config function.
2023-06-26 17:40:44 +02: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
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
d585861d22
TODO: IDF-7555
2023-06-26 21:05:17 +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
01fb28b65b
Power Management: move lp_timer_hal.c to upper hal layer for esp32h2 and esp32c6
2023-06-26 21:05:16 +08:00
Lou Tianhao
b5a293ab69
Power Management: support RC32K or Crystal32K powered down
2023-06-26 21:05:16 +08:00
Lou Tianhao
9613692350
codeclean: fix prefix to LP_AON and add LP_AON_STORE8_REG
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
d3ca0656c8
Power Management: support MODEM domain powered down in light sleep for esp32h2
2023-06-26 20:58:59 +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
Martin Vychodil
bed7fe8aa5
Merge branch 'fix/nvs_tool_invalid_entry_none_check' into 'master'
...
NVS: nvs_tool.py entry.data None check fix
Closes IDF-7637
See merge request espressif/esp-idf!24358
2023-06-26 19:11:25 +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
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
Ilia Lutchenko
418ffd147b
btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
...
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-26 10:05:50 +02:00
Darian
464052aa7a
Merge branch 'bugfix/twai_install_returns_error_on_intr_alloc_fail' into 'master'
...
TWAI: twai_driver_install() returns error on interrupt allocation failure (GitHub PR)
Closes IDFGH-10231
See merge request espressif/esp-idf!24364
2023-06-26 15:13:44 +08:00
Darian Leung
7d983fe5a3
esp_ringbuf: Add xRingbufferCreateWithCaps()
...
This commit adds APIS to create a ring buffer with specific memory caps. The
following APIs have been added:
- xRingbufferGetStaticBuffer()
- xRingbufferCreateWithCaps()
- vRingbufferDeleteWithCaps()
2023-06-26 15:05:29 +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
Sudeep Mohanty
67552c31da
Merge branch 'feature/lp_uart_on_lp_core' into 'master'
...
lp-core-uart: Added LP UART driver support and printf ability to the LP core
Closes IDF-6831 and IDF-5815
See merge request espressif/esp-idf!23971
2023-06-26 14:40:20 +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
Aditya Patwardhan
360f551f48
Merge branch 'fix/mbedtls_ecdsa_veriy_restartable' into 'master'
...
mbedtls: update submodule
See merge request espressif/esp-idf!24372
2023-06-26 11:28:58 +08: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
laokaiyao
f949819976
adc_calib: support calibration v2 on esp32c6
2023-06-26 10:40:36 +08:00
Jiang Jiang Jian
51aaed8c22
Merge branch 'bugfix/resume_ext_scan_pti_in_time' into 'master'
...
bt: fix the issue that BLE scan uses high priority incorrectly and causes Wi-Fi unable to work normally on ESP32-C3 and ESP32-S3
Closes BT-3313
See merge request espressif/esp-idf!24184
2023-06-26 10:37:24 +08:00
Jiang Jiang Jian
d68898785a
Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit' into 'master'
...
bugfix/Fixed the issue of alarm leak
See merge request espressif/esp-idf!24350
2023-06-26 10:21:32 +08:00
zwl
4bf95fb638
ble: Fixed the issue of occasional failure to create sync on ESP32-H2
2023-06-25 21:42:41 +08:00
zwl
649ce4f5b0
ble: Fixed the issue of occasional failure to create sync on ESP32-C6
2023-06-25 21:37:58 +08:00
Shu Chen
6fc45d4978
Merge branch 'fix/phylib_rtc_printf' into 'master'
...
esp_phy: fix rtc_printf and libbtbb version print
See merge request espressif/esp-idf!24356
2023-06-25 20:05:23 +08:00
Darian
0e1bbb0138
Merge branch 'bugfix/ringbuf_static_object_size' into 'master'
...
Ringbuf: Fix ordering of StaticRingbuffer_t
Closes IDFGH-10479
See merge request espressif/esp-idf!24371
2023-06-25 19:28:53 +08:00
Nebojsa Cvetkovic
9956bfac3e
twai: twai_driver_install() returns error on interrupt allocation failure
...
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.
Closes https://github.com/espressif/esp-idf/pull/11494
[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-06-25 18:32:41 +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
Armando
b8df6d1973
soc: add io_mux_reg/struct.h
2023-06-25 16:51:09 +08:00
xiongweichao
2fa475bc2c
bt: Fixed some bluetooth bugs
...
1. Fixed LC_AFH_UPDATE_IND has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-06-25 16:32:07 +08:00
xiongweichao
3fd18692a2
components/bt: Fix crash due to NULL point
2023-06-25 16:18:30 +08:00
Jiang Jiang Jian
29a3f86536
Merge branch 'bugfix/nvs_get_sae_pwe_mismatch' into 'master'
...
esp_wifi: Bugfix NVS get values for sae_pwe
See merge request espressif/esp-idf!23878
2023-06-25 15:45:31 +08:00
Darian Leung
b104b52b0e
ringbuf: Fix ordering of StaticRingbuffer_t
...
When building on linux/host compilers (e.g., GCC), the compiler may add padding
depending on the size and order of the member types.
This commit fixes the ordering or the StaticRingbuffer_t such that it matches
the internal Ringbuffer_t. The "_Static_assert" is always enabled for all
compilers.
Closes https://github.com/espressif/esp-idf/issues/11726
2023-06-25 15:30:19 +08:00
Kevin (Lao Kaiyao)
c221ce331a
Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure' into 'master'
...
i2s: fixed i2s_ll compiling failure under C++ environment
Closes IDFGH-10367 and IDFCI-1695
See merge request espressif/esp-idf!24242
2023-06-25 13:16:59 +08:00
wangmengyang
f6c41c5cca
bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally
2023-06-25 03:54:32 +00:00
Armando
5a88a7da0e
soc: added soc headers for esp32p4, part 1
2023-06-25 10:35:15 +08:00
Wu Zheng Hui
c41abacb3a
Merge branch 'feature/enable_sleep_reject_for_deep_sleep' into 'master'
...
sleep: enable sleep reject when entering deepsleep
Closes WIFI-6010
See merge request espressif/esp-idf!24127
2023-06-25 00:02:32 +08:00