Bradley McFadden
6a21403cba
uart: Correct typo in referenced function name
...
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.
Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-01 12:19:07 +08:00
Marius Vikhammer
7a0b9f65c9
esp-system: migrate test app cases to pytest
2023-03-01 03:21:39 +00:00
Armando
6d88c52bc5
esp_common: restore test_attr test scope for psram
2023-03-01 11:04:22 +08:00
Armando (Dou Yiwen)
bbac0c81f2
Merge branch 'bugfix/fix_adc_pm_lock_release_issue' into 'master'
...
esp_adc: fix continuous mode pm lock release fail issue and add tests
Closes IDFGH-9493
See merge request espressif/esp-idf!22535
2023-03-01 10:46:52 +08:00
Armando
0fb0be3817
ld: fixed bootloader and app potential overlap issue
2023-03-01 10:39:30 +08:00
morris
f534247a00
driver: add parallel IO TX driver
2023-03-01 00:43:14 +00:00
morris
d9f82baca7
driver: fix typo "destroy"
2023-03-01 00:43:14 +00:00
Darian Leung
a8b9314353
esp_ringbuf: Clarify behavior when sending items of 0 size
...
Ring buffers permit sending items of 0 size where:
- No-split/allow-split buffers will send an item (i.e., header) but the item
will have a 0 sized data section
- Byte buffers will simply return pdTRUE
This commit fixes an incorrect assert w.r.t 0 item size in
xRingbufferSendAcquire() and also adds a note to the API descriptions regarding
0 item sizes. A test case has also been added.
2023-02-28 23:56:45 +08:00
Darian Leung
443d87c2ff
esp_ringbuf: Replace internal semaphores with task event lists
...
This commit replaces the existing TX/RX semaphores with FreeRTOS task event
lists (similar to how FreeRTOS queues implement task blocking). Using task
event lists allows the ring buffer object to be smaller and various ring buffer
functions to be faster. The ring buffer queue set impelementation was also
updated as a result.
2023-02-28 23:56:45 +08:00
Shu Chen
e8784f3641
Merge branch 'feature/add_154_ci_for_c6' into 'master'
...
IEEE802.15.4: replace ESP32-H4 with ESP32-C6 for 154 CI
See merge request espressif/esp-idf!22149
2023-02-28 22:38:12 +08:00
Shen Wei Long
20cc537044
Merge branch 'bugfix/fix_assertion_when_deinit_ble_controller' into 'master'
...
[esp32c2] Fixed the occasional assertion when deinit the ble controller
Closes BT-3203
See merge request espressif/esp-idf!22455
2023-02-28 20:53:21 +08:00
Song Ruo Jing
eab8abd877
ledc: Fix improper fade parameters for one-time duty set
...
Valid step and cycle values starts from 1.
scale = 0 indicates no change in duty for this linear fade.
2023-02-28 20:13:52 +08:00
xiaqilin
967bfb603c
ieee802154: update 154 lib for esp32h2 and esp32c6
...
* Add support esp32h2
* Change esp32c6 using modem clock
2023-02-28 19:59:28 +08:00
Mahavir Jain
4db6cae2d6
Merge branch 'fix/mbedtls_test_app_perf_logs_esp32c2' into 'master'
...
mbedtls/test_apps: Fix performance logs
See merge request espressif/esp-idf!22340
2023-02-28 19:50:56 +08:00
Jiang Jiang Jian
b9d40b4943
Merge branch 'feature/add_esp_http_client_host_test' into 'master'
...
fix esp_http_client_example to build for Linux target.
See merge request espressif/esp-idf!22339
2023-02-28 19:48:24 +08:00
Shu Chen
2f5b54111d
Merge branch 'bugfix/ot-spinel-uart-radio-frame-loss' into 'master'
...
openthread: add the configurable option of uart buffer size
See merge request espressif/esp-idf!22451
2023-02-28 19:13:08 +08:00
Wan Lei
c2d090d174
Merge branch 'test/h2_mcpwm_fix_legacy_test' into 'master'
...
mcpwm: fix h2 mcpwm legacy test
Closes IDF-6812
See merge request espressif/esp-idf!22510
2023-02-28 16:42:17 +08:00
Armando
53f1c35826
esp_adc: fix continuous mode pm lock release fail issue and add tests
...
Closes https://github.com/espressif/esp-idf/issues/10853
2023-02-28 16:33:50 +08:00
Martin Vychodil
25e438d94b
Merge branch 'feature/sdspi_host_h2' into 'master'
...
sdspi: h2 support
Closes IDF-6244
See merge request espressif/esp-idf!22504
2023-02-28 16:32:36 +08:00
Martin Vychodil
e4bb430743
Merge branch 'refactor/fix_code_coverity_issue' into 'master'
...
fatfs: fix deadcode issue
Closes IDF-6913
See merge request espressif/esp-idf!22413
2023-02-28 15:39:22 +08:00
Armando (Dou Yiwen)
a9ce76096d
Merge branch 'feature/esp_cache_msync' into 'master'
...
esp_mm: esp_cache_msync, a cache synchronise API
Closes IDF-6587, IDF-6779, and IDF-6288
See merge request espressif/esp-idf!22380
2023-02-28 15:17:49 +08:00
Xu Si Yu
6212ba6d35
IEEE802154: replace esp32h4 with esp32c6 for IEEE802.15.4 CI test
2023-02-28 15:04:04 +08:00
Jiang Jiang Jian
146a5c4de4
Merge branch 'feature/sae_softAP' into 'master'
...
esp_wifi: WPA3-SAE support for softAP
Closes IDFGH-4771
See merge request espressif/esp-idf!15690
2023-02-28 12:25:05 +08:00
Shreyas Sheth
2b8e40e760
esp_wifi: WPA3-SAE support for softAP
2023-02-28 12:25:05 +08:00
wanlei
08ecf47dd4
mcpwm: fix h2 mcpwm legacy test
2023-02-28 11:31:15 +08:00
Armando
4c0d6b6835
mbedtls: updated to use default gdma psram alignment
...
When accessing the PSRAM, the GDMA buffer alignment should be larger or
equal to the data cache line size
2023-02-28 10:42:22 +08:00
Armando
663e881868
gdma: fix potential unaligned cache writeback issue
2023-02-28 10:42:22 +08:00
Armando
1ecd1e3bf0
esp_mm: fix dependency to esp_psram
2023-02-28 10:42:22 +08:00
Armando
fda9746bb8
esp_mm: cache_msync API
2023-02-28 10:42:22 +08:00
Song Ruo Jing
8486a2c3ad
Merge branch 'bugfix/revert_rtc_clock_bbpll_power_on_with_usb' into 'master'
...
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
Closes IDFGH-6887
See merge request espressif/esp-idf!20973
2023-02-27 23:18:54 +08:00
Armando
0a472225cc
fatfs: fix deadcode issue
2023-02-27 11:25:29 +00:00
Xu Si Yu
4bf62250fb
CI: add openthread build CI for ESP32-H2
2023-02-27 17:51:19 +08:00
Harshit Malpani
214627f14b
mbedtls: Keep CONFIG_MBEDTLS_DYNAMIC_BUFFER
disabled for Linux target
2023-02-27 15:12:14 +05:30
Mahavir Jain
ad19981af8
Merge branch 'feature/esp32h2_enable_flash_encryption' into 'master'
...
Feature/esp32h2 enable flash encryption
Closes IDF-6282 and IDF-6680
See merge request espressif/esp-idf!22502
2023-02-27 16:55:32 +08:00
David Cermak
5f6cb31105
lwip: Support IPv6 only mode
2023-02-27 08:53:34 +01:00
wanlei
e5810924f2
spi: formate test_spi_param.c
2023-02-27 15:40:24 +08:00
zhangwenxu
2816ff14e4
ieee802154: add support for esp32h2
2023-02-27 15:32:32 +08:00
Armando
83d0181a2c
sdspi: h2 support
2023-02-27 14:39:06 +08:00
Mahavir Jain
2c8c8bfd2d
Merge branch 'bugfix/fix_build_issue_esp_tls_server_session_tickets' into 'master'
...
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
Closes IDFGH-9392
See merge request espressif/esp-idf!22381
2023-02-27 12:45:23 +08:00
Song Ruo Jing
1a66459b44
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
...
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
During sleep, BBPLL clock always gets disabled
esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
When this option is selected, IDF will constantly monitor USB CDC port connection status.
As long as it gets connected to a HOST, automatic light-sleep will not happen.
Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
Armando (Dou Yiwen)
dc76dde79f
Merge branch 'feature/support_c6_cache' into 'master'
...
cache: support c6/h2 cache error
Closes IDF-5342, IDF-5656, and IDF-6255
See merge request espressif/esp-idf!22078
2023-02-27 11:40:18 +08:00
wanlei
d8ac58b4d4
spi: add high freq test on different spi config
2023-02-27 11:27:57 +08:00
wanlei
cdd610cadc
spi_slave: fix io re-config issue
2023-02-27 11:27:57 +08:00
liuning
db11eaecdc
feature: separate coex lib from wifi lib, support esp32c6 internal coex
...
update wifi, coex, phy libs
2023-02-26 06:58:18 +00:00
liuning
31e340ee0d
esp_coex: correct wrapper names
2023-02-26 06:58:18 +00:00
wangmengyang
2c4fc5d9ea
bt: add coexistence internal API declarations and clean up some unused coexistence hooks
2023-02-26 06:58:18 +00:00
liuning
b3a040aa98
coex: apply new coex_schm_callback
2023-02-26 06:58:18 +00:00
wangmengyang
1661694e0b
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-02-26 06:58:18 +00:00
liuning
7817c23623
esp_coex: correct Kconfig name
2023-02-26 06:58:18 +00:00
zhangwenxu
4697d85944
esp_coex: support i154 set coex pti
2023-02-26 06:58:18 +00:00
liuning
5e59276ddf
esp_wifi: port coex adapter for esp32c6
2023-02-26 06:58:18 +00:00
liuning
38316b38b5
esp_wifi: move coex part from esp_wifi to esp_coex
2023-02-26 06:58:18 +00:00
liuning
103772df94
esp_wifi: support adapter of all chips for new coex lib
2023-02-26 06:58:18 +00:00
Jiang Jiang Jian
e8b38e141d
Merge branch 'bugfix/wifi_config_fixes' into 'master'
...
esp_wifi: Update some wifi config options
See merge request espressif/esp-idf!22397
2023-02-26 14:57:25 +08:00
Sudeep Mohanty
b464933661
Merge branch 'feature/rtc_isr_for_ulp' into 'master'
...
ulp: Added APIs to handle ULP signal ISRs for the main CPU
Closes IDFGH-9362
See merge request espressif/esp-idf!22439
2023-02-25 14:20:26 +08:00
Island
7bc2046ec1
Merge branch 'bugfix/esp_ble_mesh_gcc12_compile' into 'master'
...
ble_mesh: fix gcc-12 compile errors
Closes MTWJ-234
See merge request espressif/esp-idf!22500
2023-02-24 19:53:26 +08:00
Mahavir Jain
190f4c72bd
Merge branch 'fix/http_client_disable_auto_redirect_causes_loop' into 'master'
...
http_client: fixed looping caused when disable_auto_redirect enabled
Closes IDFGH-9243
See merge request espressif/esp-idf!22158
2023-02-24 19:43:39 +08:00
morris
8538f16361
Merge branch 'bugfix/gpio_glitch_filter_test' into 'master'
...
driver: improve gpio glitch filter test
Closes IDFCI-1621 and IDFCI-1622
See merge request espressif/esp-idf!22477
2023-02-24 18:13:41 +08:00
Aditya Patwardhan
b5b7f32e46
hal/esp32h2: Enable ll layer for flash encryption
2023-02-24 15:21:51 +05:30
Aditya Patwardhan
aaf5d0670e
[bootloader_support/esp32h2] Enable flash encryption for esp32h2 target
2023-02-24 15:21:51 +05:30
Darian
2f44fa4123
Merge branch 'bugfix/freertos_stream_buffer_test' into 'master'
...
FreeRTOS: Fix stream buffer send-receive test
Closes IDF-6148
See merge request espressif/esp-idf!22407
2023-02-24 16:19:37 +08:00
Armando
4997689de5
cache: support h2 and c6 cache error
2023-02-24 16:16:46 +08:00
Darian
57b6be22a7
Merge branch 'bugfix/twai_listen_only_errata' into 'master'
...
TWAI: Add errata workaround for listen only mode
Closes IDFGH-7602
See merge request espressif/esp-idf!22479
2023-02-24 16:12:05 +08:00
Kevin (Lao Kaiyao)
5dc7cd6c54
Merge branch 'bugfix/fix_i2s_pcnt_target_test_on_h2' into 'master'
...
Test: Fixed target test of I2S and PCNT on H2
Closes IDF-6811, IDF-6814, IDFCI-1623, and IDFCI-1627
See merge request espressif/esp-idf!22478
2023-02-24 16:03:48 +08:00
Sudeep Mohanty
a67d15fdea
ulp: Added APIs to handle ULP signal ISRs for the main CPU
...
This commit introduces APIs to handle ULP signal ISRs when the main core
is not in sleepmode.
Closes https://github.com/espressif/esp-idf/issues/10737
2023-02-24 07:25:39 +00:00
Laukik Hase
47c153ad9e
mbedtls/test_apps: Fix performance logs
...
- For esp32-c2, the `CONFIG_NEWLIB_NANO_FORMAT` is enabled by
default which does not allow printing `int64_t` values
- Copied these values to a `uint32_t` variable for printing
them properly
2023-02-24 12:26:21 +05:30
Wan Lei
cf146d4b31
Merge branch 'bugfix/fix_spi_master_iram_safe_env' into 'master'
...
spi_master: fix whole master driver iram safe enviroenment
Closes IDF-6848
See merge request espressif/esp-idf!22401
2023-02-24 14:54:03 +08:00
Armando (Dou Yiwen)
4452a3cf3e
Merge branch 'feature/support_h2_adc' into 'master'
...
adc: support adc h2
Closes IDF-6124, IDF-6214, IDF-6543, IDF-6215, IDF-6664, and IDF-6695
See merge request espressif/esp-idf!22205
2023-02-24 14:28:33 +08:00
xueyunfei
4f0732cf05
Fixed bug for dhcp server support CIDR
...
Closes https://github.com/espressif/esp-idf/issues/10024
Closes https://github.com/espressif/esp-idf/issues/10559
2023-02-24 14:24:49 +08:00
David Cermak
708641204e
lwip: Add missing esp_sntp_enabled()
2023-02-24 07:23:55 +01:00
Jing Li
a529771d88
Merge branch 'refactor/pm_use_unified_esp_pm_config_t' into 'master'
...
pm: refactor pm codes to use unified esp_pm_config_t
See merge request espressif/esp-idf!22472
2023-02-24 14:06:19 +08:00
Marius Vikhammer
c2f9392be5
Merge branch 'feature/h2_wdt' into 'master'
...
wdt: add support for H2
Closes IDF-6643 and IDF-6678
See merge request espressif/esp-idf!22422
2023-02-24 13:48:20 +08:00
Aditya Patwardhan
0d20f8816f
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
...
Closes https://github.com/espressif/esp-idf/issues/10765
2023-02-24 04:45:23 +00:00
morris
fdac2589bb
driver: improve gpio glitch filter test
...
on esp32c6 and esp32h2, CPU frequency is 2x of IO MUX clock source.
There is a possiblity for a too short glitch pulse can't trigger GPIO
interrupt.
2023-02-24 11:05:59 +08:00
wanlei
f11c44e55b
spi_master: fix master driver iram safe enviroenment
2023-02-24 10:46:06 +08:00
wanlei
aff223276f
spi_slave: fix issue iram flag bind with iram config
...
bus flag`ESP_INTR_FLAG_IRAM` bind with `CONFIG_SPI_SLAVE_ISR_IN_IRAM`
2023-02-24 10:38:44 +08:00
C.S.M
b184b9a153
Merge branch 'bugfix/usb_serial_driver_block' into 'master'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver
Closes IDF-5390 and IDFGH-8776
See merge request espressif/esp-idf!22412
2023-02-24 10:22:08 +08:00
Chen Yudong
d352fb2411
ble_mesh: fix gcc-12 compile errors
2023-02-23 22:46:16 +08:00
Cao Sen Miao
720b8d9c1a
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-02-23 17:45:39 +08:00
harshal.patil
32e78b71f3
http_client: fixed looping caused when disable_auto_redirect enabled
...
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-23 14:11:58 +05:30
laokaiyao
646fd5e15a
i2s: guarantee safety of memcpy from being interrupted by uart logging
2023-02-23 15:11:13 +08:00
laokaiyao
71905d9cbf
i2s_test: fix unsupported sample rate on h2
2023-02-23 15:11:13 +08:00
laokaiyao
53658e56d6
pcnt_test: fix the error pin on h2
2023-02-23 15:11:13 +08:00
aditi_lonkar
6b95b4ffd7
esp_wifi: Update some wifi config options
...
1) Update sta_config_t options.
2) Update HE constellation tx/rx default value.
2023-02-23 11:13:25 +05:30
Darian Leung
c97523ae0a
freertos: Fix stream buffer send-receive test
...
The stream buffer send-receive test preivously contained the following bugs:
- "sender" task would send 101 bytes instead of 100
- The main task would return before "sender" task sends its 101st item. Thus
the sender task would cause memory corruption when accessing "tc" structure
allocated on the main task's stack
This commit fixes and simplifies the stream buffer test.
2023-02-23 12:52:28 +08:00
Darian Leung
72becf31e4
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-23 12:50:06 +08:00
Armando (Dou Yiwen)
aeaf119338
Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h' into 'master'
...
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
Closes IDF-5219
See merge request espressif/esp-idf!22447
2023-02-23 12:05:13 +08:00
Armando
486c765a93
adc: remove adc_hal_conf.h
...
Macros inside adc_hal_conf.h are moved to adc_ll.h
2023-02-23 11:48:31 +08:00
Armando
c2d5c19b28
adc: ll enum renaming
2023-02-23 11:48:31 +08:00
Armando
5653018cd1
esp_adc: support selecting clock source for oneshot driver
2023-02-23 11:48:31 +08:00
Armando
d0e4d36fb6
esp_adc: support h2 oneshot mode and continuous mode
2023-02-23 11:48:31 +08:00
jingli
3a648e8ed6
ci: h2 does not support deep sleep currently, comment some codes to avoid ci error
2023-02-23 11:36:13 +08:00
jingli
4c3d1e24d7
codeclean: remove unused sleep related functions
2023-02-23 11:36:13 +08:00
jingli
8f415a7f44
refactor: power management component use unified esp_pm_config_t
2023-02-23 11:36:07 +08:00
Marius Vikhammer
5d26a0de9a
wdt: add support for H2
2023-02-23 11:22:51 +08:00
Alexey Lapshin
1484f2d4f6
Merge branch 'feature/update-gnu-toolchain-to-12.2.0_20230208' into 'master'
...
tools: update GNU toolchain version to 'esp-12.2.0_20230208'
Closes GCC-297, GCC-224, GCC-299, GCC-254, and GCC-256
See merge request espressif/esp-idf!22270
2023-02-23 01:57:51 +08:00
Jiang Jiang Jian
f3f3e87ea2
Merge branch 'bugfix/fix_sta_auth_fail_but_softap_shows_it_connected_issue' into 'master'
...
esp_wifi: fix sta auth failed but softap shows it connected issue
Closes WIFI-5448 and WIFI-5449
See merge request espressif/esp-idf!22465
2023-02-22 19:41:42 +08:00
Konstantin Kondrashov
bfd2f6ed7c
Merge branch 'feature/adds_more_efuse_logs' into 'master'
...
efuse: Add more logging for virtual efuses
Closes IDFGH-9137
See merge request espressif/esp-idf!22399
2023-02-22 19:25:58 +08:00
Mahavir Jain
b6588eb99c
Merge branch 'fix/esp32_hw_mpi_data_corruption' into 'master'
...
esp32/mpi: Added alternate workaround for MPI data corruption issue
Closes IDFGH-8991
See merge request espressif/esp-idf!22139
2023-02-22 16:33:51 +08:00
Kevin (Lao Kaiyao)
0f15d4a2c1
Merge branch 'feature/i2s_support_pre_load_dma_data' into 'master'
...
i2s: support preload data
Closes IDFGH-6847
See merge request espressif/esp-idf!21927
2023-02-22 15:28:16 +08:00