zwl
a9d25460a7
ble:fixed the issue that slave reports the wrong address for master when address resolution disable
2023-05-29 20:59:13 +08:00
Li Shuai
e505e19798
Merge branch 'bugfix/fix_rc_fast_calibration' into 'master'
...
rtc_clk: fix esp32c6/esp32h2 eco chip `RC_FAST` bad calibration value
Closes WIFI-5938
See merge request espressif/esp-idf!23927
2023-05-29 19:57:46 +08:00
Ondrej Kosta
e270c8ac72
Merge branch 'bugfix/tx_only_link_up' into 'master'
...
Ethernet minor fixes
See merge request espressif/esp-idf!23882
2023-05-29 19:00:10 +08:00
Darian Leung
cbed197e10
usb_host: Run formatting script
2023-05-29 17:30:41 +08:00
Darian Leung
1ffbbf5aef
usb_host: Fix spelling errors
2023-05-29 17:30:41 +08:00
Darian Leung
bab1c61a4c
usb_host: Refactor USBH and USB Host Library calls to HCD
...
This commit refactors the USBH and the USB Host Library in the following ways:
- USBH now presents an abstraction of an endpoint (via usbh_ep_handle_t)
- Added separate functions to enqueue/dequeue URBs to a particular endpoint
- USB Host Library no longer calls HCD API directly. Calls USBH endpoint API
instead.
- Renamed "notif_cb" to "proc_req_cb" (Processing Request Callback)
- This is to avoid confusion with FreerTOS task notifications and Host
Library client event notifications.
- The processing functions of each layer (i.e., "xxx_process()") request
calls via the "proc_req_cb"
- The main handling function (i.e., usb_host_lib_handle_events()) is
responsible for calling the required "xxx_process()" of each layer
2023-05-29 17:30:41 +08:00
wuzhenghui
4236644071
feature: skip console uart flush and sleep when estimated uart flush time exceeds the sleep duration to avoid rtos tick jump failed
2023-05-29 16:35:03 +08:00
wuzhenghui
388746ca31
Kconfig: add more help info for pm related options help
2023-05-29 16:35:03 +08:00
wuzhenghui
5c74093300
bugfix: treat too short sleep duration as sleep reject by software
2023-05-29 16:35:03 +08:00
wuzhenghui
756b5f628d
bugfix: fix pmp retention and add pma retention
2023-05-29 16:35:03 +08:00
Chip Weinberger
fc1e8b0365
[Heap Trace Standalone] do not allocate memory until init is called
2023-05-29 00:00:15 -07:00
morris
099234347c
Merge branch 'contrib/github_pr_11499' into 'master'
...
Implement descriptor error callback for GDMA (GitHub PR)
Closes IDFGH-10236
See merge request espressif/esp-idf!23934
2023-05-29 14:39:32 +08:00
Marius Vikhammer
dacc51dd2b
ulp/lp-core: added gpio API for lp core as well as an example showcasing it.
2023-05-29 11:13:47 +08:00
Marius Vikhammer
5b77f77e53
core-system/linux-target: fixed heap_caps_realloc not correctly allocating the requested number of bytes
...
Closes https://github.com/espressif/esp-idf/issues/11523
2023-05-29 10:09:54 +08:00
Aditya Patwardhan
903af13e84
Merge branch 'feat/config_to_flash_bootloader_when_sbv2_is_enabled' into 'master'
...
add config to flash bootloader by the command `idf.py flash` when secure boot v2 is enabled
See merge request espressif/esp-idf!23848
2023-05-26 18:13:05 +08:00
harshal.patil
60ccb8f439
esp32c6: xts-aes register preefix discrepency
2023-05-26 15:33:21 +05:30
harshal.patil
bc825431e8
esp32h2: xts-aes register prefix discrepency
2023-05-26 15:33:15 +05:30
Rahul Tank
0b5ab48437
Merge branch 'bugfix/fix_config_option' into 'master'
...
Nimble: Fixed setting macro values based on selected configuration
See merge request espressif/esp-idf!23857
2023-05-26 16:18:36 +08:00
morris
1703a0a5e9
doc: explain why RMT encoder may result in more data transmitting
...
Closes https://github.com/espressif/esp-idf/issues/11468
2023-05-26 13:37:11 +08:00
Niklas Gürtler
be8a0d08f2
gdma: implement descriptor error callback
...
Merges https://github.com/espressif/esp-idf/pull/11499
2023-05-26 13:24:34 +08:00
Michael (XIAO Xufeng)
8c2b709817
Merge branch 'bugfix/fix_ocode_check_on_c6' into 'master'
...
adc_cali: fix the condition of ocode calibration
See merge request espressif/esp-idf!23916
2023-05-26 11:35:51 +08:00
zhangyanjiao
ce4b54361e
esp_wifi:
...
1. mesh: layer2 node will scan all channels when fixed root leave
2. show warning info when setting max connection num for softAP
2023-05-26 11:33:33 +08:00
Martin Vychodil
c212305646
Merge branch 'bugfix/usb_serial_jtag_select_poll_crash' into 'master'
...
vfs: select sanity NULL check
See merge request espressif/esp-idf!23875
2023-05-26 00:59:42 +08:00
laokaiyao
de8ae73de3
adc_cali: fix the condition of ocode calibration
2023-05-25 21:49:40 +08:00
Michael (XIAO Xufeng)
041ce02a14
Merge branch 'bugfix/add_warning_for_rc_fast_calibration_h2' into 'master'
...
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2
See merge request espressif/esp-idf!23743
2023-05-25 21:39:02 +08:00
wuzhenghui
3ae1f0ea5d
bugfix: fix rc_fast bad calibration value
2023-05-25 21:21:14 +08:00
Rahul Tank
9901bdf3da
Nimble: Fixed setting macro values based on selected configuration
2023-05-25 17:12:57 +05:30
Adam Múdry
976644acf6
CI: fix sdcard fatfs test_apps format timeout
2023-05-25 08:52:59 +00:00
Mahavir Jain
e2fe2bf152
Merge branch 'fix/xts_aes_register_prefix_discrepency' into 'master'
...
fix: xts aes register prefix discrepancy
Closes DOC-5136 and DOC-5140
See merge request espressif/esp-idf!23900
2023-05-25 16:40:13 +08:00
David Čermák
914652c804
Merge branch 'bugfix/sntp_cpp_compat' into 'master'
...
esp_netif: Fix invalid conversion from int to enumeration in c++ build (GitHub PR)
Closes IDFGH-10115
See merge request espressif/esp-idf!23867
2023-05-25 15:28:06 +08:00
Rahul Tank
1937282e95
Merge branch 'bugfix/memory_cleanup_optimization' into 'master'
...
Nimble: Fixes for memory leak / optimization
See merge request espressif/esp-idf!23759
2023-05-25 14:47:27 +08:00
Zim Kalinowski
451a0f1d33
Merge branch 'feature/adds_new_efuses_for_h2' into 'master'
...
efuse(H2): Adds RF Calibration Information
Closes IDF-7382
See merge request espressif/esp-idf!23827
2023-05-25 14:36:50 +08:00
harshal.patil
ed4ceea43d
esp32c2: xts-aes register prefix discrepency
2023-05-25 11:27:18 +05:30
harshal.patil
0058fb3a05
esp32c3: xts-aes register prefix discrepency
2023-05-25 11:27:10 +05:30
Shu Chen
712d747a79
Merge branch 'bugfix/fix_matter_commissioning_ble_disconnect_issue' into 'master'
...
esp_phy: updating H2 lib phy to adapt the voltage changes
See merge request espressif/esp-idf!23822
2023-05-25 12:31:27 +08:00
Wan Lei
47fe2b9521
Merge branch 'feature/adc_digi_monitor_support' into 'master'
...
adc digi monitor support
Closes IDF-2530
See merge request espressif/esp-idf!22839
2023-05-25 12:06:01 +08:00
Zim Kalinowski
a4bb596d63
Merge branch 'feature/esp_ipc_isr_fix' into 'master'
...
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
Closes IDFGH-10179
See merge request espressif/esp-idf!23866
2023-05-24 23:17:37 +08:00
Paul Guyot
ceb121fd57
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
...
The race condition is very unlikely on real hardware but can be observed with
qemu under heavy load.
Also add missing `memw` instructions which are generated by the C compiler but
absent in the assembly code.
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/11447
Closes https://github.com/espressif/esp-idf/issues/11433
2023-05-24 19:08:29 +08:00
wanlei
e42501d20f
adc: add programing guide for digi monitor
2023-05-24 18:09:06 +08:00
wanlei
e6e641475b
adc: add digi monitor test case
2023-05-24 17:46:52 +08:00
wanlei
87848110c1
adc: new feature adc digital monitor supported
2023-05-24 17:46:52 +08:00
Shu Chen
243b286ddc
Merge branch 'support/add_kconfig_for_mac_filter' into 'master'
...
openthread: add kconfig for mac filter
See merge request espressif/esp-idf!23849
2023-05-24 14:42:47 +08:00
harshal.patil
873901e7aa
bootloader: add a config to enable flashing of bootloader using
...
the command `idf.py flash` when secure boot v2 is enabled.
2023-05-24 11:50:14 +05:30
zhangwenxu
38dc88dd29
esp_phy: updating H2 lib phy to adapt the voltage changes
2023-05-24 14:11:48 +08:00
Mahavir Jain
ff024dcb88
Merge branch 'feature/wifi_prov_event_security_session' into 'master'
...
wifi_prov: Exposed events for secure session establishment and credential mismatch
Closes IDF-7358
See merge request espressif/esp-idf!23821
2023-05-24 12:02:52 +08:00
Kevin (Lao Kaiyao)
7a462d8a86
Merge branch 'feature/support_adc_calibration_on_c6' into 'master'
...
adc_cali: supported adc calibration on esp32c6
Closes IDF-5312 and IDF-6566
See merge request espressif/esp-idf!23499
2023-05-24 11:31:12 +08:00
Shu Chen
38b495205a
Merge branch 'fix/openthread_frame_counter_when_retx' into 'master'
...
openthread: fix frame counter when re-transmition
See merge request espressif/esp-idf!23851
2023-05-24 10:51:06 +08:00
Adam Múdry
58e69f2fcb
vfs: select sanity NULL check
...
https://github.com/espressif/esp-idf/issues/9964
2023-05-23 18:02:24 +02:00
Mahavir Jain
d00e7b5af8
Merge branch 'feature/nvs_encryption_using_hmac_v2' into 'master'
...
nvs_flash: Add support for HMAC-based encryption key derivation scheme
Closes IDF-6727
See merge request espressif/esp-idf!23079
2023-05-23 23:57:26 +08:00
laokaiyao
3e26e7630e
adc_oneshot: move power acquire back to adc_oneshot_new_unit
...
Revert and fix of d197c59eaa
in !23575
2023-05-23 22:44:32 +08:00
laokaiyao
ffb40a89d9
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-05-23 22:44:25 +08:00
Mahavir Jain
86b2ca3d04
Merge branch 'feature/c6_bootloader_rng' into 'master'
...
Feature/c6 bootloader rng
See merge request espressif/esp-idf!22773
2023-05-23 22:41:51 +08:00
KonstantinKondrashov
3550a2d185
efuse(c6): Adds adc calib efuses
2023-05-23 20:34:29 +08:00
laokaiyao
caa044c289
adc_cali: supported adc calibration on esp32c6
2023-05-23 20:34:29 +08:00
Zim Kalinowski
d41ddfcf8a
Merge branch 'bugfix/fix-esp-even-compile-error' into 'master'
...
esp_event: fix build error related to format
Closes IDFGH-10157
See merge request espressif/esp-idf!23833
2023-05-23 19:53:37 +08:00
Wang Fang
307cdd6697
Merge branch 'docs/update_the_description_for_clock_speed_hz' into 'master'
...
docs: update the description for check_speed_hz
Closes DOC-5197
See merge request espressif/esp-idf!23879
2023-05-23 18:30:09 +08:00
Jakob Hasse
d3f77ec352
esp_hw_support/bootloader: made ESP32-C6 and ESP32-H2 RNG available
2023-05-23 18:14:51 +08:00
jiangguangming
0d0fa7bda2
esp_rom: fix rom layout issues
2023-05-23 17:04:10 +08:00
Laukik Hase
72f703ccd4
nvs_flash: Extended test-app and host tests for the HMAC-based NVS encr-keys protection scheme
2023-05-23 13:55:59 +05:30
Laukik Hase
a06118012e
docs: Update nvs_flash
docs for the HMAC-based NVS encr-keys protection scheme
...
- Also updated the `nvs_partition_generator` and `mass_mfg` tools
documentation
2023-05-23 13:55:57 +05:30
Laukik Hase
9ac87fcc8b
nvs_partition_gen/mass_mfg: Support for HMAC-based scheme for generating NVS encr-keys
2023-05-23 13:55:55 +05:30
Laukik Hase
8efe2f86e9
nvs_flash: Added helper component nvs_sec_provider
...
- For processing NVS encryption-related security configuration
2023-05-23 13:55:53 +05:30
Laukik Hase
c1bed366ba
nvs_flash: Add support for HMAC-based NVS encryption keys protection scheme
...
- This features allows the NVS encryption keys to be derived and protected using
the HMAC peripheral. Since the encryption keys are derived at runtime, they
are not stored anywhere in the flash and hence this feature does not require
a separate `nvs_keys` partition.
2023-05-23 13:55:52 +05:30
Zim Kalinowski
ef960d53fe
esp_event: fix build error related to format
...
Closes https://github.com/espressif/esp-idf/issues/11428
See merge request !23833
2023-05-23 09:09:45 +02:00
Laukik Hase
596b83fe15
wifi_prov: Fix build issue when building only for sec1
or sec2
2023-05-23 12:00:45 +05:30
Laukik Hase
f695c1a788
wifi_prov: Exposed events for secure session establishment
2023-05-23 12:00:40 +05:30
Rahul Tank
72968880ec
Nimble: Fixes for memory leak / optimization
2023-05-23 11:56:23 +05:30
Ondrej Kosta
5ebe6b51d8
esp_eth: fixed esp_eth_transmit_vargs to transmit only when link is up
...
esp_eth test: clear unicast Rx event before wait
2023-05-23 08:23:34 +02:00
Rahul Tank
658ce48ca9
Merge branch 'bugfix/fix_pcl_enh_rsp' into 'master'
...
Nimble: Removed the extra status field in the enh read transmit power level
Closes BLEQABR23-196
See merge request espressif/esp-idf!23864
2023-05-23 14:21:26 +08:00
Ondrej Kosta
5da56ea361
Merge branch 'contrib/github_pr_11337' into 'master'
...
w5500: mac: poll VERSIONR to ensure the chip is initialised (GitHub PR)
Closes IDFGH-10061
See merge request espressif/esp-idf!23792
2023-05-23 13:23:51 +08:00
Wang Fang
b4a9078f98
docs: update the description for check_speed_hz
2023-05-23 11:44:47 +08:00
Mahavir Jain
8c1369f3aa
Merge branch 'test/combined_ecc_mpi_hmac_ds_hal_verification_app' into 'master'
...
Create a combined security peripherals hal verification appliaction
See merge request espressif/esp-idf!23718
2023-05-23 11:27:53 +08:00
Island
72bf74f904
Merge branch 'feature/update_ble_doc_for_esp32c6_esp32h2' into 'master'
...
ble docs: Update ble doc for esp32c6 and esp32h2
Closes IDF-5926 and IDF-6686
See merge request espressif/esp-idf!23796
2023-05-22 18:50:55 +08:00
harshal.patil
21c6d5392f
hal: add ecdsa peripheral verification tests
2023-05-22 15:19:34 +05:30
harshal.patil
7330851db0
hal: add digital signature peripheral verification tests
...
- also renamed the security test app to crypto test app
2023-05-22 15:19:34 +05:30
harshal.patil
9b27fa73a7
hal: add hmac peripheral verification tests
2023-05-22 15:19:34 +05:30
harshal.patil
da2c29751e
hal: combine ecc hal test app into security peripherals test app
2023-05-22 15:19:34 +05:30
harshal.patil
56ac7eee3b
ecc: added SOC_ECC_SUPPORT_POINT_VERIFY_QUIRK
soc caps for esp32c2
...
as the ESP32C2 ECC peripheral has a bug in ECC point verification,
if value of K is zero the verification fails
2023-05-22 15:19:34 +05:30
harshal.patil
647c2dabfe
hal: combine security peripherals test applications
2023-05-22 15:19:34 +05:30
Alexey Lapshin
a77f723962
Merge branch 'feature/riscv-gdbstub-runtime' into 'master'
...
esp_gdbstub: implement runtime gdbstub for riscv
Closes IDF-5621
See merge request espressif/esp-idf!23110
2023-05-22 17:20:17 +08:00
KonstantinKondrashov
aef81cceee
efuse(H2): Adds RF Calibration Information
2023-05-22 08:40:26 +00:00
Wan Lei
b4e601989b
Merge branch 'contrib/github_pr_11405' into 'master'
...
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp (GitHub PR)
Closes IDFGH-10134
See merge request espressif/esp-idf!23771
2023-05-22 15:16:52 +08:00
Jiang Guang Ming
11062e45fb
Merge branch 'feature/spi_flash_remove_unnecessary_header_includes' into 'master'
...
spi_flash: remove unnecessary header includes in test_app
See merge request espressif/esp-idf!23844
2023-05-22 14:50:50 +08:00
Armando (Dou Yiwen)
a938fe0beb
Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue' into 'master'
...
adc: fixed adc continuous driver conv frame issue
Closes IDFGH-10109
See merge request espressif/esp-idf!23772
2023-05-22 14:44:28 +08:00
zhangwenxu
1a0d86e77c
openthread: add kconfig for enabling mac filter
2023-05-22 14:09:50 +08:00
Rahul Tank
ed30c4a106
Nimble: Removed the extra status field in the enh read transmit power level
2023-05-22 10:17:01 +05:30
Armando
bd6cd85b8e
adc: added big conv_frame test
2023-05-22 10:55:28 +08:00
Armando
73791ff4e0
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
...
Closes https://github.com/espressif/esp-idf/issues/11385
2023-05-22 10:55:28 +08:00
Mahavir Jain
2fc770a1a3
Merge branch 'contrib/github_pr_11190' into 'master'
...
[HTTPD] support for multiple simultaneous requests (try 3) (GitHub PR)
Closes IDFGH-9868 and IDFGH-9204
See merge request espressif/esp-idf!23281
2023-05-22 02:10:52 +08:00
Grigory Kirillov
11d53820f2
Remove semicolons from ESP_IP4ADDR_INIT and ESP_IP6ADDR_INIT macros
...
There are structs like esp_netif_dns_info_t that have member for
generic ip for which the presence of semicolons is problematic, because
when trying to initialize an ip member with one of these macroses it
results in a syntax error since semicolon is used within curly braces.
2023-05-21 01:34:53 +03:00
Sudeep Mohanty
efe919275e
Merge branch 'feature/add_support_for_lp_i2c' into 'master'
...
lp-i2c: Added support for LP I2C peripheral to LP core
Closes IDF-6833
See merge request espressif/esp-idf!22846
2023-05-19 23:35:11 +08:00
Jackson Ming Hu
896a07e5d6
w5500: rework version check to avoid a false alarm on fault detection
...
See: https://github.com/espressif/esp-idf/issues/11331
2023-05-19 15:33:22 +02:00
Jiang Jiang Jian
2a56f66e25
Merge branch 'feature/nan_ifx_support_for_api' into 'master'
...
Add NAN ifx support for API's
Closes WIFI-5719 and WIFI-5830
See merge request espressif/esp-idf!23512
2023-05-19 20:22:04 +08:00
Alexey Lapshin
af1334782c
esp_gdbstub: fix bp and wp numbers
2023-05-19 20:15:58 +08:00
Alexey Lapshin
71cd5cb2a1
esp_gdbstub: fix build for USB serial/jtag protocol
2023-05-19 20:15:58 +08:00
Alexey Lapshin
6a54c25823
esp_gdbstub: add tests for riscv jump instructions decoding
2023-05-19 20:15:58 +08:00
Alexey Lapshin
9322c2b82d
esp_gdbstup: implement runtime gdbstub for riscv
2023-05-19 20:15:58 +08:00
Alexey Lapshin
36588c4b35
riscv: remove outdated macros
2023-05-19 20:15:58 +08:00
Alexey Lapshin
a89b799642
riscv: fix trigger add from trap handlers
2023-05-19 20:15:58 +08:00
Alexey Lapshin
d41d12fe7a
riscv: fix & refactor triggers add/delete
2023-05-19 20:15:58 +08:00
Wu Zheng Hui
9894697037
Merge branch 'bugfix/close_phy_tsens_before_sleep' into 'master'
...
sleep: fix deepsleep current leakage caused by phy_tsens
Closes WIFI-5608
See merge request espressif/esp-idf!23823
2023-05-19 19:17:22 +08:00
Adam Múdry
e5d0e3c676
Merge branch 'bugfix/sdmmc_driver_vtaskdelay_slowdown' into 'master'
...
sdmmc: incrementally increase delay of vTaskDelay
Closes IDF-7361
See merge request espressif/esp-idf!23765
2023-05-19 18:22:51 +08:00
Rahul Tank
59b7a4989f
Merge branch 'bugfix/host_flw_ctrl' into 'master'
...
NimBLE: Fixed mismatch of number of completed packtes in host flow control
Closes BLEQABR23-113
See merge request espressif/esp-idf!23432
2023-05-19 17:33:39 +08:00
Harshit Malpani
af06168328
Merge branch 'contrib/pr_11147' into 'master'
...
Fix to allow streaming of PUT data in the HTTP_EVENT_HEADERS_SENT callback (GitHub PR)
Closes IDFGH-9813
See merge request espressif/esp-idf!23794
2023-05-19 17:14:43 +08:00
Jiang Jiang Jian
cd53393e0b
Merge branch 'bugfix/mbo_ie_absent_prob_req' into 'master'
...
wpa_supplicant : Add MBO IE in probe request and fix issues with parsing GCMP ciphers in scan results.
See merge request espressif/esp-idf!23390
2023-05-19 16:58:12 +08:00
Jiang Jiang Jian
d888f54c1f
Merge branch 'bugfix/fix_lp_bod_if_bt_i154_init_phy_before_wifi' into 'master'
...
fix(phy): fix lp_bod reset if bt/i154 init phy before wifi
See merge request espressif/esp-idf!23829
2023-05-19 16:24:47 +08:00
zhangwenxu
57925730b8
openthread: fix frame counter when re-transmition
2023-05-19 13:36:12 +08:00
Zim Kalinowski
0e5098e4a6
Merge branch 'feature/esp_log_master_option' into 'master'
...
log: Add master log option
Closes IDFGH-9721
See merge request espressif/esp-idf!23538
2023-05-19 13:29:40 +08:00
Sudeep Mohanty
ec742abb25
lp-i2c: Added support for LP I2C peripheral to LP core
...
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:27:51 +02:00
C.S.M
224430f6b4
Merge branch 'bugfix/tempsensor_wifi_conflict' into 'master'
...
temperature_sensor: Fix issue that have conflict with phy
Closes IDF-5227, IDF-5992, IDF-5504, and IDF-6113
See merge request espressif/esp-idf!20210
2023-05-19 12:46:55 +08:00
Shyamal Khachane
063460a0d3
1. Support NAN ifx for API's esp_wifi_internal_set_fix_rate and esp_wifi_set_protocol
...
2. Remove user configurable flag fsd_reqd from NAN publish config
3. Fix issue wherein NDL of previously cancelled service is obtained in peer record of new service with no NDL
2023-05-19 10:07:57 +05:30
Chip Weinberger
3824eba04d
feat(httpd): add support for asynchronous request handling
...
This commit adds support for handling multiple requests simultaneously by introducing two new functions: `httpd_req_async_handler_begin()` and `httpd_req_async_handler_complete()`. These functions allow creating an asynchronous copy of a request that can be used on a separate thread and marking the asynchronous request as completed, respectively.
Additionally, a new flag `for_async_req` has been added to the `httpd_sess_t` struct to indicate if a socket is being used for an asynchronous request and should not be purged from the LRU cache.
An example have been added to demonstrate the usage of these new functions.
Closes https://github.com/espressif/esp-idf/issues/10594
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-05-19 10:05:42 +05:30
jiangguangming
8c075ea61f
spi_flash: remove unnecessary header includes in test_app
2023-05-19 11:28:50 +08:00
Jiang Jiang Jian
0501f87f33
Merge branch 'feature/use_api_to_enable_modem_on_esp32h2' into 'master'
...
ble: use modem_clock api to set clocks on ESP32-H2
See merge request espressif/esp-idf!23805
2023-05-19 11:01:15 +08:00
Shen Weilong
2900ed4858
ble docs: Update the ble docs for esp32c6 and esp32h2
2023-05-19 11:01:11 +08:00
Mahavir Jain
1747f2e0d1
Merge branch 'contrib/github_pr_11402' into 'master'
...
esp_ds: ignore releasing mutex if not called from same task (GitHub PR)
Closes IDFGH-10131
See merge request espressif/esp-idf!23763
2023-05-19 10:59:33 +08:00
liuning
5bfb5baecf
fix(phy): fix lp_bod reset if bt/i154 init phy before wifi
2023-05-18 20:58:44 +08:00
Island
4f9f50cb4a
Merge branch 'feature/esp32c2_enable_rf_temp_compensation' into 'master'
...
Feature/esp32c2 enable rf temp compensation
See merge request espressif/esp-idf!23728
2023-05-18 20:34:06 +08:00
Jeff H
628b633e50
log: Add master log option
...
Closes https://github.com/espressif/esp-idf/issues/11049
Closes https://github.com/espressif/esp-idf/pull/11057
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Result from an example in 11057:
When this option is not enabled:
1000 iterations took 10914 microseconds (10.9 microseconds per invocation)
1000 iterations took 10909 microseconds (10.9 microseconds per invocation)
When this option is enabled:
1000 iterations took 10960 microseconds (10.9 microseconds per invocation)
1000 iterations took 107 microseconds (0.1 microseconds per invocation)
2023-05-18 18:35:19 +08:00
wuzhenghui
f8b72615e5
bugfix: close phy_tsens before deepsleep
2023-05-18 16:38:48 +08:00
Konstantin Kondrashov
1d25057a24
Merge branch 'feature/iram_optimization_app_elf_sha256_2' into 'master'
...
esp_app_format: IRAM space optimization
Closes IDF-7131
See merge request espressif/esp-idf!23572
2023-05-18 15:29:31 +08:00
isha.pardikar@espressif.com
aceaa87ea0
NimBLE: Fixed mismatch of number of completed packtes in host flow control
2023-05-18 12:56:47 +05:30
Wu Zheng Hui
fa6a743f67
Merge branch 'bugfix/move_adc_onshot_power_management_to_shot_read_func' into 'master'
...
bugfix: Switch the adc power mode when in use to save power
Closes IDFGH-9205
See merge request espressif/esp-idf!23575
2023-05-18 15:05:32 +08:00
Cao Sen Miao
faa10947a8
temperature_sensor: Apply new-shared interface in temperature sensor driver
2023-05-18 15:00:36 +08:00
David Čermák
f21505da46
Merge branch 'bugfix/linux_freertos_select_wrap' into 'master'
...
freertos/linux: Fix use after scope exit in select() wrap
See merge request espressif/esp-idf!23755
2023-05-18 13:16:47 +08:00
C.S.M
a754efc548
Merge branch 'flash/add_new_module_sony' into 'master'
...
spi_flash: Add GD25LQ255E flash support (sony one 📷 )
Closes IDF-7378
See merge request espressif/esp-idf!23723
2023-05-18 11:48:19 +08:00
Adam Múdry
f13c9f746f
sdmmc: incrementally increase delay of vTaskDelay
...
Prevents unnecessary slowdown in polling functions
2023-05-18 05:33:25 +02:00
Zhang Wen Xu
8c5a395483
Merge branch 'bugfix/fix_typo_set_channel' into 'master'
...
ieee802154: fix a typo in set_channel API
See merge request espressif/esp-idf!23760
2023-05-18 10:36:47 +08:00
wuzhenghui
d197c59eaa
bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
...
Closes https://github.com/espressif/esp-idf/issues/10595
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-18 10:29:50 +08:00
KonstantinKondrashov
b605404b06
esp_app_format: IRAM space optimization
2023-05-17 23:40:59 +08:00
Shen Weilong
c7f357523a
ble: use modem_clock api to set clock on ESP32-C6
2023-05-17 20:02:21 +08:00
Cao Sen Miao
1ec55b7d1a
spi_flash: Add GD25LQ255E flash support
2023-05-17 18:28:57 +08:00
Cao Sen Miao
e304db558b
temperature_sensor: Add new interface and reference counts so that phy and driver can use together
2023-05-17 17:40:59 +08:00
Kenneth Furge
90be9cc3e8
Set state to HTTP_STATE_REQ_COMPLETE_HEADER prior to calling the
...
HTTP_EVENT_HEADERS_SENT callback to allow streaming of PUT data
in the callback.
2023-05-17 14:06:51 +05:30
Lu Ai Jun
d7a141f3ea
Merge branch 'bugfix/update_test_dl_esp_cert' into 'master'
...
tests: update Root certificate for the test endpoints
Closes IDFCI-1710
See merge request espressif/esp-idf!23770
2023-05-17 14:18:44 +08:00
Shu Chen
dc848707db
ieee802154: fix a typo in set_channel API
2023-05-17 14:11:34 +08:00
chenjianhua
9c8958d73b
esp_hid: fixed ble hid battery level setting
2023-05-17 12:18:56 +08:00
Jiang Jiang Jian
5838c2ec66
Merge branch 'bugfix/fix_iphone_disconnects_immediately_after_connecting_when_BLE_wifi_coexist' into 'master'
...
Fix the iPhone disconnects immediately after connecting when BLE and wifi coexist
See merge request espressif/esp-idf!23656
2023-05-17 11:28:23 +08:00
cjin
41ea20908b
BLE: update ble lib
...
Added version support for esp32c6 eco1
2023-05-16 19:18:53 +08:00
cjin
1952a26d5e
ble:add version num support for esp32c6 chip
2023-05-16 19:18:53 +08:00
Mahavir Jain
2688dfe982
tests: update Root certificate for the test endpoints
...
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.
This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-16 15:56:29 +05:30
Rahul Tank
134d87848b
Merge branch 'bugfix/add_debug_print_for_event' into 'master'
...
Nimble: Add debug code to print HCI events information
See merge request espressif/esp-idf!23712
2023-05-16 17:43:53 +08:00
Zhang Xiao Yan
81558fb77d
Merge branch 'docs/update_algorithm_and_key_from_aes-xts_to_xts-aes' into 'master'
...
docs: update the algorithm and key name from AES-XTS to XTS-AES
See merge request espressif/esp-idf!23742
2023-05-16 17:39:58 +08:00
zwl
69571dfebf
ble:fixed build error when disable smp
2023-05-16 16:07:01 +08:00
zwl
9b50d4e2ef
ble:esp32c2 add rf temperature compensation
2023-05-16 16:07:01 +08:00
Armando (Dou Yiwen)
e3fea3ad71
Merge branch 'feature/support_32MB_psram_s3' into 'master'
...
psram: supported 32MB psram on esp32s3
Closes IDF-7365
See merge request espressif/esp-idf!23753
2023-05-16 16:03:17 +08:00
Jiang Jiang Jian
31f34b95cf
Merge branch 'bugfix/nvs_softap_pmk' into 'master'
...
esp_wifi: fix softap nvs <ssid,password,pmk> not match issue
Closes FCS-1196
See merge request espressif/esp-idf!23619
2023-05-16 15:59:43 +08:00
Zim Kalinowski
bdeeae7a52
Merge branch 'bugfix/remove-bootloader-random-line' into 'master'
...
bootloader: bootloader_random line
Closes IDF-4498
See merge request espressif/esp-idf!23325
2023-05-16 15:25:04 +08:00
Zim Kalinowski
dc7ff8676c
Merge branch 'feature/libunwind_backtracing' into 'master'
...
System: implement libunwind library for RISC-V backtracing
Closes IDFGH-6189
See merge request espressif/esp-idf!18147
2023-05-16 14:19:16 +08:00
C.S.M
50b4d5c6be
Merge branch 'ci/move_timer_into_unity' into 'master'
...
spi_flash: migrate spi_flash UT to pytest component test app
Closes IDF-6730
See merge request espressif/esp-idf!19709
2023-05-16 14:09:25 +08:00
Song Ruo Jing
a9c78245a0
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2
2023-05-16 03:52:11 +00:00
Justin Ong
a18d7e24d6
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp
2023-05-16 10:34:24 +08:00
Marius Vikhammer
0036e555e9
Merge branch 'contrib/github_pr_11388' into 'master'
...
Update esp_cpu.h to include esp_attr.h (GitHub PR)
Closes IDFGH-10113
See merge request espressif/esp-idf!23711
2023-05-16 09:20:07 +08:00
Zim Kalinowski
e9405e42ab
bootloader: bootloader_random line
2023-05-15 22:06:47 +02:00
Christoph Baechler
704dfc9185
esp_ds: ignore releasing mutex if not called from same task
2023-05-15 15:02:38 +02:00
Linda
65ee4992ce
docs: update the algorithm and key name from AES-XTS to XTS-AES
2023-05-15 17:54:50 +08:00
Zim Kalinowski
bd1ac6a566
Merge branch 'feature/adds_esp_bootloader_desc_t' into 'master'
...
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
Closes IDFGH-7206 and IDFGH-7573
See merge request espressif/esp-idf!21592
2023-05-15 17:54:43 +08:00
Martin Vychodil
61e694d2f3
Merge branch 'fix/cd_input_sd_mode_fails' into 'master'
...
CI: sdcard tests fail fix
Closes IDFCI-1700
See merge request espressif/esp-idf!23505
2023-05-15 17:37:29 +08:00
David Cermak
a41d360842
freertos/linux: Fix use after scope exit in select() wrap
2023-05-15 10:28:54 +02:00
Armando
e495d41de8
psram: supported 32MB psram on ESP32S3
2023-05-15 15:36:43 +08:00
Cao Sen Miao
36aace3f47
spi_flash: Move most tests in unit-test to pytest
2023-05-15 14:58:51 +08:00
Cao Sen Miao
0f83970368
ci: Delete ccomp_timer in IDF(witch has been moved to component manager)
2023-05-15 14:58:51 +08:00
Alexey Lapshin
2327c5cd00
Merge branch 'feature/remove_coredump_tests' into 'master'
...
coredump: remove tests (moved to esp-coredump repo)
See merge request espressif/esp-idf!22858
2023-05-15 12:31:42 +08:00
Omar Chebib
eeaa40f71d
System: implement libunwind library for RISC-V backtracing
...
Closes https://github.com/espressif/esp-idf/issues/7866
A minimal x86 implementation has also been added, it is used to perform a host test.
2023-05-15 11:19:03 +08:00
Shu Chen
bb12cdaa08
Merge branch 'openthread/default_dnsserver_address' into 'master'
...
openthread: Add menuconfig to set the default dns server address
See merge request espressif/esp-idf!23581
2023-05-15 10:33:14 +08:00
Marius Vikhammer
a0be5e9ebf
Merge branch 'bugfix/c2_wdt_reset_reason' into 'master'
...
wdt: fix IWDT reset reason for esp32c2
Closes IDF-3843 and IDF-5059
See merge request espressif/esp-idf!23722
2023-05-15 10:17:47 +08:00
Jiang Jiang Jian
8fe688c4f8
Merge branch 'bugfix/fix_multicast_example_map_wrong_address_issue' into 'master'
...
netdb:fix multicast address map wrong dns address issue
Closes IDFGH-8200
See merge request espressif/esp-idf!23565
2023-05-12 22:32:39 +08:00
Marius Vikhammer
2272509978
ci: re-enable reset reason tests for all targets except H2.
2023-05-12 19:00:27 +08:00
Marius Vikhammer
9eadb6b12a
esp-system: fixed int WDT reset reason being reported as task WDT on C2
2023-05-12 18:32:24 +08:00
Armando (Dou Yiwen)
ca2624e0eb
Merge branch 'feature/sdmmc_host_timing_tuning' into 'master'
...
sdmmc: supported host timing tuning on esp32s3
Closes IDF-7240 and IDF-7250
See merge request espressif/esp-idf!23257
2023-05-12 18:00:41 +08:00
Rahul Tank
713e4391f8
Nimble: Add debug code to print HCI events information
2023-05-12 15:17:53 +05:30
Ondrej Kosta
a76eab4d39
Merge branch 'bugfix/emac_structs_cpp_build' into 'master'
...
fixed emac soc structs names to be able to build under C++
Closes IDFGH-10003
See merge request espressif/esp-idf!23658
2023-05-12 16:38:12 +08:00
movsb
2ff12460dd
fix(c++): invalid conversion from int to enumeration
2023-05-12 15:08:53 +08:00
Rahul Tank
f4f8d4eaa2
Merge branch 'bugfix/fix_compilation_error_optimization' into 'master'
...
Nimble: Fix compilation issues seen while enabling -O2 optimization
Closes IDFGH-10023
See merge request espressif/esp-idf!23590
2023-05-12 15:05:22 +08:00
Roshan Bangar
03cad657f3
Merge branch 'bugfix/macro_changes_in_nimble-1.5' into 'master'
...
NimBLE : Update macro name changes in nimble-1.5
See merge request espressif/esp-idf!23682
2023-05-12 15:01:26 +08:00
C.S.M
12190809f9
Merge branch 'feature/flash_suspend_support' into 'master'
...
spi_flash: One more step for supporting flash suspend. 1. Support more esp chips 2. Improve real-time performance 3. Make timing more stable
See merge request espressif/esp-idf!22755
2023-05-12 14:16:11 +08:00
morris
a7d79456e2
Merge branch 'bugfix/mcpwm_bldc_example' into 'master'
...
mcpwm: test generator force level with dead time module
See merge request espressif/esp-idf!23649
2023-05-12 12:11:17 +08:00
Michael (XIAO Xufeng)
e20a57d42e
Merge branch 'Bugfix/fix_tsen_issue' into 'master'
...
Temperature sensor: fix return value issue @low temp on H2
See merge request espressif/esp-idf!23648
2023-05-12 11:55:47 +08:00
xueyunfei
b1a07a0a8c
netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address
...
Closes https://github.com/espressif/esp-idf/issues/9693
2023-05-12 03:07:14 +00:00
Jakob Hasse
c291b6a58c
Merge branch 'bugfix/use_safe_noreturn_attr' into 'master'
...
compiler: replaced noreturn by __noreturn__ in header files
Closes IDFGH-10064
See merge request espressif/esp-idf!23688
2023-05-12 10:48:00 +08:00
Magnus Sörensen
004d55a5ed
Update esp_cpu.h
...
If esp_attr.h is not included then there are no definitions for the symbol 'FORCE_INLINE_ATTR'.
2023-05-11 21:23:57 +02:00
Armando
01a3d79b6f
sdmmc: support tuning input delay on esp32s3
2023-05-11 12:25:22 +00:00
Armando
e7fcfa43e9
sdmmc: use clk_tree api inside
2023-05-11 12:25:22 +00:00
Cao Sen Miao
5bd535e9e0
spi_flash: Add strict test for flash suspend
2023-05-11 20:12:41 +08:00
Cao Sen Miao
ed96dadd06
spi_flash: 2nd stage for supporting flash suspend. (1). Support more esp chips (2). Improve real-time performance (3). Making timing more stable (4) Add documents
2023-05-11 20:10:30 +08:00
chenjianxing
786b1642e6
esp_wifi: fix softap nvs <ssid,password,pmk> not match issue
...
Closes FCS-1196
2023-05-11 17:11:39 +08:00
Darian
6281606986
Merge branch 'feature/freertos_add_v10.5.1_files' into 'master'
...
FreeRTOS: Add v10.5.1 upstream files
See merge request espressif/esp-idf!23502
2023-05-11 16:14:50 +08:00
Jakob Hasse
c8791f30c0
compiler: replaced noreturn by __noreturn__ in header files
...
* noreturn may be replaced by third-party macros,
rendering it ineffective
* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-11 16:07:45 +08:00
Ondrej Kosta
621d5ef724
fixed emac soc structs names to be able to build under C++
...
Closes https://github.com/espressif/esp-idf/pull/11283
2023-05-11 08:50:49 +02:00
Alexey Lapshin
0b078f5cd3
coredump: remove tests (moved to esp-coredump repo)
2023-05-11 12:13:52 +08:00
Armando (Dou Yiwen)
476e50b026
Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id' into 'master'
...
mspi: modified 80mhz octal psram timing tuning point fallback id on s3
See merge request espressif/esp-idf!23627
2023-05-11 11:11:51 +08:00
Marius Vikhammer
d40145d2ff
Merge branch 'bugfix/newlib_test_misc_fix' into 'master'
...
ci: misc fixes for newlib test app
Closes IDF-6962 and IDF-6964
See merge request espressif/esp-idf!23640
2023-05-11 09:20:29 +08:00
Adam Múdry
fa16ed3898
CI: sdcard tests fail fix
2023-05-10 16:48:03 +02:00
KonstantinKondrashov
69838403f9
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
...
Closes https://github.com/espressif/esp-idf/issues/8800
Closes https://github.com/espressif/esp-idf/issues/9132
2023-05-10 21:39:52 +08:00
Zhi Wei Jian
c0ab96b65d
Merge branch 'bugfix/fix_some_bluedroid_bugs' into 'master'
...
Fixed some bluedroid bugs
See merge request espressif/esp-idf!23616
2023-05-10 20:44:15 +08:00
zhiweijian
d565a7825d
Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist
2023-05-10 20:15:10 +08:00
Alexey Lapshin
e634137a03
Merge branch 'feature/libstd++-use-posix-pthread' into 'master'
...
tools: enable libstd++ to use idf posix-semaphores
Closes GCC-305 and IDFGH-9209
See merge request espressif/esp-idf!23588
2023-05-10 20:06:16 +08:00
wuyuanyi135
97c44ee95d
Fix incorrect invocation of the hook LWIP_HOOK_DHCPS_POST_APPEND_OPTS
...
Fix https://github.com/espressif/esp-idf/issues/11373
2023-05-10 19:52:40 +08:00
morris
5680d28b0e
mcpwm: fix bldc example force output level inverted
...
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-10 19:17:21 +08:00
morris
6a7f730c77
Merge branch 'feature/efuse_settings' into 'master'
...
hal: Explicit setting of efuse time settings
See merge request espressif/esp-idf!23533
2023-05-10 19:11:01 +08:00
Roshan Bangar
f0fa24c176
NimBLE : Update macro name changes in nimble-1.5
2023-05-10 16:02:07 +05:30
Darian Leung
d044e63b39
freertos(IDF): Update kernel version tag of V10.5.1 source files
...
This commit updates the kernel version tags of all V10.5.1 source files to
indicate that the source files are modified.
2023-05-10 16:58:57 +08:00
Darian Leung
f76194add9
freertos(IDF): Add hidden build option for V10.5.1 kernel
...
This commit adds a "CONFIG_FREERTOS_USE_KERNEL_10_5_1" hidden option to enable
building of the v10.5.1 kernel for development/testing purposes. Currently
enabling this option will just cause CMake to error out.
Also added a markdown file to record the code changes made to the V10.5.1 source
when porting over SMP behavior.
2023-05-10 16:53:00 +08:00
Darian Leung
74f37f50ec
freertos(IDF): Add upstream V10.5.1 files
...
This commit adds the source files for the FreeRTOS Kernel V10.5.1 in
preparation for upgrading ESP-IDF FreeRTOS Kernel version (files copied from
https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.5.1 )
The following modifications were made to the files when copying
- Added "SPDX-FileCopyrightText" and "SPDX-FileContributor" tags to all files
to pass ESP-IDF pre-commit checks.
- Left out some files unnecessary to ESP-IDF (e.g., URLs, "History.txt", and
"portable" folder).
2023-05-10 16:52:22 +08:00
Li Shuai
87dd7bb51a
Merge branch 'bugfix/support_esp32c6_sleep_retention_extra_link' into 'master'
...
support extra linked list retention for BLE and 15.4
Closes IDF-6528
See merge request espressif/esp-idf!22985
2023-05-10 15:07:03 +08:00
Kevin (Lao Kaiyao)
9ee4c48f54
Merge branch 'bugfix/fix_several_bugs_in_i2s' into 'master'
...
i2s: fix several bugs in std and tdm mode
Closes IDF-7288
See merge request espressif/esp-idf!23465
2023-05-10 11:39:51 +08:00
Marius Vikhammer
1590fbd31c
ci: misc fixes for newlib test app
...
Enabled additional tests for C2, added config for testing with newlib nano
as well as cleaned up old configs
2023-05-10 11:14:15 +08:00
morris
6ef187d4fb
Merge branch 'doc/update_mcpwm_deadtime' into 'master'
...
MCPWM: don't allow to apply the same delay module to multiple generators
Closes IDFGH-10050
See merge request espressif/esp-idf!23601
2023-05-10 09:55:36 +08:00
Zim Kalinowski
099ffe6243
Merge branch 'feature/c6_ulp_timer' into 'master'
...
ulp: lp timer support for lp core
Closes IDF-6956, IDF-6830, and IDF-6835
See merge request espressif/esp-idf!23453
2023-05-10 03:06:35 +08:00
Zim Kalinowski
54576b7528
Merge branch 'bugfix/freertos_fix_unordered_event_list' into 'master'
...
freertos: Updated vTaskRemoveFromUnorderedEventList() to consider scheduler state before adding task to ready list
Closes IDF-5785
See merge request espressif/esp-idf!23482
2023-05-10 01:48:47 +08:00
Zim Kalinowski
a495f4729b
Merge branch 'ci/fix_system_invalid_kconfigs' into 'master'
...
ci: fix invalid kconfig options in system test apps
See merge request espressif/esp-idf!23582
2023-05-10 01:38:46 +08:00
KonstantinKondrashov
e48130246a
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-10 00:41:35 +08:00
Sudeep Mohanty
02d473615d
Merge branch 'bugfix/ulp_i2c_timeout_config' into 'master'
...
ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option
Closes IDFGH-9822
See merge request espressif/esp-idf!23470
2023-05-09 21:06:51 +08:00
Wang Meng Yang
e156fcec8a
Merge branch 'bugfix/hfp_ag_idx_invalid_master' into 'master'
...
bt: Fixed out of bounds access due to variable length array
Closes IDFGH-9979
See merge request espressif/esp-idf!23481
2023-05-09 19:51:42 +08:00
zlq
ff88f42819
H2:fix tsensor issue @low temp
2023-05-09 19:40:53 +08:00
Wu Zheng Hui
35bb946653
Merge branch 'bugfix/update_esp32c6eco1_sleep_fosc_cal_cycles' into 'master'
...
bugfix: update esp32c6eco1 / esp32h2eco2 fosc calibration cycles during sleep and support calibrate OSC clock every N times lightsleep
Closes IDF-7287
See merge request espressif/esp-idf!23489
2023-05-09 18:44:20 +08:00
Zim Kalinowski
ead5f19f7c
Merge branch 'bugfix/freertos_nested_sched_suspension' into 'master'
...
freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList()
Closes IDF-7299
See merge request espressif/esp-idf!23537
2023-05-09 18:07:47 +08:00
laokaiyao
563b223ab7
i2s_std: enable left alignment as default
2023-05-09 17:53:53 +08:00
laokaiyao
bebcaad35f
i2s_tdm: add check for slot mask
2023-05-09 17:53:53 +08:00
laokaiyao
fd8042cf5b
i2s_tdm: fixed half sample bit calculation
2023-05-09 17:51:33 +08:00
laokaiyao
382059699e
i2s_std: fixed mclk check for 24-bit data
2023-05-09 17:51:33 +08:00
Sudeep Mohanty
662e0812f4
ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option
...
The commit 88e4c06028
introduced a loop timeout for all ULP RISC-V I2C
transactions to avoid getting stuck in a forever loop. The loop timeout
was set to 500 msec by default. This commit improves on the concept by
making the loop timeout configurable via a Kconfig option in terms of
CPU ticks. If the timeout is set to -1 value then the transaction loops
will never timeout, therefore restoring the driver behavior before the
timeout was introduced.
The commit also updates the I2C Fast mode timings for esp32s2 which need
to be adjusted due to bus timing constraints.
Closes https://github.com/espressif/esp-idf/issues/11154
2023-05-09 11:17:01 +02:00
Zim Kalinowski
3947688d54
Merge branch 'bugfix/make_clean_files' into 'master'
...
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
Closes IDF-2444
See merge request espressif/esp-idf!23628
2023-05-09 16:53:18 +08:00
Sudeep Mohanty
abe5311a22
freertos: Updated vTaskRemoveFromUnorderedEventList() to consider scheduler state before adding task to ready list
...
vTaskRemoveFromUnorderedEventList() runs under the assumption that the
scheduler is suspended during the call. However, for IDF FreeRTOS, this
is not true. When dual-core system is active, this API call is made in
a critical section but without suspending the scheduler. This commit
updates the vTaskRemoveFromUnorderedEventList() function to now consider
the scheduler state on either cores before adding a task to the ready list.
2023-05-09 10:47:24 +02:00
morris
06b1e10273
Merge branch 'feature/reset_mcpwm_in_restart' into 'master'
...
mcpwm: reset peripheral in restart, panic and halt
Closes IDFGH-10047
See merge request espressif/esp-idf!23591
2023-05-09 16:44:55 +08:00
morris
72d0f5b35b
mcpwm: can't apply the same delay module to multiple generators
...
This is a hardware limitation, one delay module can only be used by one generator at one time.
Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-09 16:41:47 +08:00
Sudeep Mohanty
1acd2b5ce7
freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList()
...
This commit fixes a bug in xTaskRemoveFromEvenetList() where in the
check for scheduler suspension did not account for nested suspensions.
Additionally, this commit updates all checks for scheduler
suspension to follow a uniform way.
2023-05-09 10:28:02 +02:00
morris
2b707decfc
Merge branch 'feature/rgb_lcd_pclk_gpio_optional' into 'master'
...
rgb_lcd: make pclk gpio setting optional
Closes IDFGH-10021
See merge request espressif/esp-idf!23626
2023-05-09 14:47:37 +08:00
Rahul Tank
732c921c65
Nimble: Fix compilation issues seen while enabling -O2 optimization
2023-05-09 04:57:28 +00:00
Marius Vikhammer
a300b3eb81
ci: fix invalid kconfig options in system test apps
2023-05-09 11:27:55 +08:00
Zim Kalinowski
75d00928f5
Merge branch 'feature/migrate-newlib-to-pytest' into 'master'
...
newlib: move test to pytest
Closes IDF-5595 and IDF-6961
See merge request espressif/esp-idf!20984
2023-05-08 23:40:50 +08:00
Darian
e1dba0fa9e
Merge branch 'refactor/freertos_component_structure' into 'master'
...
FreeRTOS: Refactor copmonent structure
See merge request espressif/esp-idf!23367
2023-05-08 21:18:37 +08:00
Darian Leung
66499f17a5
freertos: Refactor component structure
...
This commit refactors the "freertos" component's structure as follows:
- "FreeRTOSConfig.h" related files moved to "./config" directory
- Refactored CMakeLists.txt file in preparation for v10.5.1 upgrade
- Grouped list appends based on component organization
- Removed some unecessarily public "include_dirs"
- Removed FreeRTOS-openocd.c
- uxTopUsedPriority has been added back to tasks.c since v10.4.2
- Thus the workaround in FreeRTOS-openocd.c is no longer needed and can
be removed.
2023-05-08 18:40:03 +08:00
Zim Kalinowski
a825dde9c0
newlib: move test to pytest
2023-05-08 12:31:48 +02:00
Mahavir Jain
17451f1fb3
Merge branch 'fix/sha512_block_mode' into 'master'
...
mbedtls: fix sha-512 block mode build error
See merge request espressif/esp-idf!23569
2023-05-08 16:09:50 +08:00
Marius Vikhammer
d17248ecdf
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
...
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-08 15:51:48 +08:00
Armando
8e4974d66f
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3
2023-05-08 14:57:12 +08:00
morris
5ba53c9294
rgb_lcd: make pclk gpio setting optional
...
PCLK may not be necessary in VGA use case.
Closes https://github.com/espressif/esp-idf/issues/11298
2023-05-08 14:55:26 +08:00
Wang Meng Yang
9652d8ed6f
Merge branch 'bugfix/fix_idfgh_9931' into 'master'
...
Fixed remote mic error during encryption procedure
See merge request espressif/esp-idf!23609
2023-05-08 14:44:40 +08:00
harshal.patil
9a87b26294
mbedtls: fix sha-512 block mode build error
2023-05-08 10:27:34 +05:30
Kevin (Lao Kaiyao)
e9e5f1b90f
Merge branch 'feature/add_default_config_for_i2s_pdm_dac_mode' into 'master'
...
i2s: public bclk_div and add a default config for PDM TX DAC
Closes IDF-7289
See merge request espressif/esp-idf!23466
2023-05-08 12:36:05 +08:00
Armando (Dou Yiwen)
38e84bdd4f
Merge branch 'refactor/mspi_timing_tuning_compatible_on_all_chips' into 'master'
...
mspi: timing tuning driver framework
Closes IDF-7004
See merge request espressif/esp-idf!22786
2023-05-08 10:27:29 +08:00
Armando (Dou Yiwen)
4fd45f2483
Merge branch 'bugfix/fix_adc_filter_acquire_logic' into 'master'
...
adc: fix adc filter acquire logic
Closes IDF-7311
See merge request espressif/esp-idf!23566
2023-05-08 10:10:35 +08:00
Michael (XIAO Xufeng)
4e24516ee2
Merge branch 'feat/i2s_ng_stailq' into 'master'
...
driver: use STAILQ_NEXT instead empty to improve readability
See merge request espressif/esp-idf!23528
2023-05-06 22:30:23 +08:00
WanqQixiang
a61b937577
openthread: Add menuconfig to set the default dns server address
2023-05-06 17:44:27 +08:00
morris
083d9e7c0f
mcpwm: reset peripheral in restart, panic and halt
...
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.
closes https://github.com/espressif/esp-idf/issues/11324
2023-05-06 15:58:58 +08:00
chenjianhua
b87f96e115
bluedroid: fix ble ext adv rand addr setting for NRPA
2023-05-06 15:26:45 +08:00
chenjianhua
7593466dc6
bluedroid: fix ble adv data construct for device name
2023-05-06 15:26:45 +08:00
chenjianhua
f7ff6b127e
bluedroid: fix ble smp key distribution setting
2023-05-06 15:26:45 +08:00
cjin
7a708c35cb
pau: fix logic error in extra link retention
2023-05-06 14:58:02 +08:00
Li Shuai
2e22491b02
sleep retention: implement the extra linked list retention for modules with retention clock bugs
2023-05-06 14:58:00 +08:00
laokaiyao
bf8419fd6e
i2s: public bclk_div and add a default config for PDM TX DAC
2023-05-06 14:19:48 +08:00
Marius Vikhammer
3ced7b12e8
ulp: add support for using lp timer with lp core on C6
2023-05-06 14:13:14 +08:00
Marius Vikhammer
97aab3bedc
Merge branch 'bugfix/gdma_log_nano' into 'master'
...
gdma: fixed crash from logging when using newlib nano
Closes IDFGH-8134
See merge request espressif/esp-idf!23579
2023-05-06 13:46:50 +08:00
Marius Vikhammer
e806d9c9cb
gdma: fixed crash from logging when using newlib nano
...
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.
Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 10:51:03 +08:00
Armando
d7cbd04d43
adc: added adc filter exhausted allocation test
2023-05-06 10:31:19 +08:00
Armando
108ce25750
adc: fix adc filter acquire logic
2023-05-06 10:31:19 +08:00
chenjianhua
6c10a7f60d
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed remote mic error during encryption procedure
2023-05-05 21:54:01 +08:00
David Čermák
292d16b440
Merge branch 'bugfix/linux_target_with_out_lwip' into 'master'
...
linux: Add lwip support to networking components under linux
See merge request espressif/esp-idf!23053
2023-05-05 17:26:45 +08:00
morris
eaa4ad502a
Merge branch 'bugfix/check_filter_range' into 'master'
...
rmt: check filter and idle threashold
Closes IDFGH-9977
See merge request espressif/esp-idf!23518
2023-05-05 17:19:45 +08:00
Jiang Jiang Jian
05d1104d28
Merge branch 'bugfix/reduce_logging_for_SAE_master' into 'master'
...
Modify log level for SAE
See merge request espressif/esp-idf!23548
2023-05-05 17:00:50 +08:00
Armando (Dou Yiwen)
313f8cdbb7
Merge branch 'bugfix/add_len_check_per_spi_master_transaction' into 'master'
...
spi master: added transaction length check to refuse longer than hardware supported length
Closes IDF-7236
See merge request espressif/esp-idf!23199
2023-05-05 16:25:05 +08:00
Jiang Jiang Jian
5c4ffe47d6
Merge branch 'bugfix/c6_tx_callback_issue' into 'master'
...
esp_wifi: Fix tx_callback issue for ESP32C6
See merge request espressif/esp-idf!23531
2023-05-05 15:57:40 +08:00
Michael (XIAO Xufeng)
120d848ef8
Merge branch 'bugfix/fix_wrong_hp_ldo_h2' into 'master'
...
ESP32H2: Fix wrong hp ldo
See merge request espressif/esp-idf!23501
2023-05-05 14:39:54 +08:00
Alexey Lapshin
dfcab42a01
pthread: fix restrict keyword usage in function declarations
...
See https://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html
2023-05-05 13:35:19 +08:00
David Cermak
b2af4d9689
lwip/linux: Add lwip support for networking component under linux
...
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00
jgujarathi
e803554654
wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
...
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-05-05 10:13:17 +05:30
jgujarathi
00c0bf683f
wpa_supplicant : Add MBO ie in probe request.
...
Adds the MBO information element in the probe request frame by resetting
scan_ie after set_config is done.
2023-05-05 10:12:29 +05:30
Rahul Tank
ef232423dd
Merge branch 'bugfix/add_event_cb_for_pcl' into 'master'
...
Nimble: Add support to send power control event in registered callback
See merge request espressif/esp-idf!23522
2023-05-05 11:59:36 +08:00
Xiao Xufeng
b24ce390c0
dac: use STQILA instead empty to improve readability
2023-05-05 01:18:49 +08:00
Zim Kalinowski
4ba38c2105
Merge branch 'fix/console-build-error' into 'master'
...
console: Fix building issue when serial JTAG is set
Closes IDFGH-9327
See merge request espressif/esp-idf!23311
2023-05-04 20:15:42 +08:00
morris
d0258a57d0
Merge branch 'refactor/use_ccomp_timer_for_dma_performance_test' into 'master'
...
dma: use ccomp_timer in the test_app by component manager
See merge request espressif/esp-idf!23526
2023-05-04 18:42:06 +08:00
morris
6f749ae038
Merge branch 'test/enlarge_gptimer_test_threshold' into 'master'
...
gptimer: enlarge test threshold
Closes IDFCI-1702
See merge request espressif/esp-idf!23511
2023-05-04 18:40:22 +08:00
Armando
dbf3612d6d
spi_flash: replace flash clock src change API with mspi timing API
2023-05-04 17:05:35 +08:00
Armando
8eec6558d1
mspi: refactor timing tuning driver to make it compatible with p4
2023-05-04 17:05:35 +08:00
Sarvesh Bodakhe
bb88774286
esp_wifi: Fix tx_callback issue for ESP32C6
2023-05-04 14:13:39 +05:30
Jiang Jiang Jian
39e93a95a3
Merge branch 'bugfix/sae_pk_improvements' into 'master'
...
wpa_supplicant: fixes in mbedtls porting to parse compressed EC public key and remove unnecessary code
See merge request espressif/esp-idf!23440
2023-05-04 16:06:51 +08:00
xiongweichao
a7519e17c8
bt: Deleted some redundant variables in HFP_AG
2023-05-04 15:36:23 +08:00
morris
da3b3cf4a4
dma: use ccomp_timer component for testing performance metric
...
ccomp_timer now becomes a standalone component, located in the component registry.
we can use that in the test app by component manager.
2023-05-04 14:09:36 +08:00
Shyamal Khachane
032305a74f
wpa_supplicant: Reduce logging for SAE
2023-05-04 11:21:57 +05:30
wuzhenghui
dcab6368ce
feature: support configuration of sleep clock calibration frequency
2023-05-04 12:09:26 +08:00
wuzhenghui
dd4d1bbe90
bugfix: fix esp32c6eco1 fosc calibration cycles during sleep
2023-05-04 11:46:21 +08:00
Armando
0e72940001
spi: added an API to get max transaction length and use in spi lcd driver
2023-05-04 11:37:23 +08:00
Armando
ea10aac4f0
spi: added transaction length check to refuse longer than hardware supported length
2023-05-04 11:37:23 +08:00
morris
1438d9a02c
Merge branch 'bugfix/bootloader_support/flash' into 'master'
...
bootloader_support: fix register backup
See merge request espressif/esp-idf!23507
2023-05-04 10:52:28 +08:00
Jakob Hasse
0a3cfce671
Merge branch 'contrib/github_pr_10895' into 'master'
...
Fix possible conversion errors by using __builtin_ffsll (GitHub PR)
Closes IDFGH-9541
See merge request espressif/esp-idf!23429
2023-05-04 10:41:46 +08:00
Chen Jian Hua
3aa1ac99c7
Merge branch 'bugfix/fix_ble_hop_sel' into 'master'
...
Fixed BLE connection failed to be established when disabled 5.0 feature
See merge request espressif/esp-idf!23516
2023-05-04 10:16:07 +08:00
Marek Matej
d1a447f6c0
bootloader_support: fix register backup
...
By storing the 'user2' register during the early init
we fix the flash access issue, which occurs in the
Zephyr/MCUboot ports for ESP32.
Signed-off-by: Marek Matej <marek.matej@espressif.com>
2023-05-03 15:11:10 +02:00
Ivan Grokhotkov
3775ce8bd8
Merge branch 'feature/sdmmc_test_app' into 'master'
...
sdmmc: new component test app
Closes IDF-7108
See merge request espressif/esp-idf!19699
2023-05-03 03:07:06 +08:00
Ivan Grokhotkov
500b5b2103
Merge branch 'contrib/github_pr_11215' into 'master'
...
improve thread safety in esp_timer (GitHub PR)
Closes IDFGH-9920
See merge request espressif/esp-idf!23295
2023-05-03 02:21:07 +08:00
Ivan Grokhotkov
1f7c4b5690
Merge branch 'bugfix/xtensa_cmake_stderr_message' into 'master'
...
xtensa: don't print debug messages to stderr
See merge request espressif/esp-idf!23439
2023-05-02 18:51:22 +08:00
Ivan Grokhotkov
a0f4664625
Merge branch 'contrib/github_pr_11245' into 'master'
...
app_trace: fix out of bounds array write (GitHub PR)
Closes IDFGH-9952
See merge request espressif/esp-idf!23345
2023-05-02 18:10:00 +08:00
Rahul Tank
1f92c349a2
Nimble: Add support to send power control event in registered callback
2023-05-02 12:14:23 +05:30
Rahul Tank
329eec289b
Merge branch 'feature/services_health_therm' into 'master'
...
NimBLE: Added health thermometer profile
See merge request espressif/esp-idf!23065
2023-05-02 13:28:08 +08:00
morris
9ae742eb85
rmt: check filter and idle threashold
...
Closes https://github.com/espressif/esp-idf/issues/11262
2023-04-29 06:51:35 +00:00
Darian Leung
76d4c9f592
freertos: Refactor port_systick
...
This commit refactors port_systick.c so that all ports (RISC-V vs Xtensa) of
all FreeRTOS implementations (IDF vs Amazon SMP FreeRTOS) use the same set of
tick interrupt functions. Thus, these funcitons are now common:
- vPortSetupTimer() to setup the tick interrupt's timer
- xPortSysTickHandler() that is called on each tick interrupt
2023-04-28 23:03:00 +08:00
Darian Leung
cf595293af
freertos: Move port_systick to common directory
...
This commit moves port_systick to a directory that ia accessible to both
IDF FreeRTOS and Amazon SMP FreeRTOS.
2023-04-28 23:03:00 +08:00
Sarvesh Bodakhe
cd0d42d43b
wpa_supplicant: Use 'mbedtls_pk_parse_public_key' to parse compressed EC public key and remove unnecessary code
...
Support to parse compressed EC public key is added from 'mbedtls-3.4.0'
2023-04-28 18:23:42 +05:30
Sarvesh Bodakhe
9e4915b81b
esp-wifi: add station SAE-PK (Public Key) configuration note
2023-04-28 18:23:42 +05:30
Darian
1a5249d7e7
Merge branch 'bugfix/ana_cmpr_negative_enum' into 'master'
...
driver: Fix ana_cmpr negative enum comparison and bad test
See merge request espressif/esp-idf!23508
2023-04-28 20:05:53 +08:00
isha.pardikar@espressif.com
8c3ba9e2dc
NimBLE: Added health thermometer profile
2023-04-28 17:20:16 +05:30
Xiao Xufeng
7dd054fe6b
i2s: use STAILQ_NEXT instead empty to improve readability
2023-04-28 18:49:10 +08:00
Jiang Jiang Jian
cac7a5c9cb
Merge branch 'bugfix/fix_bleqabr23_28' into 'master'
...
Bluedroid: report disconnect event after BLE link closed
See merge request espressif/esp-idf!23156
2023-04-28 17:59:29 +08:00
Jiang Jiang Jian
968ef8c24f
Merge branch 'bugfix/fix_esp32_ble_disconnect_failed' into 'master'
...
Fixed BLE disconnection failure on ESP32
See merge request espressif/esp-idf!23450
2023-04-28 17:57:41 +08:00
Jiang Jiang Jian
b0d595d057
Merge branch 'bugfix/hf_cind_ind_index' into 'master'
...
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator
Closes IDFGH-4674
See merge request espressif/esp-idf!23431
2023-04-28 17:48:14 +08:00
Island
d6b7fc9c55
Merge branch 'bugfix/fixed_ble_mic_error' into 'master'
...
ble: [ESP32C6][ESP32H2][ESP32C2] updata libble to 182858c1
Closes BLEQABR23-108, BLEQABR23-121, BLEQABR23-132, BLEQABR23-152, BLEQABR23-166, WIFI-5739, WIFI-5755, and COEX823-22
See merge request espressif/esp-idf!23327
2023-04-28 17:13:06 +08:00
Darian Leung
03ce2fbaf0
driver: Fix ana_cmpr negative enum comparison
...
The C17 standard (sec 6.7.2.2) indicates that the underlying type of an enum is
implementation defined (i.e., can be signed or unsigned). Thus, comparing
"-1 >= some_enum" where "some_enum" is always 0 or largert can return true if
the compiler uses unsigned for enums.
This commit fixes the following issues with ana_cmpr:
- Fixed incorrect comparison in ana_cmpr_del_unit() that relied on enums being
signed, thus would always return true.
- Fixed incorrect expected argument in the "ana_cmpr_unit_install_uninstall"
test. This was not picked up due to the incorrect enum comparison above.
2023-04-28 14:52:50 +08:00
Wang Meng Yang
00687a1fb6
Merge branch 'bugfix/fix_ble_battery_profile_error' into 'master'
...
Fixed battery profile wrong condition in bluedroid host
Closes IDFGH-9937
See merge request espressif/esp-idf!23358
2023-04-28 14:50:03 +08:00
chenjianhua
5908cd968f
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-04-28 14:17:37 +08:00
Mahavir Jain
b5055b9bfa
Merge branch 'feature/add_mbedtls_ciphersuites_set_get_api' into 'master'
...
esp-tls: Add config and api to set and get ciphersuites list
Closes IDF-7183
See merge request espressif/esp-idf!23320
2023-04-28 13:01:59 +08:00
morris
542c705282
Merge branch 'bugfix/lcd_cam_reg_clk_sel' into 'master'
...
soc: fix lcd_cam clock selection description
Closes IDFGH-9972
See merge request espressif/esp-idf!23391
2023-04-28 12:22:32 +08:00
morris
36c134bdc3
gptimer: enlarge test threshold
2023-04-28 11:43:50 +08:00
Shen Weilong
64c9dfd7d2
ble: [ESP32C6][ESP32H2][ESP32C2] updata libble
...
Fixed the occasional mic error caused by wrong tx cnt
Fixed the BLE connection timeout issue
2023-04-28 11:21:39 +08:00
Marius Vikhammer
47dda378ca
Merge branch 'bugfix/pm_trace_pins_c6' into 'master'
...
pm: fix invalid trace pins for C6 and H2
Closes IDFCI-1697
See merge request espressif/esp-idf!23496
2023-04-28 09:17:58 +08:00
morris
de72ac217c
Merge branch 'bugfix/rmt_one-wire' into 'master'
...
rmt_onewire: refactor example with component registry
Closes IDFGH-9422
See merge request espressif/esp-idf!23288
2023-04-28 04:51:32 +08:00
Jiang Jiang Jian
25222163b9
Merge branch 'bugfix/fix_softap_pairwise_cipher_issue' into 'master'
...
esp_wifi: update pairwise cipher in softAP
Closes WIFI-5768 and WIFI-5779
See merge request espressif/esp-idf!23270
2023-04-27 21:31:19 +08:00
yuanjianmin
f74447103f
esp-tls: Add config and api to set and get ciphersuites list
2023-04-27 19:22:27 +08:00
Mahavir Jain
cba923788e
Merge branch 'feature/tls1_3_support' into 'master'
...
esp-tls: add initial support for TLS1.3 connections (client mode)
Closes IDF-7251 and IDF-7252
See merge request espressif/esp-idf!23442
2023-04-27 18:13:43 +08:00
hongshuqing
430776fc46
fix wrong hp ldo for h2
2023-04-27 17:29:10 +08:00
morris
fb3d24739a
soc: sync lcd_cam register description with TRM
...
Closes https://github.com/espressif/esp-idf/issues/11257
2023-04-27 16:28:05 +08:00
Guillaume Souchere
c84f0b25ac
console: Fix building issue when serial JTAG is set
...
Closes https://github.com/espressif/esp-idf/issues/10707
2023-04-27 15:28:23 +08:00
Marius Vikhammer
220bb4452f
pm: fix invalid trace pins for C6 and H2
2023-04-27 15:19:17 +08:00
morris
af2085b789
rmt_onewire: refactor example with component manager
...
Closes https://github.com/espressif/esp-idf/issues/10790
2023-04-27 15:02:55 +08:00
Jiang Jiang Jian
afd0e384db
Merge branch 'feature/support_fosc_calibration_h2_eco2' into 'master'
...
ESP32H2: Fix fosc calibration fail bug for ECO2 & Above
See merge request espressif/esp-idf!23464
2023-04-27 14:37:38 +08:00
Marius Vikhammer
68088c6371
Merge branch 'ci/fix_overwrite_pytest_configs' into 'master'
...
ci: fixed test apps overriding idf_build_apps configs
See merge request espressif/esp-idf!23387
2023-04-27 14:32:18 +08:00
Chen Jian Hua
b2906d412d
Merge branch 'feature/support_periodic_adv_sync_trans' into 'master'
...
Bluedroid: add periodic adv sync transfer API and EVT
See merge request espressif/esp-idf!22146
2023-04-27 14:19:43 +08:00
Chen Jian Hua
809bd5a52c
Merge branch 'feature/support_gatt_read_multi_variable' into 'master'
...
Bluedroid: add GATT read multi variable API and EVT
See merge request espressif/esp-idf!21990
2023-04-27 14:18:22 +08:00
muhaidong
bd77a74c9d
esp_wifi: update pairwise cipher in softAP
2023-04-27 14:08:28 +08:00
Rahul Tank
aaefc8ce46
Merge branch 'feature/expose_addr_resolv_out_stack' into 'master'
...
Nimble:Added change to expose addr resolution API outside stack
See merge request espressif/esp-idf!23183
2023-04-27 13:02:59 +08:00
Jiang Jiang Jian
670c086807
Merge branch 'bugfix/pmkid_sha256_bug' into 'master'
...
wpa_supplicant: Fix PMKID SHA__256 related regression
Closes WIFI-5741 and WIFI-5740
See merge request espressif/esp-idf!23476
2023-04-27 12:47:04 +08:00
Shu Chen
8fd6e7311e
Merge branch 'bugfix/border_router_connect_with_SSED' into 'master'
...
OpenThread BR: support link metrics registration and csl.
See merge request espressif/esp-idf!23441
2023-04-27 11:19:10 +08:00
muhaidong
bd16d6feeb
esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP
2023-04-27 10:56:36 +08:00
muhaidong
76ac4add53
esp_supplicant: wpa pmf should be disabled
2023-04-27 10:56:25 +08:00
Jiang Jiang Jian
ef91be6a71
Merge branch 'bugfix/reject_tkip_in_owe' into 'master'
...
Reject TKIP cipher incase of OWE connection
See merge request espressif/esp-idf!23457
2023-04-27 10:21:01 +08:00
xiongweichao
f04b663ac4
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
...
Closes https://github.com/espressif/esp-idf/issues/6486
2023-04-27 10:06:18 +08:00
Xu Si Yu
fc1fdca416
OpenThread border router: support border router to connect with SSED
2023-04-27 01:13:41 +00:00
Almir Okato
8d84a5315a
Merge branch 'fix/bootloader_missing_include' into 'master'
...
bootloader_support: add missing header to bootloader_flash.c
See merge request espressif/esp-idf!23221
2023-04-27 06:26:49 +08:00
Xu Si Yu
55c3bbed85
Merge branch 'bugfix/increase_timeout_for_ieee802154_ci' into 'master'
...
ieee802154: increase the timeout for ieee802.15.4 CI test
See merge request espressif/esp-idf!23463
2023-04-27 06:17:05 +08:00
Sarvesh Bodakhe
0518d2eb65
wpa_supplicant: Fix PMKID SHA-256 related regression
...
Fixed regression caused by commit 38e9c8b4
2023-04-26 18:00:32 +05:30
Laukik Hase
56123c52aa
Merge branch 'ci/migrate_nvs_flash_to_component_test_apps' into 'master'
...
nvs_flash: Migrate UTs to component test-apps
Closes IDF-5596
See merge request espressif/esp-idf!23411
2023-04-26 20:23:25 +08:00
Rahul Tank
10e93dc1f4
Nimble:Added change to expose addr resolution API outside stack
2023-04-26 17:47:47 +05:30
Zhi Wei Jian
0b5b9520ba
Merge branch 'bugfix/fix_own_addr_is_rap_random_err' into 'master'
...
Fixed no error report when own address type is rpa_random and no random address setting
Closes BLEQABR23-159
See merge request espressif/esp-idf!23363
2023-04-26 20:15:53 +08:00
xiongweichao
481034060a
bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
...
Closes https://github.com/espressif/esp-idf/issues/11264
2023-04-26 19:31:07 +08:00
Jakob Hasse
ca44fc3847
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-04-26 19:06:39 +08:00
xiongweichao
de24e9b86e
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-04-26 17:51:16 +08:00
Marius Vikhammer
9357f0977c
Merge branch 'ci/chip_support_network_invalid_kconfigs' into 'master'
...
ci: remove redundant ci configs for chip support and network components
See merge request espressif/esp-idf!23430
2023-04-26 17:26:05 +08:00
hongshuqing
cbc5a38e26
support h2 eco2 fosc calibration
2023-04-26 15:31:18 +08:00
Xu Si Yu
c985267ccf
ieee802154: increase the timeout for ieee802.15.4 CI test
2023-04-26 15:06:33 +08:00
Shyamal Khachane
e16b6f9369
esp_wifi: Reject TKIP cipher incase of OWE connection
2023-04-26 11:24:11 +05:30
Laukik Hase
4ac95a33fd
nvs_flash: Migrate UTs to component test-apps
2023-04-26 10:21:03 +05:30
zhiweijian
025fe44edb
Fixed BLE disconnection failure on ESP32
2023-04-26 11:20:09 +08:00
Marius Vikhammer
1a5e47bd07
ci: fixed test apps overriding pytest configs
2023-04-26 11:07:35 +08:00
Shu Chen
5d222db12f
Merge branch 'support/ieee802154_driver_opensrc' into 'master'
...
ieee802154: Support driver code open src
See merge request espressif/esp-idf!22857
2023-04-26 10:35:42 +08:00
Marius Vikhammer
bca026455c
ci: remove redundent ci configs for chip support and network components
...
CI would build psram config test apps even for target with no psram.
2023-04-26 09:54:29 +08:00
Martin Vychodil
668521dfe7
Merge branch 'feature/vfs_test_app' into 'master'
...
VFS: move tests from unit-test-app to a component test app
See merge request espressif/esp-idf!23145
2023-04-26 09:23:28 +08:00
Kapil Gupta
f73bd61ebe
Merge branch 'bugfix/dpp_retry_start_listening_issue' into 'master'
...
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
See merge request espressif/esp-idf!23369
2023-04-26 01:07:03 +08:00
Zim Kalinowski
4a647d08de
Merge branch 'feature/c6_ulp_sleep' into 'master'
...
ulp: added sleep support for lp core
Closes IDF-7012
See merge request espressif/esp-idf!23103
2023-04-25 22:40:52 +08:00
Jakob Hasse
af2d326a95
Merge branch 'feature/freertos_plus_posix_SMP' into 'master'
...
[FreeRTOS/Linux] POSIX/Linux and SMP
Closes IDF-6087
See merge request espressif/esp-idf!21818
2023-04-25 20:21:26 +08:00
Mahavir Jain
3fd171f092
mbedtls: fix small typo in the config file
2023-04-25 17:44:28 +05:30
Mahavir Jain
7fd1378fbb
esp_tls: add initial support for TLS 1.3 connection
2023-04-25 17:40:01 +05:30
Sonika Rathi
d83c681078
VFS: move tests from unit-test-app to a component test app
2023-04-25 17:24:20 +05:30
Mahavir Jain
a8b6a70620
Merge branch 'feature/add_bignum_ll_layer' into 'master'
...
bignum: added bignum hal and ll layer
Closes IDF-7071
See merge request espressif/esp-idf!22823
2023-04-25 19:50:25 +08:00
Song Ruo Jing
e2a5c092f7
Merge branch 'refactor/rename_to_esp_clk_tree_prefix' into 'master'
...
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx
See merge request espressif/esp-idf!23362
2023-04-25 19:41:39 +08:00
Ivan Grokhotkov
9d82d6bf7f
xtensa: don't print debug messages to stderr
...
By default, CMake message() commands prints to stderr.
IDEs like Eclipse show stderr output in red, which looks as if this is
some kind of error.
Use message(STATUS) instead.
2023-04-25 12:59:41 +02:00
Isha Pardikar
08a21e3e26
Merge branch 'bugfix/wifi_prov_deinit_github' into 'master'
...
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping.
See merge request espressif/esp-idf!23413
2023-04-25 18:22:02 +08:00
Jiang Jiang Jian
58272a70b4
Merge branch 'esp32c6/bugfix_for_memory_leak_cause_by_timer' into 'master'
...
esp_wifi: bugfix for esp32c6 memory leak
See merge request espressif/esp-idf!23401
2023-04-25 18:04:36 +08:00
Radek Tandler
d8f2c0e715
Merge branch 'feature/storage_host_test_ffs' into 'master'
...
fatfs: host test migrated to CMake and esp_partition emulation for linux
See merge request espressif/esp-idf!23265
2023-04-25 15:30:09 +08:00
Song Ruo Jing
a4e8960ab4
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-25 14:12:06 +08:00
C.S.M
7d9d27a060
Merge branch 'refactor/driver_ut_to_test_app' into 'master'
...
CI: Move all UT in driver to test_app
See merge request espressif/esp-idf!23343
2023-04-25 14:10:11 +08:00
Jakob Hasse
550ecbe37a
feat(freertos): added POSIX/Linux simulator port to FreeRTOS SMP
...
* Added a POSIX/Linux simulator that is compatible with the Amazon
FreeRTOS SMP API. Note that the simulator itself is still
single core, like the IDF FreeRTOS POSIX/Linux simulator.
2023-04-25 13:58:57 +08:00
Roman Leonov
36a09e957f
Merge branch 'feature/usb_host_interface_claim_debug_info' into 'master'
...
usb_host: better debugging information during usb_host_interface_claim()
Closes IDF-6314
See merge request espressif/esp-idf!22882
2023-04-25 13:15:58 +08:00
Shu Chen
2905dbaa79
Merge branch 'bugfix/SPI-conflict-between-OT-SPINEL-and-Ethernet' into 'master'
...
openthread: fix the spi conflict between ot-spinel and ethernet
See merge request espressif/esp-idf!23344
2023-04-25 12:09:30 +08:00
Marius Vikhammer
266229ea34
Merge branch 'bugfix/esp32_pico_v3_2_chip_info' into 'master'
...
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram
Closes IDFGH-9938
See merge request espressif/esp-idf!23383
2023-04-25 11:53:38 +08:00
Marius Vikhammer
359b237cc5
ulp: added sleep support for lp core
...
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-25 11:51:35 +08:00
zhangwenxu
c8c1cd1c55
ieee802154: support driver opensrc
2023-04-25 11:48:13 +08:00
Cao Sen Miao
8882ba2ba1
CI: Move all UT in driver to test_app
2023-04-25 10:40:32 +08:00
Martin Vychodil
e1a20bf7f0
Merge branch 'fix/sdio_sd_cards_not_detected_correctly' into 'master'
...
sdmmc: sdio combination cards correct setup
Closes IDFGH-8856 and IDFGH-8348
See merge request espressif/esp-idf!23416
2023-04-25 06:36:46 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7
Merge branch 'refactor/remove_esp32h4_target' into 'master'
...
esp32h4: removed esp32h4 target (stage 2)
Closes IDF-7237, IDF-7238, and IDF-7239
See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00
Adam Múdry
84bac4e38f
sdmmc: sdio combination cards correct setup
...
Co-authored-by: Mau Abata <mauabata@gmail.com>
Closes https://github.com/espressif/esp-idf/issues/9822
Closes https://github.com/espressif/esp-idf/issues/10280
2023-04-24 17:03:09 +02:00
xuxiao
8df3e461f0
esp_wifi: bugfix for esp32c6 memory leak
2023-04-24 20:41:22 +08:00
isha.pardikar@espressif.com
f29430239c
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping.
2023-04-24 17:45:41 +05:30
harshal.patil
fbb8937758
bignum: bare-metal mpi peripheral verification application
2023-04-24 16:15:11 +05:30
harshal.patil
56327452ce
esp_hw_support: add crypto lock layer for esp32
2023-04-24 16:15:11 +05:30
harshal.patil
4ae1ea7b9f
bignum: refactored the hardware abstraction of the mpi peripheral
...
- `<target>/bignum.c` is replaced by mpi_ll.h ll layer.
- added the mpi hal layer.
2023-04-24 16:15:11 +05:30
Ondrej Kosta
22caec278f
Merge branch 'feature/emac_hal_cleanup' into 'master'
...
wrapped emac_ll functions to emac_hal
Closes IDFGH-8474
See merge request espressif/esp-idf!23078
2023-04-24 15:47:29 +08:00
Konstantin Kondrashov
6132abe970
Merge branch 'feature/add_missed_settings_for_bootloader_reserve_rtc_mem_for_c6_h2' into 'master'
...
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader
See merge request espressif/esp-idf!23347
2023-04-24 14:50:47 +08:00
Roman Leonov
1be6977a9d
usb_host: better debugging information during hcd_pipe_alloc() when usb_host_interface_claim() is being fulfiled.
2023-04-24 08:37:57 +02:00
Shu Chen
8b422cbfa0
Merge branch 'fix/openthread_platform_udp_send_rules' into 'master'
...
openthread: fix platform udp send rules for OT netif
See merge request espressif/esp-idf!23206
2023-04-24 14:02:21 +08:00
Marius Vikhammer
895c21cc6b
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram
...
Closes https://github.com/espressif/esp-idf/issues/11233
2023-04-24 11:23:15 +08:00
Jiang Jiang Jian
269ff98449
Merge branch 'feature/support_ble_gatts_show_local_db' into 'master'
...
Bluedroid: support gatts show local database
See merge request espressif/esp-idf!23341
2023-04-24 10:36:12 +08:00
Wan Lei
06a40598bf
Merge branch 'feature/spi_hal_move_out_iram' into 'master'
...
spi: change linker file to move spi hal out from iram
Closes IDF-7163
See merge request espressif/esp-idf!23036
2023-04-24 10:15:10 +08:00
Ivan Grokhotkov
ca807ae9a0
Merge branch 'version/v5.2.0' into 'master'
...
version: update to v5.2.0
See merge request espressif/esp-idf!23286
2023-04-23 23:16:27 +02:00
Ivan Grokhotkov
39580dd08c
version: update to v5.2.0
...
Starting IDF v5.2 development
2023-04-23 21:52:21 +02:00
jasta
1885379ae3
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
...
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true. Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.
This contributes greatly to #10615 , but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works. Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.
Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/10865
2023-04-23 20:27:20 +05:30
zhangwenxu
1d101f67e4
esp_phy: remove esp32h4 phylib
2023-04-23 12:03:07 +00:00
zhangwenxu
c05b9403f7
ieee802154: remove libieee802154.a for target esp32h4
2023-04-23 12:03:07 +00:00
laokaiyao
49f16eefbb
esp32h4: checked all the corner stuffs of the removal
2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
laokaiyao
b16ed57b2e
esp32h4: removed esp32h4 related files
2023-04-23 12:03:07 +00:00
Michael (XIAO Xufeng)
59a899230c
Merge branch 'feature/support_fosc_calibration_c6_eco1' into 'master'
...
ESP32C6: Fix fosc calibration fail bug for ECO1 & Above
Closes IDF-7093
See merge request espressif/esp-idf!23215
2023-04-23 18:04:28 +08:00
chenjianhua
0f7446f93f
bluedroid: support gatts show local database
2023-04-23 17:22:04 +08:00
Song Ruo Jing
6700630ccb
Merge branch 'refactor/ledc_driver_refactor' into 'master'
...
ledc: Improvement made on the LEDC driver
See merge request espressif/esp-idf!22971
2023-04-23 16:43:52 +08:00
zwj
7d1e7d2766
Fixed no error report when own address type is rpa_random and no random address setting
2023-04-23 16:15:39 +08:00
hongshuqing
e3148369f3
support c6 eco1 fosc calibration
...
support c6 eco1 fosc calibration
support c6 eco1 fosc calibration
support c6 eco1 fosc calibration
Apply suggestion
Apply
support c6 eco1 fosc calibration
support c6 eco1 fosc calibration
2023-04-23 13:36:20 +08:00
C.S.M
e1149f018a
Merge branch 'contrib/github_pr_10811' into 'master'
...
i2c: I2c cmdnum fix (GitHub PR)
Closes IDFGH-9444
See merge request espressif/esp-idf!22473
2023-04-23 11:29:46 +08:00
zhiweijian
1d548ae1f2
Fixed battery profile wrong condition
2023-04-23 11:15:57 +08:00
Zhang Xiao Yan
2c24513d86
Merge branch 'docs/update_components_log_readme' into 'master'
...
add description related to thread safety to component/log/readme
See merge request espressif/esp-idf!23162
2023-04-23 11:11:25 +08:00
Zhang Xiao Yan
9ba5004dab
add description related to thread safety to component/log/readme
2023-04-23 11:11:24 +08:00
Darian
2fdba8ec19
Merge branch 'feature/freertos_add_create_task_with_caps' into 'master'
...
FreeRTOS: Add xTaskCreateWithCaps()
Closes IDFGH-9922
See merge request espressif/esp-idf!23191
2023-04-21 22:33:03 +08:00
KonstantinKondrashov
a622ac43eb
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader
...
This option reserves an area in RTC FAST memory for the following features:
- "Skip image validation when exiting deep sleep"
- "Reserve RTC FAST memory for custom purposes"
- "GPIO triggers factory reset"
2023-04-21 21:09:10 +08:00
Roland Dobai
1bf382a3e1
Merge branch 'monitor_win_color' into 'master'
...
bug(idf_monitor, hints): fix monitor colors on windows with hints
Closes IDF-5863
See merge request espressif/esp-idf!22070
2023-04-21 20:15:38 +08:00
Hanno
8f1cf01ec8
i2c: introduce chip specific cmd register number
...
Merges https://github.com/espressif/esp-idf/pull/10811
2023-04-21 19:22:53 +08:00
xieqinan
f4446d8819
openthread: fix the spi conflict between ot-spinel and ethernet
2023-04-21 19:12:47 +08:00
wanlei
15e8c04f7b
spi: change linker file let spi hal able to out from iram
2023-04-21 18:58:36 +08:00
wanlei
b519eed230
spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency
2023-04-21 18:57:06 +08:00
wen13245
ffa79a4b4e
Modifies the argument of the sizeof statement to a legitimate array name
2023-04-21 18:44:06 +08:00
Kapil Gupta
a189bdbc7d
Merge branch 'bugfix/init_wpsreg_in_APSTA_mode' into 'master'
...
esp_wifi:Enable wpsreg to initialize in APSTA mode
Closes WIFI-5436
See merge request espressif/esp-idf!23034
2023-04-21 17:15:00 +08:00
radek.tandler
13a305656d
host_test: cleanup of make based obsolete code in wl, fatfs and spi_flash
2023-04-21 10:45:17 +02:00
radek.tandler
0078025d7b
fatfs: host test migrated to CMake and esp_partition emulation for linux
2023-04-21 10:45:07 +02:00
Song Ruo Jing
fcc6514dde
ledc: Add an all-in-one HAL function to set fade parameters, and refactor ledc_ll_get_max_duty function
2023-04-21 16:40:54 +08:00
Song Ruo Jing
64aec54308
ledc: Add timer selection check to the driver, and leave space for future clk tree management
2023-04-21 16:40:54 +08:00
Darian Leung
948010dc0b
freertos: Add task creation with caps functions
...
This commit adds the corresponding CreateWithCaps functions for tasks:
- xTaskCreatePinnedToCoreWithCaps()
- xTaskCreateWithCaps()
- vTaskDeleteWithCaps()
Documentation and migraiton guide have been updated accordingly.
Closes https://github.com/espressif/esp-idf/issues/11216
2023-04-21 15:43:08 +08:00
C.S.M
a97d480f1f
Merge branch 'bugfix/bod_intr' into 'master'
...
brownout: Disable the hardware BOD reset when BOD interrupt is enabled
Closes IDF-7234
See merge request espressif/esp-idf!23192
2023-04-21 14:44:29 +08:00
Darian
836755679e
Merge branch 'feature/bt_uses_creationg_with_caps_functions' into 'master'
...
BT: Remove "create static" calls from OSI
See merge request espressif/esp-idf!23187
2023-04-21 12:39:10 +08:00
Zhi Wei Jian
a2b2cdadf8
Merge branch 'bugfix/fix_disable_controller_50_feature' into 'master'
...
Disable controller 5.0 feature bits if host 5.0 feature is not enabled on ESP32C3 and ESP32S3
See merge request espressif/esp-idf!23307
2023-04-21 12:11:11 +08:00
Zhi Wei Jian
89bf31f458
Merge branch 'bugfix/fix_disconnect_due_to_consecutive_crc_error_in_first_6_intervals' into 'master'
...
Fixed disconnection due to consecutive CRC errors in first 6 intervals on ESP32
Closes CBLE50Y23-4
See merge request espressif/esp-idf!23207
2023-04-21 12:01:14 +08:00
zhangwenxu
1a73ff1db1
openthread: fix platform udp send rules for OT netif
2023-04-21 10:52:02 +08:00
Cao Sen Miao
a3d962d89a
brownout: Disable the hardware BOD when BOD interrupt is enabled
2023-04-21 10:22:59 +08:00
Ivan Grokhotkov
2a28061eaa
Merge branch 'contrib/github_pr_11117' into 'master'
...
test_nvs_host: fix asan reported bugs (GitHub PR)
Closes IDFGH-9860
See merge request espressif/esp-idf!23172
2023-04-20 22:37:42 +08:00
Kevin (Lao Kaiyao)
4fd62bce13
Merge branch 'refacor/remove_esp32h4_target_stage1' into 'master'
...
esp32h4: remove esp32h4 target (stage 1)
See merge request espressif/esp-idf!23237
2023-04-20 20:29:58 +08:00
David Čermák
e888bb0cf8
Merge branch 'bugfix/esp_netif_recieve_returns' into 'master'
...
esp_netif: Report error if esp_netif_receive() fails
Closes IDFGH-9398
See merge request espressif/esp-idf!22936
2023-04-20 17:47:28 +08:00
Shreyas Sheth
5524aad43f
esp_wifi:Enable wpsreg to initialize in APSTA mode
2023-04-20 14:48:14 +05:30
Tomas Rezucha
197c888611
Merge branch 'fix/usb/host/pytests' into 'master'
...
usb_host: Use up-to-date syntax in pytest
See merge request espressif/esp-idf!23280
2023-04-20 16:45:09 +08:00
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
zhiweijian
f10de13df7
Disable controller 5.0 feature bits if host 5.0 feature is not enabled
2023-04-20 14:55:35 +08:00
Island
2300982af9
Merge branch 'bugfix/esp32c6_conn_lost_packet' into 'master'
...
Ble: bugfix for packet loss issue during connection on ESP32C6
Closes BLEQABR23-63 and BLEQABR23-55
See merge request espressif/esp-idf!23223
2023-04-20 12:00:29 +08:00
morris
d2473d0662
Merge branch 'feature/esp_rom_update_cpu_freq' into 'master'
...
esp_rom: add common ROM API to update CPU tick rate
See merge request espressif/esp-idf!23266
2023-04-20 10:59:16 +08:00
Zim Kalinowski
5d0838506a
Merge branch 'bugfix/adds_iram_attr_for_some_esp_timer_apis' into 'master'
...
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
Closes IDFGH-9122 and IDFGH-9500
See merge request espressif/esp-idf!22566
2023-04-20 04:54:11 +08:00
Zim Kalinowski
db6ba5155c
Merge branch 'feature/heap-trace-perf-improvment' into 'master'
...
heap: Allow for hashmap placement in external memory
Closes IDFGH-9845
See merge request espressif/esp-idf!23184
2023-04-20 04:37:52 +08:00
Jens Gutermuth
3ba70490c9
improve thread safety in esp_timer
...
Inadequate locking in the esp_timer component allowed corruption
of the s_timers linked list:
1. timer_armed(timer) returns false
2. another task arms the timer and adds it to s_timers
3. the list is locked
4. the timer is inserted into s_timers again
The last step results in a loop in the s_timers list, which causes
an infinite loop when iterated. This change always locks the
list before checking if the timer is already armed avoiding
the data race.
2023-04-19 16:59:43 +02:00
Ondrej Kosta
c231c79fc8
HAL: wrapped emac_ll functions to emac_hal
...
Closes #9934
2023-04-19 12:46:45 +00:00
Mahavir Jain
359da9ce63
Merge branch 'bugfix/efuse_hal_api_update' into 'master'
...
efuse: add efuse hal api
Closes IDF-7215
See merge request espressif/esp-idf!23217
2023-04-19 18:45:13 +08:00
KonstantinKondrashov
91fcced0fb
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
...
Closes https://github.com/espressif/esp-idf/issues/10522
Closes https://github.com/espressif/esp-idf/issues/10859
2023-04-19 17:42:38 +08:00
Tomas Rezucha
f2f6278ba6
usb_host: Use up-to-date syntax in pytest
2023-04-19 11:06:25 +02:00
Guillaume Souchere
6ce1ccd964
heap: Add trace configuration to allow hash map placement in external RAM bss section when possible
...
- Remove the size limit for the hash_map array from the CONFIG_HEAP_TRACE_HASH_MAP_SIZE
- Add test case for heap tracing using hashmap
- Update heap_debug.rst to document the newly added configurations in the heap component
Closes https://github.com/espressif/esp-idf/issues/11172
2023-04-19 10:30:59 +02:00
Jakob Hasse
d82eb6942c
Merge branch 'contrib/github_pr_11025' into 'master'
...
Enable support for C++23 in esp-idf (GitHub PR)
Closes IDFGH-9684
See merge request espressif/esp-idf!23144
2023-04-19 15:53:46 +08:00
Jakob Hasse
852c60fee0
Merge branch 'refactor/pthread_iram' into 'master'
...
pthread: removed IRAM code from pthread
Closes IDF-7147
See merge request espressif/esp-idf!23213
2023-04-19 15:31:19 +08:00
morris
cae3ef45e1
Merge branch 'contrib/github_pr_10950' into 'master'
...
esp_system: Add reset reasons for USB_UART and USB_JTAG (GitHub PR)
Closes IDFGH-9601
See merge request espressif/esp-idf!22675
2023-04-19 15:30:01 +08:00
Darian
0bb3342491
Merge branch 'refactor/xtensa_move_common_source_files' into 'master'
...
Xtensa: Separate files according to Xtensa RTOS porting layer
See merge request espressif/esp-idf!21672
2023-04-19 15:15:21 +08:00
Jiang Jiang Jian
5a603a6612
Merge branch 'bugfix/improve_scan_performance_when_scan_and_sync_coexist' into 'master'
...
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
Closes CBLE50Y23-5, BLEQABR23-57, and BT-3094
See merge request espressif/esp-idf!23211
2023-04-19 13:52:55 +08:00
morris
4123e611dc
esp_rom: add common ROM API to update CPU tick rate
2023-04-19 13:21:26 +08:00
Nebojsa Cvetkovic
67e9db7cf5
esp_system: Add reset reasons for USB_UART and USB_JTAG
...
Merges https://github.com/espressif/esp-idf/pull/10950
2023-04-19 10:09:19 +08:00
Ivan Grokhotkov
690aa433a2
Merge branch 'contrib/github_pr_10987' into 'master'
...
Allow to config the maximum number of VFS entries. (GitHub PR)
Closes IDFGH-9641
See merge request espressif/esp-idf!23171
2023-04-19 04:52:50 +08:00
Ivan Grokhotkov
9adafb0f26
Merge branch 'feature/newlib_fsync_without_vfs' into 'master'
...
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
See merge request espressif/esp-idf!21390
2023-04-19 02:47:53 +08:00
Darian
f93bb3a63c
Merge branch 'contrib/github_pr_11113' into 'master'
...
Fix usb enumeration stage error for some device (GitHub PR)
Closes IDFGH-9778
See merge request espressif/esp-idf!23233
2023-04-19 02:19:26 +08:00
Jiang Jiang Jian
c8983219b9
Merge branch 'feature/esp32c6_espnow_support_11ax_rate' into 'master'
...
esp_wifi: espnow support using 11ax rate to send frame
See merge request espressif/esp-idf!22754
2023-04-19 02:05:14 +08:00
Aditya Patwardhan
823322f988
Merge branch 'feature/update_mbedtls_v3.4.0' into 'master'
...
mbedtls: Update to release/v3.4.0
Closes IDF-7158
See merge request espressif/esp-idf!23058
2023-04-18 21:29:28 +08:00
zwj
9d9252acbc
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-04-18 20:36:04 +08:00
Roland Dobai
a05b306782
Merge branch 'esptool_extra' into 'master'
...
feat(esptool): allow to force flash chip
Closes IDF-6838 and IDF-5381
See merge request espressif/esp-idf!23097
2023-04-18 19:35:32 +08:00
xuxiao
0848938868
esp_wifi: espnow support using 11ax rate to send frame
2023-04-18 18:06:52 +08:00
Xu Xiao
ddb57be1bc
Merge branch 'bugfix/store_softap_nvs_authmode_wpa3' into 'master'
...
esp_wifi: Bugfix softAP store wpa3 sae authmode in nvs
Closes WIFI-5749
See merge request espressif/esp-idf!23203
2023-04-18 17:56:31 +08:00
Ivan Grokhotkov
35ea136d5a
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
...
This feature allows calling fsync even if the vfs component is not
used.
The second part of the commit adds an fsync call in the panic test app
enabling it to be used over usb-serial-jtag.
2023-04-18 11:19:36 +02:00
Martin Vychodil
81d814b42f
Merge branch 'bugfix/fatfs_open_O_CREAT_fails' into 'master'
...
fatfs: fix "open("xx",O_CREAT|O_WRONLY,0666)" call failure
See merge request espressif/esp-idf!23045
2023-04-18 16:33:00 +08:00
Ivan Grokhotkov
274fa56e71
Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
...
system: support USB_OTG CDC console on ESP32-S3
Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835
See merge request espressif/esp-idf!19312
2023-04-18 16:28:49 +08:00
Armando (Dou Yiwen)
4adef05163
Merge branch 'test/temporarily_removed_emmc_esp32_ut' into 'master'
...
emmc: temporarily removed esp32 emmc ut_017
See merge request espressif/esp-idf!23244
2023-04-18 16:18:07 +08:00
Sachin Billore
c3e701588e
efuse: add efuse hal api
...
Closes IDF-7215
2023-04-18 13:47:00 +05:30
Darian Leung
6587e75251
xtensa: Add bare metal port stub functions for G0 build test
...
This commit adds "bare metal stubs" xtensa_rtos.h glue layer to mimic a bare
metal OS port. The bare metal stubs don't access any components outside of the
G0 group.
2023-04-18 15:51:38 +08:00
Darian Leung
5fde889a3d
xtensa: Remove OS agnostic files from Amazon SMP FreeRTOS port
...
The previous commit moved the OS agnostic files from the IDF FreeRTOS port to
the xtensa component, thus can be accessed by both IDF and Amazon SMP FreeRTOS.
This commit removes the redudant copies in the Amazon SMP FreeRTOS port.
2023-04-18 15:51:38 +08:00
Darian Leung
b2c074bb70
xtensa: Move Xtensa RTOS porting layer files to xtensa component
...
When porting an RTOS to the Xtensa architecture, there are a few files that
are common to all Xtensa RTOS ports. These files form the Xtensa RTOS porting
layer (e.g., "xtensa_vectors.S", "xtensa_context.S"). An Xtensa RTOS port is
expected to provide an RTOS specific "xtensa_rtos.h" header to interface with
the Xtensa RTOS porting layer.
Previously, the Xtensa RTOS porting layer files were placed in the FreeRTOS
component. This commit does the following:
1. Moves the Xtensa RTOS porting layer files from the `freertos` component to
the `xtensa` component. The following files were moved:
- xtensa_asm_utils.h
- xtensa_context.S
- xtensa_loadstore_handler.S
- xtensa_vectors.S
2. Refactored xtensa component include paths to separate Xtensa RTOS porting
layer headers.
- Xtensa HAL headers included via `#include <xtensa/...h>`
- Xtensa RTOS porting layer headers included via `#include <...h>`
Note: The xtensa files in the Amazon SMP FreeRTOS port are not moved/deleted in
this commit to ensure the moved files retain a clean diff history.
2023-04-18 15:28:05 +08:00
Shu Chen
e033d34baa
Merge branch 'openthread/add_lock_check' into 'master'
...
openthread: Add check for lock acquire and release
See merge request espressif/esp-idf!23204
2023-04-18 15:17:38 +08:00
Zim Kalinowski
05cbd19f25
Merge branch 'feature/pthread_rwlock_try_functions' into 'master'
...
pthread: added pthread_rwlock_tryrd/rwlock()
Closes IDFGH-7685
See merge request espressif/esp-idf!23228
2023-04-18 14:43:54 +08:00
Ivan Grokhotkov
f64ac33554
nvs: fix string/blob comparison lengths in host tests
2023-04-18 08:02:38 +02:00
Sonika Rathi
b31b68fc68
bugfix: fix for fatfs "open("xx",O_CREAT|O_WRONLY,0666)" call failure
...
fatfs 'open' with only O_CREAT flag fails to creat new file
Closes https://github.com/espressif/esp-idf/issues/1817
2023-04-18 09:57:44 +05:30
Song Ruo Jing
9cfc9757b9
Merge branch 'bugfix/allow_no_specify_uart_clk_src' into 'master'
...
uart: Allow omitting source_clk parameter to uart_param_config
Closes IDF-6951
See merge request espressif/esp-idf!23208
2023-04-18 11:34:11 +08:00
Armando
2225087756
emmc: temporarily removed esp32 emmc ut_017
2023-04-18 10:11:36 +08:00
Mahavir Jain
6773ad6431
Merge branch 'fix/esp32s3_ununsed_dcache_as_dram' into 'master'
...
esp_hw_support: Update the memory ptr location/property checks to include the unused DCACHE added to DRAM
Closes IDF-7103
See merge request espressif/esp-idf!22904
2023-04-18 02:16:30 +08:00
morris
90c2786803
Merge branch 'bugfix/rmt_encode_state_init' into 'master'
...
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes IDFGH-9881 and IDFGH-9882
See merge request espressif/esp-idf!23222
2023-04-17 21:22:20 +08:00
WanqQixiang
3ac08425f2
openthread: Add check for lock acquire and release
2023-04-17 19:56:49 +08:00
zwl
c4ec33e7ef
Ble: bugfix for packet loss issue during connection on ESP32C6
2023-04-17 19:37:00 +08:00
Peter Dragun
faa82b060c
feat(esptool): allow to set force for write_flash
2023-04-17 12:53:01 +02:00
Shreyas Sheth
1a0633646e
esp_wifi: Bugfix store authmode security in NVS
2023-04-17 15:16:21 +05:30
Peter Dragun
bebd2cec4a
bug(idf_monitor): fix color on windows with hints
...
Closes https://github.com/espressif/esp-idf/issues/9610
2023-04-17 11:18:42 +02:00
Darian Leung
525de5bd21
usb_host: Update docs and comments regarding first configuration enumeration
...
This commit updates some comments and documentation regarding changes made in
PR https://github.com/espressif/esp-idf/pull/11113 .
2023-04-17 17:06:54 +08:00
Kevin (Lao Kaiyao)
96f2d215a2
Merge branch 'bugfix/i2s_output_wrong_freq_after_switch' into 'master'
...
i2s: workaround for inaccurate PLL frequency after switching
Closes IDF-6705 and IDFCI-1669
See merge request espressif/esp-idf!22975
2023-04-17 16:26:18 +08:00
Jakob Hasse
e7312cccea
pthread: added pthread_rwlock_tryrd/wrlock()
...
Closes https://github.com/espressif/esp-idf/issues/9229
2023-04-17 16:16:11 +08:00
morris
2a5ee5c3e2
Merge branch 'bugfix/spi_lcd_max_trans_size' into 'master'
...
spi_lcd: maximum transfer size should respect bus configuration
Closes IDF-6901 and IDF-4829
See merge request espressif/esp-idf!23149
2023-04-17 16:13:57 +08:00
Song Ruo Jing
3f2bed1f5c
uart: Allow the users to not specify the source_clk in uart_config_t when calling uart_param_config
2023-04-17 15:43:06 +08:00
harshal.patil
c403affd98
mbedtls: fix ci failures for update v3.4.0
...
- While updating to mbedtls release/v3.4.0, building mbedtls/library/psa_crypto.c,
clang produced an unreachable-code warning, so added `-Wno-unreachable-code` compile option for clang.
- In `mbedtls/v3.4.0`, the ECDSA restartable sign and verify functions (`ecdsa.c`) were made public.
- But the `mbedtls_ecdsa_sign_det_restartable` function prototype was declared in the file `ecdsa.h`,
only when `MBEDTLS_ECDSA_SIGN_ALT` was not defined.
- added a patch in mbedtls library to fix it.
2023-04-17 12:55:04 +05:30
harshal.patil
9c3a6c4f53
mbedtls: replace low-level sha apis with md apis in esp_ssl_tls
2023-04-17 12:50:15 +05:30
harshal.patil
f30b58f665
mbedtls: Update config options as per release/v3.4.0
...
- Added a Kconfig option for the newly added mbedtls option MBEDTLS_PKCS7_C
2023-04-17 12:50:15 +05:30
harshal.patil
002a451bf8
mbedtls: Update to release/v3.4.0
...
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.4.0
2023-04-17 12:50:15 +05:30
Wan Lei
029b56dc1c
Merge branch 'ci/pytest_case_tester_script_fix' into 'master'
...
ci: pytest automation script increase timeout time
See merge request espressif/esp-idf!23201
2023-04-17 15:03:23 +08:00
Omar Chebib
3bc3f87209
Merge branch 'bugfix/i2c_timing_wrong' into 'master'
...
i2c: fix a bug in sda sample timing
Closes IDFGH-8295
See merge request espressif/esp-idf!23185
2023-04-17 15:00:42 +08:00
morris
b19a3e3e56
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
...
Closes https://github.com/espressif/esp-idf/issues/11200
2023-04-17 14:50:51 +08:00
xueyunfei
27827a73b9
esp_phy:update comments in esp_phy_init.h
2023-04-17 14:37:21 +08:00
Laukik Hase
11d5550da3
soc/esp32s3: Fix the SOC_MEM_INTERNAL_HIGH
value
...
- As per the memory block diagram for ESP32-S3, the
internal memory address ranges as follows:
DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000
IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH)
2023-04-17 10:49:06 +05:30
Laukik Hase
f6aadd1e39
esp_hw_support: Update memory ptr location/property checks
...
- to acknowledge the unused DCACHE added to DRAM for ESP32-S3
- For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is added to
the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB (from 0x3C000000).
- But, if we try allocating memory from the 16 kB block and run an `esp_ptr_internal`
check on that memory pointer, it fails as the address block from 0x3C000000
corresponds to the external memory symbols SOC_DROM_LOW and SOC_EXTRAM_DATA_LOW.
(E.g. freertos - If the IDLE task stack buffer gets allocated from this region,
the firmware will abort due to this failure).
- Thus, the checks `esp_ptr_internal`, `esp_ptr_in_drom` and `esp_ptr_byte_accessible`
have been updated to acknowledge this memory as a part of the DRAM.
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-04-17 10:42:04 +05:30
zwj
feb5edf8b0
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-04-17 12:27:08 +08:00
Armando (Dou Yiwen)
ef64e4e5b3
Merge branch 'feature/emmc_example' into 'master'
...
SDMMC Host: added an example to communicate with an eMMC chip
Closes IDF-7157, IDF-4739, and IDFGH-6901
See merge request espressif/esp-idf!21760
2023-04-17 11:53:55 +08:00
Marius Vikhammer
6acd082cc8
Merge branch 'docs/iram_sram_config' into 'master'
...
docs: update CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM docs to better reflect the limitations
See merge request espressif/esp-idf!23158
2023-04-17 11:51:05 +08:00
laokaiyao
a143a85822
i2s: workaround for inacurate PLL frequency after switching
2023-04-17 03:15:55 +00:00
Zhi Wei Jian
bc216802c6
Merge branch 'bugfix/fix_bleqabr23_98' into 'master'
...
Bluedroid: fix GATTC cache address saving
Closes BLEQABR23-98 and BLEQABR23-34
See merge request espressif/esp-idf!22970
2023-04-17 10:54:31 +08:00
Zhi Wei Jian
e58e271230
Merge branch 'bugfix/fix_bleqabr23_137' into 'master'
...
Fixed non-connectable and non-scannable directed adv can't be scanned
See merge request espressif/esp-idf!23198
2023-04-17 10:52:11 +08:00
wanlei
ad1ba78129
sdio: test_sdio add unity sync signals
2023-04-17 10:51:46 +08:00
Jakob Hasse
999fa28187
pthread: removed IRAM code from pthread
...
* Currently, the underlying FreeRTOS API functions
used for the pthread implementation are not
ISR-safe, hence the removal of IRAM placement.
2023-04-17 10:19:33 +08:00
Mahavir Jain
225be9a6ce
Merge branch 'feature/esp_tls_add_getter_setter' into 'master'
...
esp-tls: Added getter/setter function for the conn_state.
Closes IDFGH-9514
See merge request espressif/esp-idf!23128
2023-04-16 22:15:28 +08:00
Almir Okato
4b910ffa68
bootloader_support: add missing esp_rom_sys.h to bootloader_flash.c bootloader build
...
Missing esp_rom_sys.h header could cause declaration issues.
Signed-off-by: Almir Okato <almir.okato@espressif.com>
2023-04-15 16:49:12 -03:00
Ondrej Kosta
34850de22b
Merge branch 'bugfix/eth_l2_test_switch' into 'master'
...
LAN8720 & IP101 L2 Test Fix
Closes IDFCI-1624 and IDFCI-1567
See merge request espressif/esp-idf!22907
2023-04-14 20:53:08 +08:00
Armando
920ecff168
sdmmc: in/out phase adapted to esp32 and esp32s3
2023-04-14 18:18:54 +08:00
Ivan Grokhotkov
e9badf51c7
sdmmc: I/O phase adjustments
...
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
with the TRM.
2. Choose input and output phases to satisfy typical timing
requirements.
3. Move use_hold_reg setting into the host driver, since it is related
to timing.
Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-14 18:18:54 +08:00
Jakob Hasse
6991a92895
docs: added new C++ language standard
2023-04-14 17:57:01 +08:00
morris
c49c165bca
Merge branch 'bugfix/lcd_align_before_cache_write_back' into 'master'
...
manually align the color buffer before cache write back
See merge request espressif/esp-idf!23143
2023-04-14 16:36:19 +08:00
C.S.M
247cc7dd87
Merge branch 'feature/cache_32M_map' into 'master'
...
spi_flash: 32M bits address flash cache map
Closes IDF-7119 and IDF-4693
See merge request espressif/esp-idf!23021
2023-04-14 16:01:25 +08:00
chenjianhua
056ae5dd21
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-14 15:44:17 +08:00
Kevin (Lao Kaiyao)
d635fc0f32
Merge branch 'bugfix/i2s_tdm_multi_dev_on_h2' into 'master'
...
i2s: fixed tdm multi dev test on h2
See merge request espressif/esp-idf!23054
2023-04-14 15:02:31 +08:00
Wu Zheng Hui
98849634b3
Merge branch 'bugfix/fix_wrong_frame_ptr_after_wake_restore' into 'master'
...
bugfix: fix wrong RvCoreCriticalSleepFrame ptr value after wake restore
See merge request espressif/esp-idf!23113
2023-04-14 13:22:24 +08:00
Mahavir Jain
6da2eb97fa
Merge branch 'contrib/github_pr_11116' into 'master'
...
nvs_host_test: replace sprintf with snprintf (GitHub PR)
Closes IDFGH-9781
See merge request espressif/esp-idf!23173
2023-04-14 11:56:29 +08:00
Cao Sen Miao
c7053641bc
spi_flash: 32M bits address flash map, (for customer use only)
2023-04-14 11:37:09 +08:00
Aditya Patwardhan
2dd280f126
esp-tls: Added getter/setter function for the conn_state.
...
* Added the setter function to set the connection sockfd value
Closes https://github.com/espressif/esp-idf/issues/10871
2023-04-13 20:03:50 +05:30
Ivan Grokhotkov
fee3082d88
vfs: VFS_MAX_COUNT should be non-zero even without IO support
2023-04-13 15:37:37 +02:00
Jiang Jiang Jian
7da760dbd3
Merge branch 'bugfix/install_keys_after_successful_4_of_4_tx' into 'master'
...
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message
Closes WIFI-5678
See merge request espressif/esp-idf!23141
2023-04-13 19:02:20 +08:00
Sonika Rathi
248dadc8c8
Merge branch 'docs/descrive-approach-fatfstools' into 'master'
...
docs: Describe the approach of fatfsgen.py and fatfsparse.py
Closes IDF-4755
See merge request espressif/esp-idf!19978
2023-04-13 18:48:51 +08:00
Ondrej Kosta
6ed31a98bd
Merge branch 'bugfix/eth_driver_cleanup' into 'master'
...
Ethernet driver and documentation clean-up
Closes IDF-6339
See merge request espressif/esp-idf!23051
2023-04-13 15:07:43 +08:00
Darian Leung
a5b04de565
bt: Remove FreeRTOS static allocation from OSI functions
...
Previously, the BT OSI would use various FreeRTOS "create static" functions to
ensure that semaphores and queues were always allocated to internal memory.
However, from commit e21ab0332b
onwards, all
dynamic memory allocated by FreeRTOS will default to internal RAM.
Thus, the extra "create static" calls can be removed to simply the code.
2023-04-13 15:06:21 +08:00
Guillaume Souchere
48932ce910
Merge branch 'feature/heap-in-flash' into 'master'
...
heap: Add a configuration that places all the heap component in flash
Closes IDF-7143 and IDF-2853
See merge request espressif/esp-idf!23050
2023-04-13 14:38:15 +08:00
Omar Chebib
a0f8434f93
i2c: fix a bug in sda sample timing
...
* Closes https://github.com/espressif/esp-idf/issues/9777
This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-04-13 14:37:44 +08:00
Ondrej Kosta
f6715c9c29
esp_eth pytest: increased robustness of the L2 test
...
Added filtering frames based on MAC address
2023-04-13 08:26:45 +02:00
Radek Tandler
d8b8ab5d43
Merge branch 'feature/wl_host_test_cmake' into 'master'
...
Storage: Migrate WL host test to CMake
See merge request espressif/esp-idf!23015
2023-04-13 13:16:57 +08:00
Marius Vikhammer
dcb8b719d3
docs: update CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM docs to better reflect the limitations
2023-04-13 10:45:38 +08:00
Jiang Jiang Jian
f5b12684c1
Merge branch 'bugfix/fix_duplicate_scan_cycle_refresh_not_accurate' into 'master'
...
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
Closes BLEQABR23-136
See merge request espressif/esp-idf!23112
2023-04-13 10:22:07 +08:00
Shreyas Sheth
dce0920329
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message
2023-04-12 18:32:24 +05:30
Adam Múdry
6055674980
Merge branch 'contrib/github_pr_10532' into 'master'
...
[SDMMC Mount] fix infinite loop when SD card is not responsive (GitHub PR)
Closes IDFGH-9132, IDFGH-9131, and IDFGH-582
See merge request espressif/esp-idf!22081
2023-04-12 19:43:12 +08:00
Darian
4004dff52e
Merge branch 'feature/freertos_get_static_buffers' into 'master'
...
FreeRTOS: Add GetStaticBuffer and CreateWithCaps functions
Closes IDF-5664
See merge request espressif/esp-idf!22859
2023-04-12 18:37:03 +08:00
Ivan Grokhotkov
9924d9f271
esp_system: usb_console support for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
8e85fc8571
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
4a91ccf4ce
esp_rom: implement usb deinit functions added in S3 ROM for S2
...
This cleans up usb_console.c and prepares it for S3 support.
2023-04-12 11:08:43 +02:00
Ivan Grokhotkov
74fa41f434
esp_rom: add USB_OTG "port" number for S2 and S3
2023-04-12 11:08:42 +02:00
Ivan Grokhotkov
80c9ef7b89
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
...
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-04-12 11:07:56 +02:00
Ivan Grokhotkov
141b7356fb
console: minor fixes
...
- wrong comment
- duplicated setvbuf
2023-04-12 11:07:55 +02:00
morris
ab2c7c48af
spi_lcd: test spi lcd io can transfer color data to a fixed window region
...
also test the io tx_param and tx_color can skip the command phase
2023-04-12 16:56:47 +08:00
morris
640ec57014
spi_lcd: maximum transfer size should respect bus configuration
...
Also this commit added the SPI_TRANS_CS_KEEP_ACTIVE flag for io_tx_color
2023-04-12 16:55:09 +08:00
Island
cc7517dffa
Merge branch 'bugfix/ble_mesh_fix_heartbeat_set' into 'master'
...
ble_mesh: stack: Update the heartbeat filter entry add/remove handling
See merge request espressif/esp-idf!23047
2023-04-12 14:36:03 +08:00
Guillaume Souchere
110aac240d
heap: Add a configuration that places all the heap component and related functionalities in flash when enabled
...
Add test configuration to run all tests with heap component in the flash.
Add reference to this new configuration in performance section of the documentation.
2023-04-12 08:11:24 +02:00
Anton Maklakov
a1584750c8
Merge branch 'fix/heap-test-h2' into 'master'
...
heap: remove exclusion of esp32h2 as a target for heap pytest
Closes IDF-6880
See merge request espressif/esp-idf!23075
2023-04-12 13:43:29 +08:00
Darian Leung
fa4491a56b
freertos: Add unit tests for ...WithCaps() functions
2023-04-12 12:00:53 +08:00
Darian Leung
4e7cd2e706
freertos: Add wrapper functions to create objects with capabilities
...
This commit adds various ...WithCaps() functions to create FreeRTOS objects
with specific memory capabilities.
2023-04-12 12:00:53 +08:00
Darian Leung
478e041ce5
freertos: Add GetStaticBuffer functions
...
This commit adds the various ...GetStaticBuffer() functions from upstream
FreeRTOS. See https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/641 for more
details.
2023-04-12 11:45:06 +08:00
Darian Leung
902d8f392d
freertos: Fix idf_additions.h include order error
...
When building for CONFIG_FREERTOS_SMP, "idf_additions.h" was previously
implicitly included by "task.h" so that other ESP-IDF components still have
access to IDF API additions without needing to include "idf_additions.h"
directly.
However, some FreeRTOS headers (e.g., queue.h) will include task.h before
declaring any types (e.g., QueueHandle_t). Thus if any of those types are used
in idf_additions.h, we get a missing type error.
This commit moves the implicity include of idf_additions.h to FreeRTOS.h
2023-04-12 11:45:06 +08:00
chenjianhua
c8a380500a
bluedroid: report disconnect event after BLE link closed
2023-04-12 11:13:15 +08:00
Jiang Jiang Jian
2ea60e3dd1
Merge branch 'bugfix/nan_issues' into 'master'
...
Fix some NAN Discovery related issues
Closes WIFI-5661, WIFI-5669, WIFI-5667, and WIFI-5363
See merge request espressif/esp-idf!23116
2023-04-12 10:29:15 +08:00
Rocha Euripedes
c8ca1a23d3
Merge branch 'ci/tcp_transport_test_app' into 'master'
...
ci: Migrate unit test for tcp_transport to unit test app
Closes IDF-5603
See merge request espressif/esp-idf!22842
2023-04-12 02:31:40 +08:00
radek.tandler
0402874d3c
host_test: wl migrated to Cmake and linux emulation of esp_partition
...
- build system changed to CMake
- host tests changed to use partition api on linux instead of mocked code
- extended wl flash host tests to cover power off recovery code
2023-04-11 16:16:53 +02:00
radek.tandler
0f842a2ca2
wear_levelling: fixed reinitialization of wl status blocks after power off event
2023-04-11 16:05:22 +02:00
zwj
00501c5b14
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-11 20:44:00 +08:00
Jiang Jiang Jian
4e3a32bc1b
Merge branch 'bugfix/bod_glitch_reset_c6' into 'master'
...
bootloader: fix BOD and glitch reset on C6 and H2
Closes IDF-5990
See merge request espressif/esp-idf!22616
2023-04-11 19:31:02 +08:00
Adam Múdry
381d0fe032
sdmmc: add vTaskDelay to loops to prevent potential WDT trigger
...
Also change timeout to 120 seconds in fatfs sdcard pytest to prevent failing during formatting.
2023-04-11 11:06:56 +00:00
Chip Weinberger
74d6215b7f
[SDMMC] add reasonable timeouts to all while loops
...
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
Chip Weinberger
a2aa9e3bef
[SDMMC Mount] fix infinite loop when SD card is not responsive
...
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
wangjialiang
ce94cfbeb2
ble_mesh: stack: Update the heartbeat filter entry add/remove handling
2023-04-11 10:57:12 +00:00
Wang Meng Yang
661f5e18e4
Merge branch 'bugfix/bt_diable_enbale_crash' into 'master'
...
bt:Fixed crash after controller disable and re-enable
Closes IDFGH-9469
See merge request espressif/esp-idf!23085
2023-04-11 18:09:52 +08:00
Shyamal Khachane
535dac9247
esp_wifi: Update wifi libs
...
Fix some NAN issues related to followup and matching filters
2023-04-11 14:18:10 +05:30
Euripedes Rocha
6007142628
ci: Migrate unit test for tcp_transport to unit test app
2023-04-11 08:36:24 +00:00
morris
5d2e3c4ee1
lcd: test send color buffers in multiple steps
2023-04-11 16:02:25 +08:00
morris
a5518cea2c
i80_lcd: align before cache sync
2023-04-11 16:02:25 +08:00
Zhang Wen Xu
72813017ee
Merge branch 'bugfix/set_zone_when_udp_join_leave_group' into 'master'
...
openthread port: set ipv6 address zone with netif index when udp joining or leaving group
See merge request espressif/esp-idf!23130
2023-04-11 14:53:31 +08:00
Martin Gaňo
024b58604a
docs: Describe the approach of fatfsgen.py and fatfsparse.py
2023-04-11 09:41:06 +05:30
xiongweichao
30c87c7a82
bt:Fixed esp32 controller bug
...
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-11 12:03:09 +08:00
wuzhenghui
332d6fddb9
esp_pm: check sleep retention frame integrity in ci UT
2023-04-11 11:18:52 +08:00
Xu Xiao
d060392584
Merge branch 'esp32c6/fix_esp32c6_mcs89_power_issue' into 'master'
...
esp_wifi: update phy_init_data.h for c6 mcs 8 9 power issue
See merge request espressif/esp-idf!23133
2023-04-11 10:38:18 +08:00
Michael (XIAO Xufeng)
bbcc52a620
Merge branch 'docs/sdio_slave_sending_seqdiag' into 'master'
...
sdio_slave: add some documentation about impl in the source code
See merge request espressif/esp-idf!17572
2023-04-11 10:25:34 +08:00
Xiao Xufeng
63089b1f7e
bootloader: enable super WDT and BOD reset on C2
2023-04-11 10:23:21 +08:00
Xiao Xufeng
a2bbbd1c1c
bootloader: cleanup ana reset config code
2023-04-11 10:23:21 +08:00
Xiao Xufeng
d586a8aa13
bootloader: fixed super watchdog not enabled issue on C3, S3, H4
2023-04-11 10:23:21 +08:00
Xiao Xufeng
8a926c5b37
bootloader: removed unavailable rtc features
2023-04-11 10:23:20 +08:00
Michael (XIAO Xufeng)
c7b852b7c7
bootloader: fix analog reset on C6 and H2
2023-04-11 10:23:20 +08:00
Jiang Jiang Jian
18af256a84
Merge branch 'bugfix/fix_bleqabr23_138' into 'master'
...
Bluedroid: report status after clearing the BLE white list
See merge request espressif/esp-idf!23094
2023-04-11 09:59:24 +08:00
Jiang Jiang Jian
6aa6d00cb5
Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker' into 'master'
...
Bugfix/a2dp source crash connect to bose speaker
Closes BT-1833
See merge request espressif/esp-idf!14967
2023-04-11 09:58:56 +08:00
Jiang Jiang Jian
a624d8d061
Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_S2' into 'master'
...
ESP32S2/C3/C2: fixed S2 dangerous power parameters in sleep modes and support S2/C3/C2 different sleep mode
Closes IDF-4999, IDFGH-4893, and IDFGH-7938
See merge request espressif/esp-idf!19598
2023-04-11 09:52:02 +08:00
laokaiyao
efff406950
i2s: fixed tdm multi dev test on h2
2023-04-11 01:48:05 +00:00
Sarvesh Bodakhe
41f5be80e8
esp_wifi: Validate softap interface when sending beacon frame
2023-04-10 19:16:47 +08:00
xuxiao
ee0f27142d
esp_wifi: update phy_init_data.h for c6 mcs 8 9 power issue
2023-04-10 19:04:19 +08:00
Armando (Dou Yiwen)
f404fe96b1
Merge branch 'refactor/remove_esp_mm_kconfig_as_no_kconfig_option_now' into 'master'
...
esp_mm: removed empty kconfig files
Closes IDF-6780
See merge request espressif/esp-idf!23122
2023-04-10 18:17:59 +08:00
cje
6c35ee3fc5
fix chip broken bug when run in monitor mode of S2 and modify voltage param to fit all sleep mode of S2/C2/C3
2023-04-10 18:04:24 +08:00
Marius Vikhammer
03c2c8db77
Merge branch 'feature/esp_sys_iram_cleanup' into 'master'
...
esp-system: move uncessary IRAM functions to flash
Closes IDF-7138 and IDF-7148
See merge request espressif/esp-idf!23121
2023-04-10 17:24:14 +08:00
Xu Si Yu
692cba6059
openthread port: set ipv6 address zone with netif index when udp joining or leaving group
2023-04-10 17:02:38 +08:00
Michael (XIAO Xufeng)
84fded4b08
sdio_slave: add some documentation about impl in the source code
2023-04-10 15:03:16 +08:00
chenjianhua
7ceba49fda
bluedroid: fix GATTC cache address save
2023-04-10 14:33:31 +08:00
Alexey Lapshin
b973b15513
Merge branch 'feature/refactor_gdbstub' into 'master'
...
esp_gdbstub: refactor code
Closes IDF-6461
See merge request espressif/esp-idf!22929
2023-04-10 14:24:04 +08:00
Kevin (Lao Kaiyao)
93da40da8e
Merge branch 'bugfix/i2s_fix_intr_flag_for_pdm_rx' into 'master'
...
i2s: fix interrupt flag of pdm rx mode
Closes IDFCI-1656
See merge request espressif/esp-idf!23105
2023-04-10 13:58:53 +08:00
Marius Vikhammer
7108ff093d
Merge branch 'feature/sram1_iram' into 'master'
...
system: add kconfig option for using parts of SRAM1 for IRAM
Closes IDFGH-8351 and IDF-942
See merge request espressif/esp-idf!21214
2023-04-10 13:58:40 +08:00
Jin Cheng
b4f6e585d4
fix a2dp source crash when connect to Bose speaker
2023-04-10 05:11:04 +00:00
Armando
2a8617b307
esp_mm: removed empty kconfig files
...
- MMU configuration related kconfig options will be in soc, or
esp_hw_support
- Cache configuration related kconfig options will be in soc, or
esp_hw_support
- mmap driver and msync driver kconfig options will be still in esp_mm.
As there's no kconfig options for them yet, removed kconfig files
2023-04-10 12:42:52 +08:00
Marius Vikhammer
f7d045ad5c
riscv: moved some interrupt functions from IRAM to flash
...
These functions dont need to be in IRAM.
2023-04-10 12:21:11 +08:00
chenjianhua
3a7dea67eb
bluedroid: report status after clearing the BLE white list
2023-04-10 12:12:32 +08:00
Marius Vikhammer
db059b155a
esp-system: move uncessary IRAM functions to flash
2023-04-10 11:10:28 +08:00
Marius Vikhammer
1a1b0036a6
Merge branch 'feature/console_repl_test' into 'master'
...
console: add running repl test in CI
Closes IDF-6611
See merge request espressif/esp-idf!23016
2023-04-10 10:21:28 +08:00
Jiang Jiang Jian
deab8d3455
Merge branch 'mesh/bugfix_fix_heap_corrupt_issue' into 'master'
...
wifi_mesh: fix heap corrupt issue
Closes IDFGH-9664 and IDFGH-9729
See merge request espressif/esp-idf!23102
2023-04-10 10:13:22 +08:00
Alexey Lapshin
fc9c2d704c
esp_gdbstub: refactor code
2023-04-10 09:53:01 +08:00
Yuan Ming Fu
66504f88b8
Merge branch 'bugfix/deinit_ble' into 'master'
...
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM
See merge request espressif/esp-idf!23055
2023-04-07 23:36:56 +08:00
Sachin Parekh
f8d2c0894c
Merge branch 'fix/ecdsa_hal' into 'master'
...
ecdsa: Support multiple ECDSA keys
Closes IDF-7027 and IDF-7176
See merge request espressif/esp-idf!23023
2023-04-07 21:51:45 +08:00
Yuan Mingfu
cb6f56ffa2
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM
2023-04-07 12:45:33 +00:00
Jiang Jiang Jian
420ebd208a
Merge branch 'bugfix/owe_assoc_resp_fail_v5.1' into 'master'
...
Fix association response processing in OWE
See merge request espressif/esp-idf!23099
2023-04-07 20:06:23 +08:00
Jiang Jiang Jian
796250c63d
Merge branch 'bugfix/auto_beacon_recv_fail_enable_light_sleep_after_modem_sleep' into 'master'
...
fix the issue of failure of receiving beacons in modem state
See merge request espressif/esp-idf!22900
2023-04-07 19:35:12 +08:00
wuzhenghui
b2f6ba87f2
bugfix: fix wrong RvCoreCriticalSleepFrame ptr value after wake restore
2023-04-07 18:55:44 +08:00
Sachin Parekh
39a5604c29
mbedtls/ecdsa: Add ECDSA signature generation test
2023-04-07 14:55:21 +05:30
Sachin Parekh
d634970ed1
ecdsa: Support multiple ECDSA keys
...
Add provision to choose which efuse block should be used as ECDSA
private key
2023-04-07 14:55:21 +05:30
Sachin Parekh
aa7660c9b4
ecdsa_hal.c: Add missing configuration for signature generation
2023-04-07 14:55:21 +05:30
Darian Leung
b042ed0495
freertos: Uncrustify idf_additions.h
2023-04-07 15:24:34 +08:00
Darian Leung
3d2e674326
freertos: Move private API additions to "freertos_idf_additions_priv.h"
...
Previously, some IDF FreeRTOS API additions that were meant to be private were
exposed through the same "idf_additions.h" header. This commit moves those
functions to a separate header included via
"esp_private/freertos_idf_additions_priv.h" so that they are not mistaken as
public API by users.
This commit also fixes some missing include and C++ guards in idf_additions.h
2023-04-07 15:24:34 +08:00
Darian Leung
0c21d59716
freertos: Move freertos_tasks_c_additions.h
...
freertos_tasks_c_additions.h is technically included as source file. This
commit removes the "private_include" directory of "freertos_tasks_c_additions.h"
and treats it as a source file of "esp_additions".
2023-04-07 15:24:34 +08:00
Marius Vikhammer
5cbd311ecf
system: add kconfig option for using parts of SRAM1 for IRAM
...
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM
Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-07 07:12:58 +00:00
Marius Vikhammer
0752227868
console: add running repl test in CI
2023-04-07 07:12:23 +00:00
zhangyanjiao
58defbf453
wifi_mesh: fix the heap corrupt issue in MTXON task
2023-04-07 06:58:22 +00:00
laokaiyao
3e294f7ede
i2s: fixed the test case I2S_thread_concurrent_safety_test
2023-04-07 14:29:21 +08:00
laokaiyao
f69b30d6ff
i2s: fix interrupt flag of pdm rx mode
...
Forgot to update in PR https://github.com/espressif/esp-idf/pull/10997
2023-04-07 14:29:21 +08:00
Shyamal Khachane
c046ddd642
wpa_supplicant : Fix association response processing in OWE
2023-04-07 11:45:46 +05:30
Li Shuai
94ebda298a
fix the issue of failure of receiving beacons in modem state caused by enabling light sleep in wifi min/max modem sleep mode
2023-04-07 05:57:15 +00:00
Jiang Jiang Jian
a15c36f987
Merge branch 'bugfix/delete_node_during_list_traverse' into 'master'
...
bugfix/fixed the crash of LoadProhibited caused by taht the nodes are deleted during the traversal of the linked list
Closes IDFGH-3256
See merge request espressif/esp-idf!23090
2023-04-07 13:52:53 +08:00
Song Ruo Jing
44915e4251
Merge branch 'bugfix/ledc_channel_update_regression' into 'master'
...
ledc: Fix two bugs inside LEDC driver
See merge request espressif/esp-idf!23064
2023-04-06 20:52:23 +08:00
Shu Chen
c0097c127c
Merge branch 'feature/openthread-port-spinel-interface' into 'master'
...
openthread: add SPI support in Radio Co-Processor
See merge request espressif/esp-idf!22368
2023-04-06 20:50:36 +08:00
Sudeep Mohanty
f14e71f8b2
Merge branch 'bugfix/freertos_fix_failing_ci_test' into 'master'
...
freertos-tests: Fixed failing CI test and added a new test case for vTaskSuspendAll() API
Closes IDFCI-1675
See merge request espressif/esp-idf!23031
2023-04-06 20:31:54 +08:00
Shu Chen
c43b8f9607
Merge branch 'feature/support_c6_single_chip_br' into 'master'
...
openthread border router: support c6 single chip br
See merge request espressif/esp-idf!22776
2023-04-06 19:57:40 +08:00
Wan Lei
b6d57a26ca
Merge branch 'feature/spi_flash_enable_counters_on_esp_flash_driver' into 'master'
...
spi_flash: support SPI_FLASH_ENABLE_COUNTERS on esp_flash driver and test this feature
Closes IDF-5623
See merge request espressif/esp-idf!19554
2023-04-06 15:48:42 +08:00
Jiang Jiang Jian
9e4f056483
Merge branch 'bugfix/miss_rm_ld' into 'master'
...
esp_wifi: rm ppTxFragmentProc rom func for esp32c2
See merge request espressif/esp-idf!23044
2023-04-06 15:02:27 +08:00
Jakob Hasse
9abcd7652c
Merge branch 'bufix/increase_esp_system_host_test_timeout' into 'master'
...
esp_system: increase host test timeout for CI
Closes IDFCI-1677
See merge request espressif/esp-idf!23060
2023-04-06 14:56:19 +08:00
morris
6057f16cfc
Merge branch 'feature/set_gdma_priority' into 'master'
...
gdma: support override default channel priority
See merge request espressif/esp-idf!22676
2023-04-06 14:52:35 +08:00
Liu Ning
51c682ce9e
Merge branch 'bugfix/wifi_mac_txqmem_retention_in_light_sleep' into 'master'
...
bugfix: fix wifi mac txqmem retention in light sleep and esp32c6 coexist throughput issue, esp32 coexist issue
See merge request espressif/esp-idf!22955
2023-04-06 14:38:15 +08:00
Sudeep Mohanty
7f6e9cf786
freertos-tests: Fixed failing CI test and added a new test case for vTaskSuspendAll() API
...
This commit fixes the failing test - Test vTaskSuspendAll allows
scheduling on other cores.
The commit also adds a new test to test the scenario where in an
unpinned task, when unblocked by an ISR can be scheduled on the core
which has the scheduler running.
2023-04-06 08:26:38 +02:00
Jin Cheng
a7a2e5d407
fixed the crash of LoadProhibited caused by taht
...
the nodes are deleted during the traversal of the linked list
2023-04-06 14:13:05 +08:00
morris
b5ccdc911d
Merge branch 'feature/i80_lcd_allow_skip_command_phase' into 'master'
...
i80_lcd: allow skip command phase
Closes IDFGH-9426
See merge request espressif/esp-idf!23042
2023-04-06 12:57:33 +08:00
Song Ruo Jing
5070e51dde
ledc: Fix two bugs inside LEDC driver
...
1. Regression introduced when refactoring on clock sources selection (0d07f859
).
If channel configuration is called before timer configuration on C6, PWM signal may not be able to output.
2. Missing the improper fade parameter fix inside ledc_set_duty_and_update() function.
2023-04-06 12:37:33 +08:00
Fu Hanxi
b932b8eb94
Merge branch 'ci/test_idf-build-apps_0.5.0' into 'master'
...
ci: Update to `idf-build-apps` 0.5.0
See merge request espressif/esp-idf!22896
2023-04-06 12:23:52 +08:00
wanlei
500aab6618
add a test to verify SPI_FLASH_ENABLE_COUNTERS feature
2023-04-06 11:40:40 +08:00
gaoxu
542a61b6cb
support SPI_FLASH_ENABLE_COUNTERS feature on esp_flash driver and rename the functions to esp_flash_xx
2023-04-06 11:40:40 +08:00
baohongde
dff3c07e42
components/coexist: Set coex scan status when ble connecting
2023-04-06 11:09:46 +08:00
liuning
0e54382faf
esp_coex: fix esp32 wifi schm interrupted by ble suddenly act
2023-04-06 11:09:46 +08:00
Li Shuai
10d02c6c5c
power save: add txq memory to mac retention link to fix tx m f null failure
2023-04-06 11:09:46 +08:00
xieqinan
5a1578e692
openthread: add SPI support in Radio Co-Processor
2023-04-06 10:59:06 +08:00
morris
6c19e7b8a7
gdma: avoid manually start/stop when channel is controled by ETM
2023-04-06 10:49:32 +08:00
morris
1429913042
gdma: support override default channel priority
2023-04-06 10:49:32 +08:00
Xu Xiao
033f737205
Merge branch 'feature/esp32c6_itwt_support_light_sleep' into 'master'
...
esp_wifi: itwt support light sleep
See merge request espressif/esp-idf!22772
2023-04-06 10:46:33 +08:00
Xu Xiao
2f20406202
esp_wifi: itwt support light sleep
2023-04-06 10:46:32 +08:00
Xu Si Yu
f0c934c7a8
openthread border router: support c6 single chip br
2023-04-06 10:32:35 +08:00
Jakob Hasse
dac64725af
esp_system, heap: increase host test timeout for CI
2023-04-06 10:23:44 +08:00
Jiang Jiang Jian
badf267022
Merge branch 'bugfix/block9_can_not_be_used_for_fe' into 'master'
...
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
Closes IDF-7175
See merge request espressif/esp-idf!23052
2023-04-06 10:17:07 +08:00
Fu Hanxi
21c2cd8616
ci: skip build default app if config rules matched, add missing files
2023-04-06 09:18:58 +08:00
Michael (XIAO Xufeng)
c2887c25dd
Merge branch 'bugfix/himem_map_range_block' into 'master'
...
himem: fixed incorrect out_ptr when range_offset is given non-zero.
Closes IDFGH-3713
See merge request espressif/esp-idf!23072
2023-04-06 01:31:57 +08:00
Shu Chen
9352a576df
Merge branch 'support/esp32h2_phy_fix_long_term_rx' into 'master'
...
esp_phy: fix esp32h2 rx long term
See merge request espressif/esp-idf!23039
2023-04-05 21:15:52 +08:00
David Cermak
7d6241e761
esp_netif: Make esp_netif_receive() return value configurable
2023-04-05 12:18:21 +02:00
David Cermak
8855ddf044
esp_netif: Report error if esp_netif_receive() fails
...
Closes https://github.com/espressif/esp-idf/issues/10770
2023-04-05 12:18:21 +02:00
Guillaume Souchere
f94bbe1eff
Merge branch 'feature/heap-trace-hash-map' into 'master'
...
heap: Add hash map mechanism to lower the access time to trace records
Closes IDFGH-9425
See merge request espressif/esp-idf!22564
2023-04-05 16:46:23 +08:00
Guillaume Souchere
c42c93758f
heap: remove exclusion of esp32h2 as a target for no/light/comprehensive_poisoning tests
2023-04-05 09:19:39 +02:00
Zim Kalinowski
ab18f98423
Merge branch 'feature/update_efuse_tables_for_s2_s3_c3_c2' into 'master'
...
efuse: Update efuses for esp32 esp32c2 esp32c3 esp32s2 esp32s3
See merge request espressif/esp-idf!22406
2023-04-05 15:17:59 +08:00
Song Ruo Jing
857b37f2f8
Merge branch 'refactor/mspi_clk_src_switch_h2' into 'master'
...
spi_flash: Small code refactor on MSPI clock source switch at bootloader
See merge request espressif/esp-idf!22763
2023-04-05 14:55:55 +08:00
Guillaume Souchere
14fa303bbc
heap: Use linked list in hashmap table to reduce collision, RAM usage and speed up the code
2023-04-05 07:44:29 +02:00
Guillaume Souchere
bdfc348ab3
heap: Add trace hash map config
...
- and place all added functions and vairables related to the hashmap in RAM
when the config is enabled only.
- add number of hash map entry as a Kconfig value and remove the hash map init function.
This prevents the user from allocating the hash map in flash and pass the pointer to the
init function (as the heap trace manipulate the hash map from functions placed in IRAM).
- add max linear value to the KConfig to make it configurable by the users.
- protect access to static variable "tracing"
- remove unecessary field in heap_trace_hashmap_entry_t
2023-04-05 07:44:29 +02:00
Chip Weinberger
b699033ab3
[Heap Trace] Perf: use hash map to speed up leaks mode
2023-04-05 07:44:29 +02:00
Xiao Xufeng
ef4db26eca
himem: Fixed incorrect out_ptr when calling esp_himem_map range_offset non-zero
...
Closes: https://github.com/espressif/esp-idf/issues/5639
2023-04-05 01:29:34 +08:00
KonstantinKondrashov
5b00d1f396
efuse: Update efuses for esp32 esp32c2 esp32c3 esp32s2 esp32s3
2023-04-04 22:32:32 +08:00
Sudeep Mohanty
9d607c069b
Merge branch 'feature/esp_ringbuf_place_functions_in_flash' into 'master'
...
esp_ringbuf: Added functions to linker.lf file which can be placed in Flash
Closes IDF-7136
See merge request espressif/esp-idf!23032
2023-04-04 21:17:09 +08:00
Isha Pardikar
cb79b1e202
Merge branch 'bugfix/esp_nimble_config' into 'master'
...
NimBLE : Fixed config options in esp_nimble_cfg.h
See merge request espressif/esp-idf!23019
2023-04-04 20:08:16 +08:00
chenjianxing
03b4b58841
esp_wifi: rm ppTxFragmentProc rom func for esp32c2
2023-04-04 11:53:58 +00:00
Ondrej Kosta
3d66a10114
Ethernet driver and documentation clean-up
2023-04-04 11:33:08 +00:00
KonstantinKondrashov
3d695b9768
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
...
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
- BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-04-04 18:45:48 +08:00
Zim Kalinowski
ab5d8d0008
Merge branch 'refactor/esp_partition_host_test_build_dir' into 'master'
...
esp_partition: partition_linux.c does not use hard-coded file anymore
Closes IDF-6644
See merge request espressif/esp-idf!22759
2023-04-04 18:35:24 +08:00
zhangwenxu
32acc034e7
esp_phy: fix esp32h2 rx long term
2023-04-04 08:40:10 +00:00
Zim Kalinowski
6e67c54a92
Merge branch 'feature/replace_some_efuses_for_c6' into 'master'
...
efuse(esp32c6): Replace PKG_VERSION BLK_VERSION_MINOR BLK_VERSION_MAJOR
Closes IDF-7174
See merge request espressif/esp-idf!22775
2023-04-04 16:34:29 +08:00
morris
e73d8166aa
i80_lcd: support skip command phase
...
Closes https://github.com/espressif/esp-idf/issues/10794
2023-04-04 08:31:41 +00:00
Song Ruo Jing
5816c47457
spi_flash: Move mspi clock source switch to 64M in 2nd bootloader code from rtc_clk.c to bootloader_flash_config_esp32h2.c
2023-04-04 16:09:47 +08:00
Cody P Schafer
cbe906e53c
nvs_host_test: replace sprintf with snprintf
...
With some libc impls (ie: Xcode 13.1), sprintf is marked as deprecated
and causes the build with `-Werror` to fail. Switch the `sprintf` usage
in test_nvs.cpp to use `snprintf` to allow builds to complete without
warning.
2023-04-03 16:33:57 -04:00
Cody P Schafer
630343e4b9
test_nvs_host: fix asan reported bugs
...
- Use of `sizeof(uint32_t *)` instead of `sizeof(uint32_t)` in
arguments
- Use of `memcmp` without checking that length agreed (add `memeq`)
2023-04-03 16:30:02 -04:00
Jason
9d1c8f4f18
Fix usb enumeration stage error for some device
2023-04-03 21:03:07 +08:00
Jiang Jiang Jian
d0a29ada57
Merge branch 'bugfix/fix_cert_test_block_issue' into 'master'
...
cert_test: example: Fix cert_test blocking issue
See merge request espressif/esp-idf!22847
2023-04-03 19:38:45 +08:00
Li Shuai
ec61a0e3cc
sleep retention: fix crash issue caused by destroying the module after the module node creation fails
2023-04-03 19:24:33 +08:00
Armando (Dou Yiwen)
ebaf987dc8
Merge branch 'feature/experimental_feature_mspi_120_ddr' into 'master'
...
mspi: experimental feature mspi 120 mhz ddr
Closes IDF-7073
See merge request espressif/esp-idf!22952
2023-04-03 18:03:58 +08:00
morris
bcbe8fec39
Merge branch 'bugfix/lcd_edma_buffer_align_check' into 'master'
...
esp_lcd: propagate the error on cache sync failure
Closes IDF-6955
See merge request espressif/esp-idf!23022
2023-04-03 17:49:43 +08:00
Jiang Jiang Jian
262149246d
Merge branch 'bugfix/invalid_pmkid_in_eapol_1_of_4' into 'master'
...
wpa_supplicant: bugfix invalid pmkid in eapol 1 of 4
Closes WIFI-5636
See merge request espressif/esp-idf!23033
2023-04-03 17:24:29 +08:00
Mahavir Jain
4ee6eda12e
Merge branch 'feature/esp_http_server_on_linux' into 'master'
...
Feature/esp http server on linux
Closes IDF-6608
See merge request espressif/esp-idf!21960
2023-04-03 16:48:19 +08:00
Sudeep Mohanty
dac48f2a40
esp_ringbuf: Added functions to linker.lf file which can be placed in Flash
...
This commit adds symbols from the ringbuf.c file which can be placed in
Flash in order to free up IRAM space.
2023-04-03 08:57:56 +02:00
Shreyas Sheth
38e9c8b474
wpa_supplicant: Bugfix sending invalid PMKID by softAP in EAPOL message 1 of 4
2023-04-03 12:00:23 +05:30
morris
126a1b2631
Merge branch 'bugfix/lcd_spi_acquire_bus' into 'master'
...
spi_lcd: don't release bus if acquire failed
Closes IDFGH-9604
See merge request espressif/esp-idf!22990
2023-04-03 13:13:56 +08:00
Jiang Jiang Jian
c46188a726
Merge branch 'bugfix/apsta_pmf_concurrency_issue' into 'master'
...
esp_wifi: handle SA-Query bug in AP-STA concurrent mode
Closes WIFI-5560
See merge request espressif/esp-idf!22860
2023-04-03 11:20:45 +08:00
Armando
739b3f03fb
kconfig: make 120 MSPI DDR as experimental feature
2023-04-03 10:30:50 +08:00
Armando
6d4c0bb3aa
mspi: support 120M DDR flash and psram on S3 (experimental)
2023-04-03 10:30:50 +08:00
Wu Zheng Hui
0026f73dcb
Merge branch 'bugfix/fix_deepsleep_saradc_leakage' into 'master'
...
bugfix: fix deepsleep saradc current leakage
Closes WIFI-5608 and IDFGH-9205
See merge request espressif/esp-idf!22984
2023-04-02 20:28:28 +08:00
Sarvesh Bodakhe
96a2ae937c
esp_wifi: handle SA-Query bug in AP-STA concurrent mode when both connections are PMF enabled
2023-03-31 18:20:28 +05:30
Jiang Jiang Jian
6987644d67
Merge branch 'fix/supplicant_coverity_issues' into 'master'
...
esp_wifi: Move connection related wpa_supplicant event handlers into callbacks and other improvements
Closes WIFI-5440
See merge request espressif/esp-idf!22459
2023-03-31 19:52:17 +08:00
Jiang Jiang Jian
08b4bd2ecd
Merge branch 'feature/add_interface_for_ble_QA_test' into 'master'
...
BLE: Add interface for QA test
Closes EBLE50Y23-69
See merge request espressif/esp-idf!22976
2023-03-31 19:43:54 +08:00
Harshit Malpani
7c68b67295
esp_http_server: Update to support build for Linux
2023-03-31 16:42:05 +05:30
morris
1fed9badf1
esp_lcd: check edma buffer alignment properly
2023-03-31 19:06:33 +08:00
Jiang Jiang Jian
1e7f9c8f72
Merge branch 'support/fix_coex_esp32h2_unused_macro' into 'master'
...
coex: fix unused macro on esp32h2
Closes TZ-86
See merge request espressif/esp-idf!22849
2023-03-31 19:03:49 +08:00
isha.pardikar@espressif.com
810f719ee1
NimBLE : Fixed config options in esp_nimble_cfg.h
2023-03-31 16:21:44 +05:30
Jiang Jiang Jian
5898953156
Merge branch 'doc/update_doc_for_pd_periph_config' into 'master'
...
esp_pm: update help doc for PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
See merge request espressif/esp-idf!22888
2023-03-31 18:11:41 +08:00
Armando (Dou Yiwen)
4cb6f36df3
Merge branch 'test/add_build_test_for_esp32_psram_2t_mode' into 'master'
...
psram: fixed esp32 2t mode fail issue
Closes IDF-6904
See merge request espressif/esp-idf!22963
2023-03-31 17:50:53 +08:00
xiehang
33e9d8c18f
esp_phy: Update phy lib
...
* esp32s3: phy_version: 600, 8dd0147, Mar 31 2023, 16:34:12
* esp32c3: phy_version: 960, 7392adf, Mar 31 2023, 16:27:13
2023-03-31 17:45:08 +08:00
Zhang Xiao Yan
5d70620956
Merge branch 'docs/update_brief_of_uart_set_wakeup_threshold' into 'master'
...
update brief of uart_set_wakeup_threshold
See merge request espressif/esp-idf!22886
2023-03-31 17:28:16 +08:00
wuzhenghui
bd80be3b83
bugfix: fix deepsleep saradc leakage
2023-03-31 15:49:43 +08:00
Aditya Patwardhan
7c8e8557a6
Merge branch 'bugfix/esp_tls_coverity_warning' into 'master'
...
Fix coverity warning in esp-tls component
See merge request espressif/esp-idf!22934
2023-03-31 15:22:58 +08:00
Jakob Hasse
5327fd89b5
spiffs: test is using configurable build dir
2023-03-31 15:07:07 +08:00
Jakob Hasse
f67bcc669a
esp_partition: partition_linux.c and its test do not use hard-coded file anymore
2023-03-31 15:07:07 +08:00
Sarvesh Bodakhe
b89a851645
esp_wifi: Move wpa_supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED event handlers into callbacks
...
Executing supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED handlers in event-handler context can lead to concurrency issues.
Moving the functionality into 'wpa_sta_connected_cb' and 'wpa_sta_disconnected_cb' callbacks and execute in ppTask context.
2023-03-31 12:34:03 +05:30
Sarvesh Bodakhe
7fb6f3b9e3
esp_wifi: remove unnecessary code under SAE-PK configuration
2023-03-31 12:34:03 +05:30
Laukik Hase
1c30854d48
Merge branch 'contrib/github_pr_11079' into 'master'
...
Fix preprocessor condition in esp_tls_mbedtls (GitHub PR)
Closes IDFGH-9746
See merge request espressif/esp-idf!23017
2023-03-31 14:48:51 +08:00
Jiang Jiang Jian
2ffd3cef70
Merge branch 'bugfix/fix_logs_information_messages_at_warning_level_issue' into 'master'
...
esp_wifi: fix logs information messages at warning level issue
Closes WIFI-5441 and WIFI-5497
See merge request espressif/esp-idf!22433
2023-03-31 14:34:09 +08:00
Jiang Jiang Jian
6ede152d87
Merge branch 'bugfix/unhandle_unsniff_req_disconnect' into 'master'
...
bt: Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
Closes BTQABR2023-25 and BT-3208
See merge request espressif/esp-idf!22941
2023-03-31 12:07:14 +08:00
muhaidong
a33b9f9101
esp_wifi: fix logs information messages at warning level issue
...
1. fix logs information messages at warning level issue
2. fix set inactive time crash issue
2023-03-31 11:41:18 +08:00
Jiang Jiang Jian
c3e0e36703
Merge branch 'bugfix/improve_tx_robust' into 'master'
...
esp_wifi: improve tx robust for c2/c3/s3
Closes WIFI-5663
See merge request espressif/esp-idf!23006
2023-03-31 11:02:36 +08:00
Linda
cafd3ab4c1
update brief of uart_set_wakeup_threshold
2023-03-31 10:58:02 +08:00
Jiang Jiang Jian
70c3cdc4f2
Merge branch 'bugfix/fix_softap_qos_null_issue' into 'master'
...
esp_wifi: fix softap qos null issue
Closes WIFI-5543
See merge request espressif/esp-idf!22889
2023-03-30 21:56:21 +08:00
chenjianxing
8d2e2ef2aa
esp_wifi: improve tx robust for c2/c3/s3
2023-03-30 21:36:35 +08:00
Mahavir Jain
7fb16bcb55
Merge branch 'fix/esp_https_ota_check_max_authorization_retries' into 'master'
...
esp_https_ota: Set user configurable ota authorization retries
Closes IDF-7126
See merge request espressif/esp-idf!22938
2023-03-30 21:31:23 +08:00
Jiang Jiang Jian
6cac537791
Merge branch 'bugfix/fix_hw_ralunderrun_assert' into 'master'
...
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3
Closes BT-3241 and BT-3247
See merge request espressif/esp-idf!22974
2023-03-30 19:02:51 +08:00
xueyunfei
c770abeb49
esp_wifi: fix softap qos null issue
2023-03-30 16:28:52 +08:00
Jiang Jiang Jian
893d6ad5aa
Merge branch 'bugfix/update_tx_rate_when_phymode_change' into 'master'
...
esp_wifi: Update tx rate when phymode change from LR to 11N
Closes WIFI-5554 and WIFI-5606
See merge request espressif/esp-idf!22898
2023-03-30 16:23:43 +08:00
Kevin (Lao Kaiyao)
26fd252e4b
Merge branch 'refactor/lcd_i2c_panel_reduce_link_size' into 'master'
...
lcd_i2c: reduce recommended link size
Closes IDFGH-9674
See merge request espressif/esp-idf!22979
2023-03-30 15:56:04 +08:00
morris
76ac9b0ecf
Merge branch 'bugfix/rmt_calarify_mem_block_symbols' into 'master'
...
Bugfix/rmt calarify mem block symbols
See merge request espressif/esp-idf!22966
2023-03-30 15:50:10 +08:00
Rocha Euripedes
610d5ea0ae
Merge branch 'ci/mqtt_test_app' into 'master'
...
ci: Migrate unit test for mqtt test to unit test app
Closes IDF-5594
See merge request espressif/esp-idf!22814
2023-03-30 15:33:07 +08:00
Sudeep Mohanty
c2f404aab8
Merge branch 'bugfix/ulp_riscv_rtc_i2c_driver' into 'master'
...
ulp-riscv-i2c: Updated ULP RISC-V I2C driver to abort when met with errors
See merge request espressif/esp-idf!22942
2023-03-30 14:49:46 +08:00
Jiang Jiang Jian
74c151df44
Merge branch 'bugfix/fix_softap_wpa3_loop' into 'master'
...
Fix infinite loop in PMK mismatch case in WPA3 SoftAP
Closes WIFI-5627
See merge request espressif/esp-idf!22954
2023-03-30 14:42:00 +08:00
Wang Meng Yang
70a355dbc1
Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod' into 'master'
...
bt: Optimized the document for GAP API: esp_bt_gap_set_cod
Closes IDFGH-8668
See merge request espressif/esp-idf!22887
2023-03-30 12:12:02 +08:00
morris
81b16b7852
spi_lcd: don't release bus if acquire failed
...
Closes https://github.com/espressif/esp-idf/issues/10952
2023-03-30 11:48:42 +08:00
morris
90c32e8021
Merge branch 'bugfix/glitch_filter_hw_issue' into 'master'
...
filter: workaround a hw issue in the glitch filter
See merge request espressif/esp-idf!22951
2023-03-30 11:31:06 +08:00
xiongweichao
8f5c33cec1
1.Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
...
2.Fixed crash caused by supervision timeout greater than sniff interval
2023-03-30 11:15:38 +08:00
morris
5d1a272b1c
rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode
2023-03-30 11:09:13 +08:00
boarchuz
0c85f7407e
fix preprocessor log condition in esp_tls_mbedtls
2023-03-30 14:08:57 +11:00
zhangyanjiao
a6d5ad1dfb
esp_wifi: Update tx rate when phymode change from LR to 11N
2023-03-30 10:51:30 +08:00
Armando
84e3d7de85
psram: fixed esp32 2t mode fail issue
2023-03-30 02:45:06 +00:00
wuzhenghui
fcf0498da8
esp_pm: update doc for PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
2023-03-30 10:33:47 +08:00
morris
d82981c437
rmt: use gpio_num_t to define gpio number
2023-03-30 10:30:27 +08:00
Jiang Jiang Jian
20f200a1c9
Merge branch 'bugfix/wpa3_softap_set_pmf_req_implicitly' into 'master'
...
esp_wifi: WPA3 softap set PMF required true
Closes WIFI-5540, WIFI-5476, WIFI-5563, and WIFI-5509
See merge request espressif/esp-idf!22691
2023-03-30 10:01:03 +08:00
Konstantin Kondrashov
6c5a7da77c
Merge branch 'feature/unicore_bootloader_can_run_multicore_app' into 'master'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore
Closes IDFGH-9336
See merge request espressif/esp-idf!22664
2023-03-29 21:56:26 +08:00
Shreyas Sheth
888b909e79
esp_wifi: WPA3 softap set PMF required true
...
1) Set NVS PMF required true if not specified by application when
authmode is WPA3
2) Fix issue regarding cleanup of non associated sta_info
3) Fix implementation of sta lock to avoid concurrency issues
4) Fix softAP deinit crash when password is configured with max length
2023-03-29 13:07:52 +00:00
Zim Kalinowski
ce9d466324
Merge branch 'bugfix/esp-system-ignored-warnings' into 'master'
...
esp_system: fixed and reenable no-format warnings
Closes IDF-6801
See merge request espressif/esp-idf!22710
2023-03-29 20:18:14 +08:00
Shen Weilong
aad3d8344b
BLE: Add interface for QA test
...
Fix sleep crash issue
2023-03-29 20:02:56 +08:00
harshal.patil
2d7ec1d239
esp_https_ota: Set user configurable ota authorization retries
2023-03-29 17:29:31 +05:30
Sudeep Mohanty
88e4c06028
ulp-riscv-i2c: Updated ULP RISC-V I2C driver to abort when met with errors
...
The current ULP RISC-V RTC I2C driver got stuck in an infinite loop if
there is a I2C transaction error. This commit amends the driver flow to
abort the read/write operation if met with errors. It also adds a loop
timeout to avoid getting stuck in an infinite loop.The commit also
updates the default bus timing parameters for RTC I2C to be faster.
This commit also adds documentation help to guide users when they meet
with issues while working with the RTC I2C driver on the ULP RISC-V coprocessor.
2023-03-29 13:25:46 +02:00
laokaiyao
c1f51dfdf6
lcd_i2c: reduce recommended link size
...
Closes: https://github.com/espressif/esp-idf/issues/11015
2023-03-29 19:08:44 +08:00
zwj
a1bfc91f54
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3
2023-03-29 17:13:15 +08:00
Wu Zheng Hui
ee05082e35
Merge branch 'feature/support_esp32h2_modem_clock' into 'master'
...
esp32h2: support modem clock driver
Closes IDF-7088
See merge request espressif/esp-idf!22880
2023-03-29 16:49:26 +08:00
Jiang Jiang Jian
8448c72440
Merge branch 'bugfix/wps_phassphrase' into 'master'
...
wpa_supplicant: Get WPS credential in passphrase format
Closes IDFGH-8922
See merge request espressif/esp-idf!22454
2023-03-29 16:31:46 +08:00
Jin Cheng
cb68c7cba1
Optimized the document for GAP API:
...
`esp_bt_gap_set_cod`
2023-03-29 15:41:14 +08:00
Zim Kalinowski
e86864c621
Merge branch 'feature/unify_core_host_target_tests' into 'master'
...
ci: unify core host target tests
Closes IDF-6621, IDF-6622, IDF-6623, and IDF-6624
See merge request espressif/esp-idf!22944
2023-03-29 15:41:01 +08:00
Marius Vikhammer
e44f4d315b
Merge branch 'bugfix/remove_c2_cache_config' into 'master'
...
system: remove unused C2 cache kconfig option
See merge request espressif/esp-idf!22957
2023-03-29 14:09:37 +08:00
morris
1375627461
filter: workaround a hw issue in the glitch filter
...
that the internal glitch counter will overflow at 64 constant level
input, causing a wrong filter result
2023-03-29 13:28:07 +08:00
wuzhenghui
042aa93fa2
workaround: bypass clock power_domain maintaining since esp32h2 sleep is not supported
2023-03-29 13:23:32 +08:00
wuzhenghui
ade6d3e5bc
esp_hw_support: support esp32h2 modem_clock driver
2023-03-29 13:23:32 +08:00
wuzhenghui
485f2882d1
modem_clock: rename modem_clock_lp_timer to ble_rtc_timer
2023-03-29 13:23:32 +08:00
wuzhenghui
43a9456243
modem_clock: implemented the modem clock hal/ll-layer (include modem syscon and lpcon) for esp32h2
2023-03-29 13:23:27 +08:00
Jiang Jiang Jian
f1c03f0dda
Merge branch 'bugfix/add_ndp_timeout' into 'master'
...
Modifications in NAN datapath API
Closes WIFI-5520
See merge request espressif/esp-idf!22817
2023-03-29 12:39:12 +08:00
Jiang Jiang Jian
ce8f51a2f8
Merge branch 'bugfix/remove_Wno_format_in_esp_phy_esp_wifi_and_wpa_supplicant_components' into 'master'
...
Remove -Wno-format in esp_phy, esp_wifi, part of wpa_supplicant components
Closes IDF-6799
See merge request espressif/esp-idf!22827
2023-03-29 12:35:22 +08:00
Mahavir Jain
f22daec784
Merge branch 'feature/secure_set_efuses_to_prevent_brick_chip' into 'master'
...
security: write-protect DIS_ICAHE and DIS_DCACHE
Closes IDF-5177
See merge request espressif/esp-idf!22640
2023-03-29 11:51:09 +08:00
Marius Vikhammer
2608c1ec1e
system: remove unused C2 cache kconfig option
2023-03-29 10:06:13 +08:00
KonstantinKondrashov
a3232e4a5b
bootloader: Adds an option to leave DIS_CACHE writeable
2023-03-29 00:02:25 +08:00
KonstantinKondrashov
199e5abbf3
efuse: Adds WR_DIS.DIS_CACHE for esp32 and WR_DIS.DIS_ICACHE for rest chips
...
C2 chip does not have such fields
2023-03-29 00:02:24 +08:00
KonstantinKondrashov
b950f5de8d
efuse: Fix handling aliases in efuse_table_gen
2023-03-29 00:02:24 +08:00
KonstantinKondrashov
723b2e86e5
security: write-protect DIS_ICAHE and DIS_DCACHE
...
Closes IDF-5177
2023-03-29 00:02:24 +08:00
KonstantinKondrashov
975c138fad
esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
...
It makes multicore app runnable by unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/10714
2023-03-28 23:17:16 +08:00
Shu Chen
37ac0ad851
Merge branch 'bugfix/add_lqi_transmission' into 'master'
...
openthread: add transmission of LQI
See merge request espressif/esp-idf!22918
2023-03-28 21:06:32 +08:00
Rocha Euripedes
98b75727ba
Merge branch 'feature/socks_transport' into 'master'
...
tcp_transport: Adds SOCKS4 proxy transport
See merge request espressif/esp-idf!20479
2023-03-28 20:33:28 +08:00
Zim Kalinowski
fb7aafd348
esp_system: fix and reenable no-format warning
2023-03-28 13:42:44 +02:00
Nachiket Kukade
7ee27bc956
wpa_supplicant: Fix infinite loop in PMK mismatch case in WPA3 SoftAP
2023-03-28 16:52:16 +05:30
Kevin (Lao Kaiyao)
7c5d65b82b
Merge branch 'contrib/github_pr_10997' into 'master'
...
i2s: intrerrupt fix (GitHub PR)
Closes IDFGH-9650 and IDFGH-9654
See merge request espressif/esp-idf!22945
2023-03-28 18:35:01 +08:00
Zim Kalinowski
a7126377f0
Merge branch 'ci/enable_freertos_ignore' into 'master'
...
freertos: re-enable "mutex released not by owner causes an assert" test in CI
Closes IDF-6613 and IDF-6614
See merge request espressif/esp-idf!22910
2023-03-28 17:36:11 +08:00
Zim Kalinowski
ee842a1386
Merge branch 'feature/fix_load_efuses_from_flash_when_real_fe_is_on' into 'master'
...
efuse(virtual mode): Fix load_efuses_from_flash when FE is on
Closes IDFGH-9580
See merge request espressif/esp-idf!22793
2023-03-28 17:32:11 +08:00
Marius Vikhammer
f627506f6b
ci: update driver tests to use run_all_single_board_cases()
2023-03-28 17:05:50 +08:00
Ivan Grokhotkov
da6041e1b5
Merge branch 'bugfix/sdmmc_host_cclk_lp' into 'master'
...
sdmmc: keep clock enabled for the duration of ACMD41
Closes IDF-6004
See merge request espressif/esp-idf!20470
2023-03-28 15:29:46 +08:00
dizcza
b44c89db9e
i2s interrupt fix
...
Merges: https://github.com/espressif/esp-idf/pull/10997
2023-03-28 14:34:31 +08:00
Jiang Guang Ming
a32699c2a7
Merge branch 'feature/support_flash_mmap_pytest_c6_h2' into 'master'
...
spi_flash: support flash mmap pytest c6 h2
Closes IDF-7009
See merge request espressif/esp-idf!22935
2023-03-28 14:02:03 +08:00
Marius Vikhammer
a5c70c24e5
Merge branch 'bugfix/memprot_cleanup_iram_attr' into 'master'
...
memprot: move memprot functions out of IRAM
See merge request espressif/esp-idf!20697
2023-03-28 10:18:22 +08:00
Euripedes Rocha
d6db90a3cd
[tcp_transport] - Adds Socks4 proxy transport
...
- Basic implementation of Socks4 protocol.
- Introduce basic host testing.
2023-03-27 14:46:40 +02:00
Ivan Grokhotkov
7524f40b21
sdmmc: keep clock enabled for the duration of ACMD41
...
SD specification requires that card clock is not disabled until the
card is idle, following ACMD41 command.
2023-03-27 14:09:02 +02:00
Marius Vikhammer
914bb81b95
ci: move linux host tests to test app folder
2023-03-27 17:41:44 +08:00
Jiang Guang Ming
e8e58f57a8
spi_flash: support flash mmap pytest on C6 and H2
2023-03-27 00:22:58 -07:00
muhaidong
61a5785414
Remove -Wno-format in esp_phy, esp_wifi, wpa_supplicant components
2023-03-27 06:42:08 +00:00
Mahavir Jain
496cd83944
Fix coverity warning in esp-tls component
...
The regressions was introduced in the commit: 0abd1cb51f
2023-03-27 12:03:49 +05:30
C.S.M
b55df8e505
Merge branch 'bugfix/atomic_iram' into 'master'
...
newlib: Put atomic function in IRAM
See merge request espressif/esp-idf!22913
2023-03-27 12:23:04 +08:00
C.S.M
4bff4ed6e5
Merge branch 'bugfix/mmu_stale_data' into 'master'
...
MMU: Fix stale data being read on memory mapped instruction page
Closes IDF-7057 and IDF-4969
See merge request espressif/esp-idf!22826
2023-03-27 11:21:00 +08:00
Zim Kalinowski
b7f88e05b7
Merge branch 'bugfix/ulp_fsm_sleep_tests' into 'master'
...
ulp-fsm: fixed potential sleep tests failures
Closes IDFCI-1665
See merge request espressif/esp-idf!22869
2023-03-26 15:55:59 +08:00
KonstantinKondrashov
3a31a4c885
efuse: Enable and adjust some efuse tests for H2 chip
2023-03-24 17:21:32 +00:00
Mahavir Jain
f1465c6ad8
Merge branch 'featue/factory_reset_state' into 'master'
...
bootloader_support: Adds API to detect Factory reset has happened
Closes IDFGH-9379
See merge request espressif/esp-idf!22822
2023-03-24 21:32:30 +08:00
Ivan Grokhotkov
cc0cac4da2
sdmmc: new component test app
...
- split test cases into separate files
- added a component with information about dev. boards
- added a console application to run the tests
- added commands for lower level hacking/experimentation
2023-03-24 13:38:38 +01:00
Rahul Tank
ff88044a44
Merge branch 'bugfix/warning_cur_len' into 'master'
...
NimBLE: Fixed warning cur_len unused
See merge request espressif/esp-idf!22855
2023-03-24 19:09:50 +08:00
Cao Sen Miao
5bac46b3e8
MMU: Fix stale data being read on memory mapped instruction page
2023-03-24 18:59:57 +08:00
Zim Kalinowski
bd4995c481
Merge branch 'feature/run_stack_smash_check_in_ci' into 'master'
...
system: enable stack smashing protection test
Closes IDF-6612
See merge request espressif/esp-idf!22894
2023-03-24 18:33:19 +08:00
Mahavir Jain
8d90249829
Merge branch 'contrib/github_pr_10967' into 'master'
...
[esp-tls] Add addr_family option to esp_tls_cfg_t (GitHub PR)
Closes IDFGH-9620
See merge request espressif/esp-idf!22892
2023-03-24 18:02:31 +08:00
Ivan Grokhotkov
58544727fb
Merge branch 'bugfix/sdmmc_freq_set_probing' into 'master'
...
sdmmc: also set card->real_freq_khz field for probing frequency
See merge request espressif/esp-idf!22908
2023-03-24 18:01:46 +08:00
Rahul Tank
f1084c26cd
Merge branch 'feature/add_power_control_soc_cap' into 'master'
...
Add Power control specific soc capability
See merge request espressif/esp-idf!22871
2023-03-24 17:43:37 +08:00
Euripedes Rocha
1acfc9b5e0
ci: Migrateunit test for mqtt test to unit test app
...
- Split mqtt and mqtt5 tests
- Move common test code to a common component
- Add necessary python scripts
2023-03-24 10:32:43 +01:00
Sachin Parekh
089b11c989
Merge branch 'h2/support-ecdsa' into 'master'
...
H2: Add support for ECDSA peripheral
Closes IDF-6287
See merge request espressif/esp-idf!22663
2023-03-24 17:11:36 +08:00
Shyamal Khachane
2f6517b44b
Modify API esp_wifi_nan_datapath_req() to return ndp_id after datapath is accepted/rejected
2023-03-24 12:52:02 +05:30
Abhik Roy
1343b908fa
Merge branch 'lwip/esp_netif_napt_enable' into 'master'
...
lw-ip/esp_napt: Added api to enable/disable napt based on esp_netif.
See merge request espressif/esp-idf!22088
2023-03-24 15:14:15 +08:00
Xu Si Yu
7b735a8568
openthread: add transmission of LQI
2023-03-24 14:51:03 +08:00
Rahul Tank
9179456c48
Add Power control specific soc capability
2023-03-24 10:56:03 +05:30
isha.pardikar@espressif.com
e987b80d90
NimBLE: Fixed warning cur_len unused
2023-03-24 10:48:07 +05:30
Sachin Parekh
e26018d8ee
h2/clk_gate: Clear reset signal of ECDSA peripheral before enabling SHA, RSA or ECC
2023-03-24 10:43:48 +05:30
Sachin Parekh
d2940c5ff3
mbedtls: Add port layer for ECDSA peripheral
2023-03-24 10:43:40 +05:30
Sachin Parekh
d345c684ba
esp32h2: Add support for ECDSA peripheral
2023-03-24 10:43:40 +05:30
Isha Pardikar
d6f49becff
Merge branch 'feature/services' into 'master'
...
NimBLE : Added heart rate measurement as a service
See merge request espressif/esp-idf!22781
2023-03-24 13:13:34 +08:00
Kapil Gupta
5186b018c0
wpa_supplicant: Get WPS credential in passphrase format
...
Closes https://github.com/espressif/esp-idf/issues/10339
2023-03-24 10:40:04 +05:30
Cao Sen Miao
e5355e57a1
newlib: Put atomic function in IRAM
2023-03-24 11:18:55 +08:00
Mahavir Jain
55fd7d43c1
Merge branch 'feature/heap-alloc-free-callbacks' into 'master'
...
heap: Add allocation and free function hooks.
Closes IDFGH-9424
See merge request espressif/esp-idf!22456
2023-03-24 10:55:11 +08:00
Marius Vikhammer
bf8934002b
freertos: re-enable "mutex released not by owner causes an assert" test in CI
2023-03-24 10:19:51 +08:00
Ivan Grokhotkov
bfc39e845e
sdmmc: also set card->real_freq_khz for probing frequency
2023-03-23 23:28:54 +01:00
Jiang Jiang Jian
e797a06120
Merge branch 'bugfix/unify_btbb_init' into 'master'
...
esp_phy: added API esp_btbb_disable
See merge request espressif/esp-idf!22806
2023-03-23 20:34:03 +08:00
Island
12b1028329
Merge branch 'bugfix/ble_mesh_stack_minor_fixes' into 'master'
...
ble_mesh: stack: Minor fix for provisioner provisioning timeout
See merge request espressif/esp-idf!22883
2023-03-23 19:34:11 +08:00
Jiang Jiang Jian
5c4f029372
Merge branch 'mesh/bugfix_fix_bugs_for_mesh_network' into 'master'
...
wifi_mesh: fix bugs for mesh network
Closes WIFI-5299 and IDFGH-8497
See merge request espressif/esp-idf!22875
2023-03-23 17:39:47 +08:00
Abhik Roy
8e71e96603
lwip/esp_napt: Added api to enable/disable napt based on esp_netif.
2023-03-23 20:38:03 +11:00
Jiang Jiang Jian
b6fda9723e
Merge branch 'bugfix/fix_att_rsp_timeout' into 'master'
...
Fixed bluedroid host ATT Ignore wrong response error
Closes BLEQABR23-30 and BT-3224
See merge request espressif/esp-idf!22688
2023-03-23 17:10:54 +08:00
KonstantinKondrashov
88ef0d8aeb
efuse: Fix load_efuses_from_flash when FE is on
...
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.
Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.
Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-23 16:20:43 +08:00
Song Ruo Jing
5e29b12fb3
Merge branch 'bugfix/pmu_struct_h2' into 'master'
...
soc: Fix struct volatile rule in h2 pmu_struct.h
See merge request espressif/esp-idf!22879
2023-03-23 16:09:07 +08:00
Marius Vikhammer
783d8c20e3
system: enable stack smashing protection test
2023-03-23 14:27:34 +08:00
Wan Lei
896f046ac2
Merge branch 'feature/support_spi_slave_hd_append_later_s2' into 'master'
...
spi_slave: support spi slave hd append mode on chips other than s2
Closes IDF-2943
See merge request espressif/esp-idf!19557
2023-03-23 14:19:32 +08:00
wangmengyang
cbb8bf9f88
esp_phy: added API esp_btbb_disable
...
APIs esp_btbb_enable and esp_btbb_disable are supposed to be used by 802.15.4 and Bluetooth module, and implemented with reference counter for resource management
2023-03-23 05:40:32 +00:00
isha.pardikar@espressif.com
fc0aa4d083
NimBLE : Added heart rate measurement as a service
2023-03-23 11:04:00 +05:30
Guillaume Souchere
2f982107dc
heap: Wrap the function hook feature under a configuration
...
also update heap_debug.rst and mem_alloc.rst to provide information about the feature
2023-03-23 04:50:49 +00:00
Guillaume Souchere
5a1f0cd63c
heap: Make weak declaration for the alloc and free callbacks
...
- Fix "test get allocated size"
- Add tests for the free / alloc hooks
- Call alloc function hook on malloc/realloc/calloc base functions
- Add caps parameter to the allocation hook function
2023-03-23 04:50:49 +00:00
Chip Weinberger
1588c61c7b
[Heap] new api for user heap trace callbacks
2023-03-23 04:50:49 +00:00
Mahavir Jain
86b6f87d68
Merge branch 'bugfix/ram_loadable_elf_flash_mmap_issue' into 'master'
...
Fix flash mmap data integrity issue for RAM loadable ELF case
See merge request espressif/esp-idf!22802
2023-03-23 12:13:35 +08:00
wangjialiang
bb316f96f2
ble_mesh: stack: add description of internal BQB Test
2023-03-23 11:10:08 +08:00
Jiang Jiang Jian
defae704e4
Merge branch 'bugfix/delay_report_memory_leak' into 'master'
...
bugfix: fixed memory leak in AVDT delay report
Closes BTQABR2023-12
See merge request espressif/esp-idf!22870
2023-03-23 10:55:47 +08:00
Armando (Dou Yiwen)
7905961053
Merge branch 'docs/esp_mm_programming_guide' into 'master'
...
docs: mmu supported memory management programming guide
Closes IDF-7006
See merge request espressif/esp-idf!22851
2023-03-23 10:41:07 +08:00
lly
43c9814387
ble_mesh: stack: Minor fix for provisioner provisioning timeout
2023-03-23 10:26:23 +08:00
Darian
c71025d6d6
Merge branch 'refactor/freertos_config_files' into 'master'
...
FreeRTOS: Combine FreeRTOSConfig.h
Closes IDF-6082
See merge request espressif/esp-idf!22815
2023-03-22 22:01:37 +08:00
wuzhenghui
a76dee171e
esp32h2: update esp32h2 modem_clock soc_caps
2023-03-22 21:54:32 +08:00
wuzhenghui
14475f0925
soc: regenerate modem header with regtool
2023-03-22 21:53:26 +08:00
Song Ruo Jing
9f972efac0
soc: Fix struct volatile rule in h2 pmu_struct.h
2023-03-22 19:41:40 +08:00
Jakob Hasse
6382fc3d6b
Merge branch 'feature/pthread_semaphore' into 'master'
...
pthread: POSIX unnamed semaphore
Closes IDF-6936
See merge request espressif/esp-idf!22585
2023-03-22 19:03:12 +08:00
Tomas Rezucha
f3de7e574d
Merge branch 'bugfix/usb_reg_header_definition_upd' into 'master'
...
USB: usb_reg.h update missing register bitfield description
See merge request espressif/esp-idf!22766
2023-03-22 17:43:43 +08:00
Armando
abb03b8dc4
doc: added memory management programming guides
2023-03-22 16:33:52 +08:00
zhangyanjiao
c7e0fa5f6a
wifi_mesh: update mesh doc
2023-03-22 16:32:43 +08:00
Darian Leung
54deed0566
freertos: Uncrustify FreeRTOSConfig files
2023-03-22 16:32:29 +08:00
Darian Leung
6895e92fd2
freertos: Combine Amazon SMP FreeRTOS and IDF FreeRTOS config files
...
This commit merges the "FreeRTOSConfig_smp.h" file into the "FreeRTOSConfig.h".
The configurations for all FreeRTOS implementations are now stored in a single
file.
2023-03-22 16:32:29 +08:00
Darian Leung
63f318b85b
freertos: Refactor FreeRTOSConfig_arch.h
...
This commit removes or adds some misplaced configs from the
FreeRTOSConfig_arch.h headers of each architecture.
2023-03-22 16:32:29 +08:00
Darian Leung
05bda6595d
freertos: Move FreeRTOSConfig_arch.h
...
This commit moves the FreeRTOSConfig_arc.h to the "esp_additions" directory
so that they can also be used for SMP FreeRTOS builds.
2023-03-22 16:32:29 +08:00
Island
ec030b358a
Merge branch 'feature/ble_mesh_console_stack_update' into 'master'
...
ble_mesh: stack: Update stack to solve several problems
See merge request espressif/esp-idf!22499
2023-03-22 16:17:46 +08:00
Jiang Jiang Jian
0fc51ea908
Merge branch 'bugfix/hfp_ag_cannot_init_conn' into 'master'
...
bt: Fixed the index out of bounds of hfp_ag BTC control block
Closes IDFGH-9452
See merge request espressif/esp-idf!22485
2023-03-22 15:45:38 +08:00
Jin Cheng
439d285c4a
Fixed memory leak in AVDT delay report
2023-03-22 15:30:06 +08:00
David Čermák
826c927c09
Merge branch 'bugfix/lwip_remove_afl' into 'master'
...
lwip: Remove AFL based fuzzer tests
See merge request espressif/esp-idf!22805
2023-03-22 14:59:50 +08:00
Jin Cheng
1d32c85f18
Fixed the index out of bounds of hfp_ag BTC control block
2023-03-22 13:17:33 +08:00
zhangyanjiao
1cd056b49e
wifi_mesh: Fix several bugs on mesh network
2023-03-22 11:44:12 +08:00
Marius Vikhammer
b7fcf1c139
ulp-fsm: fixed potential sleep tests failures
...
If the ULP sent the wake-up signal before the main CPU went to sleep,
then the test case would get stuck in sleep.
Increased delay before sending the wake-up signal.
2023-03-22 11:39:33 +08:00
wangjialiang
c266dedb1f
ble_mesh: stack: bug fix in bqb
2023-03-22 11:28:29 +08:00
wangjialiang
45015940eb
ble_mesh: add BQB LOG
2023-03-22 11:27:09 +08:00
luoxu
f4f192ed70
ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01
2023-03-22 11:27:09 +08:00
luoxu
a7d8caf7c6
ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg
2023-03-22 11:27:09 +08:00
luoxu
c159572004
ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link
2023-03-22 11:27:09 +08:00
Shen Wei Long
ab63aaa4a2
Merge branch 'feature/update_bluedriod_examples_for_esp32h2_ble' into 'master'
...
Feature/update bluedriod examples for esp32h2 ble
Closes IDF-6921
See merge request espressif/esp-idf!22634
2023-03-22 10:56:28 +08:00
KonstantinKondrashov
efbafb873b
bootloader_support: Adds API to detect Factory reset has happened
...
Closes https://github.com/espressif/esp-idf/issues/10753
2023-03-22 02:21:54 +08:00
Ondrej Kosta
531e23c802
Merge branch 'bugfix/dm9051_rcv_mcast' into 'master'
...
esp_eth: allowed DM9051 to receive multicast packets
See merge request espressif/esp-idf!22768
2023-03-21 22:55:44 +08:00
Michael (XIAO Xufeng)
dbbc1ba5be
Merge branch 'feat/merge_nuttx_patch' into 'master'
...
G0, G1: fix issues that prevents using G0/G1 components on other platforms
See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +08:00
Jiang Jiang Jian
4c75ad94d7
Merge branch 'bugfix/sta_sa_query_process' into 'master'
...
esp_wifi: Improve station SA query procedure handling
Closes WIFI-5525
See merge request espressif/esp-idf!22686
2023-03-21 17:23:28 +08:00
Rahul Tank
e32083c859
Merge branch 'feature/write_blob' into 'master'
...
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN
See merge request espressif/esp-idf!22808
2023-03-21 16:33:01 +08:00
Mahavir Jain
bdf8f1c382
Merge branch 'contrib/github_pr_10715' into 'master'
...
Add user_data accessor and mutator to esp_http_client (GitHub PR)
Closes IDFGH-9337 and IDFGH-9221
See merge request espressif/esp-idf!22751
2023-03-21 14:07:31 +08:00
Armando (Dou Yiwen)
75fc5a2512
Merge branch 'bugfix/mspi_timing_tuning_ll_assertion_disable_build_fail_issue' into 'master'
...
mspi: fix build failure under assertion disable
Closes IDF-7077
See merge request espressif/esp-idf!22835
2023-03-21 12:37:21 +08:00
zhangwenxu
2f952f308f
coex: fix unused macro on esp32h2
2023-03-21 11:51:06 +08:00
wanlei
45d745f853
spi_slave: add multi board test case for spi slave hd append mode
2023-03-21 11:30:17 +08:00
wanlei
66ca403bc6
spi_slave: support spi slave hd append mode on chips other than s2
2023-03-21 11:30:17 +08:00
Jakob Hasse
45c8b8ba10
pthread: Implemented POSIX unnamed semaphore
2023-03-21 10:23:58 +08:00
Armando
eee34bcf70
mspi: fix build failure under assertion disable
2023-03-21 10:14:59 +08:00
David Cermak
924bac9956
lwip: Remove AFL based fuzzer tests
...
Also removed compilation pre-checks and jobs from the CI, and test data
2023-03-20 17:47:23 +00:00
Sarvesh Bodakhe
56dd04c7f6
esp_wifi: improve station SA query procedure handling
...
1. disable SA query timers when station disconnect and other SA query related improvements
2. send appropriate reason code in 4 way handshake failure
2023-03-20 19:35:42 +05:30
Jiang Jiang Jian
29737e1bc8
Merge branch 'feat/dynamic_carrier_sense' into 'master'
...
esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env and fix tx fragment issue
Closes WIFI-5106 and WIFI-5529
See merge request espressif/esp-idf!21919
2023-03-20 20:24:53 +08:00
Shen Weilong
90d6b9cbd7
ble: Update README files for bluedroid host examples on ESP32-H2
...
Disable clocks and phy modem directly in esp_bt_controller_deinit()
2023-03-20 19:09:29 +08:00
Shen Weilong
16a05153c9
esp_phy: delete phy_multiple_init_data.bin for esp32h2
2023-03-20 19:09:29 +08:00
Darian
bd87e61e6f
Merge branch 'refactor/freertos_remove_xTaskRemoveFromUnorderedEventList_define' into 'master'
...
FreeRTOS: Remove xTaskRemoveFromUnorderedEventList compatibility define
See merge request espressif/esp-idf!22813
2023-03-20 19:01:27 +08:00
Jiang Jiang Jian
bb9200acec
Merge branch 'support/esp32c6_csl_feature_merge' into 'master'
...
openthread_port: support CSL on esp32c6
Closes TZ-41
See merge request espressif/esp-idf!22259
2023-03-20 17:01:29 +08:00
Jiang Jiang Jian
e4cf722248
Merge branch 'bugfix/lwip_no_garp_for_any_addr' into 'master'
...
lwip: Send Periodic Gratuitous ARP only on valid IPv4
See merge request espressif/esp-idf!22807
2023-03-20 16:51:14 +08:00
zhiweijian
3be3bef3a6
set BT_CTRL_BLE_MAX_ACT default value to 6
2023-03-20 15:54:47 +08:00
zhiweijian
7ad9e885e4
If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED
2023-03-20 15:54:32 +08:00
Jiang Jiang Jian
deb966c6a7
Merge branch 'bugfix/fix_esp32c2_espnow_enter_modem_sleep_unexpectly' into 'master'
...
esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2
See merge request espressif/esp-idf!22809
2023-03-20 14:19:18 +08:00
Jiang Jiang Jian
fdea5289a2
Merge branch 'bugfix/static_ram_size' into 'master'
...
system: fixed USE_FIXED_STATIC_RAM_SIZE option
See merge request espressif/esp-idf!21368
2023-03-20 13:57:38 +08:00
Mahavir Jain
7b995355ba
startup: fix incorrect MMU configuration issue for the RAM loadable ELF
...
For RAM loadable ELF, entire firmware is running from RAM and hence the
IROM/DROM size must be treated as 0 (no cache mappings created for
code/rodata).
2023-03-20 11:12:06 +05:30
Mahavir Jain
bad4cd7072
spi_flash: RAM loadable ELF should have dangerous writes option allowed
...
For RAM loadable ELF case, there is no application or the bootloader on
the flash. And hence the check for getting current running OTA partition
or looking up partition table fails during dangerous writes option.
We are disabling the dangerous writes option for RAM loadable ELF case
and allowing writes to entire flash memory.
2023-03-20 11:10:29 +05:30
Jiang Jiang Jian
0b043f0488
Merge branch 'feature/add_menuconfig_of_calibration_mode' into 'master'
...
esp_phy: add menuconfig of phy calibration mode
Closes WIFI-5409 and WIFI-5485
See merge request espressif/esp-idf!22714
2023-03-20 12:46:45 +08:00
Jiang Jiang Jian
12b44b3a0a
Merge branch 'bugfix/update_config_in_esp32h2_chip' into 'master'
...
ble: update config in esp32h2 chip
See merge request espressif/esp-idf!22708
2023-03-20 12:09:52 +08:00
Island
b5549cb373
Merge branch 'feature/ble_mesh_add_bqb_log_test_macro' into 'master'
...
ble_mesh: stack: Add macros for BQB test to enable some internal function or log
See merge request espressif/esp-idf!22540
2023-03-20 11:43:53 +08:00
muhaidong
f1cec643a7
esp_phy: add menuconfig of phy calibration mode
2023-03-20 11:16:37 +08:00
muhaidong
7207194442
disable reduce PHY TX power when brownout reset
2023-03-20 11:10:32 +08:00
zhangwenxu
29d5873819
openthread_port: support CSL on esp32c6
2023-03-20 10:24:28 +08:00
Jakob Hasse
7dbe9687f9
Merge branch 'bugfix/esp_shared_stack_watchpoint_setting' into 'master'
...
bugfix(esp_system): made watchpoint setting configuration-dependent
Closes IDFGH-9003
See merge request espressif/esp-idf!21738
2023-03-20 10:19:05 +08:00
Alexey Lapshin
9176f83a0b
Merge branch 'fix/app_trace_fwrite_fread' into 'master'
...
app_trace: fix fwrite/fread return value
See merge request espressif/esp-idf!22757
2023-03-19 20:27:28 +08:00
Wu Zheng Hui
a79c5ef7ed
Merge branch 'bugfix/esp32c6_deep_sleep_minor_fixes' into 'master'
...
bugfix: esp32c6 deep sleep minor fixes
Closes WIFI-5559, WIFI-5425, WIFI-3494, WIFI-3495, WIFI-4163, and WIFI-4164
See merge request espressif/esp-idf!22697
2023-03-18 14:41:43 +08:00
Kevin (Lao Kaiyao)
d659991bbb
Merge branch 'feature/gpio_runtime_preserve' into 'master'
...
gpio: support runtime reserve
Closes IDF-6731
See merge request espressif/esp-idf!22223
2023-03-18 10:55:44 +08:00
Kevin (Lao Kaiyao)
2d14ba2b91
Merge branch 'feature/analog_comparator_h2' into 'master'
...
Introduce the Analog Comparator driver
Closes IDF-6817
See merge request espressif/esp-idf!22355
2023-03-18 00:42:20 +08:00
Darian Leung
4f8c6c6277
freertos: Remove xTaskRemoveFromUnorderedEventList compatibility define
...
xTaskRemoveFromUnorderedEventList is a scheduler internal function, thus will
never be called by users. Therefore, the compatbility define is not necessary.
2023-03-17 20:15:13 +08:00
wuzhenghui
cb55d51be4
bugfix: set I2C_MST_SEL_160M always be 1
2023-03-17 19:45:56 +08:00
wuzhenghui
bace80016d
bugfix: fix misspell
2023-03-17 19:45:56 +08:00
wuzhenghui
94034246b2
bugfix: close rf in deep sleep prepare to reduce base current
2023-03-17 19:45:56 +08:00
wuzhenghui
8e397f9bd9
bugfix: no need to do retention in deepsleep
2023-03-17 19:45:56 +08:00
wuzhenghui
c50e5d45a3
feature: add deep sleep prepare callback hook
2023-03-17 19:45:56 +08:00
wuzhenghui
acecfe4ba5
bugfix: Slow clock power domain management has been maintained in pd_flags
2023-03-17 19:42:01 +08:00
wuzhenghui
902064df7d
soc_caps: enable SOC_PM_SUPPORT_RTC_PERIPH_PD
2023-03-17 19:42:01 +08:00
Jiang Jiang Jian
68185c11bd
Merge branch 'bugfix/fix_unit_test_for_esp_phy' into 'master'
...
esp_phy: fix failure of unit test for test_phy_rtc_init on ESP32-C6
Closes WIFI-5112
See merge request espressif/esp-idf!22787
2023-03-17 17:56:21 +08:00
isha.pardikar@espressif.com
e985cc521b
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN
2023-03-17 15:25:08 +05:30
liuning
a36caf48fe
esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2
2023-03-17 17:33:46 +08:00
Jiang Jiang Jian
73c06b5039
Merge branch 'bugfix/sleep_current_issue_caused_by_sar_adc' into 'master'
...
sleep current issue caused by sar adc
Closes IDF-6111 and WIFI-4370
See merge request espressif/esp-idf!22769
2023-03-17 17:32:59 +08:00
David Cermak
97e785c01d
lwip:esp_netif: Send Periodic Gratuitous ARP only on valid IPv4
...
It was possible that the device would send a Gratuitous ARP before
acquiring a valid address, advertising it has 0.0.0.0 address.
2023-03-17 09:18:53 +01:00
Jiang Jiang Jian
16f6ea4e3a
Merge branch 'feature/support_esp32h2_libcoex' into 'master'
...
coex: support esp32h2 coex lib
See merge request espressif/esp-idf!22654
2023-03-17 16:02:19 +08:00
Jiang Jiang Jian
159edc5d86
Merge branch 'bugfix/h2_controller' into 'master'
...
Bluetooth : Fixed h2 controller function definition
See merge request espressif/esp-idf!22796
2023-03-17 15:20:35 +08:00
Jiang Jiang Jian
2658fb7623
Merge branch 'feature/add_memprot_support_for_esp32h2' into 'master'
...
esp32h2: enable memory protection scheme using PMA and PMP
Closes IDF-6452 and IDF-6332
See merge request espressif/esp-idf!22699
2023-03-17 15:19:52 +08:00
Marius Vikhammer
43784e7a24
memprot: move memprot functions out of IRAM
...
Memprot functions are no longer placed by default in IRAM,
selecting ESP_PANIC_HANDLER_IRAM will still force panic related memprot
functions to be placed in IRAM.
2023-03-17 14:51:20 +08:00
laokaiyao
53584bb5a7
ana_cmpr: add programming guide
2023-03-17 14:35:55 +08:00
Jiang Jiang Jian
3f3a2cf560
Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep' into 'master'
...
rtc_sleep: workaround systimer stall issue during sleep on ESP32C3
See merge request espressif/esp-idf!22739
2023-03-17 14:16:36 +08:00
Li Shuai
a25ce78392
sleep: fix sleep current issue caused by sar adc
2023-03-17 13:06:39 +08:00
laokaiyao
c9f780dc2e
gpio: support runtime preserve
2023-03-17 11:59:49 +08:00
laokaiyao
24361f232d
ana_cmpr: add an example and test cases
2023-03-17 11:38:32 +08:00
laokaiyao
c634144ac8
ana_cmpr: designed driver layer
2023-03-17 11:38:32 +08:00
morris
11cdbf2da0
driver: added analog comparator driver
2023-03-17 11:38:32 +08:00
morris
eb7ccbd174
hal: added analog comparator's LL driver
2023-03-17 11:38:32 +08:00
chenjianxing
b09a4e29c9
esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env.
...
esp_wifi: fix potential issue when tx fragment pkt
Closes WIFI-5106
Closes WIFI-5529
2023-03-17 11:23:59 +08:00
Alexey Lapshin
8c7c653a7f
app_trace: fix fwrite/fread return value
2023-03-17 00:15:07 +08:00
Mahavir Jain
4f0769d2ed
Merge branch 'ci/fix_efuse_tests_when_blocks_are_not_free' into 'master'
...
efuse: Fix some tests, some CI chips may already have blocks written
See merge request espressif/esp-idf!22794
2023-03-16 21:43:56 +08:00
isha.pardikar@espressif.com
7d3e347ba2
Bluetooth : Fixed h2 controller function definition
2023-03-16 18:03:39 +05:30
Zim Kalinowski
7c090d9a42
Merge branch 'bugfix/bootloader-ignored-warnings' into 'master'
...
bootloader: fix and re-enable no-format warnings
Closes IDF-6789
See merge request espressif/esp-idf!22715
2023-03-16 19:57:58 +08:00
KonstantinKondrashov
77a8b1afef
efuse: Fix some tests, some CI chips may already have blocks written
2023-03-16 18:19:08 +08:00
zhangwenxu
b596c28a22
coex: support esp32h2 coex lib
2023-03-16 17:23:43 +08:00
Marius Vikhammer
585f05596b
system: fixed USE_FIXED_STATIC_RAM_SIZE option
...
The USE_FIXED_STATIC_RAM_SIZE was not actually causing the heap to start
at a fixed address.
Closes https://github.com/espressif/esp-idf/issues/10270
Closes https://github.com/espressif/esp-idf/issues/10271
2023-03-16 16:23:59 +08:00
Andrew Clink
82cdcc5de5
Add user_data accessor and mutator to esp_http_client
...
Closes: https://github.com/espressif/esp-idf/pull/10715
2023-03-16 12:36:16 +05:30
lly
fd799153cf
ble_mesh: stack: Minor updates for BQB test log
2023-03-16 14:23:22 +08:00
Wan Lei
3b62bf59c4
Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq' into 'master'
...
mspi: turn down freq to fix crash when sleep
Closes IDF-6881
See merge request espressif/esp-idf!22491
2023-03-16 14:11:21 +08:00
Shu Chen
e995db71c1
Merge branch 'openthread/disable_ipv4' into 'master'
...
openthread: Fix errors after disabling IPv4 in LwIP
See merge request espressif/esp-idf!22658
2023-03-16 13:57:04 +08:00
Mahavir Jain
361f6821a0
Merge branch 'feature/esp_http_client_esp_events' into 'master'
...
esp_http_client: Add support for esp_events
See merge request espressif/esp-idf!21113
2023-03-16 13:25:38 +08:00
Aditya Patwardhan
85b1efc729
Merge branch 'update/update_cmn_crt_authorities_csv' into 'master'
...
Update common cert authorities csv
See merge request espressif/esp-idf!22713
2023-03-16 12:59:48 +08:00
wangjialiang
87c694f44c
ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log
2023-03-16 12:29:44 +08:00
wangmengyang
20e596bbcf
esp_phy: fix failure of unit test for test_phy_rtc_init on ESP32-C6
...
- esp_phy_enable() blocks in the unit test due to the FE related functions in modem clock registers are not enabled. This MR adds dependency of FE for PHY module.
2023-03-16 12:13:00 +08:00
wanlei
a48d1a85c1
mspi: add test_app measuring time cost of mspi APIs
...
and merge mspi unit test into this
2023-03-16 11:11:43 +08:00
Gustavo Henrique Nihei
866c5cefa4
hal: Fix missing definition for "bool" type
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:22 +08:00
Gustavo Henrique Nihei
459ebff4ff
esp_hw_support: Fix check for SOC_MODEM_CLOCK_IS_INDEPENDENT definition
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:22 +08:00
Gustavo Henrique Nihei
29d85e3fa1
log: Fix function name in OS-independent implementation
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Gustavo Henrique Nihei
50145ed179
esp_rom: Remove STATUS struct in favor of ETS_STATUS
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Gustavo Henrique Nihei
3672144c9f
efuse: Remove dependency on bootloader component headers
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Sudeep Mohanty
c77b5752ef
Merge branch 'feature/freertos_schedule_unblocked_task_on_unsuspended_core' into 'master'
...
FreeRTOS-IDF: Schedule tasks unblocked by an ISR on a core with scheduler running if core affinity matches
Closes IDF-5856
See merge request espressif/esp-idf!22627
2023-03-16 00:20:44 +08:00
KonstantinKondrashov
776a0e8a20
efuse(esp32c6): Replace PKG_VERSION BLK_VERSION_MINOR BLK_VERSION_MAJOR
2023-03-15 23:15:32 +08:00
cjin
e317f07798
ble: update config in esp32h2 chip
2023-03-15 21:02:12 +08:00
liuning
14ca81f03f
rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3
2023-03-15 20:33:03 +08:00
David Čermák
76730607a7
Merge branch 'bugfix/lwip_opts_sock_macro_param' into 'master'
...
lwip: Fix lwiopts macro expansion
See merge request espressif/esp-idf!22745
2023-03-15 20:24:45 +08:00
Rahul Tank
a945b85543
Merge branch 'bugfix/add_debug_check' into 'master'
...
Nimble: Added debug relate flag around debug code
See merge request espressif/esp-idf!22764
2023-03-15 18:04:09 +08:00
Mahavir Jain
233d8e1a33
esp32c6: Ensure that previous PMP entry is correctly set for TOR case
2023-03-15 13:16:27 +05:30
Mahavir Jain
891df4eff9
Cleanup soc_memprot_types.h for C6/H2
...
This header is not required as there is no PMS peripheral in C6/H2
Closes IDF-6332
2023-03-15 13:16:27 +05:30
Mahavir Jain
b29ed0ba0b
test_apps: enable memprot tests for ESP32-H2 target
2023-03-15 13:16:26 +05:30
Mahavir Jain
fb1ef7c6d6
esp32h2: enable memory protection scheme using PMA and PMP
...
Closes IDF-6452
2023-03-15 13:16:18 +05:30
Sudeep Mohanty
9b81e2b189
freertos: Schedule tasks unblocked by an ISR on a core with scheduler running if core affinity matches
...
FromISR APIs would put an unblocked task on the pending ready list if
the scheduler is suspended on the current core, irrespective of the
task's core affinity and the state of the scheduler on the other core.
This commit updates this behavior by allowing tasks to get scheduled on
a core which has the scheduler running as long as the task's core
affinity allows it.
2023-03-15 07:43:33 +00:00
Darian
d3d5b77363
Merge branch 'bugfix/flakey_task_snapshot_tests' into 'master'
...
FreeRTOS: Fix flakey task snapshot tests
See merge request espressif/esp-idf!22743
2023-03-15 15:41:55 +08:00
Harshit Malpani
0cc243a8cc
esp_http_client: remove dependency of esp_stubs from esp_http_client. Add esp_event stubs in linux
component
2023-03-15 11:48:11 +05:30
Harshit Malpani
674fd8feb8
esp_http_client: Add support for esp_events
2023-03-15 11:48:11 +05:30
Jiang Jiang Jian
745c06626d
Merge branch 'h2/support-ecc' into 'master'
...
esp32h2: Add support for ECC hardware accelerator
See merge request espressif/esp-idf!22274
2023-03-15 14:06:23 +08:00
Jiang Jiang Jian
948a895f24
Merge branch 'bugfix/fix_ram_app_mmu_issue' into 'master'
...
RAM APP: fixed cannot use external memory correctly issue
Closes IDF-7019 and IDF-7039
See merge request espressif/esp-idf!22682
2023-03-15 14:04:44 +08:00
wanlei
d0c70aa7ac
mspi: turn down freq to fix crash when sleep
2023-03-15 11:26:34 +08:00
Armando
785bd812e9
cpu_start: move esp_rom_spiflash_attach earilier
...
esp_rom_spiflash_attach is called in cpu_start.c when it's
CONFIG_APP_BUILD_TYPE_RAM && !CONFIG_APP_BUILD_TYPE_PURE_RAM_APP.
This function will:
- reset MSPI
- configure MSPI IOs
- configure MSPI into slow read mode
Prior to this commit, this function is put quite late. It's OK for chips
earlier than C6. On C6 and H2, MMU registers are in SPI_MEM_x, so
resetting MSPI registers will also reset MMU registers.
After this commit, this funciton is called eariler, before
cpu_start.c: bootloader_init().
2023-03-15 10:59:20 +08:00
Armando
bae6680207
mmu: hal function to init, and hal function to unmap all
2023-03-15 10:59:20 +08:00
Armando
929b7717ff
system: fixed ram app cannot use mmu correctly issue
2023-03-15 10:59:20 +08:00
Zhi Wei Jian
ad1999f03c
Merge branch 'feature/support_esp32c3_new_app_lib' into 'master'
...
Update BLE lib for ESP32C3 and ESP32S3
Closes BLERD2QA23-11, BLEQABR23-60, BLERD2QA23-24, BT-3197, and BT-3215
See merge request espressif/esp-idf!22668
2023-03-15 10:54:42 +08:00
Zim Kalinowski
f6453b7938
bootloader: fix and re-enable no-format warnings
2023-03-15 00:28:31 +01:00
Oliver Schmidt
6beeecbbcf
Allow to config the maximum number of VFS entries.
2023-03-14 17:29:11 +01:00
Ondrej
2ec7fc8f10
esp_eth: allowed DM9051 to receive multicast packets
...
Removed extra PHY status link checks from DM9051 MAC layer
2023-03-14 13:59:27 +00:00
Roman Leonov
0b08570ae2
usb: usb_reg.h update missing register description
2023-03-14 13:29:20 +01:00
Rahul Tank
2fed59af2f
Nimble: Added debug relate flag around debug code
2023-03-14 16:57:40 +05:30
Mahavir Jain
72b7161612
Merge branch 'test/enable_esp_crt_bundle_tests_for_esp32h2' into 'master'
...
test: enable mbedtls esp_crt_bundle test for esp32h2
Closes IDF-6847
See merge request espressif/esp-idf!22725
2023-03-14 18:54:15 +08:00
Zim Kalinowski
db24be7010
Merge branch 'bugfix/esp-event-ignored-warnings' into 'master'
...
esp_event: fix and re-enable no-format warnings
Closes IDF-6795
See merge request espressif/esp-idf!22716
2023-03-14 17:51:42 +08:00
Zim Kalinowski
728b9e5368
Merge branch 'bugfix/heap-ignored-warnings' into 'master'
...
heap: fix and re-enable no-format warnings
Closes IDF-6802
See merge request espressif/esp-idf!22717
2023-03-14 17:50:54 +08:00
Darian Leung
e5559d7903
freertos: Fix flakey task snapshot tests
...
The task snapshot tests use esp_cpu_stall() to stall the other CPU before
manually walking the task lists. However, it is possible that the other CPU
was also accessing the task lists when esp_cpu_stall() is called, leading to
flakey tests
This commit fixes the test by using a 2-way handshake instead of
esp_cpu_stall().
2023-03-14 16:51:25 +08:00
zhiweijian
588626d64e
Fixed ATT Ignore wrong response error
2023-03-14 08:49:19 +00:00
Jakob Hasse
356f139ef8
Merge branch 'bugfix/pthread_condvar_test_wrong_deinit' into 'master'
...
Bugfix/pthread condvar test wrong deinit
See merge request espressif/esp-idf!22729
2023-03-14 16:19:12 +08:00
Jiang Jiang Jian
f3a32bc687
Merge branch 'fixbug/baidu_tcp_ooseq_assert' into 'master'
...
lw-ip:fixbug for tcp ooseq assert
Closes AUD-4354
See merge request espressif/esp-idf!22376
2023-03-14 14:45:06 +08:00
Jakob Hasse
8e2e61ad83
pthread: unit test builds only necessary components
2023-03-14 09:37:01 +08:00
Jakob Hasse
be7859ad43
pthread: fixed wrong deletion of condvar in unit test
2023-03-14 09:37:01 +08:00
David Cermak
ffd1386a2e
lwip: Fix lwiopts macro expansion
...
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
2023-03-13 19:32:11 +01:00
Jiang Jiang Jian
266a58f85b
Merge branch 'bugfix/add_rf_test_lib' into 'master'
...
esp_phy: Update esp32c3/s3 phy lib and add test lib
Closes WIFI-5097
See merge request espressif/esp-idf!22058
2023-03-13 20:21:47 +08:00
Jakob Hasse
0769298b3b
Merge branch 'contrib/github_pr_8987' into 'master'
...
pthread: avoid heap alloc in pthread_cond_timedwait if possible (GitHub PR)
Closes IDFGH-7409
See merge request espressif/esp-idf!22702
2023-03-13 19:34:21 +08:00
Sachin Parekh
0342bb8eab
esp32c6/ecc: Remove inverse multiplication mode
...
On C6, inverse multiplication mode is reserved and not available
2023-03-13 16:39:46 +05:30
Sachin Parekh
bbc99e5532
esp32c2/ecc: Remove support for inverse multiplication
...
On C2, inverse multiplication (division) mode uses the modular base P
instead of N making it impractical for ECC crypto calculation
2023-03-13 16:39:46 +05:30
Sachin Parekh
413fa38a45
hal/test_apps: Add no-os ecc test app
2023-03-13 16:39:46 +05:30
Sachin Parekh
a485b1cb67
esp32h2: Add support for ECC hardware accelerator
2023-03-13 16:39:46 +05:30
zwj
a9d9f115c3
- Support ESP32C3 and ESP32S3 new BLE lib
...
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-03-13 10:47:18 +00:00
Zim Kalinowski
ba5fa07bc3
Merge branch 'bugfix/ulp-ignored-warnings' into 'master'
...
ulp: fix and re-enable no-format warnings
Closes IDF-6804
See merge request espressif/esp-idf!22718
2023-03-13 17:49:17 +08:00
Jakob Hasse
96a4abdbec
Merge branch 'bugfix/pthread-ignored-warnings' into 'master'
...
pthread: fix and re-enable no-format warnings
Closes IDF-6803
See merge request espressif/esp-idf!22719
2023-03-13 16:12:41 +08:00
C.S.M
f17bf1dd6a
Merge branch 'cleanup/unicore_reset' into 'master'
...
system: Clean up code, some single core chips have useless dual-core code
See merge request espressif/esp-idf!22698
2023-03-13 15:29:07 +08:00
xueyunfei
336fc879b3
1 dhcp: Fix dhcp_fine_tmr() not to use netif after free
...
2 tcp_in/ooseq: Fix incorrect segment trim when FIN moved
* Update submodule: git log --oneline 10197b212a95c49c733fb18ffed56cafb0d196d4..d5e56d06658ae11292be1baea56204f7120b6fa7
Detailed description of the changes:
- dhcp: Fix dhcp_fine_tmr() not to use netif after free (esp-lwip@d5e56d06)
- tcp_in/ooseq: Fix incorrect segment trim when FIN moved (esp-lwip@9e62afff)
- netdb:fixed addrtype and length in gethostbyname (esp-lwip@aee6b3ed)
- lwip/napt: Added api to enable/disable napt based on lwip netif (esp-lwip@280c3d61)
- lwip/dhcp: Fixed ondemand fine timers bug, that allowed only one dhcp (esp-lwip@86df9f44)
2023-03-13 15:21:26 +08:00
harshal.patil
6b8bc64f31
test: enable mbedtls esp_crt_bundle test for esp32h2
2023-03-13 12:00:01 +05:30
Jakob Hasse
03bc6488de
bugfix(esp_system): made watchpoint setting configuration-dependent
...
esp_execute_shared_stack_function always restored the stack watchpoint
regardless of CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK. This would lead
to an abondoned but active watchpoint on a former stack once the task
calling esp_execute_shared_stack_function is deleted, if
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is inactive.
This has been fixed now.
Closes https://github.com/espressif/esp-idf/issues/10414
2023-03-13 14:24:15 +08:00
Jiang Jiang Jian
251e0c5fc7
Merge branch 'bugfix/fix_adv_scan_state_conflict' into 'master'
...
Bluedroid: fix adv and scan state conflict
See merge request espressif/esp-idf!22685
2023-03-13 10:52:40 +08:00
Jiang Jiang Jian
abc43d8e94
Merge branch 'bugfix/some_small_fix_for_sleep' into 'master'
...
esp_hw_support/sleep: update soc caps for chips that support power down modem
Closes WIFI-4424
See merge request espressif/esp-idf!20198
2023-03-13 10:47:26 +08:00
Jiang Jiang Jian
d4a358a115
Merge branch 'bugfix/fix_sc_send_failure_and_exit_issue' into 'master'
...
smartconfig: fix the issue of sending failure and exit
Closes WIFI-3844
See merge request espressif/esp-idf!22604
2023-03-13 10:41:28 +08:00
Jiang Jiang Jian
3cad41ee77
Merge branch 'bugfix/wpa3_softap_supplicant_coverity_fixes' into 'master'
...
esp_wifi: Fix some SAE SoftAP issues
Closes WIFI-5493, WIFI-5498, IDF-7028, WIFI-5516, and WIFI-5515
See merge request espressif/esp-idf!22574
2023-03-13 10:33:27 +08:00
Cao Sen Miao
8b5f4f54fc
system: Clean up code, some single core chips have useless dual-core code
2023-03-13 10:27:57 +08:00
Marius Vikhammer
75591a8a13
Merge branch 'ci/driver_single_board' into 'master'
...
ci: update test apps to use run_all_single_board_cases
See merge request espressif/esp-idf!22669
2023-03-13 09:25:42 +08:00
Mark H. Spatz
0abd1cb51f
[esp-tls] Add addr_family option to esp_tls_cfg_t
2023-03-12 17:41:30 -04:00
Zim Kalinowski
ff3a3ac411
pthread: fix and re-enable no-format warnings
2023-03-12 21:49:57 +01:00
Zim Kalinowski
5016eb6269
ulp: fix and re-enable no-format warnings
2023-03-12 21:47:24 +01:00
Zim Kalinowski
f6fc5e3c31
heap: fix and re-enable no-format warnings
2023-03-12 21:45:11 +01:00
Zim Kalinowski
dca8ee21ee
esp_event: fix and re-enable no-format warnings
2023-03-12 21:40:47 +01:00
Shreyas Sheth
c797146f43
wpa_supplicant: Resolve WPA3 SAE softAP coverity issues
...
1) Resolve wpa_suppliant coverity issues caused by SAE softAP
2) Fix crash occured while deinitialization of softAP
when authmode is changed
3) Fix issue related to anti clogging token and send_confirm
4) Put some AP specific functions under ESP_WIFI_SOFTAP_SUPPORT
compilation flags
2023-03-12 17:33:17 +05:30
Espressif BOT
e174fc967e
Update common cert authorities csv
2023-03-12 11:00:24 +08:00
Song Ruo Jing
3ec287eaa5
Merge branch 'feature/ledc_gamma_curve_support' into 'master'
...
ledc: Support gamma curve fade feature
Closes IDF-5811 and IDF-6236
See merge request espressif/esp-idf!22486
2023-03-12 07:54:08 +08:00
Wu Zheng Hui
c8364fb921
Merge branch 'feature/add_wakeup_cost_info_to_dslp_wakestub_example' into 'master'
...
feature: add wake up time cost info to deep_sleep_wake_stub example
See merge request espressif/esp-idf!22683
2023-03-11 15:11:53 +08:00
Rahul Tank
9e0502daeb
Merge branch 'bugfix/macro_adjustment' into 'master'
...
NimBLE : Correct macro usage
Closes IDF-6565
See merge request espressif/esp-idf!22528
2023-03-11 14:43:49 +08:00
morris
f8d68efcbf
Merge branch 'bugfix/atomic_gptimer_fsm' into 'master'
...
gptimer: fix race condition between start and stop
See merge request espressif/esp-idf!22620
2023-03-11 09:40:17 +08:00
Jiang Jiang Jian
d5f53fb415
Merge branch 'feature/nan_datapath' into 'master'
...
NAN Datapath support and console example
Closes WIFI-1223
See merge request espressif/esp-idf!13593
2023-03-11 04:50:10 +08:00
Darian
a8948eb130
Merge branch 'refactor/xtensa_default_vectors' into 'master'
...
Xtensa: Move default vectors back into xtensa_vectors.S
Closes IDF-7022
See merge request espressif/esp-idf!20512
2023-03-11 01:00:48 +08:00
morris
2d52334e5d
gptimer: fix race condition between start and stop
...
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-10 23:27:29 +08:00
Konstantin Kondrashov
ed97d230c8
Merge branch 'ci/fix_ipc_tests' into 'master'
...
ipc: Mitigates and speeds up some ipc tests
Closes IDFCI-1638
See merge request espressif/esp-idf!22657
2023-03-10 21:48:00 +08:00
Roman Leonov
6777579cb6
Merge branch 'bugfix/usb_host_enumeration_delay' into 'master'
...
USB Host: SetAddress recovery interval + menuconfig configuration
Closes IDFGH-9036, IDFGH-9340
See merge request espressif/esp-idf!22607
2023-03-10 20:19:12 +08:00
C.S.M
b0b99a9a1b
Merge branch 'feature/flash_support_h2' into 'master'
...
spi_flash: Allow clock frequency up to 64M on ESP32H2
See merge request espressif/esp-idf!22476
2023-03-10 19:13:03 +08:00
C.S.M
b42f6e3e13
Merge branch 'bugfix/reenable_gpio_usb_pins_on_h2' into 'master'
...
gpio: Re-enable gpio usb pins test cases on esp32h2
Closes IDF-6845
See merge request espressif/esp-idf!22687
2023-03-10 17:25:59 +08:00
wuzhenghui
8820efe2e1
feature: add wake up time cost info to deep_sleep_wake_stub example
2023-03-10 16:37:02 +08:00
MacDue
253b952f4d
pthread: avoid heap alloc in pthread_cond_timedwait
2023-03-10 15:52:27 +08:00
Marius Vikhammer
0be8e03907
ci: update test apps to use run_all_single_board_cases
2023-03-10 14:27:09 +08:00
jingli
cb0f517fe3
soc/soc_caps: update soc caps for chips that support power-down of modem hardware
...
Closes WIFI-4424
2023-03-10 14:15:27 +08:00
Armando (Dou Yiwen)
1b4643d323
Merge branch 'refactor/create_mspi_timing_tuning_ll' into 'master'
...
mspi: create mspi timing tuning ll
Closes IDF-6638
See merge request espressif/esp-idf!21924
2023-03-10 14:14:23 +08:00
Darian Leung
29ec3fbacf
xtensa: Move default vectors back into xtensa_vectors.S
...
The default implementation of some xtensa vectors were previously moved to
"xtensa_vector_defaults.S" as weak functions so that they could be overriden.
This commit moves these default vectors back into "xtensa_vectors.S" in
preparation for further refactoring of the xtensa component.
2023-03-10 13:59:01 +08:00
Zim Kalinowski
44df8624ed
Merge branch 'bugfix/freertos-fix-ignored-warnings' into 'master'
...
freertos: fix and re-enable no-format warnings
Closes IDF-6798
See merge request espressif/esp-idf!22638
2023-03-10 13:58:45 +08:00
Nachiket Kukade
4c76af3f68
esp_wifi: Add support for NAN Discovery and Datapath
...
Update wifi lib with below -
1. Create NAN Discovery SM for beaconing & cluster formation
2. Create NAN interface for Tx/Rx of beacons & action frames
3. Add commands & events for NAN Services Publish/Subscribe/Followup
4. Add NAN Datapath definitions, Events, Peer structures
5. Support for forming and parsing of Datapath related attributes
6. Modules for NDP Req, Resp, Confirm, Term, Peer management
7. NAN Interface related additions in Datapath, Data Tx Q's
In addition include below changes -
1. Add netif and driver support for NAN Interface
2. Add simple examples for Publisher-Subscriber usecases
3. Add an advanced console example that supports commands
for NAN Discovery, Services & Datapath
4. Add wifi_apps for providing better NAN API's and Peer management
Co-authored-by: Shyamal Khachane <shyamal.khachane@espressif.com>
2023-03-10 11:18:23 +05:30
Roshan Bangar
de7a7b41b7
NimBLE : Correct macro usage
2023-03-10 11:05:41 +05:30
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +08:00
Rahul Tank
8fc0343e5a
Merge branch 'bugfix/modify_configuration_for_ble_5' into 'master'
...
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips
See merge request espressif/esp-idf!22409
2023-03-10 12:35:39 +08:00
Island
b43cde7463
Merge branch 'bugfix/esp32c2_acl_flow_ctrl_err' into 'master'
...
Bugfix/esp32c2 acl flow ctrl err
See merge request espressif/esp-idf!22689
2023-03-10 12:26:06 +08:00
Mahavir Jain
00f30bb199
Merge branch 'esp32c6/fix_pmp_config' into 'master'
...
esp32c6: Fix incorrect PMP configuration
Closes IDF-6927
See merge request espressif/esp-idf!22435
2023-03-10 12:21:30 +08:00
Cao Sen Miao
bc655a6890
spi_flash: Allow clock frequency up to 64M, and make it default on ESP32H2
2023-03-10 11:39:53 +08:00
Armando (Dou Yiwen)
7f7b0a70eb
Merge branch 'feature/spi_flash_verify_write' into 'master'
...
spi_flash: verify_write feature, and ESP-IDF vs ESP-ROM spi flash driver difference doc
Closes IDF-5624
See merge request espressif/esp-idf!19998
2023-03-10 10:07:43 +08:00
Marius Vikhammer
dfedaa2b65
Merge branch 'feature/c6_ulp' into 'master'
...
ulp: added basic support for building and running a binary in the lp core
Closes IDF-6829 and IDF-6272
See merge request espressif/esp-idf!22554
2023-03-10 09:56:38 +08:00
xiehang
c8d7c9bd71
Add the output RX result command
2023-03-10 09:29:27 +08:00
Jiang Jiang Jian
1f05281913
Merge branch 'bugfix/fix_hidh_connection_bug' into 'master'
...
Bugfix/Fix HID Host bug when handling the two consecutive connection request
Closes IDFGH-9100
See merge request espressif/esp-idf!21988
2023-03-10 03:48:48 +08:00
Darian
77ca79a5e9
Merge branch 'refactor/freertos_check_scheduler_suspend_asserts' into 'master'
...
FreeRTOS(IDF): Refactor configASSERTs for scheduler suspension
Closes IDF-5889
See merge request espressif/esp-idf!22576
2023-03-09 20:19:57 +08:00
zwl
45d207572b
Add hci uart pin reconfig API
2023-03-09 20:03:08 +08:00
zwl
57c7310512
ble: Add assertion checking for bluedroid hci on ESP32-C2,ESP32-C6 and ESP32-H2
2023-03-09 20:02:23 +08:00
Zim Kalinowski
70ba19b806
freertos: fix and re-enable no-format warnings
2023-03-09 12:43:11 +01:00
zwl
620cbfd428
ble: Fixed flow control count error on ESP32-C2
2023-03-09 19:29:52 +08:00
Armando
36532aaea8
mspi: make mspi_timing_tuning.h available for all supported targets
2023-03-09 10:38:32 +00:00
Armando
99882ac2d1
mspi: mspi timing tuning ll
2023-03-09 10:38:32 +00:00
Wang Meng Yang
9c1897028a
Merge branch 'bugfix/avrcp_psth_cmd_rsp' into 'master'
...
bt:Added a parameter to tell the user the result of the pass through command implementation
Closes BT-2233
See merge request espressif/esp-idf!22474
2023-03-09 17:48:15 +08:00
Jiang Jiang Jian
e63f609501
Merge branch 'bugfix/fix_fast_packets_handling' into 'master'
...
Nimble: Retry buffer allocation, if previous allocation fails
Closes BT-2473 and IDFGH-9487
See merge request espressif/esp-idf!22586
2023-03-09 17:44:54 +08:00
Isha Pardikar
da10eff2b3
Merge branch 'bugfix/IDFGH_9535' into 'master'
...
wifi_prov_mgr : Fixed return value of characteristic read operation in nimble
See merge request espressif/esp-idf!22623
2023-03-09 17:25:08 +08:00
Song Ruo Jing
5c5cfbc7c7
gpio: Re-enable gpio usb pins test cases on esp32h2
2023-03-09 17:21:43 +08:00
KonstantinKondrashov
ced3c50cd6
ipc: Mitigates and speeds up some ipc tests
...
Test ipc_isr two tasks use IPC function calls
Test multiple ipc_calls
Closes IDFCI-1638
2023-03-09 17:08:45 +08:00
chenjianhua
7bbfd28d44
bluedroid: fix adv and scan state conflict
2023-03-09 16:36:54 +08:00
Aditya Patwardhan
38b036e9ae
Merge branch 'bugfix/fix_esp_http_client_host_test_failures' into 'master'
...
esp-tls: Fix esp-tls component to resolve esp_http_client example failure for Linux target.
Closes IDFCI-1646 and IDFCI-1647
See merge request espressif/esp-idf!22584
2023-03-09 15:46:00 +08:00
Shu Chen
47852846d3
Merge branch 'bugfix/ieee802154_rst_clock' into 'master'
...
ieee802154: update lib to change esp32h2 clock init
See merge request espressif/esp-idf!22659
2023-03-09 15:16:07 +08:00
Roman Leonov
be899f6653
usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig.
...
Closes https://github.com/espressif/esp-idf/issues/10444
Closes https://github.com/espressif/esp-idf/issues/10718
2023-03-09 08:11:05 +01:00
Armando
d35b6dd852
spi_flash: support write verify feature on esp_flash_write_encrypted API
2023-03-09 14:55:13 +08:00
Armando
110853517a
spi_flash: support write verify feature on esp_flash_write API
2023-03-09 14:55:13 +08:00
gaoxu
44dd14dde4
support SPI_FLASH_VERIFY_WRITE feature on esp_flash driver and add config to test it
2023-03-09 14:55:13 +08:00
Wu Zheng Hui
31acd5d509
Merge branch 'bugfix/fix_ssc_crash_when_light_sleep_with_main_xtal_power_on' into 'master'
...
ssc/uart: disable UART_INTR_BRK_DET interrupt to avoid ssc crash when light sleep
See merge request espressif/esp-idf!21252
2023-03-09 14:53:06 +08:00
liqigan
20c9efed4d
fix HID Host bug when handling the two consecutive connection request
...
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-09 14:25:25 +08:00
Sachin Parekh
ed0a1f7b52
esp32c6: Fix incorrect PMP configuration
...
- Enable pytest memprot tests for C6
2023-03-09 11:37:29 +05:30
Sachin Parekh
7bd5d93905
esp_hw_support: Move cpu protection in port files
2023-03-09 11:37:29 +05:30
muhaidong
fcdea7e9d4
smartconfig: fix the issue of sending failure and exit
2023-03-09 05:17:50 +00:00
WanqQixiang
44d1ee0d1d
openthread: Fix errors after disabling IPv4 in LwIP
2023-03-09 11:19:31 +08:00
Jiang Jiang Jian
2f7aa5abe8
Merge branch 'feature/add_mldv6_report' into 'master'
...
lwip: solve some routers do not forward multicast packet issue
Closes WIFI-5132
See merge request espressif/esp-idf!21881
2023-03-09 10:43:13 +08:00
jingli
238f31d93b
uart: add low level func for uart to set err wr mask
2023-03-09 10:28:33 +08:00
Marius Vikhammer
284dabf17f
ulp: added basic support for building and running a binary in the lp core
2023-03-09 10:12:23 +08:00
Martin Vychodil
f8383f439f
Merge branch 'feature/sd_perf_uplift' into 'master'
...
fatfs: fstat - enable setting a custom preferred block size
Closes IDF-6978
See merge request espressif/esp-idf!22522
2023-03-09 00:03:02 +08:00
xiaqilin
f1cf243385
ieee802154: update lib to change esp32h2 clock init
...
esptool: remove no_stub for esp32h2
2023-03-08 21:12:40 +08:00
Zim Kalinowski
05037957c7
Merge branch 'docs/broken_links_2' into 'master'
...
docs: fix broken links
See merge request espressif/esp-idf!22611
2023-03-08 18:12:24 +08:00
Zhang Wen Xu
10864e353a
Merge branch 'support/openthread_upstream_update' into 'master'
...
openthread: update openthread upstream
See merge request espressif/esp-idf!22559
2023-03-08 18:00:07 +08:00
Martin Vychodil
e0a206ec8b
Merge branch 'bugfix/esp_partition_unload_fix' into 'master'
...
esp_partition: Fixed use-after-free issue (coverity)
Closes IDF-6165 and IDF-6999
See merge request espressif/esp-idf!22608
2023-03-08 17:41:36 +08:00
Harshit Malpani
866e6b0d6b
esp-tls: Fix esp-tls component to resolve esp_http_client example failure for Linux target.
...
esp_http_client does not use lwip component when building for linux target. Using lwip configs directly in esp-tls caused the test failures
2023-03-08 14:56:04 +05:30
xueyunfei
ad0b32c662
lwip: solve some routers do not forward multicast packet issue
2023-03-08 16:58:29 +08:00
Adam Múdry
16915556a3
fatfs: fstat - enable setting a custom preferred block size
...
Enables setting a custom st_blksize in fatfs vfs fstat function.
Directly affects file buffer size for fatfs.
Increasing the value helps with fread and fgets speeds, however increases heap usage.
Added info to docs about improving I/O performance.
2023-03-08 09:09:47 +01:00
Rahul Tank
eb304455d5
Nimble: Added change to give time to allocate buffers, in case previous
...
allocation fails
Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-08 12:31:41 +05:30
Jiang Jiang Jian
7dd7498212
Merge branch 'bugfix/add_mmu_pwr_ctrl_reg_to_retention_link' into 'master'
...
bugfix: esp32c6 light sleep minor fixes
Closes WIFI-5353
See merge request espressif/esp-idf!22619
2023-03-08 14:44:51 +08:00
Rahul Tank
d89736babf
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips
2023-03-08 11:59:43 +05:30
Jiang Guang Ming
fc9538c63d
Merge branch 'feature/add_more_pytest_config_to_flash_mmap' into 'master'
...
flash mmap: more config options for flash mmap test app
See merge request espressif/esp-idf!21991
2023-03-08 13:44:29 +08:00
Omar Chebib
0fa63be9d1
Merge branch 'bugfix/fix_psram_kconfig_help' into 'master'
...
psram: removed deprecated statement about coredump and external BSS
See merge request espressif/esp-idf!22561
2023-03-08 13:31:53 +08:00
Martin Vychodil
744742cb3d
host_test:
...
[fatfs, wl]: partition.c interim update to work around non-Linux target
[partition_api_test]: cleanup, new function for tmp filename generation
2023-03-08 05:06:30 +00:00
Martin Vychodil
a2b4b27b62
esp_partition: Fixed use-after-free issue (coverity)
2023-03-08 05:06:30 +00:00
Martin Vychodil
cd747165df
Merge branch 'fix/sdmmc_cmd_sector_count_shouldnt_be_zero' into 'master'
...
sdmmc: read/write/erase return early on sector count == 0
Closes IDFGH-9203
See merge request espressif/esp-idf!22440
2023-03-08 13:01:51 +08:00
xiehang
481c264d0d
Add cert test example
2023-03-08 11:03:33 +08:00
xiehang
de4091b0d8
esp_phy: Add RF certification APIs
2023-03-08 11:03:16 +08:00
Ivan Grokhotkov
e0009e6d9e
Specification Kconfig description
2023-03-08 11:01:49 +08:00
xiehang
9c8b7fc0dd
esp_phy: Update esp32c3/s3 phy lib and add test lib
2023-03-08 11:01:31 +08:00
zhangwenxu
976cdd7d7e
openthread: update openthread upstream
...
* openthread upstream(091f68ed)
2023-03-08 10:55:51 +08:00
Jiang Jiang Jian
fe979e6513
Merge branch 'feature/merge_c3_s3_bt_files_to_one' into 'master'
...
Merge ESP32C3 and ESP32S3 BLE bt.c, esp_bt.h and kconfig files to one
Closes BT-3209
See merge request espressif/esp-idf!22453
2023-03-08 10:53:01 +08:00
Jiang Jiang Jian
54b0779b34
Merge branch 'support/esp32h2_phy_lib' into 'master'
...
esp_phy: update esp32h2 libphy
See merge request espressif/esp-idf!22622
2023-03-07 23:53:51 +08:00
wuzhenghui
43bf9fd3ab
bugfix: fix wrong lock in sleep retention entry destroy
2023-03-07 20:56:13 +08:00
Darian Leung
353b25410a
freertos: Refactor configASSERTs for scheduler suspension
...
This commit adds a common macro for the differing configASSERT() calls that
check if the scheduler is suspended outside a critical section. This macro
allows vanilla behavior to be restored for single core builds. Also added
comments explaining why xTaskGetSchedulerState() is called instead when
building for SMP.
2023-03-07 18:12:15 +08:00
Darian
daf4150846
Merge branch 'refactor/freertos_port_malloc_macros' into 'master'
...
FreeRTOS(IDF): Refactor pvPortMalloc()/vPortFree(), Implement IDF heap wrapper for FreeRTOS.
Closes IDF-3997
See merge request espressif/esp-idf!22565
2023-03-07 17:30:10 +08:00
Li Shuai
ffcec33057
modem clock: enable all clock enable of wifi module when PMU switch to ACTIVE from sleep state
2023-03-07 16:19:39 +08:00
Mahavir Jain
56dc272514
Merge branch 'feature/esp32h2_secure_boot' into 'master'
...
esp32h2: add secure boot feature support
Closes IDF-6281 and IDF-6681
See merge request espressif/esp-idf!22625
2023-03-07 15:27:04 +08:00
jiangguangming
87f2eb9e2a
esp_rom: put rom cache related functions to cache.h
2023-03-07 14:51:24 +08:00
Zim Kalinowski
afbdb0f3ef
Merge branch 'bugfix/console-fix-ignored-warnings' into 'master'
...
console: fix and re-enable no-format warnings
Closes IDF-6791
See merge request espressif/esp-idf!22534
2023-03-07 14:23:05 +08:00
Zim Kalinowski
9c75cbfecd
Merge branch 'bugfix/efuse-fix-ignored-warnings' into 'master'
...
efuse: reenable and fix no-format warnings
Closes IDF-6794
See merge request espressif/esp-idf!22629
2023-03-07 14:18:05 +08:00
Jiang Jiang Jian
58b3692540
Merge branch 'bugfix/add_unregister_wpa3_cb' into 'master'
...
wpa_supplicant : Fix issues encountered in WFA testing
Closes WIFI-5386
See merge request espressif/esp-idf!22396
2023-03-07 14:15:20 +08:00
zhangwenxu
566ea41de9
esp_phy: update esp32h2 libphy
...
* phy_version: 101,0, 90773fa-dirty, Feb 27 2023, 16:19:13
2023-03-07 14:07:45 +08:00
Omar Chebib
9852cb49f7
psram: removed deprecated statement about coredump and external BSS
2023-03-07 05:59:08 +00:00
Konstantin Kondrashov
cf68a4c136
Merge branch 'feature/esp_timer_uses_shared_isr' into 'master'
...
esp_timer: Adds TASK and ISR AFFINITY to core options
Closes IDFGH-9053
See merge request espressif/esp-idf!21923
2023-03-07 13:38:23 +08:00
Jiang Jiang Jian
d1adc453b0
Merge branch 'bugfix/some_small_fix_for_sleep_examples' into 'master'
...
examples: some small fix for sleep examples
See merge request espressif/esp-idf!19052
2023-03-07 13:07:10 +08:00
Island
3ab20c1d26
Merge branch 'feature/support_ble_on_esp32h2' into 'master'
...
Feature/support ble on esp32h2
Closes IDF-6416 and IDF-6337
See merge request espressif/esp-idf!22221
2023-03-07 11:43:57 +08:00
Jiang Jiang Jian
a3b5472d99
Merge branch 'feature/password_identifier_sae' into 'master'
...
identifier support for SAE
See merge request espressif/esp-idf!19248
2023-03-07 11:19:19 +08:00
Zim Kalinowski
0c090b7308
efuse: reenable and fix no-format warnings
2023-03-06 19:08:00 +01:00
Darian Leung
4069a62629
freertos(IDF): Remove usage of xPortGetFreeHeapSize() outside FreeRTOS
...
After heap_idf.c has been added (where the FreeRTOS heap is a subset of the
ESP-IDF heap), xPortGetFreeHeapSize() was updated to only returns the free
size of the FreeRTOS heap and not the entire ESP-IDF heap.
This commit replaces calls of xPortGetFreeHeapSize() with
esp_get_free_heap_size() in places outside of FreeRTOS.
2023-03-07 02:02:28 +08:00
Adam Múdry
415e785135
sdmmc: read/write/erase return early on sector count == 0
...
Closes https://github.com/espressif/esp-idf/issues/10593
2023-03-06 15:45:04 +01:00
wuzhenghui
e213a7ffdd
bugfix: fix esp_mac_bb_power_up
2023-03-06 21:38:48 +08:00
Zim Kalinowski
2a8bbda6e4
console: Fix and re-enable no-format warnings
2023-03-06 14:12:31 +01:00
morris
66ab7c9f6a
Merge branch 'bugfix/timg0_disable' into 'master'
...
esp_system: Fix TIMG0 still enabled after Timer is freed
See merge request espressif/esp-idf!22503
2023-03-06 20:50:12 +08:00
jiangguangming
91b86f55d5
esp_system: use ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE instead of IDF_TARGET_XXX
2023-03-06 20:32:04 +08:00
jiangguangming
344d30c18e
esp_rom: add macro ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE for S3/C3/C2/C6/H2/H4
2023-03-06 19:47:18 +08:00
Jiang Guang Ming
5414eda027
flash mmap: disable mmap into instruction address
when SPI_FLASH_ROM_IMPL enabled
2023-03-06 19:47:18 +08:00
jiangguangming
232da4ca72
flash mmap: more config option for flash mmap test app
2023-03-06 19:47:15 +08:00
Mahavir Jain
d4ccdd48f6
esp32h2: add secure boot feature support
...
Closes IDF-6281
2023-03-06 16:57:45 +05:30
Mahavir Jain
d61f974a3d
esp32h2: enable secure boot feature related capabilities
2023-03-06 16:36:17 +05:30
isha.pardikar@espressif.com
e72d223737
wifi_prov_mgr : Fixed return value of characteristic read operation
2023-03-06 15:23:26 +05:30
Marius Vikhammer
24e0d91cd0
docs: fix broken links
2023-03-06 17:29:10 +08:00
Darian Leung
e21ab0332b
freertos(IDF): Refactor port heap functions
...
Vanilla FreeRTOS expects applications to use one of the heap implementations
provided by FreeRTOS (i.e., heap_x.c), where functions such as pvPortMalloc()
and vPortFree() are defined in the heap implementation.
However, ESP-IDF already provides its own heap implementation
(i.e., esp_heap_caps.h). Thus, the pvPortMallc()/vPortFree() functions were
previously overriden by macro to call esp_heap functions directly.
This commit refactors the FreeRTOS port's heap as such:
- Added a heap_idf.c that implements all of the heap related functions required
by FreeRTOS source
- All dynamic memory allocated by FreeRTOS is from internal memory. Thus, the
FreeRTOS heap is the internal memory subset of the ESP-IDF heap.
- Removed some old macros to reduce diff from upstream source code.
2023-03-06 16:00:29 +08:00
morris
1b8a2c264d
Merge branch 'feature/support_spi_flash_cache_test_on_c6_h2' into 'master'
...
spi_flash: enable spi flash cache test on c6 h2
Closes IDF-6931
See merge request espressif/esp-idf!22580
2023-03-06 15:39:09 +08:00
morris
cc2068684f
Merge branch 'feature/support_efuse_for_esp32c6' into 'master'
...
efuse: Updates efuse table for esp32c6
See merge request espressif/esp-idf!22400
2023-03-06 15:33:11 +08:00
zwj
a5e43a7d43
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-03-06 14:53:03 +08:00
wuzhenghui
f44e0cdb80
bugfix: add SPI_MEM_MMU_POWER_CTRL_REG to REGDMA_SPIMEM_LINK
2023-03-06 13:41:36 +08:00
gauri patankar
6f7cf98ffe
esp_wifi: SAE Password Identifier support
2023-03-06 11:04:20 +05:30
Gustavo Henrique Nihei
2a2bd0f8ff
esp_system: Fix TIMG0 still enabled after Timer is freed
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 04:58:11 +00:00
Gustavo Henrique Nihei
3cbac3dd1d
esp_system: Ensure TIMG0 clock is always enabled during normal operation
...
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 04:58:11 +00:00
morris
117279ebe1
Merge branch 'test/gptimer_late_alarm' into 'master'
...
gptimer: test late alarm
Closes IDFGH-9522
See merge request espressif/esp-idf!22572
2023-03-06 12:22:22 +08:00
jingli
e38e5be9ac
system/test: use TEST_ESP_OK instead of ESP_ERROR_CHECK
2023-03-06 10:58:18 +08:00
jingli
955f2838fc
konfig: make rtc fast mem related kconfig depend on SOC_RTC_FAST_MEM_SUPPORTED
2023-03-06 10:58:18 +08:00
Shen Weilong
e77a07e5d0
esp_phy: Add libphy for esp32h2
2023-03-06 10:43:17 +08:00
Shen Weilong
f39648040e
BLE: Add ble support for esp32h2
2023-03-06 10:43:17 +08:00
laokaiyao
40f1709a1f
Revert "i2s: guarantee safety of memcpy from being interrupted by uart logging"
...
This reverts commit 646fd5e15a
.
2023-03-05 14:10:12 +00:00
laokaiyao
754aa7d128
sdm: adopt clock tree
2023-03-05 14:10:12 +00:00
laokaiyao
fd5bfb2cd4
sdm: fixed wrong sdm struct sequence on esp32h2
2023-03-05 14:10:12 +00:00
morris
004c1713b6
gptimer: test late alarm
...
Closes https://github.com/espressif/esp-idf/issues/10877
2023-03-05 13:59:23 +00:00
Wu Zheng Hui
af805df3cb
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_modem' into 'master'
...
esp32c6: support light_sleep (Stage 3: support Modem power down)
Closes WIFI-5150, WIFI-5151, and IDF-5679
See merge request espressif/esp-idf!22236
2023-03-05 09:23:59 +08:00
Jiang Guang Ming
3556fe9326
spi_flash: enable spi flash cache test on c6 h2
2023-03-04 07:23:59 -08:00
Martin Vychodil
698752684e
Merge branch 'feature/storage_esp_partition_linux_file' into 'master'
...
ESP Partition/Linux: Extended control of file emulating flash memory
Closes IDF-4701
See merge request espressif/esp-idf!22110
2023-03-04 20:01:51 +08:00
Armando
89fa53f1c0
mmu: support configurable mmu page size
2023-03-04 02:48:40 +00:00
Martin Vychodil
abc4d67a9d
Storage: Fixed formatting of esp_partition Linux code
2023-03-03 23:57:34 +00:00
radek.tandler
e9e388a085
Storage: ESP Partition extended options for the SPI Flash emulation
...
Various extensions and fixes to improve Linux target SPI Flash emulation. Used by the host tests
2023-03-03 23:57:34 +00:00
wuzhenghui
15eb1931c0
soc: clean WIFI unsupport soc_caps
2023-03-04 00:17:40 +08:00
wuzhenghui
fd7e8abd73
workaround: bypass esp32c6 flash powedown sleep time adjustment
2023-03-04 00:17:40 +08:00
wuzhenghui
45c2900ec0
resolve WIFI-5150
...
bugfix: Don't hold CS pin when VDDSDIO is power down to reduce the base current
2023-03-04 00:17:40 +08:00
Li Shuai
7ee1b09433
power save: wifi beacon monitor support for esp32c6
...
power save: fix multicast more data always true cause wifi goto sleep fail
2023-03-04 00:17:40 +08:00
wuzhenghui
8a69bc4f9e
power save: fix some auto beacon issues and add some ps features for esp32c6
2023-03-04 00:17:40 +08:00
Li Shuai
1a10eabe41
Power Management: refactor the configuration of each module in sleep mode
2023-03-04 00:17:40 +08:00
Li Shuai
200f69e6eb
auto beacon: support esp32c6 autobeacon (advanced DTIM sleep feature)
...
modem retention: Support esp32c6 wifi MAC and baseband sleep retention
sleep_modem: wifi MAC modem wakeup protect in modem state before PMU trigger sleep enable request
sleep modem: provide a interface to get whether the Modem power domain is allowed to power off during sleep
add i2c_ana master header file to project
auto beacon: release PMU's lock on root clock source (it is locked in the PLL)
wifi receiving beacon frame in PMU modem state strongly depends on the BBPLL
clock, PMU will forcibly lock the root clock source as PLL, when the root
clock source of the software system is selected as PLL, we need to release
the root clock source locking.
When it is judged that the PLL is locked by PMU after wakeing up from the PMU
modem state, switch the root clock source to the PLL in the sleep process (a
critical section).
auto beacon: fix the failure to receive broadcast/multicast frames in modem state
When the multicast field in the beacon frame received in the PMU modem state is
True, the PMU switches to the PMU active state (the PMU waits for the HP LDO to
stabilize and then restores the MAC context) and starts to receive
broadcast/multicast frames (Broadcast/Multicast frames will be sent after a
minimum delay of 48 us after the beacon frame), because the PMU waits for the HP
LDO to stabilize too long (~154 us), which will cause broadcast/multicast frame
reception to be missed.
auto beacon: select the PLL clock source as the REGDMA backup clock source when the PMU switches to ACTIVE from MODEM state
update Digital Peripheral (M2A switch) REGDMA restore time parameter
auto beacon: fix the issue that only channel 1 can connect to AP in modem state
2023-03-04 00:17:40 +08:00
Li Shuai
93c02fed3b
light sleep: add modem power domain and power down the modem power domain during sleep
2023-03-04 00:17:40 +08:00
Li Shuai
3a5fe2ab63
light sleep: rename sleep mac bb to modem, it includes MAC and baseband of wifi, bt and ieee802.15.4 modules
2023-03-04 00:17:40 +08:00
Li Shuai
f95854dc8f
soc_caps: add SOC_PM_MODEM_RETENTION_BY_REGDMA caps
...
soc_caps: add SOC_PM_SUPPORT_BEACON_WAKEUP caps
soc_caps: add SOC_PM_SUPPORT_PMU_MODEM_STATE caps
soc_caps: add SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW caps
soc_caps: add SOC_PM_SUPPORT_MAC_BB_PD caps
2023-03-04 00:17:40 +08:00
wuzhenghui
186da9af93
codeclean: rename sleep_periph to sleep_sys_periph
2023-03-04 00:17:40 +08:00
wuzhenghui
6f7eadf1ea
bugfix: fix wrong _ms suffix
2023-03-04 00:17:40 +08:00
wuzhenghui
7fcebce2e5
codeclean: fix struct volatile rule in pmu_struct.h/lp_timer.h
2023-03-04 00:17:40 +08:00
Shu Chen
370e250072
Merge branch 'bugfix/fix_bug_of_154_ci' into 'master'
...
ieee802154: fix bug of IEEE802154 receiving packets
See merge request espressif/esp-idf!22571
2023-03-04 00:11:17 +08:00
Wu Zheng Hui
2066977b48
Merge branch 'feature/bringup_esp32c6_deepsleep_support_master' into 'master'
...
esp32c6: bringup deepsleep examples
Closes IDF-6051, IDF-6052, IDF-5349, IDF-5924, and WIFI-5352
See merge request espressif/esp-idf!22300
2023-03-03 23:53:10 +08:00
term_est
14724d1cb9
Fix possible conversion errors by using __builtin_ffsll instead of __builtin_ffs
...
Signed-off-by: term_est <62337595+term-est@users.noreply.github.com>
2023-03-03 11:21:07 +03:00
C.S.M
679dae70cd
Merge branch 'feature/temperature_intr' into 'master'
...
temperature sensor: Add high/low value threshold interrupt support
Closes IDF-5786
See merge request espressif/esp-idf!22331
2023-03-03 15:31:23 +08:00
Wan Lei
40ca80397c
Merge branch 'test/add_spi_slave_freq_test' into 'master'
...
spi: add spi multiple config test
Closes IDF-5882
See merge request espressif/esp-idf!20125
2023-03-03 12:54:32 +08:00
Cao Sen Miao
840ff4f865
temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6
2023-03-03 10:38:40 +08:00
KonstantinKondrashov
449e4bcae7
esp_timer: Adds AFFINITY options for task and ISR
...
These new settings allow you to balance the load on cores.
Closes: https://github.com/espressif/esp-idf/issues/10457
2023-03-02 20:08:02 +08:00
wuzhenghui
975a53aee1
bugfix: workaround for CPU stuck due to DBUS request blocking when fetching unaligned instructions in LP_RAM
2023-03-02 18:10:10 +08:00
Song Ruo Jing
51777a6862
gpio: Fix io hold functionality on esp32c6 and esp32h2
2023-03-02 18:10:10 +08:00
wuzhenghui
7ee64bd8e8
refactor: always jump to wake stub wrapper after wakeup
2023-03-02 18:10:06 +08:00
Mahavir Jain
e364e1c102
Merge branch 'feature/esp32h2_enable_rsa_support' into 'master'
...
mbedtls: enable RSA support for esp32h2
Closes IDF-6284 and IDF-6415
See merge request espressif/esp-idf!22498
2023-03-02 15:06:24 +08:00
wuzhenghui
9eae151f7c
esp32c6: bringup deepsleep examples
2023-03-02 15:06:05 +08:00
wuzhenghui
d3ec7880fe
bugfix: support GPIO current leakage workaround for esp32c6/esp32h2
2023-03-02 15:06:05 +08:00
wuzhenghui
d1d6b7349f
pmu: pmu parameter adjustment
2023-03-02 15:06:05 +08:00
wuzhenghui
4e80c7544a
esp32c6: soc caps adjustment
2023-03-02 15:06:05 +08:00
wuzhenghui
709adaaa37
soc_caps: since esp32c6 only support one ext wakeup src, split SOC_PM_SUPPORT_EXT_WAKEUP
...
Close IDF-5924
2023-03-02 15:06:05 +08:00
Jiang Jiang Jian
df6b33712f
Merge branch 'Bugfix/softap_support_CIDR' into 'master'
...
Bugfix for softap support CIDR
Closes IDFGH-8574
See merge request espressif/esp-idf!22471
2023-03-02 14:03:00 +08:00
Marius Vikhammer
9ae7869a66
Merge branch 'feature/esp_system_pytest' into 'master'
...
esp-system: migrate test app cases to pytest
Closes IDF-5584
See merge request espressif/esp-idf!22461
2023-03-02 13:41:41 +08:00
Xu Si Yu
f8af6c3283
ieee802154: fix bug of IEEE802154 receiving packets
2023-03-02 12:07:39 +08:00
Marius Vikhammer
2f6a362be9
Merge branch 'bugfix/c6_pmp_ulp' into 'master'
...
hw-support: configure PMP to allow writing to ULP memory area
See merge request espressif/esp-idf!22555
2023-03-02 11:56:48 +08:00
Armando (Dou Yiwen)
6dc521325f
Merge branch 'bugfix/restore_test_attr_psram_test_scopte' into 'master'
...
esp_common: restore test_attr test scope for psram
See merge request espressif/esp-idf!22546
2023-03-02 11:21:26 +08:00
Armando (Dou Yiwen)
a807e0dbd0
Merge branch 'bugfix/fix_btld_app_overlap_c2' into 'master'
...
ld: fixed bootloader and app potential overlap issue on c3, c2, h2, c6
Closes IDF-4305
See merge request espressif/esp-idf!22511
2023-03-02 10:42:53 +08:00
Jakob Hasse
417838017f
Merge branch 'refactor/move_rom_test_to_fpga_only' into 'master'
...
esp_rom: miniz test only on FPGA
Closes IDFCI-1605
See merge request espressif/esp-idf!22445
2023-03-02 09:18:07 +08:00
Darian
640ba3c029
Merge branch 'feature/ringbuf_uses_event_lists' into 'master'
...
esp_ringbuf: Replace internal semaphores with task event lists
Closes IDF-875
See merge request espressif/esp-idf!22442
2023-03-02 01:58:44 +08:00
Zhang Wen Xu
26aba72125
Merge branch 'feature/fix_esp32h2_read_mac' into 'master'
...
efuse: fix esp_read_mac on esp32h2
See merge request espressif/esp-idf!22553
2023-03-02 01:37:03 +08:00
David Čermák
956e62c461
Merge branch 'feature/lwip_ipv6_only' into 'master'
...
lwip: Support IPv6 only mode
Closes IDF-6023
See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
David Čermák
4bef5f9056
Merge branch 'bugfix/lwip_sntp_enabled_missing' into 'master'
...
lw-ip: Add missing esp_sntp_enabled()
See merge request espressif/esp-idf!22480
2023-03-01 19:07:06 +08:00
Song Ruo Jing
0558d40c81
Merge branch 'contrib/github_pr_10856' into 'master'
...
Correct typo in referenced function name (GitHub PR)
Closes IDFGH-9496
See merge request espressif/esp-idf!22537
2023-03-01 18:39:11 +08:00
Xia Qi Lin
63d04942e5
Merge branch 'feature/esp32h2_support_ieee802154' into 'master'
...
ieee802154: add support esp32h2
Closes TZ-59
See merge request espressif/esp-idf!22379
2023-03-01 18:30:55 +08:00
morris
14555a19db
Merge branch 'feature/parlio_driver' into 'master'
...
Parallel IO TX driver && LED Matrix example
Closes IDF-6607
See merge request espressif/esp-idf!22163
2023-03-01 17:08:16 +08:00
harshal.patil
04cc562180
mbedtls: enable RSA support for esp32h2
2023-03-01 14:18:57 +05:30
jgujarathi
20c316d4cf
wpa_supplicant : Add disable for tls key usage check.
...
Disable the key usage check this leads to false negative results
while using wfa certificates during testing.
2023-03-01 14:14:26 +05:30
Song Ruo Jing
3bb34f9882
Merge branch 'bugfix/ledc_improper_fade_param_for_setting_duty' into 'master'
...
ledc: Fix improper fade parameters for one-time duty set
Closes IDF-6928
See merge request espressif/esp-idf!22547
2023-03-01 15:02:54 +08:00
jgujarathi
d9d1c3e334
wpa_supplicant : Add validations for 192-bit Suite B test cases.
...
Add validation for group data cipher, pairwise cipher and AKM Suites to
ensure correct ciphers are supported by AP during 192-bit Enterprise
connections.
2023-03-01 12:04:45 +05:30
zhangwenxu
c07ec73201
efuse: fix esp_read_mac on esp32h2
2023-03-01 14:14:30 +08:00
Marius Vikhammer
3f65959eef
hw-support: configure PMP to allow writing to ULP memory area
2023-03-01 12:50:28 +08:00
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
KonstantinKondrashov
a0408f7324
efuse: Updates efuse table for esp32c6
2023-02-28 17:13:21 +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
xiongweichao
3b5939396d
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-02-22 15:37:54 +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
muhaidong
4cb4faa998
esp_wifi: fix sta auth failed but softap shows it connected issue
2023-02-22 06:52:59 +00:00
Chip Weinberger
c39be8bc76
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-02-22 14:28:08 +08:00
morris
1c9b96ab37
Merge branch 'feature/support_efuse_for_esp32h2' into 'master'
...
efuse: Add support for esp32h2
Closes IDF-6252, IDF-4337, and IDF-6897
See merge request espressif/esp-idf!22393
2023-02-22 13:41:40 +08:00
Alexey Lapshin
1e65ea8889
hal: always inline mmu_ll_check_valid_paddr_region for esp32h2
2023-02-22 05:33:03 +00:00
Alexey Lapshin
36d0e275a0
hal: always inline clk_tree_ll functions
2023-02-22 05:33:03 +00:00
Alexey Lapshin
84ff4d6e37
esp_rom: always inline cache.h functions for esp32
2023-02-22 05:33:03 +00:00
Alexey Lapshin
85b48bfcc0
esp_netif: fix test_app_vfs_l2tap stack overflow
2023-02-22 05:33:03 +00:00
Alexey Lapshin
1e3c18a94a
esp_hw_support: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
ddd645e2c0
esp_event: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
4b54c49203
heap: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
bda5befdf5
esp_hid: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
adcdfa641c
wpa_supplicant: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
a7e51b2509
protocomm: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
75642ca07a
vfs: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
49af663dfb
esp_system: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
d4b7be4a73
bt: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
a32bbedcd9
newlib: implement 8/16-bit atomic operations for riscv
2023-02-22 05:33:03 +00:00
Alexey Lapshin
8849b1b5aa
newlib: fix and add new atomic tests for multicore chips
2023-02-22 05:33:03 +00:00
Alexey Lapshin
21d7fd9b03
gcov: use original libgcov.a with redefined symbols
2023-02-22 05:33:03 +00:00
Alexey Lapshin
61a7342acd
tools: add riscv zicsr/zifencei because they were separated from i
...
https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/aE1ZeHHCYf4
2023-02-22 05:33:03 +00:00
Alexey Lapshin
5389ac4e04
tools: cmake: ignore linker RWX segment warnings
2023-02-22 05:33:03 +00:00
Armando
c56eb8646b
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-22 12:37:40 +08:00
xieqinan
1f664bb4f7
openthread: add the configurable option of uart buffer size
2023-02-22 03:01:38 +00:00
laokaiyao
26f5441e0e
i2s: support bytes_read / bytes_written to be NULL
2023-02-22 02:44:53 +00:00
laokaiyao
7397b3f750
i2s: support preload data
...
Closes https://github.com/espressif/esp-idf/issues/8471
2023-02-22 02:44:53 +00:00
Alexey Lapshin
25cb9b3f0e
Merge branch 'fix/freertos-clang-riscv-port' into 'master'
...
freertos: riscv: implement vPortTaskWrapper with asm only
Closes IDF-6347
See merge request espressif/esp-idf!22199
2023-02-22 05:52:15 +08:00
Laukik Hase
9f0435faa4
mbedtls: Add test config with CONFIG_COMPILER_OPTIMIZATION_PERF
2023-02-21 18:45:25 +05:30
Laukik Hase
45df5b56d5
esp32/mpi: Added alternate workaround for MPI data corruption issue
...
- Use DPORT_WRITE_REG (volatile writes) wrappers to write to the
MPI peripheral
- Updated the previous workaround added for the same issue as it
was failing in some long runs and with `COMPILER_OPTIMIZATION_PERF`
enabled.
- The test performance numbers had to be updated due to the
performance penalty introduced by this fix.
Closes https://github.com/espressif/esp-idf/issues/10403
2023-02-21 18:43:54 +05:30
Wang Meng Yang
998711b4e7
Merge branch 'bugfix/blufi_notify' into 'master'
...
BluFi : Fixed hdr getting free twice
Closes IDFGH-9378
See merge request espressif/esp-idf!22416
2023-02-21 17:43:38 +08:00
Wan Lei
66cda021d0
Merge branch 'feature/h2_gpio_hysteresis_support' into 'master'
...
gpio: h2 support input hysteresis filter
Closes IDF-6653
See merge request espressif/esp-idf!22263
2023-02-21 17:27:56 +08:00
KonstantinKondrashov
f3394c488a
efuse: Add support for esp32h2
2023-02-21 08:18:14 +00:00
KonstantinKondrashov
cabfc75c3c
efuse: FPGA testing must be run only manually
2023-02-21 08:18:14 +00:00
KonstantinKondrashov
9eed575764
efuse: Adds feature for efuse table, it can accept aliases in comments
...
DIS_TWAI, EFUSE_BLK0, 46, 1, [DIS_CAN DIS_CAN_123] Represents whether TWAI function ...
2023-02-21 08:18:14 +00:00
Song Ruo Jing
987fd3208a
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32h2
Closes IDF-6265 and IDF-5973
See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Shen Weilong
c1329974a0
[esp32c2] Fixed the occasional assertion when deinit the ble controller
2023-02-21 14:03:37 +08:00
Wan Lei
cf5387fc76
Merge branch 'feature/h2_twai_support' into 'master'
...
twai: h2 support twai driver
Closes IDF-6217 and IDF-6673
See merge request espressif/esp-idf!22174
2023-02-21 11:43:51 +08:00
Jakob Hasse
a8661d0f97
refactor(esp_rom): miniz test only on FPGA now
2023-02-21 11:06:48 +08:00
Jing Li
75a82988f1
Merge branch 'refactor/wdt_use_unified_type' into 'master'
...
wdt: refactor wdt codes to use unified type
Closes IDF-5653
See merge request espressif/esp-idf!22378
2023-02-21 09:46:06 +08:00
Mahavir Jain
a9e7ccb166
Merge branch 'contrib/github_pr_10648' into 'master'
...
[AES] Timeout: return error dont abort (GitHub PR)
Closes IDFGH-9265
See merge request espressif/esp-idf!22266
2023-02-21 01:14:05 +08:00
wanlei
c9bcec9212
gpio: h2 support input hysteresis filter
2023-02-20 19:34:48 +08:00
cje
703a7b4156
update h2 i2c header file
2023-02-20 17:15:02 +08:00
Song Ruo Jing
2c2a62e323
clk_tree: Add basic clock support for esp32h2
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
Remove FPGA build for esp32h2
2023-02-20 17:15:02 +08:00
Marius Vikhammer
89190fab02
Merge branch 'bugfix/allow_coredump_gdb_simu' into 'master'
...
coredump: allow coredump at panic even if gdbstub is used.
Closes IDFGH-8567
See merge request espressif/esp-idf!22103
2023-02-20 16:07:57 +08:00
Sudeep Mohanty
522a216385
Merge branch 'feature/ulp_elf_output' into 'master'
...
ulp: Updated ULP CMakeLists.txt to output binary with .elf extension
Closes IDF-3060
See merge request espressif/esp-idf!22414
2023-02-20 15:08:35 +08:00
morris
10d0cc6e16
Merge branch 'bugfix/rmt_buffer_allocation' into 'master'
...
legacy rmt driver: fix wrong buffer allocation
See merge request espressif/esp-idf!22367
2023-02-20 15:02:13 +08:00
isha.pardikar@espressif.com
14aa55b353
BluFi : Fixed hdr getting free twice
...
Closes IDFGH-9378
2023-02-20 11:02:30 +05:30
Jiang Jiang Jian
0591695a81
Merge branch 'bugfix/bluedroid_le_coc_compile_error' into 'master'
...
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
Closes BT-2862
See merge request espressif/esp-idf!22321
2023-02-20 13:23:51 +08:00
Alexey Lapshin
d1214aef8c
freertos: riscv: fix vPortTaskWrapper for clang
2023-02-20 13:09:42 +08:00
Omar Chebib
d55060d184
Merge branch 'staging/rename_twdt_config_examples' into 'master'
...
TWDT: Use the new TWDT Kconfig options in the examples and tests
See merge request espressif/esp-idf!20363
2023-02-20 10:42:23 +08:00
Armando (Dou Yiwen)
0c635543ff
Merge branch 'feature/support_shared_vs_non_shared_mmap' into 'master'
...
esp_mm: share and non-share mapping
Closes IDF-6575
See merge request espressif/esp-idf!22320
2023-02-18 08:02:15 +08:00
jgujarathi
178497c432
wpa_supplicant : Add deinitialization of Enterprise config_methods.
...
Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
2023-02-17 17:21:41 +05:30
jgujarathi
a512a5d990
wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
...
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-02-17 17:20:49 +05:30
Sudeep Mohanty
8f93e4d0d5
ulp: Updated ULP CMakeLists.txt to output binary with .elf extension
...
This commit updates the ULP CMakeLists.txt to output the ULP binary with
a .elf extension. Currently the output file does not use any extension.
2023-02-17 10:44:24 +01:00
Suren Gabrielyan
496843b277
Merge branch 'feature/websocket-client-errorhandling' into 'master'
...
[ws_transport] - Added `esp_transport_ws_get_upgrade_request_status` API to get http status code from server
See merge request espressif/esp-idf!20480
2023-02-17 16:58:57 +08:00
Marius Vikhammer
ec57895db9
coredump: allow coredump at panic even if gdbstub is used.
...
Closes https://github.com/espressif/esp-idf/issues/10017
2023-02-17 15:15:36 +08:00
Laukik Hase
f0132be83e
Merge branch 'feature/memprot_test_app' into 'master'
...
esp_system: Add test_app for `memprot` peripheral
Closes IDF-6819
See merge request espressif/esp-idf!21829
2023-02-17 13:59:44 +08:00
Armando
4144746fc3
esp_mm: shared and non-shared mapping
2023-02-17 13:04:55 +08:00
Armando
82ee8403b6
mmu: mmu_hal_check_valid_ext_vaddr_region
2023-02-17 13:04:55 +08:00
Jiang Jiang Jian
07d8862256
Merge branch 'feature/migration_to_nimble_1.5' into 'master'
...
Nimble: migrate to nimble 1.5 branch
See merge request espressif/esp-idf!22034
2023-02-17 12:45:34 +08:00
Omar Chebib
5e5343d429
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-02-17 11:22:25 +08:00
Jiang Jiang Jian
e44c7fb048
Merge branch 'feature/sae_pk_station' into 'master'
...
esp-wifi: SAE-PK (Public Key) authentication support for station
See merge request espressif/esp-idf!20417
2023-02-16 23:59:39 +08:00
Armando (Dou Yiwen)
7f335a970d
Merge branch 'bugfix/include_freertosconfig_h_in_critical_section_h' into 'master'
...
esp_system: include FreeRTOS.h explicitly in critical_section.h
See merge request espressif/esp-idf!22405
2023-02-16 22:23:33 +08:00
Steinbart Andreas (HAU-EDS)
9def9b6a03
[ws_transport] - Added esp_transport_ws_get_upgrade_request_status
API
2023-02-16 12:19:40 +00:00
Martin Vychodil
c58a84f893
Merge branch 'feature/fatfs_format_api' into 'master'
...
fatfs: added APIs to format a FAT filesystem
Closes IDF-6046
See merge request espressif/esp-idf!21845
2023-02-16 19:59:31 +08:00
Armando (Dou Yiwen)
41ef7189c4
Merge branch 'contrib/github_pr_10546' into 'master'
...
esp_psram: fix compile error for SPI PSRAM 2T mode (GitHub PR)
Closes IDFGH-9149
See merge request espressif/esp-idf!22054
2023-02-16 19:29:59 +08:00
Laukik Hase
4cf889b692
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-02-16 15:27:11 +05:30
morris
4a604be7fd
Merge branch 'feature/expose_rmt_channel_id' into 'master'
...
rmt: expose private API to get channel ID
Closes IDFGH-9206, IDF-6846, IDF-6810, and IDF-6783
See merge request espressif/esp-idf!22384
2023-02-16 16:54:46 +08:00
wanlei
fdeeced62c
twai: h2 support twai driver
2023-02-16 16:34:23 +08:00
Sarvesh Bodakhe
d2f6a3dacc
esp-wifi: add SAE-PK (Public Key) authentication support for station
2023-02-16 13:49:11 +05:30
Armando
a49d074cbb
esp_system: include FreeRTOS.h explicitly in critical_section.h
...
Prior to this commit, if only critical_section.h is included, there
might be error about portNUM_PROCESSORS undeclared.
As critical_section.h should be OS-agnostic, added FreeRTOS.h in it
2023-02-16 15:12:13 +08:00
Alexey Lapshin
31b7f8f1d8
Merge branch 'fix/revert-sdio-slave-gcc11-workaround' into 'master'
...
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
Closes GCC-277
See merge request espressif/esp-idf!22085
2023-02-16 14:32:59 +08:00
yn386
4a09c18ea6
esp_psram: fix compile error for SPI PSRAM 2T mode
2023-02-16 06:21:42 +00:00
Armando
d59fd3e529
fatfs: deprecate esp_vfs_fat_sdmmc_unmount
...
This API was deprecated before, but without deprecation warning and
migration doc. This commit added deprecation warning and migration doc
to it.
2023-02-16 14:17:51 +08:00
Armando
90a6018e67
fatfs: added an API to format FAT on sdcard
2023-02-16 14:17:51 +08:00
Armando
4150bfb403
fatfs: added an API to format FAT on spiflash
2023-02-16 12:19:35 +08:00
morris
195f6b99ad
rmt: expose private API to get channel ID
...
Closes https://github.com/espressif/esp-idf/issues/10596
2023-02-16 11:37:25 +08:00
Armando (Dou Yiwen)
76989b504a
Merge branch 'refactor/move_isr_core_id_enum_to_g1' into 'master'
...
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components
See merge request espressif/esp-idf!22182
2023-02-16 11:02:56 +08:00
Chip Weinberger
c7a12dd34b
efuse: Add more logging for virtual efuses
...
Closes https://github.com/espressif/esp-idf/pull/10536
2023-02-16 00:10:08 +08:00
Armando
b96c370ab8
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components
2023-02-15 19:52:06 +08:00
Wan Lei
814df0ea28
Merge branch 'bugfix/fix_h4_spi_file_missing' into 'master'
...
spi: fix spi support on h4 after diver/cmakelist refactored
See merge request espressif/esp-idf!22358
2023-02-15 18:41:49 +08:00
Wu Zheng Hui
113132e4f4
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_top' into 'master'
...
esp32c6: support light_sleep (Stage 2: support Digital Peripheral power down)
See merge request espressif/esp-idf!22197
2023-02-15 16:17:53 +08:00
Sachin Parekh
774f0ef636
Merge branch 'esp32c6/ecdsa_secure_boot_support' into 'master'
...
ESP32C6: Enable ECDSA secure boot
Closes IDF-5357 and IDF-5931
See merge request espressif/esp-idf!21058
2023-02-15 16:03:35 +08:00
Guillaume Souchere
b1f9d7a8ee
Merge branch 'feature/use-linked-list-for-heap-trace-records' into 'master'
...
heap: fix Leaks perf on large records by using doubly linked list
Closes IDFGH-9121 and IDF-1244
See merge request espressif/esp-idf!22009
2023-02-15 15:14:19 +08:00
Island
50ae186ff7
Merge branch 'bugfix/esp32c2_fixed_adv_stop' into 'master'
...
ble:Fixed issues of adv error stop and abnormal reporting of connection update...
Closes BT-3137 and BT-3144
See merge request espressif/esp-idf!22310
2023-02-15 14:20:51 +08:00
Jiang Jiang Jian
0b921fda14
Merge branch 'bugfix/nvs_save_for_new_config' into 'master'
...
esp_wifi: Add nvs code for new config params
See merge request espressif/esp-idf!21513
2023-02-15 13:00:45 +08:00
Roshan Bangar
baf4240776
NimBLE: Use dynamic buffers instead of static memory.
2023-02-15 04:55:26 +00:00
Roshan Bangar
ba1119a725
Nimble: Migrate to nimble 1.5
2023-02-15 04:55:26 +00:00
Marius Vikhammer
ca0f982420
aes: fix minor formatting issues
2023-02-15 12:45:29 +08:00
C.S.M
ae9713d227
Merge branch 'bugfix/wrap_init' into 'master'
...
spi_flash: initialize wrap in app stage
See merge request espressif/esp-idf!22362
2023-02-15 12:39:12 +08:00
C.S.M
8ba96ab873
Merge branch 'feature/esp32h2_target_test' into 'master'
...
esp32h2(ci): ESP32H2 enable target stage test
See merge request espressif/esp-idf!22084
2023-02-15 12:34:13 +08:00
C.S.M
a2ed523f97
Merge branch 'bugfix/mcpwm_config_name' into 'master'
...
mcpwm: modify wrong config name
See merge request espressif/esp-idf!22348
2023-02-15 12:21:48 +08:00
wanlei
217e36bec0
spi: fix spi support on h4 after diver/cmakelist refactored
2023-02-15 12:12:22 +08:00
jingli
9c37441b17
wdt: refactor wdt codes to use unified type
2023-02-15 12:08:55 +08:00
wuzhenghui
a0492202b7
bugfix: unhold SPI CS pin in pd_top lightsleep
2023-02-15 11:46:41 +08:00
wuzhenghui
0b0da680d2
codeclean: turn on the regdma clock only once
2023-02-15 11:46:40 +08:00
wuzhenghui
248aa6109d
codeclean: add sleep_mode args to esp_sleep_start()
2023-02-15 11:46:40 +08:00
Li Shuai
aec3f6db1d
light sleep: supported SoC TOP domain powered down
2023-02-15 11:46:40 +08:00
Li Shuai
6e307c04a3
clock retention: supported soc and modem system power and clock sleep retention
2023-02-15 11:46:40 +08:00
fuzhibo@espressif.com
e252748d92
periph retention: runtime critical digital peripherals sleep retention support
2023-02-15 11:46:40 +08:00
Li Shuai
d097bbe40b
sleep retention: wraps the regdma link and hardware driver to provide system sleep retention (WiFi, BLE, 15.4 and digital peripheral) support
2023-02-15 11:46:40 +08:00
Li Shuai
8c18393d23
regdma: add regdma link operation api support
2023-02-15 11:46:36 +08:00
Li Shuai
d3e0e3e3b6
pau: implement the pau regdma driver for esp32c6
2023-02-15 10:45:44 +08:00
Li Shuai
5850cd7492
pau: implement the pau regdma hal&ll layer for esp32c6
2023-02-15 10:45:44 +08:00
Li Shuai
180199319b
soc_caps: add pau link number caps
...
soc_caps: add SOC_PAU_SUPPORTED caps
soc_caps: add SOC_PM_SUPPORT_TOP_PD caps
2023-02-15 10:45:44 +08:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
Kapil Gupta
1c35430012
esp_wifi: Add nvs for new config params after esp32c2
2023-02-14 19:42:37 +05:30
Sachin Billore
120fcec026
apm: added support for APM on esp32h2
...
Closes IDF-6277 IDF-6278 and IDF-5909
2023-02-14 10:43:49 +00:00
Roland Dobai
6a375bfc3b
Merge branch 'bugfix/nvs_page_test_increase_timeout' into 'master'
...
NVS: Increase timeout of nvs_page_test
See merge request espressif/esp-idf!22338
2023-02-14 18:42:02 +08:00
Cao Sen Miao
29e0258de2
spi_flash: init wrap in app stage
2023-02-14 18:20:53 +08:00
Armando
1bd8018a59
vfs_fat_spiflash: use esp_check
2023-02-14 09:22:17 +00:00
Jiang Jiang Jian
e65eaa4d8c
Merge branch 'esp32c6/bugfix_add_tx_error_handle' into 'master'
...
esp32c6: add tx error handle
Closes WIFI-5359, WIFI-5380, and WIFI-5396
See merge request espressif/esp-idf!22210
2023-02-14 17:18:07 +08:00
Guillaume Souchere
2cf9236f6c
heap trace standalone: Fix initialization of the unused linked list, update tests
...
- Call TAILQ_INSERT_TAIL in linked_list_setup to add unused records from the tail of the list
- Fix test "heap trace leak check" to expect that after a free, the record is zeroed instead of checking that
the whole list of records is moved by one index in the array.
- Use esp_rom_printf() under lock instead of printf() since it does not rely on interrupts.
2023-02-14 09:48:14 +01:00
Marius Vikhammer
f9c1a2b791
Merge branch 'feature/core_c6_component_tests' into 'master'
...
ci: update idf-core related tests for C6
Closes IDF-6888
See merge request espressif/esp-idf!22282
2023-02-14 16:47:52 +08:00
Shu Chen
c0c985a6f4
Merge branch 'feature/fix_phy_init_when_SW_restart' into 'master'
...
esp_phy: fix phy init when SW restart
See merge request espressif/esp-idf!22256
2023-02-14 16:24:39 +08:00
Armando (Dou Yiwen)
a0c8c87c51
Merge branch 'test/increase_c6_adc_std_thresh' into 'master'
...
esp_adc: increase c6 adc std thres
See merge request espressif/esp-idf!22361
2023-02-14 15:13:00 +08:00
morris
0a25c48d89
rmt: fix rmt buffer allocation issue
2023-02-14 14:05:12 +08:00
morris
e0c98da169
Merge branch 'feature/glitch_filter_h2' into 'master'
...
gpio: support glitch filter on esp32h2
Closes IDF-6286
See merge request espressif/esp-idf!22273
2023-02-14 13:07:44 +08:00
morris
18295bb2f5
Merge branch 'bugfix/i80_pll240_esp32s3' into 'master'
...
lcd: support PLL240M as i80 clock source on esp32s3
See merge request espressif/esp-idf!22285
2023-02-14 12:27:57 +08:00
Cao Sen Miao
8cc6a535b2
mcpwm: modify wrong config name
2023-02-14 11:12:08 +08:00
Wu Zheng Hui
d1b6ff6cca
Merge branch 'bugfix/reset_modem_lpcon_in_soft_reset' into 'master'
...
bugfix: reset modem lpcon in soft reset
See merge request espressif/esp-idf!22347
2023-02-14 10:31:17 +08:00
Armando
790be9390a
esp_adc: increase c6 adc std thres
...
c6, h2, hardware calibration not supported. Reading result varies.
2023-02-14 10:18:34 +08:00
Mahavir Jain
f4fb62eee7
Merge branch 'bugfix/esp32c6_h2_clk_gate_periph_rst' into 'master'
...
clk_gate_ll: fix issue with DS peripheral clk reset
Closes IDF-6740
See merge request espressif/esp-idf!22301
2023-02-13 20:06:13 +08:00
Mahavir Jain
61bf801d0f
Merge branch 'feature/esp32h2_add_hmac_ds' into 'master'
...
ESP32-H2 add HMAC and DS Peripheral support
Closes IDF-6279 and IDF-6285
See merge request espressif/esp-idf!22306
2023-02-13 20:04:50 +08:00
wuzhenghui
0afeac9951
bugfix: reset modem lpcon in soft reset
2023-02-13 17:04:35 +08:00
Armando (Dou Yiwen)
d3fec8394f
Merge branch 'feature/adc_filter' into 'master'
...
adc: supported adc digital filter
Closes IDF-2529, IDFGH-9113, and IDFGH-9279
See merge request espressif/esp-idf!22035
2023-02-13 16:43:58 +08:00
xuxiao
1126c1b79e
esp32c6: wifi add tx error handle
2023-02-13 16:35:18 +08:00
Sudeep Mohanty
27be8a1ebb
Merge branch 'feature/ulp_riscv_test_multiple_firmware' into 'master'
...
ulp-riscv: Added API ulp_riscv_reset to reset the ULP core
See merge request espressif/esp-idf!22165
2023-02-13 15:36:10 +08:00
Sachin Parekh
2bb9499a7e
esp32c6: Enable ECDSA based secure boot
...
- Updated documentation for C6
2023-02-13 13:02:11 +05:30
Guillaume Souchere
a630f06132
Merge branch 'feature/verbose-alloc-failure-abort' into 'master'
...
heap: print size and caps when malloc fails before calling system abort
Closes IDFGH-9267
See merge request espressif/esp-idf!22192
2023-02-13 15:26:24 +08:00
Tomas Rezucha
bc314e1f8b
Merge branch 'bugfix/usb_host/interface_parsing' into 'master'
...
usb_host: Fix interface descriptor parsing
See merge request espressif/esp-idf!22323
2023-02-13 15:17:54 +08:00
C.S.M
2a2fb8fa43
Merge branch 'feature/flash_wrap_supported' into 'master'
...
spi_flash: Support flash wrap (burst read), flash driver side
See merge request espressif/esp-idf!21922
2023-02-13 13:54:28 +08:00
Marius Vikhammer
25abc7f6d8
ci: update idf-core related tests for C6
2023-02-13 13:01:57 +08:00
Mahavir Jain
ac7b42d742
esp_hw_support: fix test apps build for IDF_ENV_FPGA
case
2023-02-13 10:27:23 +05:30
Mahavir Jain
50f7d40b89
mqtt/ssl_ds: enable the example for ESP32-H2 target
2023-02-13 10:27:22 +05:30
Mahavir Jain
e4e4ffa3f4
esp32h2: enable DS peripheral support in driver and test application
2023-02-13 10:27:15 +05:30
Mahavir Jain
13c8407a19
esp32h2: add DS peripheral HAL
2023-02-13 10:26:37 +05:30
Mahavir Jain
c680113d52
esp32h2: add HMAC peripheral HAL
2023-02-13 10:26:36 +05:30
Mahavir Jain
2974e8f487
Merge branch 'feature/apm_support_esp32c6' into 'master'
...
apm: added support for APM on esp32c6
Closes IDF-5819 and IDF-5818
See merge request espressif/esp-idf!22157
2023-02-13 12:45:41 +08:00
Jakob Hasse
bed81f450d
ci(nvs_flash): Increase timeout of nvs_page_test
...
* nvs_page_test runs into timeout in CI. According to log,
test ran run around halfway, so increasing from 10 to 90 seconds.
* Also increased timeout of nvs_host_test, just to be sure
2023-02-13 12:35:52 +08:00
Sachin Parekh
a3c341384f
esp32c6: Remove assert check on len for SHA calculation
2023-02-13 09:45:55 +05:30
Cao Sen Miao
0d37436f36
spi_flash: Support flash wrap (burst read), flash driver side
2023-02-13 11:10:15 +08:00
Jiang Jiang Jian
2c3fe88e32
Merge branch 'bugfix/build_err_with_ssr_enabled' into 'master'
...
bt: Fixed build errors when sniff subrating is enabled.
See merge request espressif/esp-idf!22240
2023-02-13 10:50:46 +08:00
morris
8ff376537c
Merge branch 'feature/lcd_support_esp32h2' into 'master'
...
lcd: driver support for esp32h2
Closes IDF-6213 and IDF-6674
See merge request espressif/esp-idf!22299
2023-02-13 10:37:12 +08:00
C.S.M
9092b93966
Merge branch 'feature/temp_sensor_esp32h2' into 'master'
...
temperature_sensor: Add support for esp32h2
Closes IDF-6229
See merge request espressif/esp-idf!22291
2023-02-13 10:24:31 +08:00
Ivan Grokhotkov
bb25d6abd3
Merge branch 'bugfix/newlib_leftover_files' into 'master'
...
newlib: remove leftover file from the binary distribution
See merge request espressif/esp-idf!22252
2023-02-12 03:08:25 +08:00
morris
a3f887a1fe
gpio: support glitch filter on esp32h2
2023-02-11 23:01:01 +08:00
Jin Cheng
eac73d8f58
Fixed build errors when sniff subrating is enabled.
2023-02-11 08:29:09 +00:00
jingli
28c7620cba
sleep: fix gpio wakeup not working properly in some cases
...
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-11 01:06:18 +00:00
jingli
557a1ed1a5
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-11 01:06:18 +00:00
morris
c2c4fbff13
lcd: driver support for esp32h2
2023-02-11 00:30:48 +00:00
morris
78855a88c9
lcd: support PLL240M as i80 clock source on esp32s3
2023-02-11 00:30:20 +00:00
Jiang Jiang Jian
254efe402e
Merge branch 'feature/wifi_kconfig_merge' into 'master'
...
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig
Closes WIFI-4541 and IDF-1830
See merge request espressif/esp-idf!18998
2023-02-11 07:38:46 +08:00
Kapil Gupta
30a2558450
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig
2023-02-11 07:38:45 +08:00
Armando
7e6bf9f987
esp_adc: added adc filter doc, and filter migration guides
2023-02-10 16:46:20 +00:00
Armando
3afa671069
esp_adc: added adc digital filter feature
2023-02-10 16:46:20 +00:00
Tomas Rezucha
31ff3bc0c2
usb_host: Fix interface descriptor parsing
...
Previously the USB host driver did not accept interface number greater or equal bNumInterfaces, even though these are valid interface numbers
2023-02-10 15:49:11 +01:00
wangmengyang
3279b4d41d
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
...
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-02-10 21:51:08 +08:00
morris
1626766abf
rmt: simplify rmt source clock configure with clk_tree API
...
Also decrease the payload size for testing the multi-channel behaviour.
2023-02-10 18:24:27 +08:00
Cao Sen Miao
bbbe569e03
temperature_sensor: Add support for esp32h2
2023-02-10 16:36:56 +08:00
Sachin Billore
8d0f6dab0f
apm: added support for APM on esp32c6
...
Closes: IDF-5819 IDF-5818
2023-02-10 08:18:07 +00:00
zhangwenxu
91113c44e5
esp_phy: fix phy init when SW restart
2023-02-10 07:42:40 +00:00
Guillaume Souchere
65c946f1f2
heap: Fix priority in shex() bit shift
2023-02-10 07:43:32 +01:00
Wang Meng Yang
e0e3700142
Merge branch 'feature/support_ble_privacy_by_controller' into 'master'
...
Support ble privacy by controller on bluedroid
See merge request espressif/esp-idf!21966
2023-02-10 14:34:36 +08:00
zwl
f79d0e6a43
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-10 14:16:07 +08:00
Mahavir Jain
725e1fb3cc
clk_gate_ll: remove DPORT_ prefix as this is not required for H2/C6
2023-02-10 10:48:45 +05:30
Song Ruo Jing
db59ab5000
Merge branch 'contrib/github_pr_10640' into 'master'
...
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR)
Closes IDFGH-9255
See merge request espressif/esp-idf!22238
2023-02-10 10:51:27 +08:00
Chip Weinberger
f11256d9da
[Logs] print size and caps when malloc fails
2023-02-09 06:49:34 -08:00
Mahavir Jain
06def61fe8
clk_gate_ll: fix issue with DS peripheral clk reset
...
In ESP32-C6, every peripheral reset enable bit is in different register
(unlike some of the previous SoCs) and hence they must be handled with
multiple register write operations.
This allows AES, MPI peripherals to works correctly after DS peripheral
has done some operations.
2023-02-09 17:15:22 +05:30
Mahavir Jain
f790fe0e1f
clk_gate_ll: fix issue with DS peripheral clk reset
...
In ESP32-H2, every peripheral reset enable bit is in different register
(unlike some of the previous SoCs) and hence they must be handled with
multiple register write operations.
This allows AES, MPI peripherals to works correctly after DS peripheral
has done some operations.
2023-02-09 17:11:37 +05:30
Kapil Gupta
a75a36f8c2
Merge branch 'bugfix/fix_ftm_procedure_with_peer_failed_status_4_issue' into 'master'
...
esp_wifi: fix ftm procedure with peer failed status 4 issue
Closes WIFI-4600
See merge request espressif/esp-idf!22267
2023-02-09 16:00:47 +08:00
Ondrej Kosta
05510e67d1
Merge branch 'bugfix/eth_lan8720_ci' into 'master'
...
esp_eth: start/stop and L2 test stability improvements
See merge request espressif/esp-idf!21898
2023-02-09 15:36:12 +08:00
Saurabh Kumar Bansal
770961d2b8
Merge branch 'bugfix/usb_host_hub_enumeration_string_handling' into 'master'
...
USB Host: Fix string descriptor handling by the hub driver during enumeration
See merge request espressif/esp-idf!21193
2023-02-09 13:56:48 +08:00
C.S.M
7e08b407b9
Merge branch 'feature/spi_flash_vendor_classify' into 'master'
...
spi_flash: only link flash vendor which is officially supported to save IRAM
See merge request espressif/esp-idf!22255
2023-02-09 13:48:15 +08:00
Laukik Hase
d2c37009b0
Merge branch 'test_app/mbedtls_remove_wno_format_compile_option' into 'master'
...
mbedtls: Remove `-Wno-format` compile option for test app
Closes IDF-6806
See merge request espressif/esp-idf!22243
2023-02-09 12:40:42 +08:00
Jiang Jiang Jian
5f440ec382
Merge branch 'optimization/lwip_dhcp_coarse_timer' into 'master'
...
lwip:optimization dhcp coarse timer
Closes WIFI-5235
See merge request espressif/esp-idf!21981
2023-02-09 11:10:12 +08:00
Wan Lei
005e4c7e0b
Merge branch 'feature/spi_h2_support' into 'master'
...
SPI: Support master, slave, slave_hd driver for H2
Closes IDF-6245, IDF-6246, IDF-6247, and IDF-6696
See merge request espressif/esp-idf!22048
2023-02-09 11:04:46 +08:00
Song Ruo Jing
1addacb93d
Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency' into 'master'
...
uart: Fix TX side concurrency issues
Closes IDF-6201 and IDF-6086
See merge request espressif/esp-idf!21604
2023-02-09 10:58:17 +08:00
Cao Sen Miao
0f8f13d21d
spi_flash: only link flash vendor which is officially supported to save IRAM
2023-02-09 10:28:54 +08:00
Marius Vikhammer
6233b0aa64
Merge branch 'feature/c6_newlib_nano' into 'master'
...
newlib: update newlib nano documentation for C6
See merge request espressif/esp-idf!22219
2023-02-09 10:13:47 +08:00
morris
76433e4cb2
Merge branch 'refactor/gptimer_pm_lock_logic' into 'master'
...
gptimer: add pm lock for xtal clock
Closes DOC-4504
See merge request espressif/esp-idf!22162
2023-02-09 01:48:29 +08:00
Saurabh Kumar Bansal
7010349a9a
usb_host: Hub driver skips fetching string descriptors if their index is 0
...
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).
Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.
This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-08 23:12:54 +05:30
Darian Leung
6ae151db8c
usb_host: Fix error when fetching LANGID table
...
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.
When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.
This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-08 22:36:01 +08:00
muhaidong
ec980ecc5f
esp_wifi: fix ftm procedure with peer failed status 4 issue
...
1. send ftm frames immediately
2. fix ftm procedure with peer failed status 4 issue
2023-02-08 20:25:19 +08:00
Mahavir Jain
3850e9327a
Merge branch 'bugfix/secure_boot_v2_part_size_check' into 'master'
...
gen_esp32part: allow secure boot v2 based app partition size 4K aligned
See merge request espressif/esp-idf!22188
2023-02-08 18:42:34 +08:00
morris
044a114e66
gptimer: unify clock setting with clk_tree API
2023-02-08 16:30:47 +08:00
xueyunfei
2f6b681b1a
lwip:optimization dhcp coarse timer
2023-02-08 16:29:28 +08:00
Sudeep Mohanty
3cc399f399
ulp-riscv: Added API ulp_riscv_reset to reset the ULP core
...
This commit adds a new API ulp_reisv_reset() to enable reseting of the
ULP core from the main core. This is particularly necessary in case the
ULP crashes due to any reason. Earlier the only way to recover the ULP
was to do a power reset. This commit also adds new test cases which
exercise this scenario.
2023-02-08 07:52:34 +00:00
David Čermák
080fd7e14f
Merge branch 'bugfix/lwip_dhcp_restore_last' into 'master'
...
lwip: fix dhcp_server path (GitHub PR)
Closes IDFGH-9297 and IDFGH-9309
See merge request espressif/esp-idf!22251
2023-02-08 15:07:49 +08:00
Laukik Hase
d4abf3ff45
mbedtls: Remove -Wno-format
compile option for test app
2023-02-08 12:31:09 +05:30
Song Ruo Jing
b69f983525
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-02-08 14:24:43 +08:00
Simon Arlott
d78d1a2376
hal/uart_ll.h: Fix compile issue with C++
...
Merges https://github.com/espressif/esp-idf/pull/10640
2023-02-08 06:24:24 +00:00
Mahavir Jain
92f94a51ea
Merge branch 'test_app/app_update_remove_wno_compile_option' into 'master'
...
app_update: Remove `Wno-format` compile option for test app
Closes IDF-6788
See merge request espressif/esp-idf!22245
2023-02-08 14:21:05 +08:00
Marius Vikhammer
2e55775f95
Merge branch 'bugfix/newlib_tz_env_mutex' into 'master'
...
newlib: Use correct recursive mutex for env and regular mutex for tz
Closes IDFGH-9266
See merge request espressif/esp-idf!22200
2023-02-08 13:39:36 +08:00
wanlei
5300bd3b2f
spi: support H2 spi master, slave, slave_hd driver
2023-02-08 11:38:45 +08:00
Mahavir Jain
9628118400
partition_table: add tests for checking secure boot part size
2023-02-08 03:23:46 +00:00
Mahavir Jain
8d05d2511c
gen_esp32part: allow secure boot v2 based app partition size 4K aligned
...
For Secure Boot v2 case, unsigned image is first padded to next 64K
aligned boundary and then a signature block of 4K gets appended. Thus
an app partition whose size is 4K aligned should be allowed here.
For Secure Boot v1 case, app partition size must be 64K aligned as the
signature block lies at the very end of 64K boundary.
Relevant:
57b601ab7f
2023-02-08 03:23:46 +00:00
Marius Vikhammer
65a4058e8c
newlib: update newlib nano documentation for C6
...
C6 ROM has the the full IO formatting functions included.
2023-02-08 10:56:28 +08:00
morris
990c6f58a6
Merge branch 'feature/etm_support_h2' into 'master'
...
etm: add basic driver on esp32h2
Closes IDF-6225
See merge request espressif/esp-idf!22246
2023-02-08 10:42:10 +08:00
Jiang Jiang Jian
01f7277a6b
Merge branch 'bugfix/set_generic_len_for_rsnxe' into 'master'
...
esp_wifi:bugfix set AP rsnxe ie len generic
See merge request espressif/esp-idf!21953
2023-02-08 02:57:12 +08:00
Armando (Dou Yiwen)
1c699294da
Merge branch 'feature/mmu_driver' into 'master'
...
esp_mm: new virtual memory mapping driver via mmu
Closes IDF-5847, IDF-6076, IDF-5023, IDF-5339, and IDFGH-8961
See merge request espressif/esp-idf!20540
2023-02-08 00:59:58 +08:00
Wu Zheng Hui
86797f03a8
Merge branch 'bugfix/remove_redundant_macro_wrapping' into 'master'
...
bugfix: remove wrong SOC_PM_SUPPORT_XTAL_PD wrapping
Closes IDFGH-9300
See merge request espressif/esp-idf!22239
2023-02-07 23:31:09 +08:00
Harshit Malpani
5388c0c2e7
app_update: Remove Wno-format
compile option for test app
2023-02-07 15:26:27 +00:00
morris
6f8ee89302
etm: add basic driver on esp32h2
2023-02-07 14:54:08 +00:00
Jiang Jiang Jian
404eb39adf
Merge branch 'bugfix/ble_hci_issue_with_pcl' into 'master'
...
BLE: fixed hci event fail on esp32c6
See merge request espressif/esp-idf!22231
2023-02-07 20:27:28 +08:00
Shreyas Sheth
a9095ba8e0
esp_wifi: bugfix RSNXE related changes
...
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-02-07 12:26:54 +00:00
wuzhenghui
75d15e8b80
bugfix: remove redundant SOC_PM_SUPPORT_XTAL_PD wrapping
...
Closes https://github.com/espressif/esp-idf/issues/10681
2023-02-07 20:25:59 +08:00
Armando
98892a3288
esp_mm: correct mmap reserved irom and drom size
...
Prior to this commit, we don't consider the offset of the irom vaddr
start.
If the offset + size is bigger than the MMU page size, for example:
MMU page size: 0x10000
irom vaddr: 0x4200_0800, so offset = 0x800
irom size: 0xF900
offset + size = 0x10100
Under this condition, the 0x4200_0000 ~ 0x4202_0000, two MMU pages are
used.
With this commit, when reserving the irom and drom, we take the offset
into consideration as well.
2023-02-07 20:23:53 +08:00
Armando
06e7c02da7
esp_mm: h2 support
2023-02-07 20:23:53 +08:00
Armando
4c878eeb0a
sections_ld: add description to .flash.rodata_noload
...
This commit also move _rodata_reserved_end symbol right at the entry of
the .flash.rodata_noload.
2023-02-07 20:23:52 +08:00
Armando
d233f3535d
flash_mmap: migrate to use esp_mmap driver
2023-02-07 20:23:52 +08:00
Armando
e76c52d4df
cache: fix s2 dcache size 0 issue when psram disabled
2023-02-07 20:23:52 +08:00
Armando
d6844051fc
esp_mm: new virtual memory mapping apis via mmu
2023-02-07 20:23:52 +08:00
Armando
1fc55af6af
cache: invalidate addr hal api
2023-02-07 20:23:52 +08:00
Armando
16398c2d06
mmu: move mem_caps macro to hal/mmu_types.h as an enum type
2023-02-07 20:23:52 +08:00
Armando
8ba67dfc38
mmu: rename api to esp_mmu_reserve_block_with_caps
...
esp_mmu_get_largest_free_block() ->
esp_mmu_get_max_consecutive_free_block()
esp_mmu_find_vaddr_range() -> esp_mmu_reserve_block_with_caps()
2023-02-07 20:23:51 +08:00
Armando
af15b6d885
mmu: simplify mmu vaddr region macro on esp32c2
...
ESP32C2 mmu vaddr region macros, and related mask macros in
ext_mem_defs.h depends on mmu page size.
2023-02-07 20:23:51 +08:00
Jiang Jiang Jian
248c15475f
Merge branch 'feature/implement_esp32h2_regi2c_api' into 'master'
...
esp32h2: implement regi2c apis
See merge request espressif/esp-idf!22250
2023-02-07 20:22:52 +08:00
Roland Dobai
4bd5ebb4a1
Merge branch 'tools/monitor_move' into 'master'
...
Tools(idf_monitor): Move idf_monitor to separate repo
Closes IDF-4109
See merge request espressif/esp-idf!22050
2023-02-07 19:47:46 +08:00
Jing Li
409804f673
Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2' into 'master'
...
esp32c2: support feature(rtc time) depend on rtc fast mem
Closes IDF-3901, IDF-4239, IDF-5053, IDF-5060, and IDF-5131
See merge request espressif/esp-idf!19067
2023-02-07 15:16:01 +08:00
wuzhenghui
a0983627f5
bugfix: fix returning before disabling blocks
2023-02-07 15:08:05 +08:00
Jiang Jiang Jian
f4c14a6bf4
Merge branch 'bugfix/lwip_sntp_cpp_fix' into 'master'
...
esp_sntp: Fix c++ compile issue in esp_sntp.h (GitHub PR)
Closes IDFGH-9212 and IDFGH-9239
See merge request espressif/esp-idf!22159
2023-02-07 14:36:39 +08:00
Kevin (Lao Kaiyao)
421e5e6416
Merge branch 'refactor/pack_driver_source_files' into 'master'
...
components/driver: pack peripherals
See merge request espressif/esp-idf!22173
2023-02-07 10:20:57 +08:00
Ivan Grokhotkov
e10ff6b4e3
newlib: remove leftover file from the binary distribution
2023-02-06 22:23:48 +01:00
Mahavir Jain
dc7f47aaeb
Merge branch 'docs/esp32c6_enable_flash_encryption_documentation' into 'master'
...
esp32c6: update documentation for flash encryption
Closes IDF-5358
See merge request espressif/esp-idf!22229
2023-02-06 23:47:28 +08:00
wuzhenghui
ee4214ebf1
rom caps: add ESP_ROM_WITHOUT_REGI2C rom caps
2023-02-06 21:45:22 +08:00
fuzhibo@espressif.com
f1e0151e63
fix(regi2c): support regi2c APIs for esp32h2
2023-02-06 21:44:16 +08:00
wuzhenghui
146b9b047b
soc: add modem regs and force enable i2c_ana_mst clock
2023-02-06 21:43:26 +08:00
Rahul Tank
67f88aeb87
Merge branch 'bugfix/handle_large_controller_buffer_size' into 'master'
...
Nimble: Fragmentation support in case of larger controller buffer size
See merge request espressif/esp-idf!21200
2023-02-06 18:43:25 +08:00
Wan Lei
a49164b5ec
Merge branch 'bugfix/spi_clk_rc_fast_enable_disable' into 'master'
...
spi_master: fix clock source RC_FAST usage
See merge request espressif/esp-idf!22160
2023-02-06 18:25:23 +08:00
Adam Múdry
679d9731b3
Merge branch 'feature/fatfs_15_update' into 'master'
...
fatfs: Update to version 0.15
Closes IDF-6391
See merge request espressif/esp-idf!21330
2023-02-06 17:47:05 +08:00
Yuan Jian Min
f6b0d04638
Merge branch 'feature/add_ws_auth' into 'master'
...
tcp_transport: Add authorization header for websocket client
Closes FCS-1126
See merge request espressif/esp-idf!22202
2023-02-06 16:29:29 +08:00
Jiang Guang Ming
7d25e3853c
Merge branch 'bugfix/update_esp_rom_newlib_time_c6_h2' into 'master'
...
update esp rom newlib-time on c2 c6 and h2
See merge request espressif/esp-idf!22142
2023-02-06 15:36:04 +08:00
wanlei
6ec9802eb7
spi_master: fix clock source RC_FAST usage
2023-02-06 12:41:17 +08:00
Jiang Jiang Jian
5754e298ce
Merge branch 'bugfix/default_wpa2_causing_pmk_recal' into 'master'
...
esp_wifi: Fix for default wpa2 casing pmk recalculation.
Closes IDFGH-8782
See merge request espressif/esp-idf!21527
2023-02-06 11:57:15 +08:00
Song Ruo Jing
b72d759290
uart: Add support for esp32h2
2023-02-06 00:48:04 +08:00
Mahavir Jain
aac4af589e
Merge branch 'feature/esp32c6_enable_rsa_support' into 'master'
...
mbedtls: enable RSA support for esp32c6
Closes IDF-5359
See merge request espressif/esp-idf!22155
2023-02-05 13:35:17 +08:00
Sean Cross
79d37515df
lwip: fix dhcp_server path
...
The path for dhcp_server.c has changed from esp32/ to esp32xx/
This fixes the build when CONFIG_LWIP_DHCP_RESTORE_LAST_IP is enabled.
Signed-off-by: Sean Cross <sean@xobs.io>
2023-02-03 22:55:09 +08:00
morris
4c9942bacc
Merge branch 'feature/mcpwm_support_h2' into 'master'
...
mcpwm: support esp32h2
Closes IDF-6237 and IDF-6668
See merge request espressif/esp-idf!21931
2023-02-03 20:30:02 +08:00
Aditya Patwardhan
b06a029677
esp32c6: update documentation for flash encryption
2023-02-03 16:01:06 +05:30
Peter Dragun
3e3533f918
feat(idf_monitor): move idf_monitor to separate repo
2023-02-03 11:20:15 +01:00
cjin
9985371b8a
BLE: fixed hci event fail on bluedroid host
2023-02-03 17:57:33 +08:00
Ondrej Kosta
51ea57f5b8
esp_eth: improved L2 test stability
2023-02-03 10:48:39 +01:00
Ondrej Kosta
256d457969
esp_eth: possible start/stop issue fixed
...
ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode
2023-02-03 10:48:39 +01:00
aditi_lonkar
51c16d41b8
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.
...
Closes https://github.com/espressif/esp-idf/issues/10214
2023-02-03 12:49:54 +05:30
Jiang Jiang Jian
eb55a21fc8
Merge branch 'bugfix/minor_syntax_changes' into 'master'
...
wpa_supplicant : Fixing collection of issues encountered during QuickTrack testing.
See merge request espressif/esp-idf!22097
2023-02-03 14:44:00 +08:00
harshal.patil
6206c1e213
mbedtls: enable RSA support for esp32c6
2023-02-03 11:46:42 +05:30
Jiang Jiang Jian
5c885a05ff
Merge branch 'bugfix/ps_bufferable_mmpdu' into 'master'
...
esp_wifi: softap: buffer deauth, disassoc and action frames for station in sleep mode and SA query procedure improvements
See merge request espressif/esp-idf!20602
2023-02-03 13:48:06 +08:00
Rahul Tank
78baa6c98c
Nimble: Modified code to have fragmentation of packet equal to MAX PKT SIZE in case
...
controller supports larger buffer size
2023-02-03 10:20:49 +05:30
Chen Jian Hua
732df630cd
Merge branch 'feature/add_params_in_gatt_conn_evt' into 'master'
...
Bluedroid: add params for GATT connect event
Closes BLEQABR23-1
See merge request espressif/esp-idf!22183
2023-02-03 10:29:36 +08:00
Sarvesh Bodakhe
299e32ce68
esp_wifi: softap: buffer deauth, disassoc, action frames for connected station in sleep mode
...
1) improve deauth/disassoc handling
2) improve SA-query procedure handling
2023-02-03 00:10:00 +05:30
jingli
af9c6e3175
esp32c2/rtc: fix 8md256 as rtc slow clk not work properly during deep sleep
2023-02-02 20:41:11 +08:00
jingli
13b5e625a7
UT/esp32c2: reenable pm and sleep related UT
2023-02-02 20:26:08 +08:00
jingli
2e4f0c7926
UT/esp32c2: reenable rtc clk calibration compensation UT
2023-02-02 20:26:08 +08:00
jingli
f8cc2ec86d
esp32c2: support rtc time feature depend on rtc memory, since c2 does not have rtc memory
2023-02-02 20:25:59 +08:00
Jiang Jiang Jian
fb1902773f
Merge branch 'bugfix/sdp_event_status_overwritten_by_handle' into 'master'
...
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle
Closes IDFGH-9219
See merge request espressif/esp-idf!22153
2023-02-02 19:54:45 +08:00
morris
15b9352f60
mcpwm: support esp32h2
2023-02-02 19:05:31 +08:00
laokaiyao
f27cd67c00
driver: pack peripherals
2023-02-02 18:19:58 +08:00
yuanjianmin
fecf4768f0
tcp_transport: Add authorization header for websocket client
2023-02-02 17:35:44 +08:00
morris
753eab91ee
Merge branch 'feature/usj_support_h2' into 'master'
...
USJ console support on esp32h2
Closes IDF-6239
See merge request espressif/esp-idf!22156
2023-02-02 17:07:19 +08:00
Island
c8de3e54c7
Merge branch 'bugfix/esp32c6_ble_adv_issues' into 'master'
...
Bugfix/esp32c6 ble adv issues
Closes EBLE50Y23-19
See merge request espressif/esp-idf!22179
2023-02-02 16:37:05 +08:00
Jiang Jiang Jian
ec8a702a8f
Merge branch 'bugfix/optimize_abnormal_beacon_log' into 'master'
...
esp_wifi:bugfix for optimize abnormal beacon log
Closes IDFGH-7742
See merge request espressif/esp-idf!21565
2023-02-02 16:29:18 +08:00
Kevin (Lao Kaiyao)
6cef87fea3
Merge branch 'feature/support_i2c_on_h2' into 'master'
...
i2c: support i2c on esp32h2
Closes IDF-6233 and IDF-6689
See merge request espressif/esp-idf!21982
2023-02-02 15:18:37 +08:00
David Čermák
5ada761a7b
Merge branch 'update/esp_netif_test_cleanup' into 'master'
...
esp_netif/tests: Consolidate test_apps/unit_test
Closes IDF-5579 and IDF-5047
See merge request espressif/esp-idf!21929
2023-02-02 13:49:43 +08:00
Mahavir Jain
cba1095508
Merge branch 'fix/heap-get-allocated-size' into 'master'
...
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
Closes IDF-3917
See merge request espressif/esp-idf!22176
2023-02-02 12:44:25 +08:00
Jiang Jiang Jian
25a56d13d7
Merge branch 'bugfix/fix_potential_null_pointer_dereference' into 'master'
...
Fix potential null pointer dereference
Closes IDF-6493
See merge request espressif/esp-idf!21662
2023-02-02 11:22:17 +08:00
xueyunfei
11c579f4ae
esp_wifi:bugfix for optimize abnormal beacon log
2023-02-02 11:13:50 +08:00
Wu Zheng Hui
04987ac201
Merge branch 'feature/add_ram_loadable_app_support' into 'master'
...
feature: add ram loadable app support
See merge request espressif/esp-idf!19465
2023-02-02 10:28:13 +08:00
Jiang Jiang Jian
2707c95a5f
Merge branch 'bugfix/max_connection_limit' into 'master'
...
esp_wifi: Improvements in station and softAP for connection management
Closes WIFI-4869
See merge request espressif/esp-idf!21641
2023-02-02 03:12:33 +08:00
Jiang Guang Ming
851c10aded
Merge branch 'bugfix/fix_typo_naming_of_flash_multi' into 'master'
...
ci: fix typos tag naming of all flash_multi
See merge request espressif/esp-idf!22181
2023-02-01 23:46:34 +08:00
David Cermak
7ae58e223d
esp_netif/tests: Consolidate test_apps/unit_test
...
* Remove duplicated test cases
* Migrated remaining unit tests to test_apps
2023-02-01 14:17:09 +01:00
Darian
c10414ae58
Merge branch 'feature/freertos_tidy_up_linker_script' into 'master'
...
FreeRTOS: Update function placements rules and tidy up linker fragment files
Closes IDF-6195
See merge request espressif/esp-idf!21394
2023-02-01 20:50:07 +08:00
Rahul Tank
9916eb688a
Merge branch 'bugfix/add_return_type_nimble_port_init' into 'master'
...
Nimble: Added return value (success / failure ) to nimble_port_init / nimble_port_deinit
See merge request espressif/esp-idf!21718
2023-02-01 19:45:44 +08:00
wuzhenghui
db61945537
bugfix: dual core chip haven't started the pro cpu in the bootloader, so no workaround is needed
2023-02-01 17:57:28 +08:00
wuzhenghui
c0d2fcded7
refactor: move bootloader_init_spi_flash to bootloader_flash_config_{target}.c
2023-02-01 17:57:28 +08:00
wuzhenghui
0cbb4227b2
feature: add build framework support
2023-02-01 17:57:25 +08:00
wuzhenghui
44df5b31af
feature: add ram loadable app support
2023-02-01 17:57:22 +08:00
AlbertWDev
18a1b4c9b9
bt: fix SDP event status overwritten by handle
2023-02-01 10:53:42 +01:00
Guillaume Souchere
ba1d7f8d1c
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
...
When light (or comprehensive) poisoning is enabled, the size requested by the user for allocation
is extended by a few bytes to store the canary header and footer. heap_caps_get_allocated_size() should
return the original size asked by the user (without the additional canary bytes).
test_malloc.c extended with a new test assuring that heap_caps_get_allocated_size() returns the proper size
regardless of the degree of poisoning.
2023-02-01 10:04:38 +01:00
jgujarathi
88ea8c5fed
wpa_supplicant : Prevent h2e config overwrite
...
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.
Add one preventative condition to take care of this.
2023-02-01 14:04:23 +05:30
Darian Leung
903ac5dff9
freertos(IDF): Update IDF FreeRTOS linker fragment file
...
This commit updates the linker fragment file for IDF FreeRTOS.
- Linker fragment file's formatting was updated
- Placement rules of functions is now clearly specified inside the linker
fragment file.
- Some extra functions are now placed in flash in accordance to the new
placement rules.
2023-02-01 15:15:51 +08:00
Darian Leung
321254a776
freertos(SMP): Update SMP FreeRTOS linker fragment file
...
This commit updates the linker fragment file for Amazon SMP FreeRTOS.
- Linker fragment file's formatting was updated
- Placement rules of functions is now clearly specified inside the linker
fragment file.
- Some extra functions are now placed in flash in accordance to the new
placement rules.
2023-02-01 15:15:51 +08:00
Darian Leung
0574e63e6f
freertos: Add linker fragments for common functions
...
This commit adds a separate linker fragment file "linker_common.lf" for the
functions in "port_common.c". The placement rules are now clearly specified
inside the linker fragment file.
2023-02-01 15:09:46 +08:00
Sarvesh Bodakhe
a24062d080
esp_wifi: improvements in station and softAP for connection management
...
1) station: send deauth while going from assoc to init, if reason is assoc timeout
2) softAP pmf: do not drop open deauth/disassoc if keys are not generated
3) softAP pmf: improvements in SA query handling
2023-02-01 12:22:46 +05:30
jgujarathi
c565724f3a
wpa_supplicant : fix invalid de-init of last_scan_res_used
...
During the wifi deinit last_scan_res_used is not set to 0 which will cause it be used directly after reinit.
Added changes which will set it to 0 during init and deinit.
2023-02-01 12:17:42 +05:30
jgujarathi
417fc6d404
wpa_supplicant : Correct scan results for GCMP RSN
...
Fixed a typo which was causing scan results for GCMP not showing correctly
2023-02-01 12:12:29 +05:30
David Čermák
57c4508eb3
Merge branch 'bugfix/lwip_sntp_fix' into 'master'
...
sntp: Fix esp_sntp_...() API potential races
Closes IDFGH-9223
See merge request espressif/esp-idf!22126
2023-02-01 14:39:28 +08:00
Jiang Jiang Jian
14167e0172
Merge branch 'feature/support_esp32c6_phy_update_0111' into 'master'
...
phy: update esp32c6 phy lib
See merge request espressif/esp-idf!22169
2023-02-01 14:16:46 +08:00
Wu Zheng Hui
33ae2e1073
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_cpu' into 'master'
...
esp32c6: support light_sleep (Stage 1: support CPU power down)
See merge request espressif/esp-idf!21985
2023-02-01 14:11:15 +08:00
Harshit Malpani
a176bff402
Merge branch 'bugfix/fix_return_value_in_httpd_socket_apis' into 'master'
...
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs
Closes IDFGH-9275
See merge request espressif/esp-idf!22168
2023-02-01 14:00:51 +08:00
chenjianhua
4b44305103
bluedroid: add params in GATT connect event
2023-02-01 12:08:33 +08:00
laokaiyao
330149f3a6
i2c: support i2c on esp32h2
2023-02-01 11:23:11 +08:00
zwl
423c43f3e3
Fixed hci uart tx long data error
2023-02-01 09:41:04 +08:00
jiangguangming
b0fa18d290
ci: fix typos tag naming of all flash_multi
2023-02-01 08:46:48 +08:00
David Cermak
e8ee09d817
lwip/sntp: Fix esp_sntp_ API races
...
Some of the esp_sntp_...() APIs that wrap lwip's SNTP
module use tcpip_callback() to execute the lwip functionality
in the correct state (either with locked TCP/IP core,
or within the TCP/IP thread).
tcpip_callback() however doesn't wait for completion of the callback,
which doesn't prevent from using the stack variables after destroy
if used as a parameter.
Introduced in a71fa82
.
Fixed by using of tcpip_api_call() instead of the tcpip_callback().
Closes https://github.com/espressif/esp-idf/issues/10611
2023-01-31 18:25:35 +01:00
gauri patankar
d14d001e44
wpa_supplicant:Fix potential null pointer dereference
2023-01-31 21:54:43 +05:30
wuzhenghui
7a4d38eac1
example: bringup light sleep example for esp32c6
2023-01-31 22:12:58 +08:00
wuzhenghui
cd9d914ba0
codeclean: clean esp32c6 rtc_sleep related code
2023-01-31 22:12:58 +08:00
Li Shuai
68594abe05
sleep: light sleep supported for esp32c6
2023-01-31 22:12:58 +08:00
wuzhenghui
a5467f42a0
codeclean: only S series chip VDDSDIO is configurable
2023-01-31 22:12:58 +08:00
Li Shuai
9b99fc9033
cpu retention: software cpu retention support for esp32c6
...
cpu retention: add riscv core sleep critical and non-critical register layout structure definition
cpu retention: add assembly subroutine for cpu critical register backup and restore
cpu retention: add cpu core critical register context backup and restore support
cpu retention: add cpu core non-critical register context backup and restore support
cpu retention: add interrupt priority register context backup and restore support
cpu retention: add cache config register context backup and restore support
cpu retention: add plic interrupt register context backup and restore support
cpu retention: add clint interrupt register context backup and restore support
cpu retention: wait icache state idle before pmu enter sleep
2023-01-31 22:12:54 +08:00
Li Shuai
1c39d64f95
cpu retention: refactor cpu retention and add cpu retention versions option in soc caps
2023-01-31 22:12:50 +08:00
Li Shuai
02f5df3b3e
Power Management: added protection to the configuration of each power domain
2023-01-31 22:12:27 +08:00
Li Shuai
0f6cda1dd3
Power Management: support DFS
2023-01-31 22:12:27 +08:00
Li Shuai
2b5618606b
pmu: clean modem clock pmu related code
2023-01-31 22:12:27 +08:00
cje
0fb408cc68
pmu active state ICG map initialize and modify i2c master force enable to enable
2023-01-31 22:12:27 +08:00
Li Shuai
c0ddaa5920
lp_timer: add hal-layer codes for esp32c6
2023-01-31 22:12:27 +08:00
Li Shuai
1eb08db0df
lp_timer: lp_timer register address mapping structure redefinition
2023-01-31 22:12:27 +08:00
Li Shuai
59cf87fe7d
pmu: sleep initialization and sleep start support for esp32c6
...
Initialize the pmu sleep machine constant when pmu is initialized, and calculate
the pmu sleep time adjustment value and hardware configuration value according
to the machine constant during system sleep.
Calibrate fast OSC before each sleep and use the calibration value to calculate
PMU hardware wait cycles when use the fast OSC as the work clock.
2023-01-31 22:12:27 +08:00
Li Shuai
6c1f58f135
pmu: add hal layer codes for esp32c6
2023-01-31 22:12:27 +08:00
Li Shuai
34d0464662
pmu: pmu register address mapping structure redefinition
2023-01-31 22:12:22 +08:00
Li Shuai
4e2a32d9b3
soc_cap: add SOC_PM_SUPPORT_VDDSDIO_PD soc_caps
...
soc_cap: add SOC_PM_CPU_RETENTION_BY_SW/REGDMA
soc caps: add SOC_PMU_SUPPORTED
2023-01-31 22:12:18 +08:00
David Čermák
dba0718f47
Merge branch 'feature/lwip_linux' into 'master'
...
lwip: Add support for linux target
Closes IDF-5707, IDF-5647, and IDF-6003
See merge request espressif/esp-idf!19302
2023-01-31 22:01:50 +08:00
Jiang Jiang Jian
20f5f641ef
Merge branch 'bugfix/restore_debug_print' into 'master'
...
wpa_supplicant: Restore DEBUG_PRINT in supplicant
See merge request espressif/esp-idf!22131
2023-01-31 21:29:56 +08:00
zwl
3a5373a5d0
Fixed the issue that Offest Base in SyncInfo was zero on ESP32-C6
2023-01-31 20:34:04 +08:00
morris
fd2b9d98d7
Merge branch 'bugfix/gdma_m2m_share_consumer_id' into 'master'
...
gdma: prevent mutli-channels connect to the same peripheral
Closes IDFGH-9182
See merge request espressif/esp-idf!22100
2023-01-31 19:48:24 +08:00
Jiang Jiang Jian
6d7282eebd
Merge branch 'feature/bringup_esp32c6_chip_wifi_rebase_master_2' into 'master'
...
esp_wifi: add txop limit support, sync header
See merge request espressif/esp-idf!21913
2023-01-31 19:41:50 +08:00
morris
3151f9c8f1
usj: bringup on esp32h2
2023-01-31 16:21:47 +08:00
Wan Lei
e6ed62d18a
Merge branch 'feature/spi_isr_pin_to_core' into 'master'
...
spi: add feature to assign core_id of spi isr registered
Closes IDF-6371
See merge request espressif/esp-idf!21597
2023-01-31 15:57:33 +08:00
George Joseph
c8f0ec7fa4
esp_sntp: Fix c++ compile issue in esp_sntp.h
...
Added a cast to esp_sntp_operatingmode_t in sntp_setoperatingmode()'s
call to esp_sntp_setoperatingmode(operating_mode). Althouogh C
doesn't require the cast, C++ does. Otherwise you get...
error: invalid conversion from 'u8_t' {aka 'unsigned char'}
to 'esp_sntp_operatingmode_t'
2023-01-31 07:54:30 +00:00
David Cermak
332e4902b4
lwip: Rename esp32 port layer to esp32xx
...
As it reflects all chips from esp32-xx family, not only esp32
2023-01-31 08:43:50 +01:00
David Cermak
fa97004faf
lwip: Support for linux target
...
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +01:00
morris
dbca74f1ef
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-01-31 15:18:19 +08:00
Rahul Tank
826495a145
Nimble: Added return value (success / failure ) to nimble_port_init
2023-01-31 12:01:02 +05:30
Harshit Malpani
e1e46e5dae
esp_http_server: fix return values for httpd_socket_send()
and httpd_socket_recv()
APIs
...
Closes https://github.com/espressif/esp-idf/issues/10658
2023-01-31 11:29:49 +05:30
morris
b7799ec84d
rom: patch uart function to switch buffer
2023-01-31 13:11:32 +08:00
cjin
13ccf8e906
phy: update esp32c6 phy lib
...
phy_init: phy_version 101,061a19e,Jan 11 2023,18:48:18
2023-01-31 12:29:22 +08:00
Song Ruo Jing
0d07f85916
Merge branch 'feature/esp32h2_ledc_support' into 'master'
...
ledc: Add support for ESP32H2
Closes IDF-6235 and IDF-6698
See merge request espressif/esp-idf!22120
2023-01-31 12:26:30 +08:00
Mahavir Jain
b44b88902e
Merge branch 'fix/stack-dram-memory-protection' into 'master'
...
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled
Closes IDF-6743
See merge request espressif/esp-idf!22130
2023-01-31 12:14:52 +08:00
Xu Si Yu
897b9700c4
Merge branch 'bugfix/fix_bug_of_c6_i154' into 'master'
...
ieee802154: update i154 lib to fix the bug of esp32c6
See merge request espressif/esp-idf!22151
2023-01-31 10:15:24 +08:00
Adam Múdry
e6fcaa4f9f
fatfs: Update to version 0.15
...
Updated FATFS to 0.15 from 0.14b and patched for ESP devices
2023-01-30 13:14:54 +00:00
Song Ruo Jing
ad55230b0a
ledc: Add support for esp32h2; Refactor ledc driver clock source selection related code
...
LEDC examples and test cases are supported on ESP32H2.
Switch to use general clock IDs for ledc_clk_cfg_t enum values.
Deprecate LEDC_USE_RTC8M_CLK.
2023-01-30 19:19:34 +08:00
Steve Jothen
7ca5fa87c0
Use correct recursive mutex for env and regular mutex for tz
2023-01-30 10:59:53 +01:00
Chip Weinberger
91ab4b5513
[AES] Timeout: return error dont abort
2023-01-30 01:37:00 -08:00
morris
a15830bcfc
Merge branch 'bugfix/correct_default_apb_frequency' into 'master'
...
soc: fix wrong APB_CLK_FREQ value on esp32c6
Closes IDF-6343
See merge request espressif/esp-idf!22080
2023-01-30 17:12:55 +08:00
wanlei
713dc06661
spi: add feature to modify core_id of spi isr regstered
2023-01-30 16:14:02 +08:00
Xu Si Yu
7a2948f42a
ieee802154: update i154 lib to fix the bug of esp32c6
2023-01-30 15:30:59 +08:00
chenjianhua
0976a1d7f6
bluedroid: add periodic adv sync transfer API and EVT
2023-01-30 14:32:04 +08:00
Mahavir Jain
9374ebe529
esp32h2: add support for AES peripheral
...
Closes IDF-6280
2023-01-30 10:09:14 +05:30
Mahavir Jain
8203d40fc3
esp32h2: add support for SHA peripheral
...
Closes IDF-6275
2023-01-30 10:08:58 +05:30
wanglei
7cd87163a3
esp_rom: remove unsupported ld files (wifi related) for esp32h2
2023-01-30 11:28:26 +08:00
Wu Zheng Hui
e8773d12f2
Merge branch 'bugfix/switch_ahb_frequency_with_cpu_frequency' into 'master'
...
bugfix: make ahb freq consistent with cpu freq
See merge request espressif/esp-idf!21936
2023-01-29 19:00:19 +08:00
Jakob Hasse
a8b830ca92
Merge branch 'contrib/github_pr_10509' into 'master'
...
Make macro defined event base variables immutable (GitHub PR)
Closes IDFGH-9106
See merge request espressif/esp-idf!22032
2023-01-29 17:04:04 +08:00
jiangguangming
5edbd290a0
esp_rom: remove esp32h2.rom.rvfp.ld
2023-01-29 16:40:35 +08:00
jiangguangming
4731d4322e
esp_rom: remove newlib-time.ld from ROM built with 64-bit time_t
2023-01-29 16:37:13 +08:00
Marius Vikhammer
43c899b2bd
Merge branch 'bugfix/remove_undefined_rom_funcs' into 'master'
...
esp_rom: cleanup unsupported functions
See merge request espressif/esp-idf!22041
2023-01-29 11:47:39 +08:00
morris
774a05399b
soc: fix wrong APB_CLK_FREQ value on esp32c6
2023-01-28 06:33:23 +00:00
Alexey Lapshin
236fa5e669
Merge branch 'feature/upgrade-systemview-to-3_32' into 'master'
...
app_trace: sys_view: upgrade to version 3.42
Closes IDF-4646
See merge request espressif/esp-idf!21306
2023-01-28 11:24:13 +08:00
Lou Tianhao
a07c736d71
bugfix: make ahb freq consistent with cpu freq
2023-01-28 10:48:51 +08:00
Alexey Lapshin
18e5627a86
sys_view: upgrade to version 3.42
2023-01-27 22:22:33 +07:00
Abhik Roy
9cf70e0c98
Merge branch 'lwip/restrict_dhcp_server_client_together' into 'master'
...
esp-lwip: Restrict configuring DHCP server and client together
See merge request espressif/esp-idf!22137
2023-01-27 22:36:30 +08:00
Mahavir Jain
68a3bb295e
Merge branch 'contrib/github_pr_10378' into 'master'
...
Stop WiFi provisioning in the esp_event thread instead of creating new thread (GitHub PR)
Closes IDFGH-8966
See merge request espressif/esp-idf!22104
2023-01-27 21:23:39 +08:00
Abhik Roy
b44f9d6b6f
Merge branch 'lwip/esp_netif_def_iface' into 'master'
...
esp-lwip: Added API to return default esp-netif.
See merge request espressif/esp-idf!22124
2023-01-27 21:07:27 +08:00
Barabas Raffai
005196d86d
Clean up wifi provisioning in the esp_event thread
...
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
2023-01-27 15:39:08 +05:30
Abhik Roy
d762f9a1a5
esp-lwip: Added check in esp_netif_new() to restrict configuring DHCP
...
server and client together.
2023-01-26 20:59:04 +05:30
Guillaume Souchere
6382f28998
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled
...
If memory protection is enabled on esp32c3 and esp32s3, we don't want to the heap component to see
the startup stack memory as D/IRAM but as DRAM only. Introduce a new type to make this possible in
the same fashion the regular D/IRAM regions are handled.
2023-01-26 10:52:34 +01:00
Guillaume Souchere
a26ecafa0d
Merge branch 'fix/malloc_cap_exec_on_esp32c6' into 'master'
...
heap: Fix allocation issue when trying to allocate in IRAM on esp32c6
Closes IDF-6306
See merge request espressif/esp-idf!22077
2023-01-26 17:45:23 +08:00
Zim Kalinowski
47570993b4
Merge branch 'feature/heap-replace-bzero-call-with-memset' into 'master'
...
heap: replace usage of bzero() with memset() across the component
Closes IDFGH-3073
See merge request espressif/esp-idf!22125
2023-01-25 20:49:18 +08:00
gauri patankar
85de6f3f9a
wpa_supplicant: Restore DEBUG_PRINT in supplicant
2023-01-25 16:57:44 +05:30
Kapil Gupta
de42b2912c
Merge branch 'bugfix/update_wps_api_documentation' into 'master'
...
wpa_supplicant: Update WPS API documentation
Closes IDFGH-8996
See merge request espressif/esp-idf!21714
2023-01-25 18:52:51 +08:00
Guillaume Souchere
fb9a7f36d4
heap: replace usage of bzero() with memset() across the component
...
See https://github.com/espressif/esp-idf/issues/5095
2023-01-25 09:28:56 +01:00
Abhik Roy
7e81518a57
esp-lwip: Added API to expose default esp-netif.
2023-01-25 12:03:02 +05:30
Guillaume Souchere
11f99ef649
heap: Add memory protection activation test
...
Check that when trying to allocate in IRAM with the system memory protection enabled,
null pointer is returned, or that an address in IRAM is returned if the memory protection
is disabled.
2023-01-25 07:20:57 +01:00
Mahavir Jain
d825753387
Merge branch 'fix/mbedtls_null_pointer_dereference' into 'master'
...
mbedtls: fix null pointer dereference of variable iv_off
See merge request espressif/esp-idf!22122
2023-01-25 13:37:34 +08:00
KonstantinKondrashov
73d756d073
bootloader_support(esp32c2): Fix esp_secure_boot_cfg_verify_release_mode API
...
When FE and SB keys are set then:
- 128 low bits are read protected
- 128 hi bits are readable
2023-01-24 18:16:19 +08:00
harshal.patil
75899755b7
mbedtls: fix null pointer dereference of variable iv_off
...
iv_off gets dereferenced before being check for NULL
2023-01-24 12:20:00 +05:30
Alexey Lapshin
dd40877ab2
sys_view: upgrade to version 3.32
2023-01-24 00:26:58 +07:00
Guillaume Souchere
a5d6f62e7e
heap: Prevent alloc from IRAM to call dram_alloc_to_iram() on esp32c6 target
...
Since DRAM and IRAM are superposed on esp32c6 it is not necessary to convert a freshly allocated
DRAM addr to its IRAM equivalent when MALLOC_CAP_EXEC is passed to heap_caps_malloc(). Instead,
proceed with a default allocation since the address returned by multi_heap_malloc() already belongs
to the IRAM region.
Applies for esp32c6 and every boards with superposed DRAM and IRAM addresses.
2023-01-23 07:42:20 +01:00
laokaiyao
3b450fb865
refactor soc CMakeLists
2023-01-20 22:07:50 +08:00
Mahavir Jain
e7ca2f2622
Merge branch 'feature/esp32c6_enable_hmac_and_ds_support' into 'master'
...
Feature/esp32c6 enable hmac and ds support
Closes IDF-5355 and IDF-5360
See merge request espressif/esp-idf!21761
2023-01-20 20:30:54 +08:00
Mahavir Jain
7943a920d3
Merge branch 'fix/protocomm_kconfig_flag' into 'master'
...
protocomm: Fix Kconfig flag dependency on wifi_provisioning component
Closes IDFGH-7925
See merge request espressif/esp-idf!22083
2023-01-20 17:10:31 +08:00
Ondrej Kosta
46c00b2478
Merge branch 'contrib/github_pr_10554' into 'master'
...
Verify w5500 chip properly (GitHub PR)
Closes IDFGH-9158
See merge request espressif/esp-idf!22073
2023-01-20 15:41:50 +08:00
Jiang Guang Ming
fe3e54eb70
Merge branch 'bugfix/esp_rom_wdt_linker_issue' into 'master'
...
esp_rom: fix esp_rom_wdt linker issue
See merge request espressif/esp-idf!22099
2023-01-20 14:59:03 +08:00
Martin Vychodil
a2b0068478
Merge branch 'bugfix/linux_build_errors' into 'master'
...
fix(linux): fix build errors without --skip-setting-flags
See merge request espressif/esp-idf!22063
2023-01-20 14:46:36 +08:00
Laukik Hase
7759079362
protocomm: Fix Kconfig dependency on wifi_provisioning
component config
...
- `protocomm` depends on a config option `CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION`
from `wifi_provisioning`; however, a lower layer component (`protocomm`) should
not have any `#ifdef` guard dependent on an upper layer component (`wifi_provisioning`).
- Added a new `ble_link_encryption` flag in `protocomm_ble_config_t` to manage the same
Closes https://github.com/espressif/esp-idf/issues/9443
2023-01-20 11:01:01 +05:30
jiangguangming
a14c2c298c
esp_rom: fix esp_rom_wdt linker issue
2023-01-20 13:03:02 +08:00
Marius Vikhammer
e2d3f7c54c
Merge branch 'feature/c6_wdt' into 'master'
...
wdt: add support for WDTs on C6
Closes IDF-5935 and IDF-5340
See merge request espressif/esp-idf!21038
2023-01-20 10:36:42 +08:00
Mahavir Jain
91c25b519c
Merge branch 'fix/hardware_ecc_port' into 'master'
...
mbedtls/ecp: Fix incorrect ECP parameter value
Closes IDF-6706
See merge request espressif/esp-idf!22046
2023-01-19 22:14:46 +08:00
Darian
ac1c550c52
Merge branch 'bugfix/rmt_tx_synchronization_tests' into 'master'
...
driver(RMT): Fix RMT TX multi channel test
See merge request espressif/esp-idf!22051
2023-01-19 19:19:40 +08:00
Ondrej
5fdb49698a
esp_eth: fixed copyright for W5500
2023-01-19 07:56:22 +00:00
Alexey Lapshin
0f97a24892
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
...
This happened because of passing sdio_slave_hal_send_desc_t** to function
sdio_ringbuf_recv() which is declared to have char** as input parameter
2023-01-19 13:21:27 +07:00
Marius Vikhammer
5e9e8c396f
wdt: add support for WDTs on C6
2023-01-19 12:58:26 +08:00
Aditya Patwardhan
4084ab38a1
esp32c6/soc: Enable DS and HMAC capabilities for esp32c6 in soc_caps.h
2023-01-19 09:53:34 +05:30
Aditya Patwardhan
4831edc624
esp32c6/hal: Added support for HMAC and DS on esp32c6
...
* Update DS test_apps for esp32c6 SoC
2023-01-19 09:53:34 +05:30
Kevin (Lao Kaiyao)
668e125dd4
Merge branch 'feature/support_i2s_on_h2' into 'master'
...
i2s: support i2s on esp32h2
Closes IDF-6219 and IDF-6700
See merge request espressif/esp-idf!21948
2023-01-19 10:47:33 +08:00
Marius Vikhammer
0eda9b9215
esp-rom: remove unsupported ROM functions
2023-01-19 10:09:09 +08:00
Armando (Dou Yiwen)
8f82c5cdee
Merge branch 'feature/adc_oneshot_api_calibrated_result' into 'master'
...
esp_adc: added an all-in-one API to get calibrated voltage
Closes IDF-6651
See merge request espressif/esp-idf!22055
2023-01-19 10:01:03 +08:00
Alexey Lapshin
af83cd60e1
Revert "sdio_slave: workaround the sdio_slave crash issue with release config + GCC11"
...
This reverts commit 19add3fb05
.
2023-01-19 00:04:06 +07:00
Wan Lei
e7c520e849
Merge branch 'feature/add_spi_ckl_source_selectable' into 'master'
...
spi_master: add feature spi periph clk source selectable
Closes IDF-6289
See merge request espressif/esp-idf!21324
2023-01-19 00:54:24 +08:00
David Čermák
2f1d30d155
Merge branch 'bugfix/lwip_core_locking' into 'master'
...
esp_netif/lwip: Fix core-locking config
Closes IDFGH-8445, IDFGH-9098, and IDFGH-9063
See merge request espressif/esp-idf!20840
2023-01-18 20:31:25 +08:00
laokaiyao
c79187fdeb
i2s: support i2s on esp32h2
2023-01-18 18:42:56 +08:00
Jiang Jiang Jian
43f5f3d56d
Merge branch 'bugfix/coex_enable_disable_not_in_pairs' into 'master'
...
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs
Closes BCI-317
See merge request espressif/esp-idf!21895
2023-01-18 17:01:02 +08:00
Sachin Parekh
d9ac69362a
wpa_supplicant: Enable ECC test case
2023-01-18 14:25:53 +05:30
Sachin Parekh
b060179400
mbedtls/ecp: Fix incorrect ECP parameter value
...
- Add sanity checks in mbedtls port
- Add ECP test cases covering shorter scalar values
2023-01-18 14:24:57 +05:30
Jiang Jiang Jian
3636495d33
Merge branch 'bugfix/remove_redundant_debug_print' into 'master'
...
Remove redundant DEBUG_PRINT in supplicant
Closes IDFGH-9037
See merge request espressif/esp-idf!21857
2023-01-18 16:45:44 +08:00
Armando (Dou Yiwen)
9f3fd2802f
Merge branch 'feature/sdio_slave_c6' into 'master'
...
sdio: c6 support
Closes IDF-5809
See merge request espressif/esp-idf!21486
2023-01-18 16:42:32 +08:00
Armando
c71c0996e3
esp_adc: added an all-in-one API to get calibrated voltage
2023-01-18 16:38:18 +08:00
Song Ruo Jing
9db3865cb7
Merge branch 'feature/esp32h2_gpio_support' into 'master'
...
gpio: Add support for esp32h2
Closes IDF-6227, IDF-6388, IDF-6403, and IDF-6676
See merge request espressif/esp-idf!21986
2023-01-18 16:24:13 +08:00
morris
7e7533d3a1
Merge branch 'feature/rmt_support_h2' into 'master'
...
rmt: support esp32h2
Closes IDF-6224, IDF-6672, and IDF-6690
See merge request espressif/esp-idf!21934
2023-01-18 16:15:00 +08:00
Darian Leung
1834d8ac39
driver(RMT): Fix RMT TX multi channel test
...
This commit multiple issues with the following RMT TX tests:
- rmt_multi_channels_trans_no_dma
- rmt_multi_channels_trans_with_dma
The following issues are fixed:
- Channel stop times are now tested using TEST_ASSERT_INT64_WITHIN(). The
previous method did not account for the case where channel 1 finished before
channel 0
- Increased synchronous stop time delta for esp32-c6
- Increased main task stack size to prevent stack overflow onesp32-s3
2023-01-18 16:09:47 +08:00
Chip Weinberger
a555563558
[Heap Trace Standalone] speed up sequential access
2023-01-18 08:48:28 +01:00
wanlei
184145817c
spi_master: add feature spi periph clk source selectable
2023-01-18 15:40:12 +08:00
Marius Vikhammer
76613c8137
Merge branch 'feature/ulp_reliability_tests' into 'master'
...
ulp-riscv: add more test cases for deep sleep wakeup scenarios
Closes IDF-6466
See merge request espressif/esp-idf!22069
2023-01-18 14:32:58 +08:00
Ivan Grokhotkov
cef0744299
Merge branch 'bugfix/linux_target_gen_partition_table' into 'master'
...
multiple fixes for linux target
Closes IDF-6641
See merge request espressif/esp-idf!21993
2023-01-18 11:57:08 +08:00
Song Ruo Jing
4c8fdc31f9
gpio: Add support for esp32h2
2023-01-18 11:41:12 +08:00
morris
b589fff0af
rmt: support esp32h2
2023-01-18 11:40:35 +08:00
Song Ruo Jing
dcf3fcaec6
lp_io: Enable esp32c6 lp_io unit tests
2023-01-18 11:23:52 +08:00
wanlei
b20c156ae6
spi_master: update spi performance test resulte for C6
2023-01-18 10:41:43 +08:00
Armando
d39f0310de
sdio: split sdio ll version init, and hs_enable
2023-01-18 02:34:46 +00:00
Armando
f1de9faa71
sdio: c6 support
2023-01-18 02:34:46 +00:00
Armando
38551239fd
essl: update essl component in driver test
2023-01-18 02:34:46 +00:00
Shu Chen
57d9cb5ef6
Merge branch 'bugfix/fix_uint32_timer_overflow' into 'master'
...
openthread: fix alarm timer overflow
See merge request espressif/esp-idf!22000
2023-01-18 10:23:12 +08:00
Jakob Hasse
9991862a10
fix(linux): fix build errors and warnings, remove ignore file
2023-01-18 09:24:28 +08:00
David Cermak
a71fa82177
esp_netif/lwip: Fix core-locking config
...
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
* Fix openthread libs
Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-01-17 16:15:58 +01:00
lvshisheng
d1230c7d9e
esp32c6: add md5check, txop limit and sync header, update esp32c6 sdkconfig and itwt example
2023-01-17 20:51:51 +08:00
Kevin (Lao Kaiyao)
87ae8f8762
Merge branch 'bugfix/pcnt_sdm_test_on_h2' into 'master'
...
fix pcnt sdm pre-commit failure
See merge request espressif/esp-idf!22067
2023-01-17 20:40:36 +08:00
Aditya Patwardhan
634e408ca4
Merge branch 'fix/mbedtls_port_sanity_checks_and_return_values' into 'master'
...
mbedtls/port: refactor sanity checks and their return values
Closes IDF-3810
See merge request espressif/esp-idf!21987
2023-01-17 19:21:52 +08:00
Reinis Muiznieks
bb2f346e55
Verify w5500 chip properly
2023-01-17 11:52:51 +02:00
Island
2dc96f9a27
Merge branch 'feature/esp32c6_enable_pcl_feature' into 'master'
...
Enabled PCL feature on ESP32C6
Closes IDF-6529
See merge request espressif/esp-idf!21903
2023-01-17 17:35:04 +08:00
morris
d9825f5165
Merge branch 'feature/add_clk_tree_get_frequency_api' into 'master'
...
clk_tree: Stage 4 - Add a general API to get the frequency of different clocks
Closes IDF-6569
See merge request espressif/esp-idf!21830
2023-01-17 17:08:23 +08:00
Marius Vikhammer
8aaecb9b28
ulp-riscv: add more wakeup test cases
2023-01-17 16:41:48 +08:00
Kevin (Lao Kaiyao)
5d61788032
Merge branch 'bugfix/i2s_fix_incorrect_sclk_in_legacy_driver' into 'master'
...
i2s: fix incorrect sclk in legacy driver
See merge request espressif/esp-idf!21997
2023-01-17 15:34:06 +08:00
laokaiyao
58bde0f665
fix pcnt sdm pre-commit failure
2023-01-17 15:28:27 +08:00
C.S.M
01913f6d01
Merge branch 'feature/esp32h2_build_test' into 'master'
...
ESP32H2 (CI): enable CI build stage test on esp32h2
Closes IDF-6263 and IDF-6264
See merge request espressif/esp-idf!21954
2023-01-17 13:28:11 +08:00
Kevin (Lao Kaiyao)
c5af31fa19
Merge branch 'feature/support_pcnt_on_h2' into 'master'
...
pcnt: support pcnt on esp32h2
Closes IDF-6221 and IDF-6669
See merge request espressif/esp-idf!21950
2023-01-17 12:20:00 +08:00
Kevin (Lao Kaiyao)
235b1163af
Merge branch 'feature/support_sdm_on_h2' into 'master'
...
sdm: support sdm on esp32h2
Closes IDF-6220 and IDF-6699
See merge request espressif/esp-idf!21955
2023-01-17 12:16:23 +08:00
Marius Vikhammer
70d1dbccd8
Merge branch 'docs/enable_h2_build' into 'master'
...
docs: add support for building H2 docs
Closes IDF-6259
See merge request espressif/esp-idf!21933
2023-01-17 12:11:29 +08:00
laokaiyao
3908f4c84d
i2s_test: fix output half sample rate failure
2023-01-17 11:37:22 +08:00
laokaiyao
c25fc7d242
i2s: fix incorrect sclk in legacy driver
2023-01-17 11:34:25 +08:00
Song Ruo Jing
4bd36e6576
clk_tree: Update clock tree programming guide for esp32c6
2023-01-17 11:30:43 +08:00
Song Ruo Jing
c7c2462d39
system: Add complete support for disabling ROM logging by calling esp_deep_sleep_disable_rom_logging on C2, C3, and S3
2023-01-17 11:30:43 +08:00
Song Ruo Jing
2c9aa4559c
clk_tree: Add a general API to get the frequency of different clocks
...
Add basic clk_tree driver and hal implementation.
2023-01-17 11:30:24 +08:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Marius Vikhammer
7100b7d1ff
docs: add support for building H2 docs
2023-01-17 10:04:26 +08:00
harshal.patil
5ee1e97e6f
mbedtls: added a test of different auth-tag lengths in AES-GCM
2023-01-16 15:04:08 +05:30
harshal.patil
270ff95022
mbedtls/port: refactor sanity checks and their return values
...
Refactored and returned correct error codes for sanity checks
present in port layer esp_aes.c and esp_aes_gcm.c
2023-01-16 15:04:08 +05:30
harshal.patil
9a47f8a066
mbedtls/port: added stream_block parameter sanity check
2023-01-16 15:04:08 +05:30
Fu Hanxi
9e24739228
Merge branch 'ci/linux_host_test_with_pytest' into 'master'
...
CI: Linux host test with pytest
Closes IDFCI-1571
See merge request espressif/esp-idf!21907
2023-01-16 16:22:44 +08:00
Shu Chen
46a1165da1
Merge branch 'feature/add_support_for_c6_br' into 'master'
...
openthread: enable br for esp32c2 and esp32c6
See merge request espressif/esp-idf!21935
2023-01-16 15:39:53 +08:00
Island
1157657664
Merge branch 'feature/modify_bt_sdkconfig_to_support_bluedroid_on_esp32c6' into 'master'
...
modify bt sdkconfig to support bluedroid examples for esp32c6
Closes IDF-6525 and BT-3113
See merge request espressif/esp-idf!21928
2023-01-16 15:32:53 +08:00
zhangwenxu
4fc1035fd8
openthread: fix alarm timer overflow
2023-01-16 13:39:11 +08:00
zwl
38c5f239be
Enabled PCL feature on ESP32C6 BT Controller
2023-01-16 12:28:44 +08:00
Fu Hanxi
b02687a6c4
test: migrate linux target host test jobs into pytest-embedded
2023-01-16 10:25:55 +08:00
David Čermák
a786676d8d
Merge branch 'bugfix/esp_netif_ppp_set_dns' into 'master'
...
esp_netif: Allow set_dns_info() for PPP netifs
Closes IDFGH-7031
See merge request espressif/esp-idf!21863
2023-01-14 04:47:08 +08:00
morris
bcc307cf7b
Merge branch 'feature/rmt_no_light_sleep_lock' into 'master'
...
rmt: avoid auto light sleep when use xtal as the clock source
See merge request espressif/esp-idf!21831
2023-01-14 00:08:55 +08:00
Mahavir Jain
c0c2e3a73a
Merge branch 'fix/esp_local_ctrl_header_incl' into 'master'
...
esp_local_ctrl: Fix header inclusion
See merge request espressif/esp-idf!22033
2023-01-13 23:47:55 +08:00
Jiang Jiang Jian
def5db1990
Merge branch 'bugfix/clear_pmk_cache_for_missing_reason_codes_master' into 'master'
...
Fix missing disconnected callback
See merge request espressif/esp-idf!22043
2023-01-13 23:34:16 +08:00
Shu Chen
210abd52b6
Merge branch 'bugfix/ot_cli_disbale_error' into 'master'
...
openthread: fix compile errors when disabling openthread cli
See merge request espressif/esp-idf!22001
2023-01-13 22:12:54 +08:00
Wang Qixiang
6d9634ca34
openthread: fix compile errors when disabling openthread cli
2023-01-13 22:12:54 +08:00
Xu Si Yu
e38d20849e
openthread: enable br for esp32c2 and esp32c6
2023-01-13 19:56:06 +08:00
Chip Weinberger
26a5117870
[Heap Trace Standalone] fix terrible Leaks perf on large records by using doubly linked list
2023-01-13 11:43:09 +01:00
David Cermak
d16c422b11
esp_netif: Allow set_dns_info() for PPP netifs
...
esp_netif_set_dns_info() was available only for standard interfaces, not
for Point to point types (PPP, SLIP), but it should be normally
supported. Moreover DNS servers are global in lwip, so it doesn't really
depend on type of the interface.
Also added some minor fixes to the esp_netif_get_dns_info() to allow for
NULL parameters (as it's a public API) and hardcode the IPv4 type in
case of DHCP server capable interface.
Updated logs and added error checks to the original API, before we
launch the lwIP counterpart.
Closes https://github.com/espressif/esp-idf/issues/8648
2023-01-13 10:31:28 +00:00
laokaiyao
482a26e284
sdm: support sdm on esp32h2
2023-01-13 16:55:51 +08:00
laokaiyao
2730186561
pcnt: support pcnt on esp32h2
2023-01-13 16:11:50 +08:00
Zhi Wei Jian
a8f66c66e0
Merge branch 'feature/support_get_dev_name_for_bt' into 'master'
...
Bluedroid: support get bluetooth device name
Closes BT-3019
See merge request espressif/esp-idf!21876
2023-01-13 16:07:16 +08:00
Harshit Malpani
a1e9a87e69
Merge branch 'bugfix/fix_ESP_LOG_to_debug' into 'master'
...
esp_http_client: fix debug log from LOGI to LOGD
Closes IDFGH-8892
See merge request espressif/esp-idf!22011
2023-01-13 15:51:23 +08:00
Ivan Grokhotkov
e7540dbe0e
docs: remove the outdated "IDF monitor doesn't work on linux" notes
2023-01-13 08:14:56 +01:00
Ivan Grokhotkov
ec8f38c9da
build system: generate the partition table by default for linux target
...
This fixes the issue that "idf.py partition-table" had to be run
manually in order for the partition table to be generated, when
building for linux target.
2023-01-13 08:14:56 +01:00
Shyamal Khachane
64ca03d396
esp_wifi: Fix missing disconnected callback
2023-01-13 12:44:46 +05:30
Mahavir Jain
fd34bdb70a
Merge branch 'feature/secure_features_are_enabled_correctly' into 'master'
...
security: Adds new APIs to check that all eFuse security features are enabled correctly
Closes IDF-1814
See merge request espressif/esp-idf!19532
2023-01-13 15:09:55 +08:00
Shen Weilong
45aaeda1e3
modify bt sdkconfig to support bluedroid examples for esp32c6
2023-01-13 15:05:34 +08:00
Chen Yu Dong
db9586c53f
Merge branch 'feature/enable_build_wifi_examples_esp32c6' into 'master'
...
examples: enable build esp32c2/esp32c6 for wifi and network examples
See merge request espressif/esp-idf!21970
2023-01-13 13:58:21 +08:00
chenjianhua
708ca0181c
bluedroid: support get bluetooth device name
2023-01-13 10:39:57 +08:00
morris
b1ff550f69
Merge branch 'feature/driver_support_esp32c6_gptimer_etc' into 'master'
...
gptimer: support esp32h2
Closes IDF-6242
See merge request espressif/esp-idf!21925
2023-01-13 08:23:33 +08:00
Martin Vychodil
1da27eb6fe
Merge branch 'feature/storage_esp_partition_linux' into 'master'
...
esp_partition: added missing functions for linux target
See merge request espressif/esp-idf!21762
2023-01-13 02:04:54 +08:00
morris
ce84476870
gptimer: support esp32h2
2023-01-12 14:10:11 +00:00
Mahavir Jain
1a8a06775d
Merge branch 'bugfix/fix_coverity_issue_in_esp_http_client' into 'master'
...
esp_http_client: free `auth_str` before going out of scope
See merge request espressif/esp-idf!22014
2023-01-12 21:09:20 +08:00
Armando (Dou Yiwen)
d1b8da74d8
Merge branch 'refactor/improve_adc_power_maintanance' into 'master'
...
adc: improve adc power maintanance
Closes IDF-6114 and IDF-6318
See merge request espressif/esp-idf!21151
2023-01-12 20:30:36 +08:00
Laukik Hase
4f67662cab
Merge branch 'feature/mbedtls-3.3.0' into 'master'
...
mbedtls: Update to v3.3.0
Closes IDF-6536
See merge request espressif/esp-idf!21897
2023-01-12 19:38:51 +08:00
Laukik Hase
e7efda4709
esp_local_ctrl: Fix header inclusion
...
- Included `sdkconfig.h` and HTTP/S server based headers
explicitly
2023-01-12 16:16:45 +05:30
Luke Dennis
b4d904f8f0
Make macro defined event base variables immutable and update license
2023-01-12 18:07:00 +11:00
lvshisheng
f4ff1b577b
header: update he_types.h
2023-01-12 14:50:11 +08:00
morris
c83d1db2ed
Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit' into 'master'
...
mcpwm: support not reset GPIO config at exit
Closes IDFGH-8916
See merge request espressif/esp-idf!21568
2023-01-12 13:20:47 +08:00
Mahavir Jain
d8af04234c
Merge branch 'update/update_certs_bundle' into 'master'
...
Update esp_crt_bundle certificates
See merge request espressif/esp-idf!21996
2023-01-12 12:58:36 +08:00
Armando (Dou Yiwen)
297c7852a5
Merge branch 'bugfix/fix_adc_channel_h_not_aligned_to_ng_driver_issue' into 'master'
...
adc: make adc_channel.h macros work with ng driver
Closes IDFGH-9105
See merge request espressif/esp-idf!21946
2023-01-12 11:07:20 +08:00
morris
f7c3d791a2
Merge branch 'feature/systimer_support_esp32h2' into 'master'
...
systimer: assign counter and alarm in esp_hw_support
Closes IDF-6484, IDF-5323, and IDF-6230
See merge request espressif/esp-idf!21984
2023-01-12 11:01:17 +08:00
morris
8d3172d1fb
Merge branch 'bugfix/fix_build_of_esp32h4beta1' into 'master'
...
soc: add a header file to fix the bug of esp32h4beta1 build
See merge request espressif/esp-idf!21999
2023-01-12 00:57:58 +08:00
Adam Múdry
204f4207ec
Merge branch 'feature/ext_flash_yield_on_erase' into 'master'
...
Yield functionality for external flash, mask esp_flash_erase_chip with esp_flash_erase_sector
Closes IDFGH-7665, IDFGH-8487, and IDFGH-6479
See merge request espressif/esp-idf!19205
2023-01-11 20:16:05 +08:00
Xu Si Yu
d17ecbcf5d
soc: add a header file to fix the bug of esp32h4beta1 build
2023-01-11 11:46:05 +00:00
Harshit Malpani
3152fba654
esp_http_client: fix coverity issue. free auth_str
before going out of scope
2023-01-11 16:57:04 +05:30
Harshit Malpani
6e92edd848
esp_http_client: fix debug log from LOGI to LOGD
...
Closes https://github.com/espressif/esp-idf/issues/10313
2023-01-11 15:55:52 +05:30
Konstantin Kondrashov
1d2469fbd1
Merge branch 'feature/ipc_uses_tasknotify' into 'master'
...
esp_ipc: ipc_task uses TaskNotify instead of Semaphore
Closes IDFGH-8795
See merge request espressif/esp-idf!21347
2023-01-11 15:56:29 +08:00
morris
1f3507eac0
Merge branch 'feature/gdma_support_h2' into 'master'
...
gdma: support esp32h2
Closes IDF-6222 and IDF-6238
See merge request espressif/esp-idf!21932
2023-01-11 14:04:14 +08:00
Chip Weinberger
8b2b430d68
[Heap Trace Standalone] fix terrible Leaks perf on large records by using doubly linked list
2023-01-10 21:01:11 -08:00
C.S.M
e96e7ecbee
Merge branch 'bugfix/fix_bunch_of_i2c_issues' into 'master'
...
I2C: Fix bunch of small issues
Closes IDFGH-8722 and IDFGH-8310
See merge request espressif/esp-idf!21891
2023-01-11 11:02:53 +08:00
Espressif BOT
35cd5ee57b
Update esp_crt_bundle certificates
2023-01-11 10:00:31 +08:00
Jiang Jiang Jian
a6f7035c8c
Merge branch 'feature/example_deep_sleep_wake_stub' into 'master'
...
make wake stub worked on ESP32/S2/C3/S3
Closes IDFGH-6564
See merge request espressif/esp-idf!17952
2023-01-10 23:40:10 +08:00
KonstantinKondrashov
df662c30e4
bootloader_support(esp32c2): Fix WR_DIS_RD_DIS burn for secure boot key
...
SB key is left readable, the corresponding bit in RD_DIS is unset.
We set write-protection for RD_DIS to ensure that the SB key is always readable.
2023-01-10 23:35:13 +08:00
KonstantinKondrashov
696f7495a0
security: Adds new APIs to check that all eFuse security features are enabled correctly
2023-01-10 23:35:13 +08:00
Darian
20f0afd684
Merge branch 'feature/esp_pm_unit_test_migration' into 'master'
...
esp_pm: Migrate unit tests to test app
Closes IDF-5581
See merge request espressif/esp-idf!21229
2023-01-10 21:35:43 +08:00
Zhi Wei Jian
c176e5e0ec
Merge branch 'bugfix/fix_blufi_frag_pkt_vulnerability' into 'master'
...
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
Closes BT-3106
See merge request espressif/esp-idf!21819
2023-01-10 21:13:01 +08:00
radek.tandler
9e191bad52
esp_partition/linux target: Add functions supporting host tests
...
Added statistics and wear simulation functions to support migration of
remaining storage related host tests from fixture to linux implementation
of esp_partition.
2023-01-10 14:10:14 +01:00
chenjianhua
e1888dbb96
bluedroid: add GATT read multi variable API and evt
2023-01-10 20:44:23 +08:00
chenjianhua
175be1c42c
bluedroid: support ble privacy by controller
2023-01-10 18:50:11 +08:00
morris
6c1d98d556
systimer: assign counter and alarm in esp_hw_support
2023-01-10 17:05:49 +08:00
jiangguangming
a367ab4b76
ld: fix rtc.data rtc.bss section issues
...
1. rtc.data section: should include sbss srodata in rtc_wake_stub*.*
2. rtc.bss section: move rtc .bss .bss.* from rtc.data to rtc.bss
2023-01-10 17:03:54 +08:00
jiangguangming
f74a43d002
use LL function to get wakeup cause
2023-01-10 17:03:54 +08:00
jiangguangming
4b4491e736
rtc_time.c: simplify the rtc_time_get with LL function
2023-01-10 17:03:54 +08:00
jiangguangming
51ec91c637
add example deep sleep wake stub
2023-01-10 17:03:50 +08:00
morris
3681dee80e
gdma: support esp32h2
2023-01-10 16:37:02 +08:00
morris
d0b7f3214a
gdma: correct the dma trigger of uart
...
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-01-10 16:37:01 +08:00
morris
cbde82c33f
apm: added low level functions for tee controller
2023-01-10 16:37:01 +08:00
morris
f7fdba7f39
apm: disable permission control temporarily for esp32h2
...
Access Protection Mode is not yet configured globally, disable the APM
functionality temporarily for esp32h2 and esp32c6
2023-01-10 16:37:01 +08:00
Zim Kalinowski
7aabacbcfc
Merge branch 'refactor/posix_linux_sim_docs_code_format' into 'master'
...
[freertos/linux]: improved docs and coding style in non-SMP code
See merge request espressif/esp-idf!21832
2023-01-10 16:32:15 +08:00
jiangguangming
cceccb4ed9
hal: add rtc_cntl LL function for wake stub
2023-01-10 16:09:49 +08:00
Krzysztof Budzynski
738600d839
Merge branch 'docs/update_gpio_hold_en_description' into 'master'
...
docs: update description of gpio_hold_en()
See merge request espressif/esp-idf!21834
2023-01-10 15:50:05 +08:00
Darian Leung
412b09abf4
esp_pm: Migrate unit tests to test app
...
This commit migrates the esp_pm unit tests from the legacy unit test to a
stand alone test app. The following CI configurations are provided
- Default: Automatic light sleep with mostly default configurations
- Options: Enables all of the optional esp_pm features
- Limits: Limit tests esp_pm
2023-01-10 15:43:33 +08:00
C.S.M
faac178784
Merge branch 'feature/brownout_bringup_c6' into 'master'
...
BOD: Bringup for ESP32C6
Closes IDF-5345
See merge request espressif/esp-idf!21888
2023-01-10 14:42:43 +08:00
Jiang Jiang Jian
73b838dac3
Merge branch 'bugfix/sae_auth_and_pmk_issues' into 'master'
...
Fix SAE open auth and PMK issues
Closes WIFI-5059
See merge request espressif/esp-idf!21910
2023-01-10 14:03:01 +08:00
Shyamal Khachane
9603d1d903
Fix SAE open auth and PMK issues
2023-01-10 14:03:00 +08:00
Alexey Lapshin
022f3a28b6
Merge branch 'fix/efuse-function-declaration' into 'master'
...
efuse: fix esp_efuse_utility_write_reg() declaration
See merge request espressif/esp-idf!20490
2023-01-10 13:48:35 +08:00
Zhang Wen Xu
c29dc28176
Merge branch 'feature/add_ieee802154_multipan_api' into 'master'
...
ieee802154: add multipan api
See merge request espressif/esp-idf!21600
2023-01-10 11:14:51 +08:00
Zhi Wei Jian
c08cd91da3
Merge branch 'bugfix/fix_bluedroid_bug_for_pts' into 'master'
...
Bluedroid: fixed GATT multi notify and robust caching
Closes BT-3142
See merge request espressif/esp-idf!21871
2023-01-10 10:49:21 +08:00
Zhi Wei Jian
1002ad1f90
Merge branch 'bugfix/fix_disconn_due_to_instant_passed' into 'master'
...
Fix ble disconnect due to channel map update instant passed
Closes BT-3085
See merge request espressif/esp-idf!21889
2023-01-10 10:48:37 +08:00
Cao Sen Miao
56a2d0b8a2
BOD: Bringup for ESP32C6
2023-01-10 10:37:30 +08:00
tgotic
23a290f29f
esp_ipc: Use task notifications instead of semaphores
...
Closes https://github.com/espressif/esp-idf/pull/10226
- Drop the atomic usage
- Return the xSemaphoreTake for ask back
- Refactoring
2023-01-10 05:11:31 +08:00
Aleksei Apaseev
6b8be56e71
Merge branch 'fix/fix_incorrectly_defined_coredump_chip_version' into 'master'
...
espcoredump: fix incorrectly defined coredump chip version
See merge request espressif/esp-idf!21959
2023-01-10 01:48:30 +08:00
morris
7b04836a74
Merge branch 'bugfix/esp32c3_soc_dma_low' into 'master'
...
soc: fix SOC_DMA_LOW and SOC_BYTE_ACCESSIBLE_LOW for esp32c3, esp32c2, esp32h4
See merge request espressif/esp-idf!21883
2023-01-09 21:39:39 +08:00
Aleksei Apaseev
46651e7a6a
espcoredump: fix incorrectly defined coredump chip version
2023-01-09 18:43:35 +08:00
Laukik Hase
68d90dd392
protocomm: Fix test-app build for esp32c2 & esp32c6
...
- AES context has a breaking change, rather than storing
round keys directly, it stores the offset at which the keys
are present in the context buffer
2023-01-09 15:41:36 +05:30
Laukik Hase
1e4493e592
mbedtls: Fix build with dynamic buffers feature
2023-01-09 15:41:36 +05:30
Laukik Hase
c2ab1af47f
wpa_supplicant: Update deprecated API (mbedtls_pkcs5_pbkdf2_hmac
)
...
- The newer alternative does not require HMAC context for its
operation
2023-01-09 15:41:36 +05:30
Laukik Hase
59de3948dc
mbedtls: Update config options as per v3.3.0 release
2023-01-09 15:41:36 +05:30
Laukik Hase
d2dddf13ae
mbedtls: Update to v3.3.0
2023-01-09 15:41:35 +05:30
Kapil Gupta
45571b0525
Merge branch 'bugfix/remove_sha384_hash_for_bigger_certs' into 'master'
...
esp_wifi: remove sha384 hash for cert size > 2k
Closes WIFI-5208
See merge request espressif/esp-idf!21840
2023-01-09 18:07:50 +08:00
Armando
5ab90e9728
phy_override: add pwdet power function
2023-01-09 17:10:36 +08:00
Armando
5be3c21cfc
adc: improve power logic
2023-01-09 17:10:04 +08:00
Armando
f9da48d94f
rtc: add pwdet and sar adc power related low level func
2023-01-09 17:09:01 +08:00
Ivan Grokhotkov
0dcdd39db1
soc: fix some memory region boundaries for esp32c3, esp32c2, esp32h4
2023-01-09 07:33:37 +00:00
morris
5fb9866f0d
Merge branch 'feature/add_sdm_dac_example' into 'master'
...
sdm: add wave output example
Closes IDF-6636
See merge request espressif/esp-idf!21892
2023-01-09 15:30:30 +08:00
morris
dba66c100c
Merge branch 'feature/mcpwm_non_varg_version_api' into 'master'
...
mcpwm: support non-vararg version of generator functions
Closes IDFGH-9046
See merge request espressif/esp-idf!21872
2023-01-09 15:07:21 +08:00
xiaqilin
98871be8ee
ieee802154: add multipan api
2023-01-09 15:06:01 +08:00
Chen Yu Dong
e72905ee35
Merge branch 'ci/enable_more_wifi_tests' into 'master'
...
CI: enable more wifi cases
See merge request espressif/esp-idf!21488
2023-01-09 14:42:10 +08:00
Armando
349922dcee
adc: make adc_channel.h macros work with ng driver
...
Closes https://github.com/espressif/esp-idf/issues/10508
2023-01-09 14:25:24 +08:00
Cao Sen Miao
467356cfcd
I2C: Fix issue that pointer would be NULL if calls i2c_param first,
...
Closes https://github.com/espressif/esp-idf/issues/10163
2023-01-09 10:18:03 +08:00
Adam Múdry
586e738f8a
add: Unit test - don't trigger WDT when erasing chip
2023-01-08 13:58:37 +00:00
Adam Múdry
cfc8332833
spi: Mask esp_flash_erase chip with esp_flash_erase_sector
...
add: Fix to prevent WDT trigger
add: comments to better explain SPI API
Closes https://github.com/espressif/esp-idf/issues/9945
Closes https://github.com/espressif/esp-idf/issues/9212
Closes https://github.com/espressif/esp-idf/issues/8135
2023-01-08 13:58:37 +00:00
Matus Fabo
1b747867bd
spi: implement yield for spi2 and spi3
...
add: yield functions for spi2 and spi3
add: spi23 start and end functions
change: function names with spi1 that were not specific to spi1
change: chip data for spi2 and spi3 increased for timestamps
change: merge spi_app_func_arg_t into app_func_arg_t
change: moved os_func_data allocation before host check
2023-01-08 13:58:37 +00:00
Mahavir Jain
c948a70895
Merge branch 'fix/memory-layout-c6' into 'master'
...
soc: Fix memory layout for esp32c6
Closes IDF-5627
See merge request espressif/esp-idf!21894
2023-01-08 21:51:21 +08:00
Linda
cdc12389d5
docs: update description of gpio_hold_en()
2023-01-07 13:57:02 +08:00
Rocha Euripedes
8ba285d882
Merge branch 'feature/esp_mqtt_as_managed_component' into 'master'
...
[MQTT] - Moves compile definition out of idf
See merge request espressif/esp-idf!20651
2023-01-06 21:17:29 +08:00
chenjianhua
70bb6c7388
bluedroid: fixed GATT multi notify and robust caching
2023-01-06 20:13:58 +08:00
Jiang Jiang Jian
2b1e9dfe02
Merge branch 'feature/esp32c2_optimize_npl_api' into 'master'
...
Optimized NPL Freertos API
Closes BLE-459
See merge request espressif/esp-idf!21902
2023-01-06 19:23:53 +08:00
Armando (Dou Yiwen)
30a535db18
Merge branch 'refactor/move_mspi_timing_tuning_to_esp_hw_support' into 'master'
...
mspi: move timing tuning to esp_hw_support
Closes IDF-6470
See merge request espressif/esp-idf!21912
2023-01-06 18:47:07 +08:00
Guillaume Souchere
b8a4988451
soc: Update calculation of TWAI 1/2 base addresses
2023-01-06 09:30:36 +00:00
Guillaume Souchere
6dffac74e9
heap: Fix IRAM level 2 starting address
...
The IRAM level 2 address should start at the same address as DRAM level 2 and not DRAM level 3.
2023-01-06 09:30:36 +00:00
laokaiyao
6b631b68d1
sdm: correct concept duty to density
2023-01-06 17:01:48 +08:00
Wu Zheng Hui
751fa28919
Merge branch 'feature/update_esp32h2_memory_layout' into 'master'
...
ESP32-H2: update esp32h2 memory layout
See merge request espressif/esp-idf!21930
2023-01-06 15:51:29 +08:00
zwl
06937271bb
Optimized NPL Freertos API
2023-01-06 15:10:18 +08:00
Konstantin Kondrashov
ffea490cc7
Merge branch 'feature/mac_crc' into 'master'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort
Closes IDFGH-8989
See merge request espressif/esp-idf!21789
2023-01-06 14:50:40 +08:00
Armando
b46cfd15a2
mspi: move timing tuning to esp_hw_support
2023-01-06 14:41:20 +08:00
Euripedes Rocha
5afa3d347c
[MQTT] - Moves compile definition out of idf
...
- MQTT build process is to be managed in esp-mqtt repository
- Componenf directory points directly to submodule, usage must be
unchanged
2023-01-06 06:30:26 +00:00
Chen Yudong
8aca3932b0
CI: enable more wifi cases
2023-01-06 06:03:52 +00:00
wangmengyang
3cd5ba44d1
phy: removed unit test cases for some functions against cache disabled condition on ESP32-C3
...
function bt_bb_v2_init_cmplx and coex_pti_v2 are only used during bluetooth Controller initialization and do not require IRAM attribute
2023-01-06 06:03:52 +00:00
wuzhenghui
05e37ba214
esp32h2 memory: update esp32h2 memory layout
2023-01-06 05:30:24 +00:00
Marius Vikhammer
c55d82d1fa
Merge branch 'bugfix/nvs_docs_build' into 'master'
...
docs: fix nvs-related docs build issue
See merge request espressif/esp-idf!21917
2023-01-06 13:18:35 +08:00
Marius Vikhammer
7f0aa7b534
docs: updated path to nvs_tool.py in chinese doc.
2023-01-06 11:00:17 +08:00
Shu Chen
aa05964412
Merge branch 'bugfix/fix_recv_buffer_overflow' into 'master'
...
openthread_port: fix receive buffer overflow
See merge request espressif/esp-idf!21899
2023-01-06 10:27:28 +08:00
morris
4f8b2bedb5
Merge branch 'bugfix/ledc_glb_clk_compiler_warning' into 'master'
...
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on ESP32
Closes IDFGH-8904 and IDFGH-7450
See merge request espressif/esp-idf!21890
2023-01-05 22:39:35 +08:00
morris
4f37b0b0a0
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
WIP: clk: Add basic clock support for esp32h2
See merge request espressif/esp-idf!21865
2023-01-05 19:19:22 +08:00
zhangwenxu
eabc5e5b01
openthread_port: fix receive buffer overflow
2023-01-05 19:09:07 +08:00
David Čermák
c498017df6
Merge branch 'unit_test_for_C2_netif' into 'master'
...
lwip: Re-enable esp-netif unit tests for ESP32C2 target
See merge request espressif/esp-idf!21372
2023-01-05 18:56:23 +08:00
Ivan Grokhotkov
61c5fc21e1
docs: fix nvs-related docs build issue
2023-01-05 09:28:57 +01:00
Wan Lei
419544a2c8
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX' into 'master'
...
spi: fix micro SPI_HOST_MAX error
Closes IDFGH-8932
See merge request espressif/esp-idf!21557
2023-01-05 16:07:17 +08:00
Sudeep Mohanty
28ccb3b414
Merge branch 'bugfix/rtc_i2c_stuck_after_esp_restart' into 'master'
...
ulp risc-v rtc i2c: Fix a bug where RTC I2C failed to initialize after esp_restart()
Closes IDFGH-9065
See merge request espressif/esp-idf!21862
2023-01-05 15:59:08 +08:00
Sudeep Mohanty
2df00a4b17
Merge branch 'docs/ulp_riscv_i2c_sub_reg_addr' into 'master'
...
ulp-riscv-i2c: Updated API documentation about sub register address usage
Closes IDFGH-9023
See merge request espressif/esp-idf!21838
2023-01-05 15:58:29 +08:00
David Čermák
063a26b5e6
Merge branch 'bugfix/lwip_mark_ppp_officially_supported' into 'master'
...
lwip: Mark PPP officially supported
Closes IDFGH-8820
See merge request espressif/esp-idf!21900
2023-01-05 15:57:45 +08:00
Song Ruo Jing
46f67092d0
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on specific kconfig options selected
...
Closes https://github.com/espressif/esp-idf/pull/9025
Closes https://github.com/espressif/esp-idf/issues/10322
2023-01-05 15:16:04 +08:00
Mahavir Jain
21c5c50924
Merge branch 'feature/esp_http_client_on_linux' into 'master'
...
Feature/esp http client on linux
Closes IDF-6564
See merge request espressif/esp-idf!21128
2023-01-05 14:55:02 +08:00
Shreyas Sheth
623d384778
Merge branch 'bugfix/wps_coverity_fwd_null' into 'master'
...
wpa_supplicant: Bugfix wps coverity forward null pointer issue
See merge request espressif/esp-idf!21848
2023-01-05 14:31:46 +08:00
Wan Lei
747214616c
Merge branch 'feature/add_api_spi_slave_trans_in_isr' into 'master'
...
spi_slave: add isr version api to add transaction in isr callback
Closes IDF-6199 and IDF-6049
See merge request espressif/esp-idf!20587
2023-01-05 12:46:01 +08:00
wangmengyang
29610b8a1b
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6
2023-01-05 12:34:49 +08:00
Zhang Wen Xu
4485bd4245
Merge branch 'bugfix/phy_print_link_error_when_build_lib_from_src' into 'master'
...
ieee802154: fix phy_printf link error when build lib from src
See merge request espressif/esp-idf!18922
2023-01-05 11:34:28 +08:00
Armando (Dou Yiwen)
7e4ef3c321
Merge branch 'feature/remove_80m_ddr_warning' into 'master'
...
mspi: remove 80m ddr warning regarding to timing tuning
See merge request espressif/esp-idf!18380
2023-01-05 11:05:06 +08:00
Island
e58181b3f9
Merge branch 'bugfix/fixed_hci_uart_flow_ctrl_error_on_esp32c2' into 'master'
...
Bugfix/fixed hci uart flow ctrl error on esp32c2
Closes BLE-460, BLE-471, and IDF-6530
See merge request espressif/esp-idf!21882
2023-01-05 10:06:16 +08:00
Adam Múdry
40d1eff2bd
Merge branch 'feature/nvs_tool_refinement' into 'master'
...
nvs: Partition tool refinement
Closes IDF-6061
See merge request espressif/esp-idf!20683
2023-01-05 06:39:01 +08:00
mofeifei
0fc2fbe83f
docs: update cn trans nvs_partition_tool/readme
2023-01-04 18:32:30 +01:00
Mahavir Jain
650fa6dba0
Merge branch 'feature/enable_SHA_and_AES_support_for_esp32c6' into 'master'
...
Feature/enable sha and aes support for esp32c6
Closes IDF-5353 and IDF-5356
See merge request espressif/esp-idf!21782
2023-01-04 23:48:34 +08:00
David Cermak
d964aaceac
lwip: Mark PPP officially supported
...
Closes https://github.com/espressif/esp-idf/issues/10249
2023-01-04 14:20:20 +01:00
Armando
7b3dc05308
mspi: remove mspi 80m ddr mode warning regarding to timing tuning
2023-01-04 12:45:20 +00:00
Wang Meng Yang
068fec4714
Merge branch 'bugfix/access_nullptr_when_ble_disconn' into 'master'
...
Bugfix/Fixed crash caused by accessing nullptr in `btm_acl_disconnected`
See merge request espressif/esp-idf!21877
2023-01-04 20:43:58 +08:00
Adam Múdry
87bdcc89d0
nvs: NVS tool refinement
...
add: JSON output
add: integrity check - correct number of free pages check
change: split to separate files
2023-01-04 12:44:22 +01:00
Island
bdf3001a45
Merge branch 'feature/support_ble_for_esp32c6' into 'master'
...
support ble for esp32c6
See merge request espressif/esp-idf!21866
2023-01-04 19:10:22 +08:00
Konstantin Kondrashov
708a9047e8
Merge branch 'feature/adds_funcs_to_read_efuses_from_cmake' into 'master'
...
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
Closes IDFGH-8890
See merge request espressif/esp-idf!21585
2023-01-04 17:17:47 +08:00
zhangwenxu
0ce075e7fa
ieee802154: fix phy_printf link error when build lib from src
2023-01-04 17:03:53 +08:00
wanlei
120d54d700
test: formate test_spi_slave.c
2023-01-04 15:35:04 +08:00
wanlei
45c1dc424f
spi_slave: add spi 'spi_slave_queue_reset_isr' and add test
2023-01-04 15:35:04 +08:00
wanlei
6ae852f8b0
spi_slave: add api 'queue_trans_isr' and add a test case
2023-01-04 15:35:04 +08:00
wanlei
971eaa0c08
spi_slave: fix spi_slave_isr iram_safe and add test case for it
2023-01-04 15:35:04 +08:00
zhaoweiliang
98c487233c
Fixed task watchdog trigger issue when closed hci uart
2023-01-04 15:27:31 +08:00
morris
781eb0c2ce
Merge branch 'doc/calarify_transmitted_symbols' into 'master'
...
rmt: clarify num_symbols in the tx done event data
Closes IDFGH-9026
See merge request espressif/esp-idf!21807
2023-01-04 14:50:37 +08:00
Guillaume Souchere
8fe13d53b1
Merge branch 'feature/re-enable-newlib-test-c2' into 'master'
...
newlib: Remove tests using RTC related features from the esp32c2 test set
Closes IDF-5057
See merge request espressif/esp-idf!21858
2023-01-04 14:46:58 +08:00
Aditya Patwardhan
be38f94c6c
esp32c6 support: Enable support for SHA and AES in esp32c6
2023-01-04 12:07:32 +05:30
Aditya Patwardhan
04a9366694
esp32c6-SHA/AES support: Added sha_ll.h and aes_ll.h files in hal layer
2023-01-04 12:07:26 +05:30
Guillaume Souchere
ebbe24ac09
Merge branch 'feature/re-enable-intr-alloc-test-c2' into 'master'
...
esp-hw-support: Re-enable intr_alloc tests on esp32c2 target
Closes IDF-5061
See merge request espressif/esp-idf!21836
2023-01-04 14:25:05 +08:00
Harshit Malpani
49ce5ada76
ci: Fix ci failures for target esp32c6
2023-01-04 11:20:52 +05:30
Harshit Malpani
e215ede439
mbedtls: Add support to build for linux target
2023-01-04 11:17:29 +05:30
Harshit Malpani
0635dc36c1
tcp_transport: Update tcp_transport to support linux build
2023-01-04 11:17:29 +05:30
Harshit Malpani
68ded2c350
esp_http_client: fix -Werror-format compile errors for linux target
2023-01-04 11:17:28 +05:30
Harshit Malpani
1c77e13d35
esp_http_client: Update to support build for linux
2023-01-04 11:17:28 +05:30
Harshit Malpani
43e4383bb7
esp-tls: fix build error without -Wno-format compile flag when building for Linux target
2023-01-04 11:17:27 +05:30
Harshit Malpani
aefd3b0aec
esp-tls: update esp-tls to support linux build
2023-01-04 11:17:27 +05:30
Harshit Malpani
a3c7905dc1
linux: Add esp_linux_helper.h header file
2023-01-04 11:17:18 +05:30
Wu Zheng Hui
61a04e2257
Merge branch 'bugfix/workaround_for_esp32c6_bad_mspi_freq_on_hs_mode_reset' into 'master'
...
bugfix: workaround for esp32c6 bad mspi freq on hs mode reset
See merge request espressif/esp-idf!21851
2023-01-04 13:38:32 +08:00
Jin Cheng
2e9a180f43
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:47:05 +08:00
chenjianhua
c0dd6896a7
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-01-04 11:22:33 +08:00
Shen Weilong
e41b35b089
1. Update libbt
...
2. Release the controller's .bss and .data memory
3. Modify the kconfig in nimble host
2023-01-04 11:17:07 +08:00
shenweilong
93fc1bd05f
support ble on esp32c6
2023-01-04 11:10:10 +08:00
KonstantinKondrashov
fd721c5b09
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
...
Closes https://github.com/espressif/esp-idf/issues/10311
2023-01-04 00:30:38 +08:00
zhaoweiliang
2819f9a4c3
Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4
2023-01-03 20:48:32 +08:00
Song Ruo Jing
105fe9f950
Merge branch 'bugfix/ledc_channel_update_usage' into 'master'
...
ledc: Fix bug in channel-duty configuration
Closes IDF-6439
See merge request espressif/esp-idf!21635
2023-01-03 20:11:08 +08:00
Zhang Wen Xu
5bbde784de
Merge branch 'feature/support_esp32c6_phy_update' into 'master'
...
phy: update esp32c6 phy lib
See merge request espressif/esp-idf!21875
2023-01-03 19:11:17 +08:00
Guillaume Souchere
ec34a0f5f5
newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
...
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:
- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:33:38 +01:00
gauri patankar
68fb038f43
wpa_supplicant:Remove redundant DEBUG_PRINT in supplicant
2023-01-03 12:52:54 +05:30
Song Ruo Jing
662df0da3b
ledc: Channel configuration requires the ledc core clock on to be effective. Therefore, a clock source is selected for the core clock since the peripheral initialization. Additionally, correct the usage of channel para_up and duty_start bits.
2023-01-03 15:16:00 +08:00
zhangwenxu
1abe00d82b
phy: update esp32c6 phy lib
...
* phy_version 101,587adde,Dec 20 2022,14:21:21
2023-01-03 14:53:33 +08:00
morris
592673b052
mcpwm: support non-varg version of generator functions
...
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-03 14:42:49 +08:00
Rahul Tank
5c8263a08b
Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue' into 'master'
...
NimBLE: Fix incomplete clearing of peer_dev_rec
See merge request espressif/esp-idf!21088
2023-01-03 14:05:46 +08:00
Song Ruo Jing
981d6a67b0
clk: Add basic clock support for esp32h2
2023-01-03 11:00:32 +08:00
Cao Sen Miao
a1285ff4a5
serial_jtag: fix issue that stuck after retart after C6
2023-01-03 10:38:18 +08:00
David Čermák
bef3f2ce9e
Merge branch 'bugfix/esp_netif_ip_reconnect' into 'master'
...
esp_netif: Post IP event for PPP netifs unconditionally
Closes IDFGH-8893 and IDFGH-8899
See merge request espressif/esp-idf!21666
2023-01-03 01:10:07 +08:00
Sudeep Mohanty
4a410391cc
ulp risc-v rtc i2c: Fix a bug where RTC I2C failed to initialize after esp_restart()
...
This commit fixes a bug wherein the RTC I2C peripheral got stuck after
the main CPU performs a soft reset by using esp_restart(). This is
because the RTC domain config registers for the RTC I2C domain are not
cleared after the soft restart and hence need to be cleared manually
while initializing the RTC I2C peripheral again.
Closes https://github.com/espressif/esp-idf/issues/10468
2023-01-02 15:44:03 +01:00
Sudeep Mohanty
4c98bee8a4
Merge branch 'bugfix/ulp_riscv_i2c_example_crashes_on_s2' into 'master'
...
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
Closes IDFGH-8880
See merge request espressif/esp-idf!21463
2023-01-02 20:50:59 +08:00
Guillaume Souchere
b5bacffbd3
esp_hw_support: allow writing in IRAM when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set for esp32C2
...
when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set, the PMP rule for esp32c2 shoud allow write access.
Fix esp_cpu_configure_region_protection() in cpu.c accordingly.
2023-01-02 08:41:16 +01:00
Guillaume Souchere
a218139d25
heap: RE-enable ESP32C2 test in test_apps
2023-01-02 08:40:59 +01:00
Guillaume Souchere
979525d0d8
esp-hw-support: fix interrupt allocation tests on esp32c2
...
A part of the test 'Can allocate IRAM int only with an IRAM handler' was to
allocate an intr with the handler in RTC memory which is not supported by esp32c2.
A condition was added to prevent this part of the test to execute on esp32c2 targets.
2023-01-02 08:30:20 +01:00
Shreyas Sheth
d5c88500c0
wpa_supplicant: Bugfix wps coverity forward null pointer issue
2023-01-01 19:33:24 +00:00
Shu Chen
0025915dc4
Merge branch 'feature/public_ot_port' into 'master'
...
openthread: open source openthread port layer
See merge request espressif/esp-idf!21803
2022-12-31 09:26:23 +08:00
Sumeet Singh
79fbb4add7
NimBLE: Fix incomplete clearing of peer_dev_rec
2022-12-30 17:26:00 +05:30
wuzhenghui
77f6b70a52
workaround: workaround_for_esp32c6 bad mspi freq on hs mode reset
2022-12-30 19:20:30 +08:00
Shu Chen
094997a2ec
openthread: remove port libs
2022-12-30 09:36:41 +00:00
Shu Chen
c8e98e1de0
openthread: remove the NCP vendor hook for OTA
...
The RCP update uses serial flasher.
2022-12-30 09:36:41 +00:00
Shu Chen
926af9eda1
openthread: open source openthread port layer
2022-12-30 09:36:41 +00:00
Abudl Rehman
ab80e9b5c7
ieee802154: Add linkage target library
2022-12-30 09:21:21 +00:00
zhangwenxu
0479cce5d9
CI: fix fast template app due to function unused.
2022-12-30 15:25:12 +08:00
Kevin (Lao Kaiyao)
42509fa0b3
Merge branch 'bugfix/i2s_pdm_dac_wrong_clock_freq' into 'master'
...
i2s_pdm: fix tx frequency limitation
Closes IDFGH-9010
See merge request espressif/esp-idf!21764
2022-12-30 10:16:03 +08:00
Jiang Jiang Jian
c681c92e4c
Merge branch 'feature/bringup_esp32c6_chip_wifi_rebase_master' into 'master'
...
esp_wifi: add basic support for esp32c6
Closes WIFI-5174, WIFI-5175, WIFI-5176, WIFI-5185, WIFI-5188, WIFI-5193, WIFI-5141, WIFI-5157, WIFI-5154, WIFI-5155, WIFI-5156, WIFI-5200, WIFI-5168, WIFI-5160, and WIFI-5214
See merge request espressif/esp-idf!21715
2022-12-30 10:08:29 +08:00
Shu Chen
2ce330bd34
Merge branch 'feature/add_openthread_and_i154_lib_for_c6' into 'master'
...
openthread: add 802.15.4 and Thread support for ESP32-C6
See merge request espressif/esp-idf!21780
2022-12-30 09:41:39 +08:00
morris
cb7e957cc4
Merge branch 'feature/io_mux_use_pll80_c6' into 'master'
...
io_mux: support change clock source to PLL_F80M
Closes IDF-6342 and IDF-6345
See merge request espressif/esp-idf!21613
2022-12-29 22:06:52 +08:00
Jiang Guang Ming
8464186e67
Merge branch 'bugfix/update_esp_rom_rtc_header' into 'master'
...
update esp rom rtc header
See merge request espressif/esp-idf!21802
2022-12-29 18:16:13 +08:00
Kapil Gupta
7a8a85877d
Removed sha384 hash for certs > 2k
2022-12-29 15:16:58 +05:30
Xu Si Yu
c35759448a
openthread: add 802.15.4 and Thread support lib for ESP32-C6
2022-12-29 17:29:18 +08:00
Sudeep Mohanty
07a506bb02
ulp-riscv-i2c: Updated API documentation about sub register address usage
...
The RTC I2C peripheral always expects a I2C slave sub register address
to be programmed. If it is not programmed then a sub register address
available in SENS_SAR_I2C_CTRL_REG[18:11] is used for I2C read/write.
This commit updates the documentation of the API
ulp_riscv_i2c_master_set_slave_reg_addr() to clarify the same.
2022-12-29 09:58:24 +01:00
laokaiyao
943dcd2cd1
i2s_pdm: fix tx frequency limitation
...
Closes: https://github.com/espressif/esp-idf/issues/10420
2022-12-29 16:31:03 +08:00
laokaiyao
f95c2274b8
i2s: fix some typos
2022-12-29 16:31:03 +08:00
Michael (XIAO Xufeng)
c42fe6769a
Merge branch 'feat/codeowner_spi_flash_docs' into 'master'
...
docs/spi_flash: add peripherals to codowner of spi_flash doc pages
See merge request espressif/esp-idf!20311
2022-12-29 15:56:35 +08:00
morris
d5b4108085
gpio: combine sdm, glitch filter, fast gpio tests into one app
2022-12-29 14:46:16 +08:00
morris
ca1b182b25
glitch_filter: support derive clock source form IO MUX
2022-12-29 14:46:16 +08:00
morris
cbe297e5a0
sdm: support derive clock source from IO MUX
2022-12-29 14:46:16 +08:00
morris
672ac58ad5
io_mux: can set different clock source
2022-12-29 14:46:16 +08:00
wuzhenghui
a5fdc53bb7
clk: initialize wifi lp_clk in esp_perip_clk_init
2022-12-29 13:13:37 +08:00
lvshisheng
bba409eec1
wifi: update wifi libs to support wifi6 features and fix build error
2022-12-29 13:13:35 +08:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
Jakob Hasse
83afda922b
style(freertos/linux): improved docs and coding style
2022-12-29 12:05:15 +08:00
yuexia
6e14adcb44
rom: sync with the rebase
2022-12-29 11:48:36 +08:00
yuexia
032ebd76cb
esp32c6: support wifi 6
2022-12-29 11:48:36 +08:00
yuexia
58b7fc1d8b
esp32c6: enable wifi
2022-12-29 11:48:35 +08:00
morris
7c9e3b60c6
rmt: no auto light sleep if xtal is working as the clock source
2022-12-29 11:33:43 +08:00
KonstantinKondrashov
185262c283
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
...
Closes https://github.com/espressif/esp-idf/issues/10401
2022-12-29 05:23:18 +08:00
Michael (XIAO Xufeng)
0fcd384677
docs: fix driver sphinx warnings
2022-12-29 00:59:04 +08:00
Michael (XIAO Xufeng)
daa4af1b1f
docs: split spi_flash api-reference documents to peripherals folder
2022-12-29 00:59:03 +08:00
Wu Zheng Hui
8a095a74d4
Merge branch 'feature/add_ieee8020154_only_caps_for_esp32hx' into 'master'
...
soc: add ieee8020154_ble_only cap for esp32hx
See merge request espressif/esp-idf!21824
2022-12-28 20:12:10 +08:00
Mahavir Jain
8437c0d12c
Merge branch 'feature/gcm_operation_using_ctr_based_calculation' into 'master'
...
GCM operation optimisation
Closes IDF-5379
See merge request espressif/esp-idf!21528
2022-12-28 19:33:12 +08:00
jiangguangming
fe2984a52d
esp_hw_support: support riscv call
2022-12-28 17:35:12 +08:00
jiangguangming
42144a7e45
soc: H4/H2/C6 support SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY
2022-12-28 17:35:07 +08:00
jiangguangming
626fb5d426
esp_rom: update H4/H2/C2/C6 rom rtc.h
2022-12-28 17:06:20 +08:00
Darian
1c5ef9cb7c
Merge branch 'refactor/app_trace_use_try_critical_section_macro' into 'master'
...
app_trace: Update esp_apptrace_lock_take() to use portTRY_ENTER_CRITICAL()
See merge request espressif/esp-idf!21094
2022-12-28 16:55:00 +08:00
wuzhenghui
3b43b63d47
soc: add ieee8020154_only cap for esp32hx
2022-12-28 16:15:58 +08:00
Michael (XIAO Xufeng)
84a6c6f7d9
Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32' into 'master'
...
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
Closes IDFGH-4893
See merge request espressif/esp-idf!21558
2022-12-28 15:30:01 +08:00
Guillaume Souchere
a74ae7fba7
Merge branch 'feature/heap-trace-improve-spi-ram-support' into 'master'
...
heap_trace: improvements to formatting, code, comments of heap trace standalone
Closes IDFGH-8699
See merge request espressif/esp-idf!21506
2022-12-28 15:07:30 +08:00
zhiweijian
7c9d47b702
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2022-12-28 14:59:38 +08:00
LiPeng
5c93fe47cb
mbedtls: GCM implementation is replaced with CTR-based calculation
...
- GCM operation in mbedtls used ECB, which calculated only 16 bytes of data each time.
- Therefore, when processing a large amount of data, it is necessary to frequently set hardware acceleration calculations,
- which could not make good use of the AES DMA function to improve efficiency.
- Hence, GCM implementation is replaced with CTR-based calculation which utilizes AES DMA to improve efficiency.
2022-12-28 12:14:29 +05:30
harshal.patil
f9f10c2590
mbedtls: fix esp_aes_gcm_update_ad()
API implementation
2022-12-28 11:33:09 +05:30
harshal.patil
48840d04f0
mbedtls: fix esp_aes_crypt_ctr writing to null stream block
2022-12-28 11:33:09 +05:30
harshal.patil
06bb0ee077
mbedtls: added SOC_AES_SUPPORT_AES_192 check in esp_aes_gcm_setkey()
2022-12-28 11:33:09 +05:30
harshal.patil
e0f31edab5
test_aes_gcm: fix output_size paramter in mbedtls_get_update()
...
mbedtls_get_update() returned MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL,
as 0 used to get passed in the output_size paramter.
2022-12-28 11:33:09 +05:30
harshal.patil
c15b36b9c4
mbedtls: populate mbedtls_gcm_update() output_length paramater
2022-12-28 11:33:09 +05:30
Li Shuai
3ce896429c
periph clock: implemented the modem module enable, disable and reset for esp32c6
2022-12-27 21:31:59 +08:00
Li Shuai
e9172ddcea
initialize the clock gating control signal of each modem clock domain
2022-12-27 21:31:59 +08:00
Li Shuai
63af1e9631
modem clock(driver): implemented the modem clock driver for esp32c6
2022-12-27 21:31:59 +08:00
Li Shuai
8c05d6fd9d
modem clock(hal): implemented the modem clock hal-layer for esp32c6
2022-12-27 21:31:21 +08:00
Li Shuai
28dfaeaaef
modem clock(ll): implemented the modem clock ll-layer (include modem syscon and lpcon) for esp32c6
2022-12-27 21:31:21 +08:00
wuzhenghui
aa20825659
soc_caps: rename ESP_PD_DOMAIN_RTC8M to ESP_PD_DOMAIN_FOSC
2022-12-27 21:31:21 +08:00
Li Shuai
17f9285524
esp32c6: add SOC_MODEM_CLOCK_IS_INDEPENDENT soc_cap and more pd_caps
2022-12-27 21:31:21 +08:00
wuzhenghui
a898c3ddc6
soc: regenerate modem header with regtool
2022-12-27 21:31:21 +08:00
Kevin (Lao Kaiyao)
4a86240b6e
Merge branch 'feature/support_adc_on_c6' into 'master'
...
adc: support adc on c6
Closes IDF-5310, IDF-5311, IDF-5917, and IDF-6567
See merge request espressif/esp-idf!21431
2022-12-27 21:01:43 +08:00
Jiang Jiang Jian
eab2792735
Merge branch 'bugfix/wps_start_state_issue' into 'master'
...
esp_wifi: Add check for wps start state
See merge request espressif/esp-idf!21100
2022-12-27 17:33:20 +08:00
Guillaume Souchere
89c0a259ee
heap-trace: Add missing tests for heap_trace_summary() and heap_trace_dump_caps()
...
Note: the checks for the tests marked as [test-dump] are done in the pytest function
test_heap_trace_dump() since they are relying on the content of the heap_trace_dump_caps()
output.
2022-12-27 10:24:14 +01:00
Guillaume Souchere
c39a9de344
heap_trace: unify API to pass caps param to heap_trace_dump()
2022-12-27 10:23:30 +01:00
Sudeep Mohanty
099f648686
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
...
This commit fixes an issue where in the ULP RISC-V I2C example causes
a spurious wakeup of the main CPU because of a Trap signal when the ULP
core does not meet the wakeup threshold values. This was due to the fact
that the RTC_CNTL_COCPU_DONE signal was being set before the
RTC_CNTL_COCPU_SHUT_RESET_EN signal which was causing the the ULP RISC-V
core to not reset properly on each cycle.
Closes https://github.com/espressif/esp-idf/issues/10301
2022-12-27 07:44:26 +00:00
Kapil Gupta
142f339642
wpa_supplicant: Update WPS API documentation
2022-12-27 13:04:20 +05:30
Zhang Xiao Yan
b043c55f0a
Merge branch 'docs/fix_typo_in_logging_library' into 'master'
...
docs:fix a typo in logging library
See merge request espressif/esp-idf!21806
2022-12-27 14:17:52 +08:00
Shreyas Sheth
18ea8fd0ce
esp_wifi: Add check for wps start state
2022-12-27 11:14:03 +05:30
Nachiket Kukade
ac7aaabe39
Merge branch 'bugfix/remove_stray_newline_in_supplicant_logging' into 'master'
...
Follow-up changes to remove all stray '\n'
Closes IDFGH-8861
See merge request espressif/esp-idf!21453
2022-12-27 13:02:39 +08:00
Laukik Hase
58530ae070
Merge branch 'esp_local_ctrl/fix_https_server_dep' into 'master'
...
esp_local_ctrl: Add support for insecure HTTP server transport
See merge request espressif/esp-idf!21661
2022-12-27 13:02:03 +08:00
morris
011315a146
Merge branch 'feature/rmt_clock_rc_fast_c6' into 'master'
...
rmt: support PLL clock on esp32c6
Closes IDF-6341
See merge request espressif/esp-idf!21602
2022-12-27 12:53:56 +08:00
morris
080328a664
Merge branch 'feature/gptimer_rc_fast_c6' into 'master'
...
gptimer: support RC_FAST clock source
See merge request espressif/esp-idf!21601
2022-12-27 12:45:03 +08:00
morris
26467f63cd
doc: clarify num_symbols in the tx done event data
...
Closes https://github.com/espressif/esp-idf/issues/10435
2022-12-27 12:08:38 +08:00
Linda
7b6c8d6f8f
docs:fix a typo in logging library
2022-12-27 11:58:47 +08:00
Jiang Jiang Jian
77d220c8e8
Merge branch 'bugfix/fix_reconnect_slowly_due_to_power_save_issue' into 'master'
...
esp_wifi: send null data when state change from association to run
Closes WIFI-5048
See merge request espressif/esp-idf!21587
2022-12-27 11:56:13 +08:00
Omar Chebib
5eb8defb30
Merge branch 'staging/coredump_extram_support' into 'master'
...
coredump: enable support for stacks in external RAM
Closes IDF-5497 and IDF-2391
See merge request espressif/esp-idf!21067
2022-12-26 17:52:41 +08:00
muhaidong
0af89c4611
esp_wifi: send null data when state change from association to run
2022-12-26 17:21:52 +08:00
morris
2f711d1e82
Merge branch 'contrib/github_pr_10331' into 'master'
...
rmt: adding loop_count to the config initializer (GitHub PR)
Closes IDFGH-8912
See merge request espressif/esp-idf!21560
2022-12-26 15:58:20 +08:00
cje
a0ed82525e
sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
...
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-26 07:19:13 +00:00
morris
bc2a2d3cde
gptimer: support RC_FAST clock source
...
GPTimer on C6 supports RC_FAST as the clock source. The benefit of this
clock is that, the clock can sustain in light sleep.
Added a new API to return the real resolution of the timer handle.
2022-12-26 13:18:25 +08:00
Darian Leung
cc5ee295ad
app_trace: Update esp_apptrace_lock_take() to use portTRY_ENTER_CRITICAL()
...
Previously, esp_apptrace_lock_take() would manually disable interrupts and
acquire the spinlock in order to allow the criticla section entry to have time
outs, and also be preemptable in between attempts to acquired.
However, the same can be achieved by using portTRY_ENTER_CRITICAL(), thus
allowing us to make spinlock_acquire/spinlock_release private.
2022-12-23 19:20:42 +08:00
Darian
b223baf318
Merge branch 'feature/freertos_xtensa_disable_port_using_mpu_wrappers' into 'master'
...
FreeRTOS: Fix FPU bugs on Amazon SMP FreeRTOS, port over FPU updates to IDF FreeRTOS
Closes IDF-5803
See merge request espressif/esp-idf!20280
2022-12-23 19:17:49 +08:00
gauri patankar
9a1e4e3b7b
wpa_supplicant:Remove stray \n in supplicant logging
2022-12-23 15:55:06 +05:30
chli
e8d652165c
wpa_supplicant: remove stray \n when logging "wifi_wps_enable"
...
Closes https://github.com/espressif/esp-idf/pull/10285
Signed-off-by: gauri patankar <gauri.patankar@espressif.com>
2022-12-23 15:32:58 +05:30
Mahavir Jain
d6dd8a56f3
Merge branch 'feature/logs_for_flash_enc_virtual' into 'master'
...
bootloader_support: Adds better logs for virtual efuses
See merge request espressif/esp-idf!21748
Closes https://github.com/espressif/esp-idf/pull/10383
2022-12-23 16:02:53 +08:00
Darian Leung
92bbf85350
freertos: Fix clang-tidy warning on pxPortInitialiseStack()
2022-12-23 15:29:17 +08:00
Darian Leung
82f28a3e09
freertos: Update FPU unit tests to run for multiple iterations
...
This commit updates the FreeRTOS port FPU unit tests so that they run for
multiple iterations, thus checking that a task's FPU context is properly
cleaned up on deletion.
2022-12-23 15:29:17 +08:00
Darian Leung
45badf864f
freertos(IDF): Allow cross-core freeing of task memory when deleting tasks
...
Previously, IDF FreeRTOS would restrict the clean up of task memory (done by
vTaskDelete() or the Idle task) to only tasks pinned to the current core or
unpinned tasks. This was due to the need to clear the task's coprocessor
ownership on the other core (i.e., "_xt_coproc_owner_sa"). But this restriction
can be lifted by simply protecting access of "_xt_coproc_owner_sa" with a
spinlock.
This commit implements a "_xt_coproc_owner_sa_lock" to protect the access of
"_xt_coproc_owner_sa", thus vTaskDelete() and prvDeleteTCB() can now delete
tasks pinned to the other core so long as that task is not currently running.
Note: This fix was copied from the Xtensa port of Amazon SMP FreeRTOS
2022-12-23 15:29:17 +08:00
Darian Leung
c318c89453
freertos(IDF): Remove dependency on portUSING_MPU_WRAPPERS
...
This commit removes the dependency on portUSING_MPU_WRAPPERS on the Xtensa port
of IDF FreeRTOS. This dependency was added due to a hack implemented in the
upstream port that required the usage of the "xMPUSettings" member of the TCB.
The "xMPUSettings" would be used as a pointer to the task's coprocessor save
area on the stack, even though FreeRTOS MPU support was not available.
The hack has now been removed, and the CPSA pointer is now calculated using
a combination of constant offsets values and the pxEndOfStack member of the
TCB.
Note: This impelemtation was copied from the Xtensa port of Amazon SMP FreeRTOS.
2022-12-23 15:29:17 +08:00
Darian Leung
9300bef9b8
freertos(SMP): Refactor FPU handling on the Xtensa port of Amaazon SMP FreeRTOS
...
This commit refactors the FPU handling code on the Xtensa port of Amazon SMP
FreeRTOS in the following ways:
Auto-pinning via XT_RTOS_CP_EXC_HOOK
------------------------------------
The "_xt_coproc_exc" exception would previously automatically pin a task that
uses the FPU to the current core (to ensure that we can lazy save the task's FPU
context). However, this would mean that "xtensa_vectors.S" would need to be
OS-aware (to read the task's TCB structure).
This is now refactored so that "_xt_coproc_exc" calls a CP exception hook
function ("XT_RTOS_CP_EXC_HOOK") implemented in "portasm.S", thus allowing
"xtensa_vectors.S" to remain OS agnostic.
Using macros to acquire owner spinlock
--------------------------------------
The taking and relasing of the "_xt_coproc_owner_sa_lock" is now mostly
abstracted as the "spinlock_take" and "spinlock_release" macro. As a result,
"_xt_coproc_release" and "_xt_coproc_exc" are refactored so that:
- They are closer to their upstream (original) versions
- The spinlock is only taken when building for multicore
- The spinlock held region is shortened (now only protects the instructions
that access the "_xt_coproc_owner_sa" array
Other Changes
-------------
- Updated placing and comments of various "offset_..." constants used by
portasm.S
- Update description of "get_cpsa_from_tcb" assembly macro
- Tidied up some typos in the ".S" files
2022-12-23 15:29:17 +08:00
Darian Leung
fd48daf278
freertos(SMP): Fix SMP FreeRTOS Xtensa port FPU/Coproccessor bugs
...
This commit fixes the following FPU/Coprocessor bugs in the Xtensa port of
Amazon SMP FreeRTOS:
- vPortCleanUpCoprocArea() does not calculate the correct pointer to the
task's CPSA (located on the task's stack). This can result in
- _xt_coproc_release() not releasing the task's CP ownership
- The next coprocessor exception will write the current CP owner (i.e., the
deleted task's CPSA) leading to memory corruption
- _xt_coproc_release() writes xCoreID instead of 0 when clearing a CP owner.
This results in the next CP exception trying to load the CP owner's CPSA at
the address of "xCoreID", leading to a double exception.
2022-12-23 15:29:17 +08:00
Laukik Hase
b3fa7fcf73
esp_local_ctrl: Add support for insecure HTTP server transport
2022-12-23 12:14:25 +05:30
laokaiyao
ec812c1370
adc: add ADC target test for esp32c6
2022-12-23 14:05:56 +08:00
Jakob Hasse
4934487be4
Merge branch 'refactor/esp_event_test_delay' into 'master'
...
refactor(esp_event): reduced test run time
Closes IDF-6322
See merge request espressif/esp-idf!21612
2022-12-23 12:43:28 +08:00
laokaiyao
5333ac81bf
adc: support ADC on esp32c6 (driver/test/example)
2022-12-23 11:24:06 +08:00
laokaiyao
e27f3e3128
adc: support ADC on esp32c6 (hal)
2022-12-23 11:24:06 +08:00
Kevin (Lao Kaiyao)
42c6ae3522
Merge branch 'feature/support_rtcio_on_c6' into 'master'
...
rtcio: support rtcio on c6
Closes IDF-6027
See merge request espressif/esp-idf!21603
2022-12-23 10:56:49 +08:00
Jiang Jiang Jian
0d6b9e463f
Merge branch 'bugfix/avoid_ftm_initiator_mode_on_softap' into 'master'
...
Avoid ftm initiator mode on softap
Closes WIFI-5084, WIFI-5072, and WIFI-5078
See merge request espressif/esp-idf!21491
2022-12-23 10:41:33 +08:00
Darian
14394ed783
Merge branch 'bugfix/esp_pm_and_sleep_build_errors' into 'master'
...
esp_system: Fix various PM and sleep build errors
Closes IDFGH-8930
See merge request espressif/esp-idf!21606
2022-12-23 03:42:57 +08:00
Darian
d534d08244
Merge branch 'bugfix/flakey_gptimer_tests' into 'master'
...
Driver: Fix flakey gptimer tests by allowing larger count deltas
See merge request espressif/esp-idf!21766
2022-12-23 03:18:08 +08:00
Rahul Tank
8ff7d526b0
Merge branch 'bugfix/remove_global_min_max_def' into 'master'
...
Nimble: Removes global min/max definition causing problems with other libraries
See merge request espressif/esp-idf!21652
2022-12-22 22:53:45 +08:00
KonstantinKondrashov
92de037883
efuse: Hides the FLASH_ENCRYPTION_MODE_RELEASE option when using EFUSE_VIRTUAL
2022-12-22 20:03:42 +08:00
Omar Chebib
835263e50a
Coredump: add a test to check that coredump supports stacks in SPIRAM
2022-12-22 12:47:22 +01:00
Omar Chebib
42b2169542
coredump: add support for stacks in external RAM
...
Tasks having their stacks in SPIRAM can now be part of the coredump written to flash
2022-12-22 12:47:22 +01:00
Harshit Malpani
5cf26f61c0
Merge branch 'bugfix/protocol_components_no_format_cflag' into 'master'
...
Remove "-Wno-format" from protocol example specific components
See merge request espressif/esp-idf!21734
2022-12-22 18:54:48 +08:00
Darian
68e1e7d756
Merge branch 'bugfix/esp32s3_int_wdt' into 'master'
...
system: disable interrupts in esp_restart_noos_dig to fix infinite int_wdt on ESP32-S3
Closes IDF-6559
See merge request espressif/esp-idf!21755
2022-12-22 18:24:01 +08:00
Shu Chen
0215575606
Merge branch 'feature/esp32c6_ieee802154_support' into 'master'
...
ieee802154: add ieee802154 support for esp32c6
See merge request espressif/esp-idf!21615
2022-12-22 18:01:58 +08:00
Darian Leung
acd88e3f5e
driver: Fix flakey gptimer tests by allowing larger count deltas
2022-12-22 17:57:00 +08:00
Song Ruo Jing
36cdf88a5b
Merge branch 'contrib/github_pr_10402' into 'master'
...
ledc: move callback to IRAM as it's called from an ISR (GitHub PR)
Closes IDFGH-8990
See merge request espressif/esp-idf!21711
2022-12-22 16:55:29 +08:00
gauri patankar
f4a2829a70
esp_wifi: Update wifi libs
...
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variable
2022-12-22 14:00:32 +05:30
Ivan Grokhotkov
6020bb0f90
Merge branch 'feature/gdbstub_esp32c2' into 'master'
...
gdb stub: re-enable for ESP32-C2
Closes IDF-4135 and IDF-4245
See merge request espressif/esp-idf!21386
2022-12-22 16:00:01 +08:00
Song Ruo Jing
5d300b9bc1
Merge branch 'refactor/ledc_unit_test' into 'master'
...
ledc: Move ledc unit test to test_apps pytest framework
Closes IDF-5502
See merge request espressif/esp-idf!21723
2022-12-22 15:24:47 +08:00
Song Ruo Jing
1a6e1aba3d
ledc: Add check for whether the registered callback is in iram in ledc_cb_register
2022-12-22 14:38:58 +08:00
laokaiyao
7a002ab7a6
rtcio: support rtcio on c6
2022-12-22 14:14:38 +08:00
Jiang Jiang Jian
cfef24863f
Merge branch 'bugfix/esp32c2_rev_1_1' into 'master'
...
esp32c2: fixed chip revision of ECO2
See merge request espressif/esp-idf!21735
2022-12-22 13:12:45 +08:00
Kevin (Lao Kaiyao)
7e29d113ae
Merge branch 'bugfix/add_unity_sig_sync_for_i2s_tdm_test' into 'master'
...
i2s_test: fixed rx_update stuck issue
Closes IDFCI-1527
See merge request espressif/esp-idf!21308
2022-12-22 11:27:52 +08:00
morris
32cd193ddf
rmt: support pll clock source on esp32c6
2022-12-22 11:25:54 +08:00
morris
c6e452a871
mcpwm: enable test on esp32c6
2022-12-22 11:17:38 +08:00
Chen Yu Dong
d3716c439d
Merge branch 'ci/add_generic_to_xtal_26mhz_runners' into 'master'
...
CI: add generic to xtal_26mhz jobs
See merge request espressif/esp-idf!21725
2022-12-22 10:56:25 +08:00
xiaqilin
57a6abdad1
ieee802154: add support ieee802154 for esp32c6
2022-12-22 10:45:23 +08:00
Ivan Grokhotkov
0c9ac7df6d
system: disable interrupts in esp_restart_noos_dig
2022-12-21 21:58:59 +01:00
Mahavir Jain
9c99080841
Merge branch 'fix/wifi_prov_scan_method' into 'master'
...
Changed wifi provisioning scan method
See merge request espressif/esp-idf!20408
2022-12-22 01:20:25 +08:00
Jakob Hasse
102b501b10
Merge branch 'contrib/github_pr_9962' into 'master'
...
[Panic] add user configurable reboot delay in seconds (GitHub PR)
Closes IDFGH-8506
See merge request espressif/esp-idf!21305
2022-12-21 21:12:21 +08:00
Ivan Grokhotkov
e3a4d47fd9
gdb stub: re-enable for ESP32-C2
2022-12-21 13:21:41 +01:00
wanlei
3c37bccb04
spi_flash: fix flash function arg_check with spi host_id
2022-12-21 20:03:46 +08:00
wanlei
faaf776730
spi: fix micro SPI_HOST_MAX error
...
Closes https://github.com/espressif/esp-idf/issues/10349
2022-12-21 20:03:46 +08:00
Song Ruo Jing
e68c9a6733
Merge branch 'refactor/gpio_unit_case_ci_script' into 'master'
...
gpio: Improve unit test test-apps CI process
Closes IDF-5914
See merge request espressif/esp-idf!21595
2022-12-21 18:31:18 +08:00
Chip Weinberger
9e02682097
bootloader_support: Adds better logs for virtual efuses
...
Close https://github.com/espressif/esp-idf/pull/10383
2022-12-21 18:03:41 +08:00
laokaiyao
705ddd221f
test more freq
2022-12-21 17:31:38 +08:00
Mahavir Jain
b709c84e1c
esp_local_ctrl: remove "Wno-format" cflag and fix formatting errors
2022-12-21 14:14:05 +05:30
Mahavir Jain
035c2e5799
esp_http(s)_server: remove "Wno-format" cflag and fix formatting errors
2022-12-21 14:14:04 +05:30
Mahavir Jain
bbc5914e63
esp_http_client: remove "Wno-format" cflag and fix formatting errors
2022-12-21 14:14:04 +05:30
Mahavir Jain
3a56807568
protocomm: remove "Wno-format" cflag and fix formatting errors
2022-12-21 14:13:55 +05:30
Darian Leung
2f504695e4
esp_pm: Fix string formatting type errors
...
This commit fixes a string formatting error in esp_pm with CONFIG_PM_PROFILING
is enabled.
Closes https://github.com/espressif/esp-idf/issues/10347
2022-12-21 15:50:12 +08:00
Darian Leung
13cec981df
esp_pm: Fix build error when CONFIG_PM_PROFILING is enabled
2022-12-21 15:50:12 +08:00
Michael (XIAO Xufeng)
9aec53e83f
esp32c2: fixed chip revision of ECO2
2022-12-21 15:28:50 +08:00
Jiang Jiang Jian
9d6ff96493
Merge branch 'fix/clear_cur_pmksa' into 'master'
...
Clear current pmksa before generating RSN IE
Closes IDFGH-8952
See merge request espressif/esp-idf!21413
2022-12-21 15:21:24 +08:00
morris
69dd3839ce
Merge branch 'feature/c6_sdspi_host' into 'master'
...
sdspi: bringup sdspi on c6
Closes IDF-5860
See merge request espressif/esp-idf!21681
2022-12-21 14:07:56 +08:00
Mahavir Jain
078835e358
Merge branch 'contrib/github_pr_10391' into 'master'
...
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification (GitHub PR)
Closes IDFGH-8978
See merge request espressif/esp-idf!21712
2022-12-21 13:59:00 +08:00
Song Ruo Jing
774197b7d3
ledc: Move ledc unit test to test_apps pytest framework
...
Add ledc_hal_set_duty_start and ledc_hal_set_duty_int_part to IRAM
Fix test_ledc.c minor issues
2022-12-21 12:04:42 +08:00
Mahavir Jain
9a7dd9a2a2
Merge branch 'feature/esp_http_server_esp_events' into 'master'
...
esp_http_server: Added support for esp_events
See merge request espressif/esp-idf!21132
2022-12-21 11:59:00 +08:00
Chen Yudong
b5eebc490f
CI: add generic to xtal_40mhz jobs
2022-12-21 11:53:38 +08:00
Jiang Jiang Jian
8cd0571cc9
Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue' into 'master'
...
esp_phy: add country code 01 to country code map type table
Closes IDFCI-1299
See merge request espressif/esp-idf!21656
2022-12-20 21:31:24 +08:00
sanket.wadekar
bd6a74fcac
Changed wifi provisioning scan method
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com>
2022-12-20 17:04:30 +05:30
Shyamal Khachane
2e8ebdc0fc
wpa_supplicant: Clear current pmksa before generating RSN IE
...
Also update wifi libs with below changes -
- Fix reason codes for Invalid PMKID
- Fix handling of Assoc Resp status codes for Station
Closes https://github.com/espressif/esp-idf/issues/10364
2022-12-20 14:45:47 +05:30
Jakob Hasse
cb9786d35e
refactor(esp_system): reboot delay: added docs, protected by watchdog
2022-12-20 15:51:00 +08:00
Song Ruo Jing
4e8eb6864e
pcnt: Re-enable legacy pcnt test for esp32c6 (ledc support completed)
2022-12-20 15:28:33 +08:00
Song Ruo Jing
8db902c57b
gpio: Refactor pytest_gpio to separate cases with labels, and update to use new IdfDut class in pytest_embedded_idf
2022-12-20 15:28:33 +08:00
laokaiyao
f44aa9bcc5
i2s: fixed rx update stuck bug
2022-12-20 14:49:35 +08:00
laokaiyao
cd5f2c3d76
i2s_test: add unity signal for synchronization
2022-12-20 14:49:35 +08:00
Rahul Tank
133b2e45e3
Nimble: Removes global min/max definition causing problems with other libraries
2022-12-20 11:21:31 +05:30
Jiang Jiang Jian
266fc5e0cc
Merge branch 'bugfix/flush_pmksa_entry_after_disconnect' into 'master'
...
Fix PMK caching related regression
See merge request espressif/esp-idf!21693
2022-12-20 13:47:24 +08:00
Chip Weinberger
d43dd9246f
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification
2022-12-19 21:30:03 -08:00
Chip Weinberger
6e2ce0d289
refactor(esp_system) add user configurable reboot delay in seconds
...
Closes https://github.com/espressif/esp-idf/pull/9962
2022-12-20 13:17:09 +08:00
wuzhenghui
adc259cc79
efuse_table: update esp32c6 efuse block1 fields definition
2022-12-20 11:27:38 +08:00
Roland Dobai
7f4179744b
Merge branch 'feature/add_bootloader_sector_pad_option' into 'master'
...
esptool_py: Added a --pad-to-size flag to align the bootloader image
Closes IDF-6369
See merge request espressif/esp-idf!21238
2022-12-20 00:46:58 +08:00
Shyamal Khachane
28fdafbca6
wpa_supplicant: Fix PMK caching related regression
...
Fixed regression caused by commit bd55b8b7
2022-12-19 19:08:06 +05:30
Harshit Malpani
0885d8542d
esp_http_server: Added support for esp_events
2022-12-19 17:33:37 +05:30
Aditya Patwardhan
11dee5d27f
Merge branch 'docs/update_esp_https_ota_docs_for_esp_events' into 'master'
...
docs: Update esp_https_ota docs to have information about OTA events
See merge request espressif/esp-idf!21531
2022-12-19 19:02:43 +08:00
Jiang Jiang Jian
af9dcc4e32
Merge branch 'feature/add_config_to_set_duplicate_scan_list_refresh_time_on_esp32' into 'master'
...
Add config to set duplicate scan list refresh period on ESP32
Closes BT-3023
See merge request espressif/esp-idf!21618
2022-12-19 18:17:33 +08:00
Omar Chebib
1ff8a68c21
Merge branch 'bugfix/support_coredump_stack_xtensa' into 'master'
...
coredump: custom core dump stack is now supported on Xtensa targets
See merge request espressif/esp-idf!21335
2022-12-19 18:02:15 +08:00
Armando
2b14a4e93e
sdspi: bringup sdspi on c6
2022-12-19 16:33:50 +08:00
zwj
9ac7b16124
Update bt lib for ESP32
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 15:15:37 +08:00
Mahavir Jain
35d2a825c4
Merge branch 'bugfix/fix_httpd_req_cleanup' into 'master'
...
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
Closes IDFGH-8842
See merge request espressif/esp-idf!21320
2022-12-19 14:40:24 +08:00
Jiang Jiang Jian
be94097eab
Merge branch 'Bugfix/softap_excedes_the_range_of_subnet' into 'master'
...
dhcp:bugfix softap excedes the range of subnet
Closes IDF-6138
See merge request espressif/esp-idf!20831
2022-12-19 13:41:35 +08:00
Laukik Hase
346597a1c6
Merge branch 'fix/https_server_kconfig_dep' into 'master'
...
esp_https_server: Add dependency on `MBEDTLS_TLS_SERVER` config
See merge request espressif/esp-idf!21633
2022-12-19 12:32:48 +08:00
Jiang Jiang Jian
066dc196af
Merge branch 'feature/esp32c6_wifi_bt_common_dependcy_support' into 'master'
...
esp32c6: support esp32c6 phy
Closes IDF-5680
See merge request espressif/esp-idf!21576
2022-12-19 12:16:11 +08:00
Jiang Jiang Jian
92a4a146a0
Merge branch 'bugfix/fix_max_conn_num_issue' into 'master'
...
esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5114
See merge request espressif/esp-idf!21503
2022-12-19 11:08:46 +08:00
muhaidong
d912bbbcb0
esp_phy: add country code 01 to country code map type table
2022-12-18 14:25:17 +08:00
David Cermak
12fd9029bf
esp_netif: Post IP event for PPP netifs unconditionally
...
IP update notification for "point to point" interfaces is performed
via the same callback function as for any other interfaces (dhcp_cb,
although it's not DHCP related). In P2P interfaces we have to assure
that we always get a notification, so we can set the interface up.
This was omitted when getting the same IP address for the second
time, causing the PPPoS interface (in esp-modem applications) failing
to reconnect if disconnected.
Closes https://github.com/espressif/esp-idf/issues/10308
Closes https://github.com/espressif/esp-protocols/issues/188
2022-12-16 18:07:32 +01:00
David Čermák
a3dd334081
Merge branch 'bugfix/netif_test_rules' into 'master'
...
esp_netif various fixes: dependency cleanup, default flags, CI rules
Closes IDF-5550, IDFGH-7023, IDF-1261, and IDF-2155
See merge request espressif/esp-idf!20301
2022-12-16 21:26:05 +08:00
Mahavir Jain
81932a273a
Merge branch 'bugfix/esp_tls_timeout' into 'master'
...
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t
See merge request espressif/esp-idf!21632
2022-12-16 18:32:30 +08:00
Zhang Wen Xu
0d88655caf
Merge branch 'support/lwip_enable_udp_debug' into 'master'
...
lwip: add menuconfig option to enable UDP debugging log
See merge request espressif/esp-idf!21634
2022-12-16 17:58:11 +08:00
Harshit Malpani
89a56392e3
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
...
Added example which fails without the fix
Closes https://github.com/espressif/esp-idf/issues/10265
2022-12-16 14:40:37 +05:30
wuzhenghui
8f78520342
esp_phy: only esp32c3&esp32s3 support MAC_BB_PD, remove unused caps define
2022-12-16 15:47:59 +08:00
wuzhenghui
5822cdf93b
esp_phy: enable for esp32c6
2022-12-16 15:47:56 +08:00
xueyunfei
1ae1723d23
dhcp server:bugfix softap excedes the range of subnet
2022-12-16 14:25:04 +08:00
morris
3d09cc32a1
Merge branch 'bugfix/esp_lcd_modify_bounce_buffer_index' into 'master'
...
RGB LCD: support multi frame buffer in bounce buffer mode
See merge request espressif/esp-idf!21555
2022-12-16 14:15:51 +08:00
zhangwenxu
fd49a818f8
lwip: add menuconfig option to enable UDP debugging log
2022-12-16 06:12:50 +00:00
Laukik Hase
c86e13c3d4
esp_https_server: Add dependency on MBEDTLS_TLS_SERVER
config
2022-12-16 10:30:41 +05:30
Harshit Malpani
45bcf572c2
docs: Update esp_https_ota docs to have information about OTA events
2022-12-16 10:26:15 +05:30
Laukik Hase
665ad3dbdb
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t
...
- If internet connectivity weakened or disappeared suddenly while we were
in the TLS handshake stage, the app got stuck at that point indefinitely.
- This was because when timeout was not explicitly specified in esp_tls_cfg_t,
the default timeout was set at the wrong place. This causes the sockets to be
setup with zero timeout, hence the indefinite wait.
2022-12-16 10:20:21 +05:30
Armando
ded528e188
adc: no longer support adc2 oneshot mode on esp32c3
...
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.
However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Armando
b4c90c44d2
adc: no longer support adc2 continuous mode on esp32c3 and esp32s3
...
Due to HW limitation, we don't support this anymore. On s3 and c3, ADC2 under continuous mode is not stable.
However, you can enable CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Armando
6aa7091199
adc: added a soc macro indicating digital controller supported unit
2022-12-16 02:06:03 +00:00
morris
15e98dc7d3
doc: recommend turn on psram xip feature for bounbe buffer mode
2022-12-16 02:04:59 +00:00
Liu Zhongwei
4fac26e0a9
rgb_lcd: support multi-fb with bounce buffer
2022-12-16 02:04:59 +00:00
Jakob Hasse
edeadc87f2
refactor(esp_event): reduced test run time
2022-12-16 08:57:59 +08:00
David Čermák
52cfc01655
Merge branch 'bugfix/nvs_memory_issue' into 'master'
...
bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init()
Closes IDF-6481
See merge request espressif/esp-idf!21619
2022-12-15 23:46:42 +08:00
wuzhenghui
b887f86a78
soc: add SOC_IEEE802154_SUPPORTED caps
2022-12-15 17:18:28 +08:00
Armando (Dou Yiwen)
34e5a809e0
Merge branch 'bugfix/fix_mspi_timing_tuning_psram_timing_issue' into 'master'
...
mspi_tuning: fix psram timing tuning bug
Closes IDF-6457
See merge request espressif/esp-idf!21536
2022-12-15 16:34:38 +08:00
Zhi Wei Jian
67cfef0acd
Merge branch 'feature/add_config_to_set_duplicate_scan_list_refresh_time' into 'master'
...
Add config to set duplicate scan list refresh period on ESP32-S3 and ESP32-C3
Closes BT-3073 and BT-3023
See merge request espressif/esp-idf!21586
2022-12-15 16:29:44 +08:00
Jakob Hasse
e6ca481623
bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init()
2022-12-15 15:37:21 +08:00
zhangyanjiao
590481d531
esp_wifi: change max connection num on ESP32C3 and ESP32S3
...
Closes WIFI-5114
2022-12-15 15:23:32 +08:00
Shu Chen
2a12fabec0
Merge branch 'support/ieee802154_lib_CI_beta' into 'master'
...
ieee802154: add ieee802154 component CI
See merge request espressif/esp-idf!20770
2022-12-15 14:11:48 +08:00
Jiang Jiang Jian
c08a0082d4
Merge branch 'fix/long_assoc_comeback_time' into 'master'
...
SA Query and assoc comeback related improvements in STA and SoftAP
Closes WIFI-4964
See merge request espressif/esp-idf!21115
2022-12-15 13:41:18 +08:00
David Cermak
38dec0be48
esp-netif: Support non-lwip mode, add test
...
It is required to define a mandatory dependency on lwip, so we
introduced esp_netif_stack component and made it require lwip, instead
of directly depending on lwip.
This enables building w-out lwip and support other TCP/IP stacks.
2022-12-14 14:12:50 +00:00
David Cermak
678d7aadd9
esp-netif/lwip: Introduce TCP/IP stack has BSD API
...
* This variable is automatically selected when lwip stack is chosen
* This commit also fixes lwip loopback configuration
2022-12-14 14:12:50 +00:00
David Cermak
fab39d2c4b
esp_netif: Make GARP default netif flags only if enabled in lwip
...
Closes https://github.com/espressif/esp-idf/issues/8641
2022-12-14 14:12:50 +00:00
David Cermak
0309e0eb03
ci/esp-netif: Update build/test rules for netif tests
2022-12-14 14:12:50 +00:00
Rahul Tank
f3012849e8
Merge branch 'feature/add_periodic_helper_macros' into 'master'
...
Nimble: Add helper macros to set interval min / max for periodic adv
See merge request espressif/esp-idf!21575
2022-12-14 22:07:00 +08:00
AndriiFilippov
4417d49333
Re-enable esp-netif unit tests for ESP32C2 target
2022-12-14 14:07:28 +01:00
Mahavir Jain
14d392b4fe
Merge branch 'bugfix/update_docs_for_secure_dl_mode' into 'master'
...
docs: Fix Secure DL mode documentation about flash read being unsupported
Closes IDF-6468
See merge request espressif/esp-idf!21593
2022-12-14 19:08:43 +08:00
Jiang Guang Ming
947c112233
Merge branch 'bugfix/update_esp_rom_gpio_header' into 'master'
...
esp_rom: update rom gpio.h
Closes IDFGH-8773
See merge request espressif/esp-idf!21268
2022-12-14 18:47:18 +08:00
Martin Vychodil
00f721f746
Merge branch 'refactor/nvs_allocatable_objects' into 'master'
...
refactor(nvs): custom allocator for all objects allocated in NVS
Closes IDF-6308
See merge request espressif/esp-idf!21239
2022-12-14 17:35:13 +08:00
Jiang Jiang Jian
97d6050fea
Merge branch 'feature/esp32c2_optimize_npl_element_count' into 'master'
...
Feature/esp32c2 optimize npl element count
Closes BT-3012
See merge request espressif/esp-idf!21562
2022-12-14 17:18:07 +08:00
Martin Vychodil
732b76e3a0
Merge branch 'bugfix/nvs_cxx_example' into 'master'
...
nvs_flash: fixed wrong error check after open_nvs_handle in example
Closes IDFGH-8809
See merge request espressif/esp-idf!21269
2022-12-14 17:17:59 +08:00
Zim Kalinowski
575594477b
Merge branch 'feature/qemu-pthread' into 'master'
...
pthread: enable qemu tests
Closes QEMU-81
See merge request espressif/esp-idf!21420
2022-12-14 16:44:26 +08:00
zwj
5e72006fb9
Update bt lib for ESP32-C3 and ESP32-S3
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-14 15:54:01 +08:00
Abhik Roy
627d03182a
Merge branch 'components/lwip/napt_debug_enable' into 'master'
...
components/lwip: Add menuconfig option to enable NAPT debugging.
See merge request espressif/esp-idf!21260
2022-12-14 15:27:48 +08:00
jiangguangming
7c0c5481c8
esp_rom: update rom gpio.h
...
Closes https://github.com/espressif/esp-idf/issues/10205
2022-12-14 15:14:38 +08:00
Sarvesh Bodakhe
ecafe007e5
esp_wifi: Update wifi libs
...
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2. handle when assoc req is received before SA query procedure is finished
Closes https://github.com/espressif/esp-idf/issues/9428
2022-12-14 12:17:53 +05:30
Zhi Wei Jian
cd5ce86cf2
Merge branch 'bugfix/fix_ble_conn_failed_in_air' into 'master'
...
Change default TX power to 9 dBm on ESP32
Closes BT-2436
See merge request espressif/esp-idf!21567
2022-12-14 14:43:54 +08:00
Zhi Wei Jian
be7f20ecc4
Merge branch 'bugfix/fix_multi_per_adv_sync_fail' into 'master'
...
Fixed privacy error and multi periodic adv sync failed on ESP32-C3 and ESP32-S3
Closes BT-2757
See merge request espressif/esp-idf!21570
2022-12-14 14:41:38 +08:00
Jiang Jiang Jian
206f486256
Merge branch 'bugfix/fix_multicast_issue' into 'master'
...
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
Closes WIFI-5076
See merge request espressif/esp-idf!21581
2022-12-14 12:37:46 +08:00
Mahavir Jain
188017d6b1
docs: Fix Secure DL mode documentation about flash read being unsupported
...
Simple flash read command is not supported if Secure DL mode is enabled on the target.
Remove reference of this from the relevant docs part.
Related: https://github.com/espressif/esptool/issues/810
Related: ESPTOOL-567
Closes IDF-6468
2022-12-14 10:03:46 +05:30
Shu Chen
a7df7ba9aa
Merge branch 'support/fix_multi_br_forwarding_ping_reply' into 'master'
...
openthread: fix multi br forwarding ping reply
See merge request espressif/esp-idf!21478
2022-12-14 12:29:43 +08:00
zhengyujie
1e3c82b27d
ieee802154: add ieee802154 component CI
2022-12-14 12:20:45 +08:00
Zim Kalinowski
7627a12045
pthread: enable qemu tests
2022-12-13 21:42:58 +01:00
Rocha Euripedes
aaeaefc9ad
Merge branch 'update/esp-mqtt' into 'master'
...
mqtt: [Update mqtt_client] - Set state on stoping; Add error code to Subscribed event
See merge request espressif/esp-idf!20922
2022-12-14 04:34:09 +08:00
Song Ruo Jing
edd815af2e
Merge branch 'feature/esp32c6_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32c6
Closes IDF-5630, IDF-5973, IDF-5346, and IDF-6050
See merge request espressif/esp-idf!21149
2022-12-14 02:22:49 +08:00
Euripedes Rocha
4ec9d4bad6
mqtt: Set state on stoping; Add error code to Subscribed event
...
* Update submodule: git log --oneline ae53d799da294f03ef65c33e88fa33648e638134..fde00340f19b9f5ae81fff02ccfa9926f0e33687
Detailed description of the changes:
* Fix the default configuration for event queue
- See merge request espressif/esp-mqtt!153
- See commit https://github.com/espressif/esp-mqtt/commit/fb42588
* Adds missing header.
- See merge request espressif/esp-mqtt!152
- See commit https://github.com/espressif/esp-mqtt/commit/8a60057
* Moves state change when stopping the client
- See merge request espressif/esp-mqtt!150
- Closes https://github.com/espressif/esp-mqtt/issues/239
- See commit https://github.com/espressif/esp-mqtt/commit/3738fcd
* Adds error code to MQTT_EVENT_SUBSCRIBED in case of failure
- See merge request espressif/esp-mqtt!143
- - Closes https://github.com/espressif/esp-mqtt/issues/233
- See commit https://github.com/espressif/esp-mqtt/commit/9af5c26
* Adds debug information on sending dup messages
- See merge request espressif/esp-mqtt!145
- See commit https://github.com/espressif/esp-mqtt/commit/47b3f9b
* ci: Fix qemu build
- See merge request espressif/esp-mqtt!147
- See commit https://github.com/espressif/esp-mqtt/commit/68e8c4f
* ci: Build and Test QEMU on v5.0
- See merge request espressif/esp-mqtt!142
- See commit https://github.com/espressif/esp-mqtt/commit/9db9ee7
* client: Add support for user events
- See merge request espressif/esp-mqtt!140
- Closes https://github.com/espressif/esp-mqtt/issues/230
- See commit https://github.com/espressif/esp-mqtt/commit/97503cc
* Adds unregister event API
- See merge request espressif/esp-mqtt!139
- Closes https://github.com/espressif/esp-idf/issues/9194
- See commit https://github.com/espressif/esp-mqtt/commit/a9a9fe7
2022-12-13 15:34:31 +00:00
chenjianhua
d7c97ce20b
update bt lib for ESP32-C3 and ESP32-S3
...
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-13 21:40:04 +08:00
Ivan Grokhotkov
ff23012d68
Merge branch 'contrib/github_pr_10334' into 'master'
...
Set errno in adjtime (GitHub PR)
Closes IDFGH-8915
See merge request espressif/esp-idf!21516
2022-12-13 19:36:49 +08:00
Song Ruo Jing
536d5827c0
gpio_filter: Fix test case fail on esp32c6 due to slow io_mux clock compare to 160MHz cpu clock.
2022-12-13 19:18:34 +08:00
Song Ruo Jing
19ee95e509
gptimer: Fix esp32c6 gptimer clock source, no APB, instead, is PLL_F80M_CLK
2022-12-13 19:18:34 +08:00
Song Ruo Jing
244d3caa97
i2s: Fix esp32c6 get I2S_CLK_SRC_PLL_160M clock frequency value wrong issue
2022-12-13 19:18:34 +08:00
Song Ruo Jing
182e937c5a
clk_tree: Add basic clock support for esp32c6
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
Remove FPGA build for esp32c6
2022-12-13 19:18:34 +08:00
zwl
cdcdc50cfe
Renamed BAH
2022-12-13 18:02:19 +08:00
zwl
a83ee7d406
Fixed some occasional ble issues on ESP32H2BETA2
2022-12-13 17:47:28 +08:00
zwl
0b3490acd8
Optimized the number of npl on ESP32C2
2022-12-13 17:47:28 +08:00
Nachiket Kukade
3b31370e39
Merge branch 'bugfix/bdsa_security_issues' into 'master'
...
wpa_supplicant: BDSA related patch updates
Closes WIFI-4853
See merge request espressif/esp-idf!20535
2022-12-13 17:04:26 +08:00
chenjianxing
1c96b509bb
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
...
Closes WIFI-5076
2022-12-13 16:57:41 +08:00
Rahul Tank
4e43694b7c
Nimble: Add helper macros to set interval min / max for periodic adv
2022-12-13 13:44:30 +05:30
Darian
c83078b765
Merge branch 'bugfix/example_pytest_expectations_startup_dependence' into 'master'
...
pytest: Expect "Calling app_main()" to indicate start of application
See merge request espressif/esp-idf!21510
2022-12-13 15:41:57 +08:00
zhangwenxu
98a1e9d786
openthread: fix multi br forwarding ping reply
2022-12-13 15:32:30 +08:00
Rahul Tank
af953e48de
Merge branch 'doc/update_nimble_mesh_example_information' into 'master'
...
Nimble: Update Mesh example documentation
See merge request espressif/esp-idf!21539
2022-12-13 15:24:42 +08:00
Marius Vikhammer
6c4c6e0b98
Merge branch 'bugfix/cxx_stack_smash_test' into 'master'
...
cxx: fixed stack smash test case failing due to changed output
Closes IDFCI-1549
See merge request espressif/esp-idf!21574
2022-12-13 15:16:56 +08:00
Wang Meng Yang
1ac3595bde
Merge branch 'bugfix/a2dp_error_code' into 'master'
...
bt: Update A2DP version to v1.4
Closes BT-2918, BT-2919, and BT-2932
See merge request espressif/esp-idf!21142
2022-12-13 14:56:18 +08:00
Marius Vikhammer
bb435c076b
cxx: fixed stack smash test case failing due to changed output
...
__stack_chk_fail no longer prints "abort() was called" message,
changed test case to reflect this.
2022-12-13 11:15:01 +08:00
chenjianhua
5c533afbae
update bt-lib for ESP32
...
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-13 10:33:22 +08:00
Wu Zheng Hui
bec679fbc6
Merge branch 'bugfix/fix_esp32c6_regi2c_enable_clock' into 'master'
...
bugfix: regi2c: fix regi2c api for esp32c6
See merge request espressif/esp-idf!21397
2022-12-13 10:20:14 +08:00
Rahul Tank
1d9eaccde4
Nimble: Update documentation to include distinction between upstream
...
mesh example and ESP-BLE-MESH
2022-12-12 18:06:55 +05:30
morris
f0bea3ce51
mcpwm: support not reset GPIO config at exit
...
By default, the driver will reset the GPIO used by the MCPWM capture
channel at exit. But in some special use cases, the same gpio may also
be used by another device, which shares the same gpio configuration,
resetting the gpio is not expected.
Closes https://github.com/espressif/esp-idf/issues/10327
2022-12-12 17:50:06 +08:00
Shreyas Sheth
bd55b8b72e
esp_wifi:BDSA related patch updates
2022-12-12 15:04:04 +05:30
Zhi Wei Jian
6d676019c1
Merge branch 'bugfix/fix_gatt_char_perm_key_size' into 'master'
...
Bluedroid: fix encrypt keysize of GATT characteristic permission
Closes BT-2992
See merge request espressif/esp-idf!21250
2022-12-12 16:23:59 +08:00
Nathan Phillips
6a7e8581e9
rmt: fix bad config initializer
...
Merges https://github.com/espressif/esp-idf/pull/10331
2022-12-12 15:32:20 +08:00
Zhi Wei Jian
250f2c4a89
Merge branch 'bugfix/fix_ble_conn_param_update' into 'master'
...
Bluedroid: fix ble connection update with same params
Closes BT-2943
See merge request espressif/esp-idf!21309
2022-12-12 15:18:26 +08:00
Jiang Jiang Jian
706a2c779f
Merge branch 'bugfix/correct_the_default_SR_mode' into 'master'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral
See merge request espressif/esp-idf!21355
2022-12-12 14:57:16 +08:00
Jiang Jiang Jian
f0fd0b7bc3
Merge branch 'rebase/remove_redundant_pm_lock_on_ble' into 'master'
...
ble: remove redundant pm lock on ble
See merge request espressif/esp-idf!21357
2022-12-12 14:49:23 +08:00
Wang Meng Yang
84e48db373
Merge branch 'feature/support_ble_53_feature_for_pts' into 'master'
...
Bluedroid: support ble host features for PTS
See merge request espressif/esp-idf!21253
2022-12-12 14:33:37 +08:00
morris
7064b668c6
Merge branch 'feature/etm_api_update' into 'master'
...
etm: introduce config structure for event/task new functions
See merge request espressif/esp-idf!21483
2022-12-12 13:12:09 +08:00
Marius Vikhammer
0443865102
Merge branch 'feature/s2_bootld_iram_increase' into 'master'
...
bootloader: increased iram_loader_seg for ESP32-S2
See merge request espressif/esp-idf!21254
2022-12-12 11:50:12 +08:00
Zhi Wei Jian
6842d2f8c9
Merge branch 'bugfix/fix_mem_not_released_after_controller_init_failed_on_esp32c3' into 'master'
...
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
Closes BT-3047 and BT-3025
See merge request espressif/esp-idf!21504
2022-12-12 11:15:34 +08:00
Li Qi Gan
df5c1ffd8b
Merge branch 'bugfix/fix_hid_device_vup_without_connection' into 'master'
...
Bugfix/Fix HID Device can not remove virtually cabled device without a connection
Closes IDFGH-8662
See merge request espressif/esp-idf!21152
2022-12-12 10:08:57 +08:00
Jakob Hasse
b36c0e823f
Merge branch 'feature/linux_esp_hw_support' into 'master'
...
linux target: add support for building esp_hw_support, soc and hal components for linux target
See merge request espressif/esp-idf!21502
2022-12-12 09:59:31 +08:00
Mahavir Jain
c4c904c8ae
Merge branch 'contrib/github_pr_10329' into 'master'
...
Fix type of cast (GitHub PR)
Closes IDFGH-8910
See merge request espressif/esp-idf!21517
2022-12-11 22:35:06 +08:00
Rahul Tank
7b08933d09
Merge branch 'feature/nimble_support_ble_max_conn_num' into 'master'
...
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
See merge request espressif/esp-idf!21498
2022-12-09 21:35:19 +08:00
Darian Leung
cdbd8ebeaa
pytest: Expect "Calling app_main()" to indicate start of application
...
This commit updates variousf pytest scripts to expect
"main_task: Calling app_main()" instead of "cpu_start: Starting scheduler" as
indicator of the start of an application.
2022-12-09 19:40:40 +08:00
Zhi Wei Jian
bf3a9a1085
Merge branch 'bugfix/fix_mem_not_free_after_controller_init_failed' into 'master'
...
Fixed some memory was not released after Bluetooth controller initialization failed on ESP32
Closes BT-3025 and BT-3037
See merge request espressif/esp-idf!21477
2022-12-09 18:57:06 +08:00
Guillaume Souchere
c92f2394f2
Merge branch 'fix/stack-check-fail-in-flash' into 'master'
...
esp_system: fix placement of __stack_chk_fail from flash to RAM
See merge request espressif/esp-idf!21465
2022-12-09 18:08:57 +08:00
Armando
25114b716e
mspi_tuning: fix psram timing tuning bug
...
Prior to this commit, when calling:
- spi_timing_enter_mspi_low_speed_mode()
- spi_timing_enter_mspi_high_speed_mode()
psram timing is not tuned. This will lead to a stall during early
startup. This bug is on S3, for 80MHz DDR PSRAM
This commit will add psram timing tuning, in these two functions.
2022-12-09 17:23:23 +08:00
morris
374434524b
Merge branch 'feature/gpio_filter_esp32c6' into 'master'
...
GPIO glitch filter driver
Closes IDF-5810, IDF-6059, and IDF-5913
See merge request espressif/esp-idf!20567
2022-12-09 16:06:32 +08:00
Mahavir Jain
fbbb937b06
Merge branch 'contrib/github_pr_10328' into 'master'
...
Improve certificate logging (GitHub PR)
Closes IDFGH-8911
See merge request espressif/esp-idf!21518
2022-12-09 15:37:08 +08:00
cjin
77d870c73a
ble: fix occasional assertion on ble rtc intr
2022-12-09 15:23:44 +08:00
zwl
46127774fa
Unify controller internal error code on ESP32-C2
2022-12-09 15:23:44 +08:00
cjin
6d83c999c6
ble: remove redundant pm lock on ble
2022-12-09 15:23:44 +08:00
chenjianhua
5a0bc5c1fd
bluedroid: fix ble connection update with same params
2022-12-09 14:40:57 +08:00
Marius Vikhammer
4ddbaa4166
linux target: add support for building esp_hw_support, soc and hal components for linux target
2022-12-09 13:59:39 +08:00
chenjianhua
2afe5cdc76
bluedroid: add config for GAP service and periodic adv sync transfer
2022-12-09 13:28:31 +08:00
chenjianhua
702e06e09e
bluedroid: add internal GATT API for PTS
2022-12-09 13:28:31 +08:00
chenjianhua
fa06476806
bluedroid: add config for robust caching and RPA timeout
2022-12-09 13:28:31 +08:00
chenjianhua
238d1375a8
bluedroid: support GATT robust caching feature
2022-12-09 13:28:31 +08:00
chenjianhua
f4cd0b687d
bluedroid: support GATT services database hash calculate
2022-12-09 13:28:31 +08:00
chenjianhua
4a487a6a5c
bluedroid: support periodic advertising sync transfer cmd
2022-12-09 13:28:31 +08:00
chenjianhua
6f0d34d323
bluedroid: support LE L2CAP credit based connection
2022-12-09 13:28:31 +08:00
chenjianhua
2048322429
bluedroid: support oob pairing for smp secure connection
2022-12-09 13:28:31 +08:00
Wang Meng Yang
7d7a710b60
Merge branch 'feature/report_acl_conn_cmp_stat_to_app' into 'master'
...
feature/report ACL link related events to application
Closes BT-2097 and BT-1863
See merge request espressif/esp-idf!19276
2022-12-09 13:10:52 +08:00
morris
62f1cbca2c
gpio: support glitch filter
2022-12-09 11:33:42 +08:00
morris
2b9d3a37ee
twai: fix coverity warnings
2022-12-09 11:33:42 +08:00
jofrev
60767c234d
Set errno in adjtime if delta is too large
...
errno should be set to EINVAL in this case according to adjtime's man
page.
2022-12-08 22:35:50 +00:00
jofrev
1005b45ca8
Set errno in adjtime if newlib time funcs are not implemented
...
Other time functions (e.g. settimeofday) set errno to ENOSYS if
IMPL_NEWLIB_TIME_FUNCS is not set.
adjtime should probably do the same.
2022-12-08 22:34:49 +00:00
Rahul Tank
4bf8886042
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
2022-12-08 17:23:15 +05:30
Wu Zheng Hui
46917a87ba
Merge branch 'bugfix/unstall_other_cpu_on_core_reset' into 'master'
...
bugfix: unstall other cpu on core reset
Closes IDFGH-8902
See merge request espressif/esp-idf!21495
2022-12-08 18:53:36 +08:00
Nathan Phillips
2d047f5439
Fix type of cast
2022-12-08 10:51:16 +00:00
Nathan Phillips
260fd5c5a5
Explicitly log an invalid digest in DS data
2022-12-08 10:33:59 +00:00
Nathan Phillips
057f5cb120
Distinguish 4 identical log messages
...
Say which certificate couldn't be parsed in each one.
2022-12-08 10:31:28 +00:00
Wan Lei
35a749a76e
Merge branch 'test/re-enable_unit-test' into 'master'
...
test: re-enable some test cases of spi for esp32c2 and c6
Closes IDF-5146
See merge request espressif/esp-idf!21052
2022-12-08 17:54:04 +08:00
zwj
b5a6e9a528
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-08 17:26:14 +08:00
Chip Weinberger
9afc386dd2
[Heap Trace Standalone] improvements to formatting, code, comments
2022-12-08 00:47:02 -08:00
Song Ruo Jing
6f4d1ea436
Merge branch 'feature/esp32c6_ledc_support' into 'master'
...
ledc: Add basic support for esp32c6
Closes IDF-5328
See merge request espressif/esp-idf!21387
2022-12-08 16:07:46 +08:00
Vilem Zavodny
1303a7ceee
Merge branch 'feature/support_rotating_lcd_ssd1306_1' into 'master'
...
Support rotation SSD1306, changed example for using LVGL port component and added SH1107 LCD support.
See merge request espressif/esp-idf!21196
2022-12-08 15:34:39 +08:00
wuzhenghui
0d345c814a
bugfix: unstall other cpu on core reset
...
- Closes https://github.com/espressif/esp-idf/issues/10320
2022-12-08 15:30:39 +08:00
Darian Leung
486cc33fb3
freertos: Refactor port common functions
...
This commit refactors port_common.c so that it only contains implementation of
FreeRTOS port functions that are common to all FreeRTOS ports (i.e., on all
architectures and on all FreeRTOS implementations).
2022-12-08 01:57:30 +08:00
Darian Leung
09690906e7
freertos: Refactor OS startup functions
...
This commit refactors the OS startup functions as follows:
- Moved the OS/app startup functions listed below to "app_startup.c". Their
implementations are now common to all ports (RISC-V and Xtensa) of all
FreeRTOS implementations (IDF and Amazon SMP).
- esp_startup_start_app()
- esp_startup_start_app_other_cores()
- Removed esp_startup_start_app_common() as app startup functions are now
already common to all ports.
- Added extra logs to "main_task" to help with user debugging
Note: Increased startup delay on "unity_task". The "unity_run_menu()" is non
blocking, thus if the main task or other startup tasks have not been freed
by the time "unity_run_menu()" is run, those tasks will be freed the next time
"unity_task" blocks. This could cause some tests to have a memory leak, thus
the "unity_task" startup delay has increased.
2022-12-08 01:57:30 +08:00
Alexey Gerenkov
9ac90acd9e
Merge branch 'feature/add_newlib_nano_build_support_for_clang' into 'master'
...
Newlib nano build support for clang
See merge request espressif/esp-idf!21056
2022-12-07 20:24:58 +08:00
Andrei Safronov
2c5a9494fe
Merge branch 'bugfix/fix_gnu_asm_struct' into 'master'
...
xtensa: remove asm struct expressions in header files
See merge request espressif/esp-idf!18836
2022-12-07 20:21:31 +08:00
Song Ruo Jing
9402ab427b
ledc: Add basic support for esp32c6
2022-12-07 18:40:50 +08:00
Jin Cheng
f2f6aef019
correct the SR_mode selection when konw nothing about Peripheral
2022-12-07 09:47:03 +00:00
Vilem Zavodny
8631e4544b
lcd: Support rotation SSD1306 and changed example for using LVGL port component.
2022-12-07 09:04:17 +01:00
Guillaume Souchere
4d16f46a88
esp_system: fix placement of __stack_chk_fail from flash to RAM
...
When stack check is enabled, certain functions (sometimes placed in RAM)
are being decorated with stack guards and a call to __stask_chk_fail() in
case ofr stack corruption. For this reason, __stack_chk_fail() must be
placed in RAM too.
Add stack check config in heap tests on all targets to find eventual flash to RAM
calls due to stack checks when running callgraph_check.py
2022-12-07 08:49:12 +01:00
morris
5c06e9cf40
etm: update etm event task new API
2022-12-07 15:43:20 +08:00
C.S.M
c645c9ba06
Merge branch 'feature/add_esp32h2_system_support' into 'master'
...
ESP32H2: Add system support for ESP32H2
See merge request espressif/esp-idf!21460
2022-12-07 15:39:45 +08:00
David Čermák
1aa1e265ea
Merge branch 'bugfix/tcp_transport_psram' into 'master'
...
Bugfix for tcp_transport CI psram issue
See merge request espressif/esp-idf!17127
2022-12-07 15:17:54 +08:00
zwj
e9bfaf9a41
Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-07 15:04:39 +08:00
morris
9cce5849e8
Merge branch 'bugfix/usb_host_dwc_hal_chan_halt_race_condition' into 'master'
...
USB Host: Fix USB DWC HAL host channel halt race condition + Incorrect bmRequestType direction flag
Closes IDF-6348
See merge request espressif/esp-idf!21452
2022-12-07 14:27:13 +08:00
Mahavir Jain
a46223bc4e
Merge branch 'bugfix/fix_esp_https_server_initialize' into 'master'
...
esp_https_server: Fix initializers missing in esp_https_server
Closes IDFGH-8885
See merge request espressif/esp-idf!21437
2022-12-07 14:18:31 +08:00
Sachin Parekh
e997038ab4
Merge branch 'esp32c6/bootloader_region_protection' into 'master'
...
esp32c6: Enable IRAM-DRAM split using PMP
Closes IDF-5642 and IDF-5684
See merge request espressif/esp-idf!21199
2022-12-07 13:45:46 +08:00
Mahavir Jain
bdd822970c
Merge branch 'bugfix/add_check_for_coredump_encrypted_flag' into 'master'
...
coredump: add partition encrypted flag check for flash encryption case
See merge request espressif/esp-idf!21410
2022-12-07 11:52:49 +08:00
Cao Sen Miao
8cc9260f86
ESP32H2: Add system support for ESP32H2
2022-12-07 11:38:51 +08:00
wanlei
dd50bb2d50
test: enable multi-board test of spi for c6
2022-12-07 11:37:48 +08:00
wanlei
7f14f9e487
spi_slave_hd: fix c6 bringup issue of dma interrupt invokr bit
2022-12-07 11:37:48 +08:00
wanlei
5c099a2a49
test: re-enable some test cases of spi for esp32c2
2022-12-07 11:37:48 +08:00
morris
171b849831
Merge branch 'doc/esp_lcd_class_diagram' into 'master'
...
RGB LCD multi-framebuffer support
Closes IDF-5309, IDF-5939, and IDF-6336
See merge request espressif/esp-idf!20975
2022-12-07 11:25:15 +08:00
Wang Meng Yang
c9b4f1995a
Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption' into 'master'
...
Reduce the stack consumption of BTU_TASK
Closes BT-3022 and BT-2950
See merge request espressif/esp-idf!21433
2022-12-07 11:13:41 +08:00
liqigan
2198c3ed77
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-07 10:36:42 +08:00
jincheng
228bf596dc
Added reporting for ACL link related events to application
2022-12-07 02:33:55 +00:00
Marius Vikhammer
2f348d93c7
Merge branch 'feature/linux_heap' into 'master'
...
heap: add linux target support
Closes IDF-6000
See merge request espressif/esp-idf!21401
2022-12-07 09:28:36 +08:00
Alexey Gerenkov
002411b169
riscv: Use 'li' instead of 'la' for loading peripheral reg address
2022-12-06 21:54:50 +03:00
Zim Kalinowski
c73f1f1d02
Merge branch 'feature/qemu-efuse' into 'master'
...
efuse: enable qemu tests
Closes QEMU-73
See merge request espressif/esp-idf!21419
2022-12-07 01:47:36 +08:00
Sachin Parekh
7af998d23f
esp32c6: Enable IRAM-DRAM split using PMP
2022-12-06 14:50:55 +00:00
Wang Meng Yang
7b1bbd59eb
Merge branch 'bugfix/spp_vfs_memory_leak' into 'master'
...
Component_bt/fix esp_spp_vfs_register memory leak
Closes BT-2344
See merge request espressif/esp-idf!17909
2022-12-06 20:14:51 +08:00
Alexey Gerenkov
2710749f21
riscv: Remove asm struct expressions in header files
2022-12-06 13:35:27 +03:00
Darian Leung
c2bc34ee84
usb: Fix incorrect bmRequestType direction flag in USB Host Library
...
usb_host_transfer_submit_control() uses the incorrect bmRequestType direction
flag. Therefore, when doing a transfer check, all transfers were mistakenly
treated as OUT transfers (only affects transfer check and not actual transfer).
2022-12-06 18:10:45 +08:00
Darian Leung
d69d1aafaf
hal: Fix USB DWC HAL host channel halt race condition
...
This commit fixes a race condtion bug with usb_dwc_hal_chan_request_halt()
where a channel the channel is halted if it has just completed a transfer
(i.e., finished processing a QTD with the "HOC" flag set) but the channel is
still pending interrupt handling. In this case...
- usb_dwc_hal_chan_request_halt() would simply read the channel's underlying
register, determine it is not active, not set the "halt_requested" flag, and
simply return true.
- The caller assumes of usb_dwc_hal_chan_request_halt() will assume that the
channel has halted, and may proceed to reconfigure the pipe/port
- When usb_dwc_hal_chan_decode_intr() comes to process the pending interrupt
it will simply return USB_DWC_HAL_CHAN_EVENT_CPLT not knowing a halt has been
requested.
This commit updates the implementation of usb_dwc_hal_chan_request_halt() so
that a halt is properly requested even if the underlying channel has already
physically halted.
2022-12-06 18:08:54 +08:00
Alexey Gerenkov
893cc19f75
tools: Adds newlib nano support for clang builds
2022-12-06 12:33:09 +03:00
Shen Wei Long
67507baf37
Merge branch 'feature/add_comments_for_bt_connections_master' into 'master'
...
Explain how much memory that will be used by each connection/advertiser.
See merge request espressif/esp-idf!21321
2022-12-06 16:55:26 +08:00
Jiang Jiang Jian
8223a59183
Merge branch 'feat/espnow_rx_cb_opt' into 'master'
...
esp_wifi: upload more pkt info for espnow rx cb
Closes WIFI-4754
See merge request espressif/esp-idf!18261
2022-12-06 16:33:16 +08:00
Jiang Guang Ming
454aeb3a48
Merge branch 'feature/add_new_caps_for_rom_has_regi2c_bug' into 'master'
...
esp_rom: add ESP_ROM_HAS_REGI2C_BUG in rom caps
See merge request espressif/esp-idf!21418
2022-12-06 16:04:21 +08:00
Marius Vikhammer
6bd0be3e92
Merge branch 'bugfix/freertos_port_miss_header' into 'master'
...
freertos: add missing header include for esp_chip_info.h to port.c
Closes IDFGH-8889
See merge request espressif/esp-idf!21456
2022-12-06 12:46:54 +08:00
Marius Vikhammer
ea249dc3a6
freertos: add missing header include for esp_chip_info.h to port.c
...
Closes https://github.com/espressif/esp-idf/issues/10310
2022-12-06 11:31:15 +08:00
morris
8c7e8f2811
doc: add api reference for controller lcd drivers
2022-12-06 11:12:28 +08:00
morris
18545e9abe
lcd: support multi framebuffers for RGB LCD driver
2022-12-06 11:12:28 +08:00
Marius Vikhammer
36cb08c379
heap: add linux target support
...
Add wrappers for public heap API for the linux target.
2022-12-06 10:49:59 +08:00
Andrei Safronov
9d257054c8
xtensa: remove asm struct expressions in header files
2022-12-05 22:00:07 +03:00
Jakob Hasse
91f04aa877
refactor(nvs): custom allocator for all objects allocated in NVS
2022-12-05 18:59:33 +01:00
jiangguangming
d65913d279
esp_psram: update esp_psram s2/s3 Kconfig description
2022-12-05 15:07:29 +00:00
Jessy Chen
45ead31bd5
esp_wifi: upload more wifi pkt info in rx callback for espnow & csi
2022-12-05 22:30:08 +08:00
Jiang Jiang Jian
6419436684
Merge branch 'bugfix/skip_sae_during_wps' into 'master'
...
esp_wifi: Add changes to skip SAE handshake during WPS connection
Closes ESPCS-875
See merge request espressif/esp-idf!21369
2022-12-05 22:26:45 +08:00
xiongweichao
9d56c4c215
Assert when malloc user_data fail
2022-12-05 20:30:45 +08:00
xiongweichao
6bce9b7029
Fixed memory leak when SPP initialization failed
2022-12-05 20:30:45 +08:00
xiongweichao
4a702a2011
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-05 20:30:43 +08:00
Ondrej Kosta
84ab32b4ef
Merge branch 'bugfix/emac_memory_leak' into 'master'
...
Fixed false positive emac rx memory leak reported by Coverity
Closes IDF-6363
See merge request espressif/esp-idf!21341
2022-12-05 20:04:15 +08:00
Ondrej Kosta
600788da6a
Merge branch 'contrib/github_pr_10292' into 'master'
...
fix small bug when logging eth error (GitHub PR)
Closes IDFGH-8869
See merge request espressif/esp-idf!21407
2022-12-05 17:58:37 +08:00
Zim Kalinowski
d4d76e1f5c
efuse: enable qemu tests
2022-12-05 10:54:39 +01:00
C.S.M
7e12197324
Merge branch 'feature/add_esp32h2_g0_support' into 'master'
...
ESP32-H2: Last MR for g0 component support, (only hal left)
See merge request espressif/esp-idf!21364
2022-12-05 17:32:21 +08:00
C.S.M
6b1d4b4d49
ESP32-H2: Last MR for g0 component support, (only hal left)
2022-12-05 17:32:21 +08:00
yuanjianmin
5862a64d1c
esp_https_server: Fix initializers missing in esp_https_server
...
Closes https://github.com/espressif/esp-idf/issues/10306
2022-12-05 17:19:58 +08:00
zwj
e5a45f00e4
Reduce the stack consumption of BTU_TASK
2022-12-05 17:01:48 +08:00
Mahavir Jain
26e3f0bfbe
Merge branch 'feature/http_request_cancel' into 'master'
...
Cancel an HTTP request
Closes IDFGH-8426
See merge request espressif/esp-idf!21171
2022-12-05 16:06:14 +08:00
Jiang Jiang Jian
f27a95c1f3
Merge branch 'feature/wps_registrar_example' into 'master'
...
WiFi: Add softAP WPS registrar example and events
See merge request espressif/esp-idf!18450
2022-12-05 16:04:43 +08:00
Jiang Jiang Jian
12180da408
Merge branch 'contrib/github_pr_9529' into 'master'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
See merge request espressif/esp-idf!19463
2022-12-05 15:37:02 +08:00
Jiang Jiang Jian
4bd1e3fd0f
Merge branch 'optimization/lwip_dns_ipv4_ipv6_timer' into 'master'
...
lwip:optimization dns ipv4 ipv6 timer
Closes AUD-4073
See merge request espressif/esp-idf!20963
2022-12-05 15:04:27 +08:00
Euripedes Rocha
88844e1504
tcp_transport: Adjust test task priorities.
...
Raise the listener task priority to be higher than runner task priority.
2022-12-05 07:02:28 +00:00
jiangguangming
7db7269a92
esp_rom: patch systimer_hal_init/deinit for esp32h2 rom
2022-12-04 11:23:30 +08:00
jiangguangming
f9b6e25b55
esp_rom: update CMakeList.txt
2022-12-04 11:23:30 +08:00
jiangguangming
9e3ba8d061
esp_rom: update esp32h2 rom caps
2022-12-04 11:23:30 +08:00
jiangguangming
66a0cedf5a
esp_rom: add ESP_ROM_HAS_REGI2C_BUG in rom caps
2022-12-03 21:48:57 +08:00
Abhik Roy
c92f5faa70
components/lwip: Add menuconfig option to enable NAPT debugging,
...
removed L2_TO_L3_COPY in LWIP Kconfig,
Also added DHCP server start log.
2022-12-02 21:57:53 +05:30
Ondrej
647a9dfde3
Improved emac rx task code to suppress Coverity false positive memory leak indication
2022-12-02 12:57:43 +00:00
Jakob Hasse
88fa51951c
Merge branch 'feature/unity_test_runner_linux' into 'master'
...
refactor(unity): made unity runner compatible with Linux target
See merge request espressif/esp-idf!21195
2022-12-02 20:10:43 +08:00
Mahavir Jain
12b977dba6
coredump: add partition encrypted flag check for flash encryption case
...
Ref: https://esp32.com/viewtopic.php?f=13&t=30752
2022-12-02 17:15:01 +05:30
Kapil Gupta
924c709efe
WiFi: Add WPS softAP registrar example and events
2022-12-02 15:12:25 +05:30
Jiang Jiang Jian
a6982a92fe
Merge branch 'bugfix/fix_softap_beacon_memory_leak_issue' into 'master'
...
esp_wifi: fix softap beacon memory leak issue
Closes WIFI-4961, IDFGH-7780, and ESPCS-878
See merge request espressif/esp-idf!21079
2022-12-02 17:39:24 +08:00
chenjianhua
c37184aa85
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-02 15:10:39 +08:00
Shen Weilong
b3d248df95
Explain how mush memory that will be used by each connection/advertiser.
2022-12-02 14:21:22 +08:00
Harshit Malpani
6de9e42122
esp_http_client: Add feature to cancel an HTTP request
...
Closes: https://github.com/espressif/esp-idf/issues/9892
2022-12-02 11:36:28 +05:30
Armando (Dou Yiwen)
f54df61486
Merge branch 'bugfix/fix_bootloader_sha256_flash_contents_mask_issue' into 'master'
...
bootloader: fix bootloader_sha256_flash_contents mmap issue
See merge request espressif/esp-idf!21391
2022-12-02 12:10:57 +08:00
Zhi Wei Jian
18e0cd6214
Merge branch 'feature/support_ble_max_conn_num_to_9' into 'master'
...
Support bluedroid host maximum number of connections to 9
Closes BT-2914, BT-3000, and BT-2915
See merge request espressif/esp-idf!20933
2022-12-02 12:10:27 +08:00
Omar Chebib
301cb74890
coredump: custom core dump stack is now supported on Xtensa targets
2022-12-02 12:01:19 +08:00
fuzhibo@espressif.com
a0df34093a
regi2c: fix regi2c api for esp32c6
2022-12-02 10:58:23 +08:00
muhaidong
b07438f26f
esp_wifi: fix softap beacon memory leak issue
...
1. fix softap beacon memory leak issue.
2. fix esp wifi sta get ap info does not return connected ssid issue.
3. update inactive timer when recv ps-poll or success send data.
4. decrease test memory leak threshold.
2022-12-02 02:24:02 +00:00
Jiang Jiang Jian
22f8bcdc27
Merge branch 'bugfix/flush_pmk_for_akm_change' into 'master'
...
esp_wifi: Flush PMK caching if bss akm has changed
Closes WIFI-5014
See merge request espressif/esp-idf!21179
2022-12-02 10:20:13 +08:00
Alexander Hübener
93a8510dc5
fixed args order
2022-12-01 21:36:13 +01:00
Jakob Hasse
ec986651db
bugfix(nvs_flash): fixed wrong error check after open_nvs_handle
...
Closes https://github.com/espressif/esp-idf/issues/10240
2022-12-01 18:05:56 +01:00
Jiang Jiang Jian
367abc1591
Merge branch 'bugfix/sta_set_extra_ies_for_open_AP_1' into 'master'
...
esp_wifi: STA set extra IEs for open AP
Closes IDFCI-1533
See merge request espressif/esp-idf!21360
2022-12-01 23:49:45 +08:00
Armando
d88236678a
bootloader: fix bootloader_sha256_flash_contents mmap issue
2022-12-01 21:39:57 +08:00
harshal.patil
1f5122c90f
esptool_py: Added a sector-pad option for bootloader image
...
When SECURE BOOT V2 is enabled and CONFIG_SECURE_BOOT_SIGNED_BINARIES
is not set, sector-pad the bootloader image, which is required for an
external PKCS#11 interface to generate a signature.
2022-12-01 18:24:29 +05:30
Wan Lei
6cc9380ac9
Merge branch 'bugfix/fix_slave_gpio_cs_mixed_with_iomux_bus' into 'master'
...
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin
See merge request espressif/esp-idf!21287
2022-12-01 20:09:11 +08:00
Michael (XIAO Xufeng)
b8e103bb6b
Merge branch 'bugfix/wafer_version_minor_s3' into 'master'
...
esp32s3: fixed bug chip v0.0 detected as vX.8
See merge request espressif/esp-idf!21350
2022-12-01 19:08:51 +08:00
Jakob Hasse
1e7daf316a
refactor(unity): made unity runner compatible with Linux target
2022-12-01 12:02:05 +01:00
Kapil Gupta
4967e90571
esp_wifi: Add changes to skip SAE handshake during WPS connection
2022-12-01 15:37:43 +05:30
Ondrej Kosta
4ded1ea4cf
Merge branch 'feature/eth_bridge_test' into 'master'
...
lwIP bridge FDB add entry fix and bridge test
Closes IDF-5394
See merge request espressif/esp-idf!20464
2022-12-01 17:51:11 +08:00
Konstantin Kondrashov
7bc15f78a5
Merge branch 'feature/efuse_remove_warnings_for_memcpy' into 'master'
...
all: Remove warnings for memcpy/memset
Closes IDF-6298
See merge request espressif/esp-idf!21164
2022-12-01 16:03:29 +08:00
Tomas Rezucha
7ae5705977
Merge branch 'feature/usb_v5_update' into 'master'
...
usb: Run usb_host tests in CI
See merge request espressif/esp-idf!19468
2022-12-01 15:29:01 +08:00
Jiang Jiang Jian
1669bc000f
Merge branch 'bugfix/fix_espnow_crash_when_modify_peer' into 'master'
...
esp_wifi: fix the ESPNOW crash when modify the interface of the peer
Closes WIFI-5046 and WIFI-5047
See merge request espressif/esp-idf!21192
2022-12-01 14:24:15 +08:00
C.S.M
7683b1ae7d
Merge branch 'feature/add_esp32h2_rom_support' into 'master'
...
ESP32H2: Add ROM linker file and support
See merge request espressif/esp-idf!21334
2022-12-01 11:54:39 +08:00
Kapil Gupta
9e0e7bf5ba
esp_wifi: STA set extra IEs for open AP
...
Fixed regression caused by !21292
2022-12-01 09:24:06 +05:30
Ivan Grokhotkov
29430e464d
Merge branch 'fix/esp32s3_memprot' into 'master'
...
ESP32S3: Add memory protection for Icache region
Closes IDF-6390
See merge request espressif/esp-idf!21329
2022-12-01 11:41:47 +08:00
zhangyanjiao
4b5904aa58
esp_wifi: fix the ESPNOW crash when modify the interface of the peer
...
Closes WIFI-5046
Closes WIFI-5047
2022-12-01 11:13:10 +08:00
Wan Lei
226870dce3
Merge branch 'contrib/github_pr_10224' into 'master'
...
SPI_Master: Fix DMA rxbuf size calculation (GitHub PR)
Closes IDFGH-8793
See merge request espressif/esp-idf!21198
2022-12-01 10:43:18 +08:00
wanlei
0ffc813ac8
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin
2022-12-01 10:38:22 +08:00
Cao Sen Miao
283e2c8e5f
ESP32H2: Add ROM linker file and support
2022-12-01 10:31:17 +08:00
Tomas Rezucha
a0dacf826f
usb: Don't access uninit pointer if usbh_install fails
2022-11-30 18:48:31 +00:00
Jiang Jiang Jian
0dd6826a05
Merge branch 'bugfix/unprot_sa_query_issue' into 'master'
...
Fix unprotected SA Query issue and scan regression
See merge request espressif/esp-idf!21206
2022-12-01 01:25:27 +08:00
Tomas Rezucha
645592e157
usb: Refactor USB Host tests
...
* USB tests migrated to pytest
* Error messages improved
* Configurable for different mock devices
2022-11-30 18:12:54 +01:00
Michael (XIAO Xufeng)
cff1cb3988
esp32s3: fixed bug chip v0.0 detected as vX.Y
...
A typical value is 2.8.
Previous commit 32ef2b321a
doesn't fix the issue cleanly. The MSB of wafer_minor also has this problem.
2022-12-01 01:05:09 +08:00
Kapil Gupta
73bd4ea619
Merge branch 'bugfix/sta_set_extra_ies_for_open_AP' into 'master'
...
esp_wifi: STA set extra IEs for open AP
Closes WIFI-5012
See merge request espressif/esp-idf!21292
2022-11-30 22:28:03 +08:00
Jiang Jiang Jian
236a5301a0
Merge branch 'bugfix/fix_bt_sleep_hangs_when_enable_light_sleep' into 'master'
...
bt: fix bt sleep flow hangs in btdm_sleep_clock_sync
Closes BT-2990
See merge request espressif/esp-idf!21311
2022-11-30 21:55:40 +08:00
Sachin Parekh
97709b899f
esp32s3/memprot: Fix DRAM fault address calculation
2022-11-30 13:46:53 +00:00
Sachin Parekh
90d40b96e2
esp32s3/memprot: Fix SRAM region high addresses
2022-11-30 13:46:53 +00:00
Sachin Parekh
2a01e66b25
esp32s3/memprot: Set permission for Icache region
2022-11-30 13:46:53 +00:00
Jiang Guang Ming
0c4d5cfc51
Merge branch 'bugfix/update_esp_rom_lldesc_header' into 'master'
...
esp_rom: remove lldesc_xxx definitions since no actual function bodies
Closes IDFGH-8772
See merge request espressif/esp-idf!21289
2022-11-30 21:18:07 +08:00
Jakob Hasse
56acd2ee03
Merge branch 'feature/uart_new_critical_section_api' into 'master'
...
driver: added new critical section API to UART driver
See merge request espressif/esp-idf!19678
2022-11-30 19:53:44 +08:00
KonstantinKondrashov
9fd8f3786a
all: Replaces memset/memcpy with hal_mem.. funcs where were used -Wstringop-overread, -Wstringop-overflow, -Warray-bounds
...
hal: Adds hal_memcpy and hal_memset
2022-11-30 19:22:41 +08:00
Nachiket Kukade
b625554643
esp_wifi: Update wifi libs
...
- Fixed regression caused in commit ef80cf0b65
- Fixed unprotected SA Query issue
2022-11-30 11:21:53 +00:00
Liu Ning
cb7686eec7
Merge branch 'bugfix/fix_ci_phy_modem_deinit_esp32c2' into 'master'
...
ci: fix esp_phy_modem_deinit issue
Closes IDFCI-1532
See merge request espressif/esp-idf!21338
2022-11-30 19:17:51 +08:00
Ondrej Kosta
d849f290d1
Merge branch 'feature/eth_test_all_chips' into 'master'
...
Ethernet related tests improvements
Closes IDF-5387
See merge request espressif/esp-idf!20982
2022-11-30 17:53:48 +08:00
liuning
d9ef6aed66
ci: fix esp_phy_modem_deinit issue
2022-11-30 16:39:40 +08:00
Jiang Jiang Jian
09231b4fa2
Merge branch 'bugfix/fix_failure_of_wifi_channel_configuration' into 'master'
...
phy: only set phy_init_flag at power domain off, when all modems deinit
Closes WIFI-4983
See merge request espressif/esp-idf!21235
2022-11-30 14:41:08 +08:00
Aditya Patwardhan
7955a11384
Merge branch 'feature/use_gettimeofday_instead_of_xTaskGetTickCount' into 'master'
...
esp-tls: use gettimeofday() instead of xTaskGetTickCount()
See merge request espressif/esp-idf!21300
2022-11-30 14:08:21 +08:00
Mahavir Jain
bcb4fd7ead
Merge branch 'fix/fix_behaviour_of_api_to_set_fe_release_mode' into 'master'
...
esp_flash_encrypt: If it is supported then Enable secure download mode in...
See merge request espressif/esp-idf!21310
2022-11-30 14:02:34 +08:00
Jiang Jiang Jian
70426ed4c0
Merge branch 'bugfix/sta_transition_disable_wpa2_authmode' into 'master'
...
esp_wifi:Mandate stations to have minimum security wpa3
See merge request espressif/esp-idf!19228
2022-11-30 13:01:41 +08:00
Shreyas Sheth
377eeedfef
esp_wifi:Mandate stations to have minimum security wpa3
2022-11-30 13:01:40 +08:00
Jiang Jiang Jian
36012433f9
Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect' into 'master'
...
component_bt: Fixed a2dp failing to connect again after disconnect
Closes BT-1803
See merge request espressif/esp-idf!16947
2022-11-30 11:56:59 +08:00
tgotic
36fcb4b3a1
SPI fix DMA rxbuf size calculation
...
(x+31)/8 doesn't round to 4 bytes (32 bits), e.g. (16+31)/8=47/8=5,
where ((x+31)/32)*4 does round to 4 bytes: (16+31)/32=(47/32)*4=1*4=4
2022-11-30 11:46:18 +08:00
Jiang Jiang Jian
7869f4e151
Merge branch 'feature/esp32c2_optimize_ble_init' into 'master'
...
Fixed memory leak when RAM free size is insufficient or setting ext scan...
See merge request espressif/esp-idf!21261
2022-11-30 11:09:51 +08:00
xiongweichao
592675fd5b
Fixed incorrect parameters in switching to BTC context
2022-11-30 10:41:54 +08:00
xiongweichao
3268075231
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-11-30 10:41:54 +08:00
xiongweichao
40f6239fd7
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-11-30 10:41:52 +08:00
C.S.M
593335578f
Merge branch 'feature/bringup_usj_esp32c6' into 'master'
...
usb_serial_jtag: add support for esp32c6
Closes IDF-5330
See merge request espressif/esp-idf!21319
2022-11-30 01:55:38 +08:00
C.S.M
b5dfe52ce1
Merge branch 'feature/add_esp32h2_soc_support' into 'master'
...
ESP32-H2: Add SOC headers for esp32-h2
See merge request espressif/esp-idf!21256
2022-11-29 22:09:43 +08:00
Song Ruo Jing
56302544f6
Merge branch 'ci/enable_esp32c6_target_test_stage' into 'master'
...
CI: Enable esp32c6 target test stage
Closes IDF-5830 and IDF-5831
See merge request espressif/esp-idf!21010
2022-11-29 19:54:05 +08:00
Cao Sen Miao
a57500d29c
usb_serial_jtag: add support for esp32c6
2022-11-29 19:27:04 +08:00
Cao Sen Miao
5520e3b811
ESP32H2: Add SOC files for esp32h2
2022-11-29 18:55:12 +08:00
Konstantin Kondrashov
0786539047
Merge branch 'feature/remove_efuse_dependency' into 'master'
...
esp_hw_support: Removes efuse dependency
Closes IDF-4713
See merge request espressif/esp-idf!21212
2022-11-29 18:12:26 +08:00
Wang Meng Yang
4b2ac6cdde
Merge branch 'bugfix/spp_add_ertm_option_master' into 'master'
...
bt: Added esp_spp_enhanced_init() API to indicate whether to enable L2CAP ERTM
Closes BT-2411
See merge request espressif/esp-idf!21126
2022-11-29 17:40:40 +08:00
zwj
51c739c181
update BLE lib for ESP32-C3 and ESP32-S3
...
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-11-29 17:37:04 +08:00
Jakob Hasse
f2dfe2bcac
Merge branch 'docs/test_utils_no_butter' into 'master'
...
docs: heap records are not eatable!
See merge request espressif/esp-idf!21303
2022-11-29 17:28:25 +08:00
zhiweijian
957bf03d6a
bluedroid host supports the maximum number of connections to 9
2022-11-29 16:33:17 +08:00
zwl
81d6b8f011
Fixed interrupt latency when cache is disable on ESP32-C2
2022-11-29 16:29:32 +08:00
zwl
1732a6d044
Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2
2022-11-29 16:29:26 +08:00
Konstantin Kondrashov
2f23825f60
Merge branch 'fix/esp_timer_tests' into 'master'
...
esp_timer: Fix tests for C2 chip
Closes IDF-5052 and IDF-5011
See merge request espressif/esp-idf!21280
2022-11-29 15:24:40 +08:00
jingli
cf244a14f0
bt: fix bt sleep flow hangs in btdm_sleep_clock_sync
...
Bluetooth low power related logic and regs have separate power domain from MAC and BB,
and do not power down during light sleep. If reset when power up MAC and BB in sleep
flow, it may destroy the state of bt low power part.
2022-11-29 14:28:32 +08:00
Jiang Jiang Jian
b04e33256d
Merge branch 'bugfix/fix_esp32c3_connect_fail' into 'master'
...
esp_wifi: fix esp32c3 connect fail
Closes IDFCI-1524
See merge request espressif/esp-idf!21297
2022-11-29 14:24:27 +08:00
Aditya Patwardhan
8d047ea910
esp_flash_encrypt: If it is supported then Enable secure download mode in release mode instead of disabling it completely.
2022-11-29 11:44:18 +05:30
Darian
1e953e31fc
Merge branch 'feature/freertos_restore_single_core_task_selection_algorithm' into 'master'
...
FreeRTOS(IDF): Restore vanilla task selection algorithm if building for single core with optimized selection is disabled
See merge request espressif/esp-idf!21001
2022-11-29 14:04:44 +08:00
Harshit Malpani
295507bc1b
esp-tls: use gettimeofday() instead of xTaskGetTickCount()
2022-11-29 11:04:54 +05:30
Sudeep Mohanty
3082fc7911
Merge branch 'feature/freertos_vtasklist_include_coreid' into 'master'
...
freertos-smp: Made CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID available only for IDF-FreeRTOS
Closes IDF-5295
See merge request espressif/esp-idf!21291
2022-11-29 11:52:57 +08:00
xiongweichao
c497d7d6c1
bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init()
2022-11-29 10:20:47 +08:00
Martin Vychodil
9f5fb63c23
Merge branch 'bugfix/c2_partition_sha256_api_fail' into 'master'
...
[ESP32C2] Failed test esp_partition_get_sha256() on big partitions
Closes IDFCI-1515
See merge request espressif/esp-idf!21245
2022-11-29 04:57:28 +08:00
xiongweichao
ecf2eea1d6
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
2022-11-28 20:42:53 +08:00
KonstantinKondrashov
f6f173e3d3
esp_timer: Fix tests for C2 chip
2022-11-28 20:02:06 +08:00
Darian
297670300d
Merge branch 'contrib/github_pr_10199' into 'master'
...
Removed the 'configASSERT( xInheritanceOccurred == pdFALSE )' assertion from xQueueSemaphoreTake (GitHub PR)
Closes IDFGH-8766
See merge request espressif/esp-idf!21272
2022-11-28 19:37:41 +08:00
Ondrej
2bf7255285
Ethernet related tests improvements
...
esp_eth: tests migrated to pytest and added support of multiple Ethernet devices
esp_netif: l2tap test migrated to pytest
2022-11-28 11:34:34 +00:00
Jakob Hasse
cb20f3ba1c
docs(test_utils): heap records are not eatable!
...
Instead of becoming spread, heap records should go into a buffer.
Hungry commits shall be avoided.
2022-11-28 12:01:44 +01:00
Ondrej
c40e4eb499
esp_eth: DM9051 stop/start issue fixed
2022-11-28 10:54:43 +00:00
Martin Vychodil
537aca747b
esp_partition: fixed esp_partition_get_sha256() test for big partitions
...
esp_partition_get_sha256() test for big partitions has been improved in allocation of MMU pages
2022-11-28 10:46:23 +01:00
Cao Sen Miao
fa3a8fdd91
esp_flash: correct veriable 'size' description
2022-11-28 16:54:03 +08:00
zhangyanjiao
8226de767c
esp_wifi: fix esp32c3 connect fail
...
Closes IDFCI-1524
2022-11-28 16:09:24 +08:00
Marius Vikhammer
4144451bdc
bootloader: increase iram_loader_seq size on S2
...
Segment was full when compiling with -O0
2022-11-28 15:16:48 +08:00
Shreyas Sheth
340778cb13
esp_wifi: STA set extra IEs for open AP
2022-11-28 06:48:09 +00:00
Sudeep Mohanty
d451a7539d
freertos-smp: Made CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID available only for IDF-FreeRTOS
...
Since core affinity is supported in task stats by default in Amazon
FreeRTOS SMP, the Kconfig option
CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID is now made only available for
IDF-FreeRTOS.
2022-11-28 12:09:56 +05:30
Darian Leung
dff138f883
freertos(IDF): Restore vanilla task selection algorithm for single core
...
This commit restores the vanilla behavior for taskSELECT_HIGHEST_PRIORITY_TASK
when configNUM_CORES == 1 && configUSE_PORT_OPTIMISED_TASK_SELECTION == 0. This
results in the SMP selection algorithm (taskSelectHighestPriorityTaskSMP) to
only be run when configNUM_CORES > 1.
2022-11-28 13:55:03 +08:00
Darian Leung
2537dd8eca
freertos(IDF): Add preprocessor check for configNUM_CORES configuration
...
This commit adds preprocessing time checks to ensure that
- configNUM_CORES is defined to 1 or 2
- Incompatible configurations are not set depending on configNUM_CORES
2022-11-28 13:55:03 +08:00
Kevin (Lao Kaiyao)
766dc3eead
Merge branch 'bugfix/fix_i2s_tdm_multi_dev_pytest' into 'master'
...
i2s_test: update multi dev pytest script
Closes IDFCI-1523
See merge request espressif/esp-idf!21247
2022-11-28 13:52:38 +08:00
Song Ruo Jing
1575b9e43a
ci: Disable all currently failed target tests for esp32c6
2022-11-28 12:09:08 +08:00
Song Ruo Jing
7466ddfa8c
ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py)
2022-11-28 11:58:30 +08:00
Song Ruo Jing
e13a4ad963
ci: Disable some unit-test-apps for esp32c6 to pass ci build stage
2022-11-28 11:58:30 +08:00
xiongweichao
cbf3467d4e
Fixed a2dp failing to connect again after disconnect
2022-11-28 11:37:14 +08:00
jiangguangming
86126b83fa
esp_rom: remove lldesc_xxx definitions since no actual function bodies
...
Closes https://github.com/espressif/esp-idf/issues/10204
2022-11-28 11:27:19 +08:00
laokaiyao
502495dec1
i2s_test: update multi dev pytest script
2022-11-28 11:10:22 +08:00
Marius Vikhammer
6a450c4113
Merge branch 'feature/esp_hw_support_pytest' into 'master'
...
esp_hw_support: migrate to pytest
See merge request espressif/esp-idf!20938
2022-11-28 10:38:54 +08:00
Jakob Hasse
fd04374aa5
feat (driver) added new critical section API to UART driver
2022-11-25 18:11:35 +01:00
KonstantinKondrashov
741e89cbaa
esp_hw_support: Removes efuse dependency
2022-11-25 19:27:33 +08:00
Rahul Tank
03942846c8
Merge branch 'bugfix/disable_prov_encryption' into 'master'
...
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
See merge request espressif/esp-idf!20297
2022-11-25 16:53:42 +08:00
Marius Vikhammer
59e40fafba
esp_hw_support: move test to pytest
2022-11-25 16:21:35 +08:00
Armando (Dou Yiwen)
2ad7b85a9e
Merge branch 'bugfix/improve_ext_virtual_memory_allocation_in_2nd_btld' into 'master'
...
bootloader: improve irom & drom mapping way in 2nd bootloader on esp32c6
Closes IDF-6331
See merge request espressif/esp-idf!21173
2022-11-25 15:24:06 +08:00
Guillaume Souchere
1d16ca6a26
Merge branch 'feature/lower-iram-utilization-of-heap-component' into 'master'
...
heap: lower the utilization of IRAM by the heap component binary
Closes IDF-2282 and IDFGH-6233
See merge request espressif/esp-idf!20926
2022-11-25 15:22:05 +08:00
Jiang Jiang Jian
1b09f26419
Merge branch 'bugfix/security_params_overwrite' into 'master'
...
Add changes to prevent security params overwritten in full scan
See merge request espressif/esp-idf!20082
2022-11-25 14:24:25 +08:00
Rahul Tank
97f4130ad2
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
...
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.
Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.
End user can enable it as per their use case.
2022-11-25 11:26:10 +05:30
liuning
b8d3553a1c
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-11-25 03:18:12 +00:00
Aditya Patwardhan
dfcf5878f8
secure_boot_v2: Fix warning message
2022-11-25 03:25:36 +05:30
Aditya Patwardhan
22ad083ccd
Merge branch 'refactor/merge_esp_ds_code_between_targets' into 'master'
...
Merge esp_ds and hmac_hal layers for different targets
Closes IDF-3803, IDF-6144, and DOC-3973
See merge request espressif/esp-idf!21187
2022-11-25 03:59:18 +08:00
Kevin (Lao Kaiyao)
0b1db93ea1
Merge branch 'feature/support_uart_on_c6' into 'master'
...
uart: support uart on esp32c6
Closes IDF-5338
See merge request espressif/esp-idf!21101
2022-11-24 18:42:31 +08:00
Aditya Patwardhan
1c233cc508
hmac_hal: Merge hmac hal layer for different into one
2022-11-24 16:04:26 +05:30
Aditya Patwardhan
aa27abb39b
esp_hw_support/esp_ds: Improve documentation for esp_ds_sign and esp_ds_encrypt_params API
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
2c1416d92c
hal/esp32s3: Rename static API hmac_ll_query_config_error to
...
hmac_ll_config_error in order to make it standardized across targets
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
ac1f4a263b
esp_hw_support: Merge esp_ds.h file for different targets into one
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
f79d8f9c07
esp_hw_support: Merge esp_ds.c file for different targets into one
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
6a75fe5912
esp_hw_support: Update build system support for mergin esp_ds.c files
...
into one
2022-11-24 16:03:23 +05:30
C.S.M
28b2deaf24
Merge branch 'feature/add_target_esp32h2' into 'master'
...
ESP32-H2: Introduce new target for ESP32H2
See merge request espressif/esp-idf!21190
2022-11-24 18:31:19 +08:00
Aditya Patwardhan
efd05fdebb
esp32c3/esp_ds.c: Fix RSA_LEN_MAX variable
2022-11-24 15:53:51 +05:30
Guillaume Souchere
b496bab0f6
heap: fix linker issues and remove spi flash dependencies
2022-11-24 10:31:14 +01:00
Guillaume Souchere
e31e6d4de8
feat: remove tlsf_fls and tlsf_ffs from linker as they are inlined.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
ab1bd08ab9
tools: update list of references to not include symbold used by __assert_func calls
...
On xtensa architecture, the call to __assert_func uses a reference to __func__ that can
sometimes be placed in flash. Since the __asert_func can be called from functions in IRAM
the check_callgraph script can report an error when checking for invalid calls from IRAM
to flash sections. However, the __asert_func prevents this scenario at runtime so the
check_callgraph script reports a 'flas positive' situation. For this reasson, all references
to __func__$x found prior to a call to __assert_func are droped in the parsing of the rtl files.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
0376e6ec79
heap: add check for usage of flash content from iram
...
this commits:
- adds build-time test to check that no call to flash regions are done from IRAM functions
- resolves problems related to IRAM function using content in flash memory
- update heap_caps_alloc_failed to use a default function name in DRAM
when necessary instead of creating a function name variable in DRAM for
each call of heap_caps_alloc_failed. This allows to save some extra bytes
in RAM.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
5dc0481d21
heap: add documentation about the function placement in IRAM and its usage in ISR
...
This commits adds a internal.md file in the heap directory to clarify the idea behind
which functions is placed in IRAM or in flash.
A section in mem_alloc.rst documentation is added to specify which functions from the
heap component API can be used in interrupt handlers.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
7fcd964b1d
heap: add selective placement of function in IRAM
...
This commit aims to place in the IRAM section only the functions that
are relevent for performance instead of placing the entire content of
multi_heap.c, mullti_heap_poisoning.c and tlsf.c in the IRAM.
2022-11-24 10:31:14 +01:00
laokaiyao
888ca08cb2
uart: support examples and tests on esp32c6
2022-11-24 16:07:24 +08:00
laokaiyao
7778ab6d5c
uart: support update_reg and PCR clock for all uart devices
2022-11-24 16:07:23 +08:00
wuzhenghui
e90d76e5b7
bugfix: fix uart fifo lost data issue
2022-11-24 16:07:23 +08:00
Kapil Gupta
ed2abeb07f
esp_wifi: Update wifi libs
...
Add changes to prevent security overwritten in full scan
Co-authored-by: Nachiket Kukade <nachiket.kukade@espressif.com>
2022-11-24 10:42:57 +05:30
Island
26e5d16c47
Merge branch 'bugfix/Fix_exceptional_list_params_check' into 'master'
...
ble_mesh: stack: Fix exceptional list parameters check issue
See merge request espressif/esp-idf!20851
2022-11-24 12:02:09 +08:00
Armando
9d9d1e4bf3
soc: remove unused macro in ext_mem_defs.h
...
ESP_CACHE_TEMP_ADDR is not used in IDF
2022-11-24 10:29:35 +08:00
Alexey Gerenkov
8c2ae2f9bd
Merge branch 'feature/universal_clang_toolchain_support' into 'master'
...
build: Adds support for universal Clang toolchain
Closes LLVM-79
See merge request espressif/esp-idf!20090
2022-11-24 03:09:46 +08:00
Ondrej Kosta
785f154f56
Merge branch 'feature/emac_buff' into 'master'
...
esp_eth: receive buffer allocation optimization
Closes IDFGH-7769
See merge request espressif/esp-idf!19977
2022-11-24 00:48:19 +08:00
xiongweichao
cf788a241d
bt: Update HFP version to v1.8
2022-11-23 20:17:22 +08:00
xiongweichao
923cdcf75a
bt: Update A2DP version to v1.4
2022-11-23 20:17:22 +08:00
xiongweichao
33d351898a
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-11-23 20:17:22 +08:00
Nachiket Kukade
986bd37528
esp_wifi: Update wifi libs
...
Fix unprotected SA Query issue and scan regression
2022-11-23 17:33:51 +05:30
xueyunfei
7490a1553d
lwip:optimization dns ipv4 ipv6 timeir
...
* Update submodule: git log --oneline 33912690ea005e8ff05b2c579ebbf0a4189c3b00..705dd71d46779bf29653f1f1d7b1af5a09fb2aa7
Detailed description of the changes:
- dhcp: init fine timer when dhcp start(esp-lwip@705dd71d)
- ip6 timer: optimization lwip ip6 reassembly timer (esp-lwip@9813ea9a)
- ip4 timer: optimization lwip ip4 reassembly timer (esp-lwip@ce1a7099)
- dns timer: optimization lwip dns timer (esp-lwip@6b0bfc2e)
2022-11-23 11:57:47 +00:00
wangjialiang
766d1d1b66
ble_mesh: stack: Fix exceptional list parameters check issue
2022-11-23 19:46:20 +08:00
Zim Kalinowski
40ffc48ff7
Merge branch 'feature/migrate-esp-common-tests-to-pytest' into 'master'
...
esp_common: migrate unit tests to pytest test app
Closes IDF-5572
See merge request espressif/esp-idf!20194
2022-11-23 19:39:50 +08:00
Alexey Gerenkov
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +03:00
Zim Kalinowski
17ba68d89a
cleaned up
2022-11-23 08:45:56 +01:00
morris
4019e307f1
doc: add api reference for etm driver
2022-11-23 15:32:34 +08:00
morris
4186bd041c
gptimer: added etm example
2022-11-23 15:32:34 +08:00
morris
356c6bb528
gdma: support etm extension
2022-11-23 15:32:34 +08:00
morris
560ea9b754
systimer: support etm event
2022-11-23 15:32:34 +08:00
morris
00b6ec28b2
gptimer: support etm event and task
2022-11-23 15:31:33 +08:00
morris
494516d5f3
gpio: support etm extension
2022-11-23 15:31:33 +08:00
morris
fb26d0e11f
etm: added etm channel allocator
2022-11-23 15:31:33 +08:00
Konstantin Kondrashov
b4580a1980
Merge branch 'feature/esp_timer_add_ll_for_rc_fast_clk' into 'master'
...
hal: Adds hal/ll func for SYSTIMER to select clock source: XTAL or RC_FAST_CLK
Closes IDF-5323
See merge request espressif/esp-idf!21136
2022-11-23 15:05:48 +08:00
Cao Sen Miao
86aa4df5b5
ESP32-H2: Introduce new target for ESP32H2
2022-11-23 14:38:05 +08:00
Omar Chebib
7baa63cbc2
Merge branch 'staging/asm_dedic_gpio_example' into 'master'
...
Dedicated/Fast GPIO: add examples implementing software I2C, UART and SPI on RISC-V targets
Closes IDF-5936
See merge request espressif/esp-idf!20921
2022-11-23 14:19:01 +08:00
C.S.M
cc9fd34a4f
Merge branch 'feature/bringup_tsens_esp32c6' into 'master'
...
temperature_sensor: Add support on ESP32-C6 (No calibration)
Closes IDF-5322
See merge request espressif/esp-idf!20698
2022-11-23 12:46:21 +08:00
Wang Meng Yang
11fde1a9a5
Merge branch 'bugfix/optimize_hidh_disconnection' into 'master'
...
Bugfix/Fix HID Host improper handle of freeing resource in esp_hid component
Closes BT-2909
See merge request espressif/esp-idf!20919
2022-11-23 11:56:55 +08:00
Zim Kalinowski
95cc3e5b6c
esp_common: migrate tests to pytest
2022-11-22 22:15:08 +01:00
Konstantin Kondrashov
618572c139
Merge branch 'feature/efuse_c6' into 'master'
...
efuse(esp32-c6): Update efuse_table and rs coding error func
Closes IDF-5919 and IDF-5341
See merge request espressif/esp-idf!21163
2022-11-22 21:50:42 +08:00
KonstantinKondrashov
63f852adc8
hal: Adds hal/ll func for SYSTIMER to select clock source: XTAL or RC_FAST_CLK
2022-11-22 20:29:19 +08:00
Armando
c3682bf0a4
soc: update iram/dram addr range in ext_mem_defs.h
...
IRAM0/DRAM0 addr range update, on s3, c3, c2, h4, c6:
IRAM0_ADDRESS_LOW ~ IRAM0_ADDRESS_HIGH
DRAM0_ADDRESS_LOW ~ DRAM0_ADDRESS_HIGH
now are for the real IRAM0 and DRAM0
2022-11-22 18:53:50 +08:00
Armando
ad52655558
bootloader: improve irom/drom mapping way
2022-11-22 18:53:50 +08:00
Omar Chebib
d965b7fdec
Merge branch 'staging/esp_static_assert' into 'master'
...
C/Cxx: Static assertions are now unified
Closes IDFGH-8479
See merge request espressif/esp-idf!20569
2022-11-22 17:04:02 +08:00
Cao Sen Miao
fb9d0d9f03
temperature_sensor: Add support on ESP32-C6 (No calibration)
2022-11-22 16:22:31 +08:00
Konstantin Kondrashov
167d5ae3b9
Merge branch 'bugfix/esp_timer_disable_alarms' into 'master'
...
esp_timer: Fix the stop alarm triggering when the timer list is empty
Closes IDF-5323
See merge request espressif/esp-idf!21114
2022-11-22 16:14:27 +08:00
KonstantinKondrashov
2e8c3c61b3
efuse: Adds an option to disable eFuse FPGA tests
2022-11-22 16:09:10 +08:00
KonstantinKondrashov
0eee228700
efuse(esp32-c6): Update efuse_table and rs coding error func
2022-11-22 16:09:10 +08:00
C.S.M
54d9da987a
Merge branch 'bugfix/flash_large_memory_size' into 'master'
...
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory
Closes IDFGH-8063
See merge request espressif/esp-idf!20738
2022-11-22 16:07:17 +08:00
Jiang Jiang Jian
d89a51299d
Merge branch 'bugfix/modify_wifi_max_conn_num' into 'master'
...
esp_wifi: modify wifi max conn num
Closes IDFGH-7960, WIFI-4176, IDFGH-8431, and WIFI-5004
See merge request espressif/esp-idf!19367
2022-11-22 15:51:08 +08:00
Kevin (Lao Kaiyao)
4867928160
Merge branch 'bugfix/i2s_tdm_doubled_mclk' into 'master'
...
i2s: fixed double mclk in tdm mode
Closes IDFGH-8764 and IDFGH-8763
See merge request espressif/esp-idf!21138
2022-11-22 15:41:16 +08:00
Jiang Jiang Jian
cea661419b
Merge branch 'bugfix/fix_c3_s3_ble_temperature_performance' into 'master'
...
Fixed bluetooth disconnection caused by HW temperature rise or fall on ESP32C3 and ESP32S3
See merge request espressif/esp-idf!20748
2022-11-22 14:37:36 +08:00
Omar Chebib
623bffaab8
Dedicated GPIO: add examples implementing software I2C, UART and SPI on RISC-V targets.
...
Use dedicated GPIOs in examples to show how to emulate a UART, I2C and SPI bus.
(Using assembly and C)
2022-11-22 14:17:40 +08:00
Wan Lei
65c0b2b81a
Merge branch 'feature/c6_spi_master_driver_support' into 'master'
...
esp32c6: support spi master & slave driver
Closes IDF-5335 and IDF-5336
See merge request espressif/esp-idf!20877
2022-11-22 12:29:25 +08:00
Michael (XIAO Xufeng)
439a709c42
Merge branch 'feat/esp32s3_essl_sdmmc_host' into 'master'
...
essl: add support for ESP32-S3 SDMMC host
See merge request espressif/esp-idf!19325
2022-11-22 11:18:32 +08:00
David Čermák
a61861f6b6
Merge branch 'bugfix/netif_init_semicolons' into 'master'
...
esp_netif: Remove trailing semicolons from netif IF's (GitHub PR)
Closes IDFGH-8631
See merge request espressif/esp-idf!20998
2022-11-21 23:56:33 +08:00
Kapil Gupta
e8e7e3f946
esp_wifi: Flush PMK caching if bss akm has changed
2022-11-21 18:34:13 +05:30
Darian
74ed2aa2ee
Merge branch 'feature/freertos_10.4.3_sync_critical_sections_vs_suspension' into 'master'
...
FreeRTOS(IDF): Resolve critical section (multi-core) vs scheduler suspension (single-core)
Closes IDF-3755
See merge request espressif/esp-idf!21002
2022-11-21 18:38:43 +08:00
Rahul Tank
858c5e296d
Merge branch 'bugfix/reattempt_crash' into 'master'
...
NimBLE: Updated check for reattempt connection code
See merge request espressif/esp-idf!21130
2022-11-21 18:37:15 +08:00
Roland Dobai
c51a14bec9
Merge branch 'fix/call_esptool' into 'master'
...
Tools: Fix esptool wrappers by avoiding importing the module
Closes IDFGH-8395
See merge request espressif/esp-idf!21053
2022-11-21 17:35:07 +08:00
Omar Chebib
cd21058097
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
laokaiyao
039af72058
i2s: fixed typo 'philip'
...
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-21 15:58:06 +08:00
laokaiyao
22531d2a9f
i2s: fixed tdm mclk doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/10196
2022-11-21 15:53:54 +08:00
morris
71968a4856
Merge branch 'doc/pcnt_overflow_compensate' into 'master'
...
pcnt: support accumulate the count value in the high/low limit event
Closes IDFGH-8726 and IDF-5944
See merge request espressif/esp-idf!21076
2022-11-21 15:13:44 +08:00
nvmd
8906a68108
Remove trailing semicolons from netif IF's
2022-11-21 07:03:35 +00:00
Shu Chen
c9b77bc662
Merge branch 'support/libot_lib154_rename_h2_to_h4' into 'master'
...
openthread: rename h2 to h4
See merge request espressif/esp-idf!21041
2022-11-21 14:10:19 +08:00
Michael (XIAO Xufeng)
359207d8df
sdmmc: removed incorrect pin description file on S2
2022-11-21 14:03:41 +08:00
Michael (XIAO Xufeng)
720b86a886
example/sdio: add support for ESP32-S3 as host (via SD)
2022-11-21 14:03:41 +08:00
Omar Chebib
54954518b1
Merge branch 'staging/riscv_wrapper_freertos_tasks' into 'master'
...
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning
Closes IDF-4662
See merge request espressif/esp-idf!20845
2022-11-21 12:14:34 +08:00
Mahavir Jain
2c9eb26e6f
Merge branch 'bugfix/esp_http_server_config' into 'master'
...
esp_http_server: fix default control port for HTTPS configuration
Closes IDFGH-8719 and IDFGH-8663
See merge request espressif/esp-idf!21089
2022-11-21 11:37:01 +08:00
Mahavir Jain
1657db56c9
Merge branch 'feature/fix_warning_in_mac_addr' into 'master'
...
esp_hw_support: Fix coverity warnings in mac_addr API
See merge request espressif/esp-idf!21141
2022-11-21 11:26:56 +08:00
zhiweijian
73cd69d5ad
Fixed CI esp32s3.default_2_s3.Test failed
2022-11-21 10:20:34 +08:00
zhiweijian
ebd2825379
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-11-21 10:19:54 +08:00
morris
5bd99deb48
pcnt: support accumulate count value
...
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 10:15:19 +08:00
morris
dcaa753f37
Merge branch 'bugfix/legacy_rmt_resource_leak' into 'master'
...
rmt: fix memory leak in the legacy driver
Closes IDFGH-8732 and IDF-5941
See merge request espressif/esp-idf!21084
2022-11-20 16:55:39 +08:00
zhangyanjiao
fbbb762a4e
update wifi lib:
...
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode
Closes IDFGH-7960
Closes WIFI-4176
Closes WIFI-5004
2022-11-18 17:56:46 +08:00
Jiang Jiang Jian
96b0cb2828
Merge branch 'bugfix/override_esp32c6_rom_regi2c_apis' into 'master'
...
esp_rom: override esp32c6 rom regi2c api
See merge request espressif/esp-idf!21131
2022-11-18 16:36:42 +08:00
KonstantinKondrashov
ff62e33e2d
esp_hw_support: Fix coverity warnings in mac_addr API
2022-11-18 16:16:55 +08:00
wanlei
3aeedc2ad3
spi: bringup c6 spi master & slave driver support
2022-11-18 15:54:14 +08:00
Omar Chebib
6fe563163c
RISC-V: fix PC not saved when using backtrace
2022-11-18 15:07:38 +08:00
Omar Chebib
d580f6b076
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning
2022-11-18 15:07:32 +08:00
Wang Meng Yang
6a8f528e08
Merge branch 'bugfix/fix_hfp_clcc_parser_bug' into 'master'
...
Bugfix/Fix HFP client parse CLCC command response bug
Closes BT-2907
See merge request espressif/esp-idf!20904
2022-11-18 12:16:42 +08:00
wuzhenghui
a7f952238e
bootloader: enable i2c clk at bootloader_hardware init
2022-11-18 11:17:08 +08:00
wuzhenghui
ffab6ce1bb
add modem reg headers
2022-11-18 11:17:04 +08:00
Marius Vikhammer
ffb878964a
Merge branch 'bugfix/c6_chip_info' into 'master'
...
esp-hw-support: update C6 chip info to include 802.15.4 support
See merge request espressif/esp-idf!21129
2022-11-18 09:18:04 +08:00
timoxd7
355abfdff6
Queue Send fix
...
Fixes rare deadlock on heavy loaded multicore-systems.
2022-11-17 20:20:29 +01:00
KonstantinKondrashov
54b06ecb62
esp_timer: Fix the stop alarm triggering when the timer list is empty
...
Related to ESP32-C6 chip only because this chip can power down the digital domain
during the light sleep. And after wakes up, systimer gets resumed,
and the alarm value < count value, so it leads the alarm fired immediately.
We get one unnecessary interrupt at light sleep exit time.
Other chips do not power down the digital domain related to systimer.
2022-11-17 14:32:16 +00:00
Armando (Dou Yiwen)
cee025c003
Merge branch 'bugfix/return_error_when_fail_detect_oct_psram' into 'master'
...
esp_psram: return error when fail to detect an octal psram
See merge request espressif/esp-idf!21033
2022-11-17 21:18:02 +08:00
morris
454fc4034c
Merge branch 'contrib/github_pr_10165' into 'master'
...
Clarify GPIO Mask Comment (GitHub PR)
Closes IDFGH-8724
See merge request espressif/esp-idf!21068
2022-11-17 20:03:49 +08:00
Aditya Patwardhan
96585abb17
Merge branch 'feature/esp_http_client_support_secure_element' into 'master'
...
esp_http_client: Add option to use secure_element
Closes IDFGH-8625
See merge request espressif/esp-idf!20972
2022-11-17 19:24:31 +08:00
wuzhenghui
0d5fe4d1c3
esp_rom: put regi2c override apis to IRAM
2022-11-17 19:12:02 +08:00
Zhi Wei Jian
4a3319d381
Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3' into 'master'
...
Change BLE default TX power on ESP32C3 and ESP32S3
Closes BT-2867, IDFGH-8459, IDFGH-8318, and IDFGH-7439
See merge request espressif/esp-idf!20543
2022-11-17 17:56:54 +08:00
wuzhenghui
eb2444bb7f
esp_rom: override i2c_reg ops api in rom phy
2022-11-17 17:23:34 +08:00
Aditya Patwardhan
ba43063314
esp_http_client: Add option to use secure_element
...
Closes https://github.com/espressif/esp-idf/issues/10071
2022-11-17 14:43:35 +05:30
Mahavir Jain
3247cd05e4
Merge branch 'bugfix/coverity_scan_warnings' into 'master'
...
Fix multiple coverity scan warnings
See merge request espressif/esp-idf!21014
2022-11-17 16:46:20 +08:00
isha.pardikar@espressif.com
3a3e7b1401
NimBLE: Fixed going for reattempt connection code
2022-11-17 13:08:22 +05:30
Darian
eb837bbb6f
Merge branch 'bugfix/freertos_smp_riscv_statement_expr_macro' into 'master'
...
FreeRTOS(SMP): Fix SMP FreeRTOS RISC-V statement expression macro
See merge request espressif/esp-idf!21110
2022-11-17 15:35:26 +08:00
Konstantin Kondrashov
55578295db
Merge branch 'feature/api_to_define_user_mac_addres' into 'master'
...
esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address
Closes IDFGH-5534 and IDFGH-8022
See merge request espressif/esp-idf!21036
2022-11-17 15:26:35 +08:00
morris
31d9312442
Merge branch 'contrib/github_pr_10106' into 'master'
...
hal/uart_ll.h: Fix compile with C++ (GitHub PR)
Closes IDFGH-8661
See merge request espressif/esp-idf!20952
2022-11-17 15:07:16 +08:00
zhangyanjiao
d11ee31bf1
Modify maximum softap conn num and espnow encryption peer num
2022-11-17 15:02:34 +08:00
Marius Vikhammer
f7a0a3040c
esp-hw-support: update C6 chip info to include 802.15.4 support
2022-11-17 14:27:26 +08:00
David McCurley
0c89ab3b58
soc: update SOC_GPIO_VALID_GPIO_MASK doc
...
Merges https://github.com/espressif/esp-idf/pull/10165
2022-11-17 06:24:11 +00:00
Jiang Jiang Jian
7b35f8008f
Merge branch 'mesh/bugfix_fix_memory_leak_issue' into 'master'
...
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
Closes WIFI-5023, FCS-1081, and IDFGH-4525
See merge request espressif/esp-idf!21108
2022-11-17 13:56:23 +08:00
Armando
bf6ca71630
esp_psram: return error when fail to detect oct psram
2022-11-17 13:46:44 +08:00
laokaiyao
3b4ec64f26
i2s: support on esp32c6
2022-11-17 11:04:39 +08:00
morris
f080d647cc
Merge branch 'test/move_sdio_to_pytest_app' into 'master'
...
sdio: move sdio related test case to it's own pytest app
Closes IDF-5501 and IDFCI-1377
See merge request espressif/esp-idf!19314
2022-11-17 10:14:59 +08:00
Radek Tandler
aad600c9ca
Merge branch 'feature/storage_host_test_nvs' into 'master'
...
nvs_flash: Migrate host tests to CMake build system, use Linux partition API
Closes IDF-4697
See merge request espressif/esp-idf!20671
2022-11-17 02:05:35 +08:00
Jakob Hasse
c381fee319
Merge branch 'feature/esp_system_linux' into 'master'
...
esp_system partially buildable on Linux
Closes IDF-5983
See merge request espressif/esp-idf!21055
2022-11-16 22:38:48 +08:00
radek.tandler
ca7f073e7b
nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation
...
Host tests of nvs_flash eligible to run in Linux implementation of nvs flash were migrated. Remaining test cases
were left in original folder. Migrated test cases use CMake instead of make.
2022-11-16 14:15:23 +01:00
KonstantinKondrashov
244cf14ea8
esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address
...
Closes https://github.com/espressif/esp-idf/pull/7261
Closes https://github.com/espressif/esp-idf/issues/9531
2022-11-16 19:23:10 +08:00
Darian Leung
623f20d2b5
freertos(SMP): Fix SMP FreeRTOS RISC-V statement expression macro
...
Macros that need to reteurn a value should use GCC statement expression macro
syntax. This commit fixes the portTRY_ENTER_CRITICAL() in the RISC-V port of
SMP FreeRTOS to be a statement expression macro.
2022-11-16 17:51:10 +08:00
Jakob Hasse
cce1f9dee4
Merge branch 'feature/freertos_task_notification_configurable' into 'master'
...
freertos: make num of task notifications configurable
Closes IDFGH-7819
See merge request espressif/esp-idf!20880
2022-11-16 17:11:03 +08:00
Jakob Hasse
5b3a645813
feat(esp_system): Partially buildable on Linux now
2022-11-16 09:03:09 +01:00
zwj
b2a17e9d4c
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-16 15:58:32 +08:00
zwj
39c03e0ce0
Fixed errors reported by CI clang_tidy_check
2022-11-16 15:58:31 +08:00
Darian Leung
8b98e4e3b8
freertos(IDF): Restore vanilla call behavior on xTaskIncrementTick() and vTaskSwitchContext()
...
Due to SMP, critical sections have been added to xTaskIncrementTick() and
vTaskSwitchContext() (to take the xKernelLock). However, this is technically
not necessary when building for single-core as FreeRTOS expect these funcitons
to be called with interrupts already disabled.
This commit makes the critical secitons in those functions depend on
"configNUM_CORES > 1", and ensures that interrupts are disabled when calling
those functions. This effectively restores the vanilla behavior for these
functions when building for single-core.
2022-11-16 15:50:21 +08:00
Darian Leung
087e4318a6
freertos(IDF): Use common macros for SMP specific critical sections
...
In IDF FreeRTOS, when building for SMP, there are numerous functions
which require different critical sections when compared to single-core. This
commit encapsulates those difference into a common set of macros whose
behavior depends on "configNUM_CORES > 1". As such...
- Vanilla behavior has been restored for some functions when building for
single core (i.e., used to call taskENTER_CRITICAL, now disables interrupts
mactching vanilla behavior).
- Reduces number of "#ifdef (configNUM_CORES > 1)" in functions
- Any SMP only critical sections are now wrapped by
"#ifdef (configNUM_CORES > 1)" and properly documented via comments.
2022-11-16 15:50:21 +08:00
Darian
4c1ff6016a
Merge branch 'bugfix/freertos_smp_xtensa_port_disable_interrupt_macro' into 'master'
...
FreeRTOS(SMP): Fix SMP FreeRTOS portDISABLE_INTERRUPTS() macro on xtensa port
See merge request espressif/esp-idf!21093
2022-11-16 15:47:11 +08:00
zwj
d074b74e1f
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-16 15:44:29 +08:00
zwj
8dc4207e69
change default tx power from 3dBm to 9dBm
2022-11-16 15:44:29 +08:00
zhangyanjiao
eab2ce1ca8
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
...
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-11-16 14:14:07 +08:00
wanlei
ee4f4ac3e0
test: move sdio unit-test to test_apps
2022-11-16 11:22:31 +08:00
Sudeep Mohanty
ac99c0ad6b
Merge branch 'feature/freertos_remove_untested_fn_feature' into 'master'
...
freertos: Removed CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION kconfig option
Closes IDF-5298
See merge request espressif/esp-idf!21000
2022-11-16 10:28:42 +08:00
morris
f7f3c514df
Merge branch 'feature/esp_rom_alias_mz_crc32_to_crc32_le' into 'master'
...
move {target}/rom/miniz.h to common miniz.h
Closes IDFGH-8737
See merge request espressif/esp-idf!21083
2022-11-16 03:16:42 +08:00
Mahavir Jain
79216c657e
esp_http_server: modify error print for clarifying internal socket usage
...
Closes https://github.com/espressif/esp-idf/issues/10108
Closes IDFGH-8663
2022-11-15 20:46:35 +05:30
Mahavir Jain
34f3287323
esp_http_server: fix default control port for HTTPS configuration
...
For simultaneous HTTP and HTTPS server use-case, default configurations
set same control socket port and hence one of the server initialization
fails with an error "error in creating control socket".
This commit modifies default initializers to use different control
socket port in HTTP vs HTTPS server case.
Closes https://github.com/espressif/esp-idf/issues/10160
Closes IDFGH-8719
2022-11-15 20:46:35 +05:30
Marius Vikhammer
73724b0d41
Merge branch 'bugfix/c2_chip_info_gpio_range' into 'master'
...
hw-support: update C2 chip info to reflect that esp8684 has embedded flash
Closes IDFGH-8735 and IDFGH-8734
See merge request espressif/esp-idf!21064
2022-11-15 20:39:06 +08:00
morris
06b8d395fb
Merge branch 'feature/esp_lcd_spi_support_3wire_half-duplex' into 'master'
...
esp_lcd: support serial interface-I mode for spi LCD
See merge request espressif/esp-idf!21077
2022-11-15 19:54:56 +08:00
Ondrej
6fff81d970
esp_eth: receive buffer allocation optimization
...
Receive buffers are allocated with a size equal to actual received frame size
2022-11-15 10:44:12 +00:00
Jakob Hasse
73d9d83a2f
feat(freertos): make num of task notifications configurable
...
Closes https://github.com/espressif/esp-idf/issues/9349
2022-11-15 09:36:42 +01:00
jiangguangming
08fd77a09a
move {target}/rom/miniz.h to a common miniz.h
...
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H4
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32
Closes https://github.com/espressif/esp-idf/issues/10177
2022-11-15 15:39:39 +08:00
Jiang Jiang Jian
e4bb9cb2b1
Merge branch 'bugfix/ble_mesh_event_typo_fix' into 'master'
...
ble_mesh: stack: Fix typo in directly erase settings event
See merge request espressif/esp-idf!20908
2022-11-15 15:34:59 +08:00
liqigan
a025dfd965
optimize HID Host disconnection procedure
2022-11-15 15:15:50 +08:00
liqigan
df7449615b
fix HFP client parse CLCC command response bug
2022-11-15 15:14:42 +08:00
Darian Leung
816ddc8867
freertos(SMP): Fix SMP FreeRTOS portDISABLE_INTERRUPTS() macro on xtensa port
...
The portDISABLE_INTERRUPTS() macro on Xtensa should return only the interrupt
mask/level before the interrupts were disabled. Previously, the entire contents
of PS register were returned (i.e., direct return from RSIL instruction without
any bit masking or shifting).
This commit fixes the portDISABLE_INTERRUPTS() macro to return the INTLEVEL
bitfield of the PS register.
2022-11-15 14:57:24 +08:00
Darian
fd9c88ac85
Merge branch 'feature/freertos_smp_add_unit_tests_config' into 'master'
...
FreeRTOS(SMP): Add Amazon SMP FreeRTOS unit test configuration
See merge request espressif/esp-idf!21028
2022-11-15 14:54:23 +08:00
morris
6c8807e789
rmt: fix memory leak in the legacy driver
...
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-15 06:29:59 +00:00
Simon Arlott
d1993c01f2
hal/uart_ll.h: Fix compile with C++
...
I'm including <hal/uart_ll.h> in my C++ application because I need to
bypass the uart driver. The inline functions in the header file fail to
compile as C++.
All of the enums need explicit casts for conversion to/from integers.
Merges https://github.com/espressif/esp-idf/pull/10106
2022-11-15 06:29:05 +00:00
Jiang Jiang Jian
6cbedbfa57
Merge branch 'mesh/bugfix_fix_invalid_child_issue' into 'master'
...
esp_wifi_mesh: fix invalid child issue
Closes IDFGH-8290
See merge request espressif/esp-idf!20270
2022-11-15 11:28:28 +08:00
Wan Lei
602884e668
Merge branch 'feature/_spi_slave_reset_trans_queue_api' into 'master'
...
spi_slave: add a private API to reset transaction queue
Closes IDF-5033
See merge request espressif/esp-idf!20825
2022-11-15 10:45:53 +08:00
David Čermák
b5f69e5fb7
Merge branch 'bugfix/tcp_transport_err_propagate' into 'master'
...
tcp_transport: Fix error propagation on tcp_read()
Closes IDFGH-8549, IDF-6202, and ESPAT-1346
See merge request espressif/esp-idf!20913
2022-11-15 00:46:47 +08:00
Jakob Hasse
7fd27f338a
Merge branch 'bugfix/esp_ds_encrypt_param_doc' into 'master'
...
esp_ds: remove requirement of aligned and DMA capable buffer from docs
See merge request espressif/esp-idf!21012
2022-11-14 23:17:35 +08:00
Jiang Jiang Jian
8ea3865430
Merge branch 'feature/support_ble_memory_release_on_esp32c2' into 'master'
...
Support BLE memory release on ESP32C2
See merge request espressif/esp-idf!20838
2022-11-14 19:32:01 +08:00
Liu Zhongwei
1a7cdc095b
esp_lcd: add condition for spi to keep cs low
2022-11-14 17:55:27 +08:00
shenjun
8dc397d88a
esp_wifi_mesh: update wifi mesh libs
...
1. fix invalid child issue
2. fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-11-14 17:48:17 +08:00
Armando (Dou Yiwen)
66b1c34095
Merge branch 'feature/remove_psram_cs_clk_pin_settings_config_s2_s3' into 'master'
...
PSRAM: remove CS/CLK pin settings in kconfig on ESP32S2/S3
Closes IDF-5966
See merge request espressif/esp-idf!20162
2022-11-14 17:36:44 +08:00
Liu Zhongwei
4bdba8bdc6
esp_lcd: modify flag name
2022-11-14 17:29:24 +08:00
zhangwenxu
33467831fc
openthread: rename h2 to h4
2022-11-14 17:22:00 +08:00
Liu Zhongwei
48ce2037be
esp_lcd: support serial interface-I mode for spi LCD
2022-11-14 16:33:36 +08:00
Armando
ea0b839302
spi: limit esp32 dma workaround only on esp32
2022-11-14 16:01:48 +08:00
Armando
a7289587d3
spi_slave: add a test to internal api spi_slave_reset_trans_queue
2022-11-14 16:01:48 +08:00
Armando
3dc36f622c
spi_slave: add a private API to reset transaction queue
2022-11-14 16:01:48 +08:00
Mahavir Jain
769ec42899
Merge branch 'fix/fix_esp_cryptoauthlib_dependency_for_esp_tls' into 'master'
...
esp-tls: Fix esp-cryptoauthlib built dependency when secure element
See merge request espressif/esp-idf!21051
2022-11-14 15:14:53 +08:00
Mahavir Jain
f7274940b9
Merge branch 'feature/esp_https_ota_events' into 'master'
...
esp_https_ota: Added support for esp_events
See merge request espressif/esp-idf!20898
2022-11-14 15:14:21 +08:00
Song Ruo Jing
eae70a8513
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep' into 'master'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup
Closes IDF-6122
See merge request espressif/esp-idf!20823
2022-11-14 12:48:40 +08:00
Omar Chebib
69d80b200c
Merge branch 'bugfix/xtensa_freertos_16B_aligned' into 'master'
...
FreeRTOS: Make the default stack alignment 16 for Xtensa
Closes IDF-3604
See merge request espressif/esp-idf!21040
2022-11-14 10:53:10 +08:00
Marius Vikhammer
beeef9df2c
hw-support: update C2 chip info to reflect that esp8684 has embedded flash
...
Closes https://github.com/espressif/esp-idf/issues/10175
2022-11-14 10:12:32 +08:00
Wan Lei
e7879abbcc
Merge branch 'test/move_driver_tests_into_test_apps' into 'master'
...
uart: move uart and rs485 tests to test_apps
Closes IDF-5500
See merge request espressif/esp-idf!19050
2022-11-13 15:59:03 +08:00
Song Ruo Jing
d0a7dc3e9f
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2022-11-11 20:39:04 +08:00
Song Ruo Jing
dd311381a4
rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup
2022-11-11 20:39:04 +08:00
Roland Dobai
43deee5374
Tools: Fix esptool wrappers by avoiding importing the module
...
Importing esptool in wrappers could cause importing the wrapper itself.
Updating the PATH is not reliable. For example, os.path.realpath()
changes the Windows driver letter to uppercase therefore, misses the
right path for users with small device letters in their PATH. Removing
paths without considering cases could also lead to errors.
This fix invokes esptool scripts as modules without the need to
importing them.
Closes https://github.com/espressif/esp-idf/issues/9861
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/791
2022-11-11 12:59:46 +01:00
Liu Ning
6bb28c4cdc
Merge branch 'bugfix/publish_wifi_connectionless_feature' into 'master'
...
esp_wifi: fix connectionless issues and add connectionless power-save documenation
Closes BT-2595 和 WIFI-4822
See merge request espressif/esp-idf!20600
2022-11-11 19:40:15 +08:00
Omar Chebib
bcb8516744
FreeRTOS: Make the default stack alignment 16 for Xtensa
2022-11-11 19:31:20 +08:00
Aditya Patwardhan
c099209d7c
esp-tls: Fix esp-cryptoauthlib built dependency when secure element
...
support is enabled
2022-11-11 16:13:15 +05:30
Zim Kalinowski
69926e6915
Merge branch 'bugfix/enable_static_task_cleanup_riscv_smp' into 'master'
...
freertos-smp: Enabled static task cleanup for RISC-V targets with FreeRTOS SMP
Closes IDF-6207
See merge request espressif/esp-idf!21035
2022-11-11 18:42:46 +08:00
Jiang Jiang Jian
35faecca57
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected' into 'master'
...
fixed the issue iOS devices cannot initiate connection
Closes IDFGH-4754 and AUD-4085
See merge request espressif/esp-idf!20703
2022-11-11 18:27:50 +08:00
wanlei
76ddc2b8a7
test: move rs485 test to test_app
2022-11-11 16:59:40 +08:00
wanlei
fb7d8f49be
test: move uart test to test_app
2022-11-11 16:59:40 +08:00
wangyuanze
6fc51c06c7
uart: force inline ll functions
2022-11-11 16:59:40 +08:00
gaoxu
c1bdd9c697
psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3
2022-11-11 16:40:46 +08:00
Chen Yu Dong
a05e8996ab
Merge branch 'ci/migrate_wifi_unit_test_app' into 'master'
...
CI: Migrate wifi unit tests to componment_ut
Closes IDF-5586
See merge request espressif/esp-idf!20787
2022-11-11 16:24:49 +08:00
liuning
b153469841
esp_wifi: fix some connectionless related issue and add connectionless power save guide
2022-11-11 15:59:19 +08:00
Harshit Malpani
a80dfe85bc
esp_https_ota: Send data to event handler
2022-11-11 11:44:17 +05:30
Mahavir Jain
5ac2bb77a1
Merge branch 'contrib/github_pr_10130' into 'master'
...
allow https server to accept and pass thru alpn protocols (GitHub PR)
Closes IDFGH-8686
See merge request espressif/esp-idf!21008
2022-11-11 14:10:31 +08:00
Wan Lei
c09322430a
Merge branch 'test/move_gpspi_to_pytest_app' into 'master'
...
spi: move spi related unit test into itself pytest app
Closes IDF-5499 and IDFCI-1377
See merge request espressif/esp-idf!19341
2022-11-11 12:18:26 +08:00
Darian
bae4a5c30c
Merge branch 'refactor/freertos_10.4.3_sync_non_behavioral_changes' into 'master'
...
FreeRTOS(IDF): Sync remaning v10.4.3 cosmetic differences
See merge request espressif/esp-idf!20983
2022-11-11 02:35:46 +08:00
Jiang Guang Ming
435e0553b6
Merge branch 'bugfix/2nd_bootloader_custom_uart1_print_issue' into 'master'
...
bootloader_support: fix uart1 no printing in the 2nd bootloader stage
See merge request espressif/esp-idf!20935
2022-11-11 00:06:15 +08:00
Chen Yudong
a78d492091
pytest: use case_tester for multi-device tests
2022-11-10 22:29:05 +08:00
Vilem Zavodny
ed26b01e31
Merge branch 'feature/esp_lcd_register_io_callback' into 'master'
...
esp_lcd: Add function for register on color done callback.
Closes IDF-6196
See merge request espressif/esp-idf!20968
2022-11-10 21:08:09 +08:00
Sudeep Mohanty
a0991dfffa
freertos-smp: Enabled static task cleanup for RISC-V targets with FreeRTOS SMP
...
This commit enables static task clean up for RISC-V targets with
FreeRTOS SMP.
2022-11-10 13:40:40 +01:00
Krzysztof Budzynski
acedae1313
Merge branch 'docs/fix-typo-touch-pad-esp32s2-esp32s3' into 'master'
...
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
Closes DOC-4065
See merge request espressif/esp-idf!20956
2022-11-10 19:24:04 +08:00
Darian Leung
915787249a
freertos(IDF): Provide default value to configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS
...
This commit updates how configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS is defined
by default it to 0 if not defined elsewhere. Dependent code now check for
"configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS == 1" instead.
2022-11-10 18:37:42 +08:00
Darian Leung
fce4ee0b80
freertos(IDF): Sync cosmetic differences to v10.4.3
...
This commit synchronize the cosmetic differences of IDF FreeRTOS to upstream
Vanilla v10.4.3. Comsetic differences include:
- Out of date doxygen API descriptions
- Misnamed parameters
- Missing examples
- Fixed/added missing @cond/@code directives
- Extra/missing comments/lines
- Code formatting (uncrustify)
Other changes:
- Some ESP_PLATFORM directives were also removed
- xTaskIncrementTickOtherCores() now depends on "configNUM_CORES > 1"
- Updated some multi-core dummy variable names in FreeRTOS.h
2022-11-10 18:37:42 +08:00
jiangguangming
618dfaa67a
esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips
2022-11-10 16:57:28 +08:00
jiangguangming
8f807d8964
bootloader_support: fix uart1 no printing in the 2nd bootloader stage
2022-11-10 16:24:26 +08:00
wanlei
45cf44e5c8
test: move 'driver/test/esp_serial_slave_link' to 'driver/test-apps/components' and make it be a component
2022-11-10 16:02:03 +08:00
wanlei
f31ecbb42b
test: move spi related unit-test into pytest app
2022-11-10 16:02:03 +08:00
Darian Leung
5e5a40f7ac
freertos: Add Amazon SMP FreeRTOS unit test configuration
2022-11-10 16:01:15 +08:00
wanlei
312bc6cb3a
test: make 'test_common_spi' as a components named 'test_utils_spi'
2022-11-10 15:51:29 +08:00
Vilem Zavodny
747c5993a8
esp_lcd: Add function for register on color done callback.
2022-11-10 08:37:46 +01:00
lly
279ddd2ee9
ble_mesh: stack: Fix typo in directly erase settings event
2022-11-10 06:44:51 +00:00
Darian Leung
ae3383ddc5
freertos: Remove/restore queue locks for multi-core/single-core
...
This commit removes the updates the usage of queue locks in IDF FreeRTOS
Queue locks are present in Vanilla FreeRTOS to ensure that queue functions
behave deterministicly in critical sections (i.e., no walking linked lists
while interrupts are disabled). However, currently in IDF FreeRTOS...
- When configNUM_CORES > 1, IDF FreeRTOS drops the determinism requirement.
Thus, queue functions could be simplified if queue locks were not used at all
(and have a queue function do everything inside the same critical section).
- When configNUM_CORES == 1, the current queue implementation in IDF FreeRTOS
does not meet the determinism requirements, as critical sections are used
(instead of scheduler suspension) when locking/unlocking the queues.
There, this commit updates multiple queue functions so that
- When configNUM_CORES > 1
- Queue locks are no longer used. All actions are done within the same
critical section.
- Affected queue functions now need 40% less CPU clock cycles when blocking
- When configNUM_CORES = 1
- Queue locks are still used.
- Vanilla behavior of suspending the scheduler is restored when locking
the queue. Thus queue fucntions are now deterministic and have the same
behavior as Vanilla FreeRTOS.
- Affected queue functions now takes 36% more CPU clock cycles when
blocking (due to the scheduler suspension/resumption).
2022-11-10 14:39:47 +08:00
Kapil Gupta
93dd1b2175
Merge branch 'bugfix/fixing_memory_leak_in_wps_scan_master' into 'master'
...
Adds improvements to esp_wps code to cover up potential memory leaks.
See merge request espressif/esp-idf!20741
2022-11-10 12:39:26 +08:00
Jiang Jiang Jian
812b9b3221
Merge branch 'bugfix/fix_softap_not_send_null_data_issue' into 'master'
...
esp_wifi:fix some soft ap issues
Closes WIFI-4447
See merge request espressif/esp-idf!19336
2022-11-10 12:08:11 +08:00
Chen Yudong
074e3f39de
CI: Migrate wifi unit tests to componment_ut
2022-11-10 01:17:10 +08:00
muhaidong
cc4be9946d
esp_wifi: fix some softap issues
...
1. add lldesc_config and clr PWR MGT flag
2. send null data instead of qos null data when receive ps-poll while power save queue is empty
3. update power save queue hw len
4. set more data bit
5. only send null data when psq hw len is 0 after recv ps-poll
2022-11-09 20:47:44 +08:00
Armando
aba9f80cd2
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-09 20:15:17 +08:00
Kevin (Lao Kaiyao)
5bed8fab49
Merge branch 'refactor/rename_h2_to_h4' into 'master'
...
esp32h2: renaming esp32h2 to esp32h4
Closes IDF-6098
See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
morris
7c1ed22ba2
Merge branch 'feature/bringup_spiflash_esp32c6' into 'master'
...
spi_flash: bringup driver for esp32c6
Closes IDF-5333, IDF-4066, IDF-5631, and IDF-5659
See merge request espressif/esp-idf!20692
2022-11-09 18:36:00 +08:00
Michael (XIAO Xufeng)
34e434451a
Merge branch 'bugfix/esp32s3_efuse_wafer_major' into 'master'
...
esp32s3: fixed bug chip v0.0 detected as vX.0
See merge request espressif/esp-idf!20947
2022-11-09 18:20:31 +08:00
Mahavir Jain
b168ba98ae
esp_ds: remove requirement of aligned and DMA capable buffer
...
API `esp_ds_encrypt_params` do not require aligned and DMA capable
output buffer for C3/S3/H2/C6. Implementation in ROM code has been
updated to remove usage of DMA mode.
This commit updates the API documentation.
2022-11-09 15:24:36 +05:30
Mahavir Jain
322301238f
esp_https_server: fix build failure due to syntax error
2022-11-09 15:11:22 +05:30
Marius Vikhammer
b544fae3b5
Merge branch 'bugfix/esp_timer_isr_dispatch_test_fail' into 'master'
...
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error
Closes IDFCI-1514
See merge request espressif/esp-idf!21006
2022-11-09 16:45:19 +08:00
Alexey Gerenkov
dbc3409d6c
Merge branch 'bugfix/fix_asm_xtensa_vectors' into 'master'
...
freertos: fix gnu asm extensions.
See merge request espressif/esp-idf!19167
2022-11-09 16:28:50 +08:00
Sudeep Mohanty
0744f4d5a5
freertos: Removed CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION kconfig option
...
This commit removes the unused FreeRTOS kconfig option
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION.
2022-11-09 08:14:16 +01:00
Harshit Malpani
784089bf09
esp_https_ota: Added support for esp_events
2022-11-09 12:30:50 +05:30
Akos Vandra
b60a9e6678
add alpn initializer in esp https server default
2022-11-09 07:55:26 +01:00
Jiang Jiang Jian
e6c57c0d14
Merge branch 'bugfix/modify_wifi_scan_return_value' into 'master'
...
esp_wifi: modify wifi scan return value
Closes WIFI-4734, IDFGH-8236, IDFGH-8250, IDFGH-8436, DOC-3115, DOC-3134, IDFGH-5762, WIFI-4522, and WIFI-4523
See merge request espressif/esp-idf!20021
2022-11-09 13:55:42 +08:00
Jiang Jiang Jian
9be51458ba
Merge branch 'bugfix/wpa_enterprise_reauth' into 'master'
...
esp_wifi: Fix WiFi Enterprise Reauthentication issue
See merge request espressif/esp-idf!20601
2022-11-09 13:53:14 +08:00
Rahul Tank
2a6e789163
Merge branch 'bugfix/notify_gattc_to_gatts' into 'master'
...
NimBLE : Change GATT notify/indicate from gattc to gatts
See merge request espressif/esp-idf!20872
2022-11-09 13:43:03 +08:00
Cao Sen Miao
d9f01ed43c
spi_flash: bringup for esp32c6
2022-11-09 12:50:46 +08:00
Marius Vikhammer
8d24aa1760
ci: fix esp_timer 26 MHz not being assigned to correct runner
2022-11-09 12:30:46 +08:00
muhaidong
e972161b7a
esp_wifi: Modify wifi scan return value.
...
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-11-09 11:43:09 +08:00
zhangyanjiao
c8d0704f1c
update doc for set channel
2022-11-09 11:42:26 +08:00
zhangyanjiao
3f87a9824a
update wifi reason code
2022-11-09 11:42:26 +08:00
Marius Vikhammer
e9671ee04f
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error
2022-11-09 11:17:35 +08:00
Jiang Jiang Jian
5f0cb567cb
Merge branch 'bugfix/wapi_gtk_gcmp_frag_pn' into 'master'
...
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
Closes WIFI-3799 and WIFI-5009
See merge request espressif/esp-idf!20986
2022-11-09 11:04:55 +08:00
Zim Kalinowski
d2d0294714
Merge branch 'bugfix/idf_ci_build_is_not_set' into 'master'
...
ci: Fix environment variable IDF_CI_BUILD is not set
See merge request espressif/esp-idf!20944
2022-11-09 00:47:50 +08:00
Ondrej
0f939e7ace
esp_netif: lwIP bridge FDB add entry minor fix
...
examples: extended Bridge example by interactive console to manage FDB entries
2022-11-08 14:16:21 +00:00
Shreyas Sheth
7de54eabf4
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-08 18:10:28 +05:30
KonstantinKondrashov
1a9ca94ac6
ci: Fix environment variable IDF_CI_BUILD is not set
2022-11-08 18:23:39 +08:00
Mahavir Jain
a2616c0ab5
protocomm: fix multiple coverity warnings
...
- comparing array with NULL
- dereferencing null pointer
- resource leak
2022-11-08 15:50:42 +05:30
Mahavir Jain
afe159bfb9
esp_https_server: fix coverity warning about null pointer dereference
2022-11-08 15:45:44 +05:30
alex.li
67c557f9c4
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
2022-11-08 17:31:44 +08:00
Mahavir Jain
bdefd7fb6b
Merge branch 'esp32c6/add_ecc_support' into 'master'
...
esp32c6: Add support for ECC peripheral
Closes IDF-5820
See merge request espressif/esp-idf!20950
2022-11-08 17:06:53 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
isha.pardikar@espressif.com
b950ddb0fd
NimBLE : Change GATT notify/indicate from gattc to gatts
2022-11-08 14:02:54 +05:30
Jiang Jiang Jian
895d97d765
Merge branch 'feature/add_target_esp32c2_external_coex' into 'master'
...
Support external coexist formal code for C2 & S3, and optimize RX category in external coex.
Closes WIFI-4870
See merge request espressif/esp-idf!18385
2022-11-08 14:38:17 +08:00
C.S.M
86aa012c26
Merge branch 'feature/bringup_i2c_esp32c6' into 'master'
...
I2C: Add i2c support for ESP32C6
Closes IDF-5326 and IDF-5327
See merge request espressif/esp-idf!20905
2022-11-08 11:56:15 +08:00
alex.li
f463f00454
esp_wifi: Support external coex for C2 & H2.(59313b6c)
2022-11-08 11:31:30 +08:00
alex.li
bc392a87b1
Support external coexist formal code for C2 & S3,
...
and optimize RX category in external coex.
2022-11-08 11:11:41 +08:00
Rahul Tank
e085cfd310
Merge branch 'bugfix/fix_BLE_UUIDy_int_struct_format' into 'master'
...
Nimble: Allows to use `ble_uuid.h` with C++ by changing the BLE_UUIDy_INIT macros
See merge request espressif/esp-idf!19729
2022-11-08 08:20:48 +08:00
Zim Kalinowski
98ff59b394
Merge branch 'bugfix/fix_stack_overflow_on_s3_with_freertos_smp' into 'master'
...
freertos-smp: Fixed stack overflow on esp32s3 with FreeRTOS SMP
Closes IDF-5509 and IDF-4982
See merge request espressif/esp-idf!20932
2022-11-08 03:36:49 +08:00
Jiang Jiang Jian
48e2f381d4
Merge branch 'contrib/github_pr_10082' into 'master'
...
esp_wifi: Fix deprecated CONFIGs still being used, causing WiFi to not work when SPIRAM is enabled (GitHub PR)
Closes IDFGH-8637
See merge request espressif/esp-idf!20893
2022-11-07 23:07:24 +08:00
Akos Vandra
df5a25aa40
allow https server to accept and pass thru alpn protocols to the underlying esp-tls server
2022-11-07 15:27:00 +01:00
Zim Kalinowski
94c0e3bbe2
Merge branch 'bugfix/share_intr' into 'master'
...
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
See merge request espressif/esp-idf!20936
2022-11-07 18:34:53 +08:00
morris
f69a53f56d
Merge branch 'feature/twai_bringup_esp32c6' into 'master'
...
TWAI: initial driver bring up on esp32c6 (TWAI0 only)
Closes IDF-5313 and IDF-5940
See merge request espressif/esp-idf!20735
2022-11-07 18:00:05 +08:00
morris
9f18a0bb5b
Merge branch 'doc/explain_ledc_callback_return_value' into 'master'
...
ledc: explain the callback return value
Closes IDFGH-8647
See merge request espressif/esp-idf!20916
2022-11-07 17:55:59 +08:00
Zim Kalinowski
9da7deaa7c
Merge branch 'task/update_freertos_smp_kernel_source' into 'master'
...
freertos-smp: Updated the FreeRTOS SMP kernel source to the latest commit
See merge request espressif/esp-idf!20911
2022-11-07 17:32:37 +08:00
muhaidong
4953f59b25
esp_wifi: number of WiFi cache TX buffers should not equal 0 when enable SPIRAM
2022-11-07 17:09:00 +08:00
Ronen Ulanovsky
ccd5a5a866
esp_wifi: replace deprecated CONFIGS with their new versions. Also
...
fixes WiFi when SPIRAM is enabled in certain non esp-idf projects.
2022-11-07 17:08:45 +08:00
Sudeep Mohanty
9bb8f0e38d
freertos-smp: Fixed stack overflow on esp32s3 with FreeRTOS SMP
...
The following changes have been made in this commit:
1. configMINIMAL_STACK_SIZE is now defined as CONFIG_FREERTOS_IDLE_TASK_STACKSIZE.
2. Removed configIDLE_TASK_STACK_SIZE config as it was redundant.
3. Updates the order of allocating the TCB and stack memory to avoid the
stack memory overriding the TCB memory when the stack grows downwards.
4. CONFIG_FREERTOS_IDLE_TASK_STACKSIZE is now incorporated into the
FreeRTOSConfig_smp.h to configure the IDLE0 stack size.
2022-11-07 09:59:02 +01:00
Zim Kalinowski
9d93585f8e
Merge branch 'feature/esp_timer_migrate_from_ut_app_to_test_app' into 'master'
...
esp_timer: Migrate esp_timer unit tests from unit-test-app to component test app
Closes IDF-5585
See merge request espressif/esp-idf!20760
2022-11-07 16:27:50 +08:00
Sudeep Mohanty
b05bcf465e
Merge branch 'bugfix/reapply_commit_a65165dd5' into 'master'
...
hal: Fix incorrect spi_hal log usage
Closes IDF-5275 and IDF-5276
See merge request espressif/esp-idf!20939
2022-11-07 16:04:19 +08:00
Jiang Jiang Jian
0c8272b2e0
Merge branch 'feature/optimize_blufi_example' into 'master'
...
blufi: optimize example to send more information
Closes IDFGH-6842 and IDFGH-6809
See merge request espressif/esp-idf!19853
2022-11-07 15:09:58 +08:00
Rahul Tank
1d322f9a8c
Nimble: Allows to use ble_uuid.h
with C++ by changing the BLE_UUIDy_INIT macros
2022-11-07 12:25:34 +05:30
Linda
5406c80d99
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
2022-11-07 14:32:26 +08:00
Cao Sen Miao
803fc3fbe0
I2C: Add i2c support for ESP32C6
2022-11-07 14:12:53 +08:00
Jiang Jiang Jian
9d7facf284
Merge branch 'remove_deprecated_rc4' into 'master'
...
Removed some occurences of the RC4 cipher suite
Closes IDF-4983
See merge request espressif/esp-idf!19856
2022-11-07 13:57:51 +08:00
Darian
598dd5f261
Merge branch 'feature/usb_host_inflight_transfer_check' into 'master'
...
USB Host: Fix usbh_dev_open(), Fix usbh_ep_alloc(), Add USB Host Library check to prevent resubmitting inflight transfers
Closes IDFGH-7145
See merge request espressif/esp-idf!20688
2022-11-07 13:39:07 +08:00
jgujarathi
2272350820
(esp_wifi) : Adds improvements to esp_wps.c to cover up potential memory leaks.
2022-11-07 10:53:44 +05:30
Sachin Parekh
69c8df5e49
esp32c6: Add support for ECC peripheral
2022-11-07 10:42:33 +05:30
liuning
785248b3c7
blufi: update version to 1.3
...
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-11-07 13:11:20 +08:00
zhangyanjiao
a37e3b5271
esp_wifi: report rssi info in wifi event
2022-11-07 13:11:14 +08:00
Jiang Jiang Jian
ed36caabfd
Merge branch 'bugfix/fix_long_time_to_get_ip' into 'master'
...
LWIP: fix the bug that long time to get IP
Closes WIFI-4932
See merge request espressif/esp-idf!20656
2022-11-07 12:17:26 +08:00
Jiang Jiang Jian
6700c041e9
Merge branch 'bugfix/check_ies_in_match_security' into 'master'
...
Adding check for ies in match security
Closes WIFI-4720
See merge request espressif/esp-idf!20537
2022-11-07 11:19:08 +08:00
Michael (XIAO Xufeng)
32ef2b321a
esp32s3: fixed bug chip v0.0 detected as vX.0
...
A typical value is 2.0.
2022-11-06 02:37:32 +08:00
KonstantinKondrashov
9f41525d99
esp_timer: Migrate esp_timer unit tests from unit-test-app to component test app
2022-11-05 22:53:38 +08:00
Mahavir Jain
960a84db47
Merge branch 'fix/esp_http_client_fix_behavior_disable_auto_redirect_enabled' into 'master'
...
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
Closes IDF-6136
See merge request espressif/esp-idf!20805
2022-11-04 20:38:24 +08:00
gauri patankar
ef80cf0b65
Adding check for ies in match security
2022-11-04 17:01:30 +05:30
Zim Kalinowski
b354b457c8
Merge branch 'feature/freertos_smp_enable_static_task_cleanup' into 'master'
...
freertos-smp: Enable static task cleanup
See merge request espressif/esp-idf!20870
2022-11-04 19:18:03 +08:00
Kevin (Lao Kaiyao)
48b23b7c46
Merge branch 'feature/support_4_line_pdm_rx_on_esp32s3' into 'master'
...
i2s: support 4 line pdm rx on esp32s3
Closes IDF-6120
See merge request espressif/esp-idf!20753
2022-11-04 18:44:52 +08:00
Zim Kalinowski
8184f03115
Merge branch 'bugfix/esp_rom_const_correctness' into 'master'
...
esp_rom: Fixed writable string issue on Linux implementation
Closes IDF-6187
See merge request espressif/esp-idf!20925
2022-11-04 18:16:33 +08:00
morris
a83165fea0
twai: add initial version of driver component test
2022-11-04 17:40:29 +08:00
morris
a25123f703
twai: bringup on esp32c6
2022-11-04 17:40:29 +08:00
morris
6828c011d9
twai: define clock source name
...
twai clock source is target-specific,
this commit is to define them in the soc layer
2022-11-04 17:40:29 +08:00
morris
f02facbe28
twai: describe peripheral info
...
Describe peripheral informations in the twai_peirph.c, including:
Interrupt number, GPIO matrix signal ID, etc
2022-11-04 17:40:29 +08:00
Rahul Tank
6b213b2c2a
Merge branch 'bugfix/fix_compilation_issue_blufi' into 'master'
...
Blufi: Corrected macro used in memcpy to copy address
See merge request espressif/esp-idf!20929
2022-11-04 17:34:27 +08:00
Jiang Jiang Jian
8facf6fbb1
Merge branch 'feature/support_le_power_control' into 'master'
...
Nimble: Add LE Power control HCI Command / Event
See merge request espressif/esp-idf!15773
2022-11-04 17:21:19 +08:00
Jiang Jiang Jian
6fb6bdf6dd
Merge branch 'bugfix/wpa_sm_cleanup' into 'master'
...
esp_wifi: Remove unnecessary function pointers from wpa_sm_init
See merge request espressif/esp-idf!19833
2022-11-04 16:45:42 +08:00
Darian Leung
cf4fea3206
hal: Fix incorrect spi_hal log usage
...
esp_flash_init_main() can be during startup before the OS has started, thus should use
the EARLY version of logging.
2022-11-04 09:07:30 +01:00
Michael (XIAO Xufeng)
c546de8d82
Merge branch 'feature/apply_new_version_logic' into 'master'
...
all: Apply new version logic (major * 100 + minor)
Closes IDF-4932 and IDF-4939
See merge request espressif/esp-idf!18787
2022-11-04 16:01:32 +08:00
laokaiyao
fa9b022f68
i2s: support 4 line pdm rx on esp32s3
2022-11-04 15:46:34 +08:00
Ivan Grokhotkov
b14116ff95
Merge branch 'feature/partition_api_new_component_2' into 'master'
...
Storage: Partition APIs moved to the new component 'esp_partition'
Closes IDF-1234
See merge request espressif/esp-idf!20747
2022-11-04 14:59:08 +08:00
Marius Vikhammer
1d5d624605
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
...
Mark the vector descriptor source as freed.
2022-11-04 06:39:00 +00:00
Darian
7b90c608fa
Merge branch 'bugfix/freertos_fix_flakey_delay_tests' into 'master'
...
FreeRTOS: Fix flakey vTaskDelayUntil() test
See merge request espressif/esp-idf!20931
2022-11-04 14:24:27 +08:00
Mahavir Jain
4b6d9c8ad3
Merge branch 'feature/esp_tls_add_cert_selection_callback' into 'master'
...
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access...
Closes IDFGH-8363 and IDFGH-8340
Closes https://github.com/espressif/esp-idf/issues/9815
See merge request espressif/esp-idf!20690
2022-11-04 12:47:17 +08:00
laokaiyao
9b8a78153f
i2s: refactor soc caps
2022-11-04 12:31:12 +08:00
Jiang Jiang Jian
4c8f4ff0fd
Merge branch 'feature/bss_retry_cnt' into 'master'
...
esp_wifi: Add config option for AP retry count
See merge request espressif/esp-idf!20879
2022-11-04 12:22:50 +08:00
Kevin (Lao Kaiyao)
75e6c1f3d5
Merge branch 'refactor/unify_adc_dac_api_format' into 'master'
...
dac: update API and file format aligning to the rule
See merge request espressif/esp-idf!20920
2022-11-04 11:29:18 +08:00
Jakob Hasse
a995c83060
Merge branch 'feature/freertos_linux_target_add_features' into 'master'
...
freertos/linux: added event group and stream buffer
Closes IDF-6007
See merge request espressif/esp-idf!20878
2022-11-03 19:05:06 +08:00
Jakob Hasse
44aa3c3a7f
bugfix(esp_rom): Fixed writable string issue on Linux implementation
2022-11-03 11:45:19 +01:00
Rahul Tank
4641f84998
Nimble: Corrected macro used in memcpy to copy address
2022-11-03 15:59:16 +05:30
Darian Leung
95cfd32871
freertos: Fix flakey task delay tests
...
This commit fixes flakey task delay tests when running on IDF FreeRTOS. IN IDF
FreeRTOS, core 1's tick interrupts could be up to (< 1 tick) out of phase from
core 0's tick interrupt, thus the measured delay time on core 1 could last 1
tick longer. This commit makes the test detla 2 ticks for IDF FreeRTOS.
2022-11-03 18:22:58 +08:00
morris
89d0172488
Merge branch 'feature/esp32c6_rom_support_more_components' into 'master'
...
esp_rom: update esp32c6 rom caps
Closes IDF-5632
See merge request espressif/esp-idf!20899
2022-11-03 17:06:15 +08:00
Michael (XIAO Xufeng)
f2aa736c7b
esp32c2: put v2.0 back to development stage
2022-11-03 08:36:23 +00:00
KonstantinKondrashov
1f9260d790
all: Apply new version logic (major * 100 + minor)
2022-11-03 08:36:23 +00:00
Aditya Patwardhan
14e64783e7
esp-tls/Kconfig: Fix dependency for ESP-TLS Server menuconfig option
2022-11-03 07:17:05 +00:00
Aditya Patwardhan
8ad4de7991
esp-tls: Add changes to the Cert selection callback PR.
2022-11-03 07:17:05 +00:00
Akos Vandra
e9e3dc7904
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access to required information so that the application can make a more informed decision on which certificate to serve (such as alpn value, server certificate type, etc.)
...
Closes https://github.com/espressif/esp-idf/pull/9833
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-11-03 07:17:05 +00:00
Sudeep Mohanty
4bc6b9ed7e
freertos-smp: Updated the FreeRTOS SMP kernel source to the latest commit
...
This commit updates the FreeRTOS SMP source to the latest upstream
source at commit 8128208bdee1f997f83cae631b861f36aeea9b1f
2022-11-03 08:01:44 +01:00
Darian
3c18cc482c
Merge branch 'refactor/freertos_uncrustify_code_formatting' into 'master'
...
FreeRTOS: Uncrustify source code using upstream configuration
See merge request espressif/esp-idf!20722
2022-11-03 14:19:00 +08:00
laokaiyao
2cccf3a804
dac: update API and file format aligning to the rule
2022-11-03 13:04:50 +08:00
zhangyanjiao
ff54ae22f7
lwip: fix the bug that long time to get IP
...
Closes WIFI-4932
2022-11-03 12:01:13 +08:00
Chen Jian Xing
4beea93a0e
Merge branch 'optimization/lwip_dhcp_fine_timer' into 'master'
...
lwip timer:optimization dhcp fine timer
Closes AUD-4073
See merge request espressif/esp-idf!20409
2022-11-03 11:51:32 +08:00
morris
999a3d5e6b
ledc: explain the callback return value
...
Closes https://github.com/espressif/esp-idf/issues/10093
2022-11-03 11:01:47 +08:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
David Cermak
dc1f6b3aef
tcp_transport: Fix error propagation on tcp_read()
2022-11-02 18:43:57 +01:00
jiangguangming
15c8f296f4
esp_rom: move esp_rom_spiflash_write_disable to esp32c6.rom.ld
2022-11-02 08:14:58 -07:00
jiangguangming
a8df72745b
esp_rom: esp32c6 rom newlib support normal-formatting version
2022-11-02 08:14:52 -07:00
jiangguangming
14e974fd44
esp_rom: esp32c6 support spiflash driver rom implementation
2022-11-02 08:11:49 -07:00
Sudeep Mohanty
54d0d870a6
Merge branch 'feature/remove_pthread_tls_cleanup_dependency_on_freertos' into 'master'
...
pthread: Remove pthread TLS cleanup dependency on FreeRTOS Static Task Cleanup Hook
Closes IDF-4955
See merge request espressif/esp-idf!20869
2022-11-02 21:00:50 +08:00
Darian Leung
ef45a3df7f
freertos: Uncrustify IDF FreeRTOS
...
This commit uncrustifies IDF FreeRTOS source files using the upstream provided
uncrustify.cfg files.
2022-11-02 19:49:40 +08:00
Darian Leung
4b2c8c591b
freertos: Add uncrustiy config files for IDF FreeRTOS v10.4.3
...
This commit adds a copy of upstream vanilla FreeRTOS uncrustify.cfg files from
the following upstream commit:
89e4823a49
Note: "pp_indent_brace" is commented out as that was enabled after v10.4.3
Also also added a note in the ESP-IDF style guide aobut formatting FreeRTOS
source code using Uncrustify.
2022-11-02 19:42:19 +08:00
Sudeep Mohanty
defd6c4ec1
freertos-smp: Enable static task cleanup
...
This commit enables Static task cleanup feature for FreeRTOS SMP.
2022-11-02 11:24:07 +01:00
Tomas Rezucha
d861fdc947
Merge branch 'feature/move_tinyusb_to_pacman' into 'master'
...
tinyusb: Use TinyUSB from component registry
See merge request espressif/esp-idf!20677
2022-11-02 17:42:53 +08:00
Sudeep Mohanty
b3755b751e
pthread: Remove pthread TLS cleanup dependency on FreeRTOS Static Task Cleanup Hook
...
This commit removes the need to define the vTaskCleanupTCB hook in
pthread to cleanup the thread-specific data before a thread is deleted.
2022-11-02 09:52:28 +01:00
Darian
8416f0f540
Merge branch 'refactor/freertos_streambuffer_lock_initialization' into 'master'
...
FreeRTOS: Refactor stream buffer spinlock initialization
See merge request espressif/esp-idf!20867
2022-11-02 16:21:32 +08:00
Konstantin Kondrashov
b027332777
Merge branch 'bugfix/time_jump_after_reboot' into 'master'
...
esp_hw_support: Fix time jump after reboot
Closes IDFGH-7930
See merge request espressif/esp-idf!20839
2022-11-02 15:40:20 +08:00
Tomas Rezucha
94a00bda0f
tinyusb: Use TinyUSB from component registry
2022-11-02 08:24:43 +01:00
jiangguangming
fe70172a35
esp_rom: update esp32c6 rom caps
...
1. esp32c6 rom support ESP_ROM_HAS_HAL_WDT
2. esp32c6 rom support ESP_ROM_HAS_HAL_SYSTIMER
2022-11-02 15:04:21 +08:00
Darian Leung
40b96cf596
freertos: Refactor stream buffer spinlock initialization
...
This commit refactors the way stream buffers initialize their spinlock.
- "prvInitialiseNewStreamBuffer()" now initializes the stream buffer fields
manually (instead of using memset()) to avoid resetting the spin lock
- Stream buffer creation functions now manually initialize the spinlock after
the other fields are initialized using "prvInitialiseNewStreamBuffer()"
Also added comments to event group spinlock initializtion.
2022-11-02 14:56:46 +08:00
Armando
f1c0530e78
flash_mmap: disable test on c6
2022-11-02 11:21:11 +08:00
Zhi Wei Jian
d5306303f0
Merge branch 'feature/support_ble_memory_release_on_esp32c3_and_esp32s3' into 'master'
...
Support Bluetooth to release .bss and .data segment memory on ESP32C3 and ESP32S3
Closes IDFGH-8470
See merge request espressif/esp-idf!20700
2022-11-02 11:00:53 +08:00
morris
53560f4227
Merge branch 'bugfix/fix_esp32c6_swd_wprotect_key' into 'master'
...
soc: Fix esp32c6 super watchdog wrong wprotect key
See merge request espressif/esp-idf!20891
2022-11-02 00:02:32 +08:00
morris
51527b302a
Merge branch 'contrib/github_pr_10083' into 'master'
...
temperature_sensor: fix typo (github PR)
Closes IDFGH-8638
See merge request espressif/esp-idf!20887
2022-11-01 23:34:26 +08:00
Mahavir Jain
f1dcb1967c
Merge branch 'feature/wifi_reprov_endpoint' into 'master'
...
Feature/wifi reprov endpoint
Closes IDF-5877
See merge request espressif/esp-idf!20658
2022-11-01 22:34:41 +08:00
Jiang Jiang Jian
b313d7e2cd
Merge branch 'bugfix/esp32c2_create_sync_lost' into 'master'
...
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
See merge request espressif/esp-idf!20861
2022-11-01 21:00:47 +08:00
xueyunfei
d1abdf47c4
lwip timer:optimization dhcp fine timer
2022-11-01 20:49:23 +08:00
Jiang Jiang Jian
203596f3d5
Merge branch 'bugfix/fix_ble_array_access_out_of_bounds' into 'master'
...
Fixed BLE array access out of bounds
Closes BT-2889
See merge request espressif/esp-idf!20873
2022-11-01 20:32:00 +08:00
Armando (Dou Yiwen)
3e6c045b1c
Merge branch 'refactor/move_flash_mmap_tests_to_test_apps' into 'master'
...
flash_mmap: move flash mmap tests to test apps
Closes IDF-6134 and IDF-5138
See merge request espressif/esp-idf!20789
2022-11-01 20:00:33 +08:00
Mahavir Jain
99579620b2
Merge branch 'feature/wifi_prov_event_transport_paired' into 'master'
...
wifi_prov: Exposed events for transport pairing and disconnection
Closes IDFGH-8557
See merge request espressif/esp-idf!20821
2022-11-01 17:39:28 +08:00
Song Ruo Jing
986094482b
soc: Fix esp32c6 super watchdog wrong wprotect key causing chip keeps resetting due to swd
2022-11-01 17:21:49 +08:00
Mahavir Jain
a6b9304a50
Merge branch 'feature/add_keep_alive_for_httpserver' into 'master'
...
esp_http_server: Add support to enable TCP keepalive config
Closes IDFGH-8379
See merge request espressif/esp-idf!20842
2022-11-01 17:13:41 +08:00
Kapil Gupta
52b24918f0
esp_wifi: Add config option for AP retry count
...
Provide a config option for station to retry with the AP
if connection fails first time.
2022-11-01 09:09:00 +00:00
harshal.patil
b7de443aaa
wifi_provisioning: added wifi-ctrl reprov endpoint
2022-11-01 14:19:01 +05:30
harshal.patil
dacf44dd1d
wifi_provisioning: added wifi-ctrl reset endpoint
2022-11-01 14:19:01 +05:30
Rahul Tank
6f806e126b
Merge branch 'feat/NimBLE-Blufi-custom-use' into 'master'
...
Nimble: Add support to expose blufi handler for external BLE application
See merge request espressif/esp-idf!20424
2022-11-01 16:20:28 +08:00
Laukik Hase
e6171b7338
wifi_prov: Exposed event for transport pairing
...
Closes https://github.com/espressif/esp-idf/issues/10007
2022-11-01 10:06:30 +05:30
Armando
ba4d312d86
flash_mmap: format test_mmap.c
2022-11-01 11:27:16 +08:00
Armando
db1bc05bc7
flash_mmap: fix mmap unordered test on c2
2022-11-01 11:27:15 +08:00
Armando
92ad6b36ad
flash_mmap: move mmap tests to test_app
2022-11-01 11:27:15 +08:00
Song Ruo Jing
be0fdfa176
soc: Add a soc cap, SOC_CLK_RC_FAST_D256_SUPPORTED, for whether the target has the RC_FAST_D256 clock
2022-11-01 11:23:26 +08:00
Song Ruo Jing
2557e24a28
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
2022-11-01 11:23:21 +08:00
Jiang Jiang Jian
e5dc9589c7
Merge branch 'bugfix/add_protection_for_mac_rst' into 'master'
...
esp_wifi: add protection for mac reset
Closes BT-2903
See merge request espressif/esp-idf!20828
2022-11-01 10:58:13 +08:00
Jonas Vanthornhout
d679ab3903
Fixed typo
2022-10-31 17:31:40 +01:00
Jakob Hasse
37e8f1f348
feat(freertos): added event group and stream buffer to linux target
2022-10-31 16:34:23 +01:00
KonstantinKondrashov
ff8b5bc0a7
esp_hw_support: Fix time jump after reboot
...
Closes https://github.com/espressif/esp-idf/issues/9448
2022-10-31 13:57:23 +00:00
David Čermák
b52e796654
Merge branch 'bugfix/wifi_netif_const_correct' into 'master'
...
esp-wifi/netif: Made esp_netif_create_wifi() const correct
Closes IDFGH-8500
See merge request espressif/esp-idf!20745
2022-10-31 21:31:30 +08:00
zhiweijian
29e4fab59e
Fixed BLE array access out of bounds
2022-10-31 20:03:41 +08:00
Jin Cheng
042fd5f895
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-10-31 11:08:15 +00:00
Mahavir Jain
6f10bb39d8
Merge branch 'docs/psram_heap_integrity_int_wdt' into 'master'
...
heap: Added note to increase INT_WDT timeout for integrity-check APIs
See merge request espressif/esp-idf!20852
2022-10-31 15:40:49 +08:00
liuning
57c394c4e0
esp_wifi: add protection for mac reset
2022-10-31 06:41:42 +00:00
yuanjianmin
e05d61d075
esp_http_server: Add support to enable TCP keepalive config
...
Closes https://github.com/espressif/esp-idf/issues/9848
2022-10-31 14:37:05 +08:00
Darian Leung
4e84212077
usb_host: Test host library inflight transfer resubmission check
...
This commit updates the USB Host Library unit tests to test that resubmitting
an inflight transfer will return an error.
2022-10-31 13:56:59 +08:00
Darian Leung
e17e066828
usb_host: Add check to prevent submitting already inflight transfers
...
This commit adds a simple flag/check in the USB Host Library that prevents
users from submitting a transfer that is already inflight.
- A transfer is considered inflight as soon as it is submitted by calling
usb_host_transfer_submit() or usb_host_transfer_submit_control()
- An inflight transfer remains inflight up until right before its callback
is called by one of the USB Host Library handler functions.
Closes https://github.com/espressif/esp-idf/issues/8748
2022-10-31 13:56:59 +08:00
Tomas Rezucha
27078ac34c
usb_host: Fixed incorrect opening devices from multiple clients
...
1. During USBH device open both queues (idle and pending) must be checked.
2. Don't overwrite already allocated endpoints
2022-10-31 13:56:44 +08:00
Kapil Gupta
7278cf3e16
Merge branch 'feature/move_eloop_to_pptask' into 'master'
...
wpa_supplicant: Run eloop timer in ppTask context
Closes WIFI-4981
See merge request espressif/esp-idf!20481
2022-10-31 12:48:43 +08:00
zwl
de3f7888c6
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
2022-10-31 11:44:50 +08:00
Cao Sen Miao
b4964279d4
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory,
...
Closes https://github.com/espressif/esp-idf/pull/9566
2022-10-31 11:05:36 +08:00
Nachiket Kukade
f5bffc284c
Merge branch 'bugfix/softap_pmf_espnow_issues' into 'master'
...
Fix some SoftAP PMF and espnow issues
Closes WIFI-4623
See merge request espressif/esp-idf!20734
2022-10-30 14:36:10 +08:00
Laukik Hase
d0b1b5a8aa
heap: Added note to increase INT_WDT timeout for integrity-check APIs
...
- When PSRAM is enabled, the heap integrity check APIs
(`heap_caps_check_integrity` and `heap_caps_check_integrity_all`)
take more time to execute and keep the interrupts disabled for a
longer time.
2022-10-30 10:36:01 +05:30
Wang Meng Yang
d938cb7e28
Merge branch 'bugfix/spp_50005_crash' into 'master'
...
bt: Fixed L2CAP ERTM tx window size being too large causing memory exhaustion in case of multiple SPP connections
Closes BT-2411
See merge request espressif/esp-idf!20228
2022-10-28 17:12:44 +08:00
Island
dd127151b8
Merge branch 'bugfix/fix_trans_optional_info_using_group_addr' into 'master'
...
ble_mesh: stack: Fix can't trans optional info to group address
See merge request espressif/esp-idf!20731
2022-10-28 17:05:18 +08:00
Kapil Gupta
b52659dd87
Merge branch 'bugfix/eloop_timer_crash' into 'master'
...
wpa_supplicant: Validate eloop struct before deleting it
Closes WIFI-4968
See merge request espressif/esp-idf!20818
2022-10-28 12:18:16 +08:00
Omar Chebib
65ecbb1b9b
Merge branch 'contrib/github_pr_10027' into 'master'
...
[Panic] also print to secondary USB Serial/JTAG Console (GitHub PR)
Closes IDFGH-8578
See merge request espressif/esp-idf!20827
2022-10-28 12:04:36 +08:00
Armando (Dou Yiwen)
72a9bbebd3
Merge branch 'feature/united_sar_periph_ctrl' into 'master'
...
rtc: united sar peripheral control
Closes IDF-6110
See merge request espressif/esp-idf!20750
2022-10-28 10:46:54 +08:00
Rahul Tank
7ca82b1b29
Support BLE memory release on ESP32C2
2022-10-27 18:00:01 +05:30
xiongweichao
01a67d001e
bt: Keep the maximum number of credits unchanged
2022-10-27 19:45:25 +08:00
xiongweichao
7885f80597
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-10-27 19:45:25 +08:00
xiongweichao
ea41a21b0e
bt: Split SPP application layer data packets according to the MTU of the peer
2022-10-27 19:45:25 +08:00
xiongweichao
a0ec1c8291
bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size
2022-10-27 19:45:25 +08:00
Rahul Tank
fe5d4e0f39
Nimble: Add LE Power CTRL changes
2022-10-27 16:30:44 +05:30
Ivan Grokhotkov
47ba2b48ea
console: argtable3: upgrade to v3.2.2
...
Closes https://github.com/espressif/esp-idf/issues/9907
Closes https://github.com/espressif/esp-idf/pull/10016
2022-10-27 11:38:49 +02:00
Armando
260ee86c37
rtc: united sar peripheral control
2022-10-27 16:51:25 +08:00
Aditya Patwardhan
bd18096cb4
Merge branch 'refactor/merge_esp_hmac_headers_into_one' into 'master'
...
esp_hw_support: Merge HMAC layer into one
Closes IDF-3803
See merge request espressif/esp-idf!18742
2022-10-27 16:39:32 +08:00
harshal.patil
5feb4696be
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
2022-10-27 14:04:54 +05:30
Zim Kalinowski
0954c5e5d0
Merge branch 'refactor/nvs_define_ns_name_len' into 'master'
...
refactor(nvs): using define for namespace len instead of magic number
Closes IDFGH-8174
See merge request espressif/esp-idf!20353
2022-10-27 14:53:30 +08:00
zwj
d600496800
support BLE memory release on ESP32C3 and ESP32S3
2022-10-27 14:22:15 +08:00
Guillaume Souchere
ce895b87ab
Merge branch 'feature/tlsf-dynamic-control-size' into 'master'
...
heap: Update to the new tlsf implementation of dynamic metadata size
See merge request espressif/esp-idf!20584
2022-10-27 13:54:45 +08:00
Aditya Patwardhan
f9565fd31d
soc/esp_ds.h: Unify esp_ds error codes for all targets
2022-10-27 11:09:25 +05:30
Aditya Patwardhan
1fe32efae6
Add esp_hmac.c file
2022-10-27 11:08:01 +05:30
Aditya Patwardhan
c8a788ca24
esp_hw_support: Merge HMAC source files into one
2022-10-27 10:59:54 +05:30
Aditya Patwardhan
a5f1820120
esp_hw_support: Merge esp_hmac.h file for different targets into one
2022-10-27 10:59:54 +05:30
Mahavir Jain
b32a665f2c
Merge branch 'bugfix/esp32_hardware_mpi_fix' into 'master'
...
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain
Closes IDFGH-7102, IDFGH-7842, IDFGH-7714, IDFCI-1452, and IDF-6029
See merge request espressif/esp-idf!20647
2022-10-27 12:19:27 +08:00
Kapil Gupta
79b6e32ea7
wpa_supplicant: Validate eloop struct before deleting it
2022-10-27 09:16:18 +05:30
morris
37c2b64f06
Merge branch 'feature/put_rom_tlsf_patch_code_to_iram' into 'master'
...
esp_rom: put rom tlsf patch code in iram by default
See merge request espressif/esp-idf!20801
2022-10-27 11:19:48 +08:00
morris
b7e4a403a1
Merge branch 'test/freertos_in_flash_test_driver' into 'master'
...
driver: test with non-isr freertos functions in the flash
Closes IDF-6091
See merge request espressif/esp-idf!20788
2022-10-27 11:06:42 +08:00
Andrei Safronov
847462a578
freertos: fix gnu asm extensions.
...
The llvm asm pasrser doesn't support some gnu asm extensions,
like using "&" with macro arguments. So, replace such code with
code which could be compiled by llvm.
2022-10-27 00:27:50 +03:00
Guillaume Souchere
508194be50
heap: Remove size check in multi_heap.c when registering a new heap
...
The tlsf now checks for size validity when creating a new heap.
The check previously done in multi_heap_register_impl() is no longer
valid since the tlsf_size() is not known at this time (as the metadata
size is linked ot the size of the memory region passed as parameter
when calling tlsf_create_with_pool())
The tlsf_create_with_pool() will return a null pointer if the size
of the memory is not big enough to hold the metadata overhead and
at least a small block.
Update the test according to the changes in TLSF API
2022-10-26 18:15:42 +02:00
Guillaume Souchere
6f11d0f297
heap: Update target and host tests after incorporation of the new TLSF implementation
...
- update the target and host tests to consider the new TLSF api and the metadata size
only when the target is not using the rom implementation of the TLSF
2022-10-26 18:15:40 +02:00
Mahavir Jain
5863fdf560
Merge branch 'bugfix/wifi_prov_sec2_bluedroid' into 'master'
...
protocomm: Increase Bluedroid-BLE maximum buffer size
See merge request espressif/esp-idf!20744
2022-10-26 23:09:10 +08:00
Rahul Tank
a6251da049
Merge branch 'feature/LE_Conn_Subrating' into 'master'
...
Nimble: Stack support for Connection subrating
See merge request espressif/esp-idf!20377
2022-10-26 21:18:33 +08:00
jiangguangming
e41f4055ae
esp_rom: put rom tlsf patch code in iram by default
2022-10-26 20:41:15 +08:00
Kapil Gupta
404aa30290
wpa_supplicant: Run eloop timer in ppTask context
...
Currently eloop runs in timer context which may cause some
inconsistent behavior.
Add changes to run eloop in ppTask context
2022-10-26 18:09:25 +05:30
Konstantin Kondrashov
554f3bdc38
Merge branch 'feature/efuse_migrate_from_ut_app_to_test_app' into 'master'
...
efuse: Migrate efuse unit tests from unit-test-app to component test app
Closes IDF-5570
See merge request espressif/esp-idf!20756
2022-10-26 18:25:20 +08:00
Zim Kalinowski
8dd900d949
Merge branch 'feature/freertos_disable_mutex_owner_check_for_smp' into 'master'
...
freertos-smp: Disable CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER for FreeRTOS SMP
Closes IDF-5296
See merge request espressif/esp-idf!20782
2022-10-26 17:47:37 +08:00
Island
afeb7dbbd8
Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram' into 'master'
...
Feature/esp32c2 optimize npl os freertos ram
Closes IDF-6100
See merge request espressif/esp-idf!20775
2022-10-26 16:52:35 +08:00
Omar Chebib
009d15e59d
Merge branch 'staging/esp_timer_restart' into 'master'
...
esp_timer: add a function to restart timers
See merge request espressif/esp-idf!20386
2022-10-26 16:37:33 +08:00
Laukik Hase
c7142f274b
protocomm: Increase Bluedroid-BLE maximum buffer size
...
- For the security2 scheme, the payload size is quite larger
than that for security1.
2022-10-26 13:34:39 +05:30
Jiang Jiang Jian
f191b2f034
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32' into 'master'
...
esp32/rtc: fix xtal unstable in some cases when sleep
Closes ESPCS-869
See merge request espressif/esp-idf!20425
2022-10-26 15:57:48 +08:00
Guillaume Souchere
7de6565722
heap: fix comment and return condition in heap_caps_check_add_region_allowed()
...
(See cd805a5ab1
)
2022-10-26 09:49:43 +02:00
Guillaume Souchere
90ac786cf4
heap: Update the component to incorporate the new TLSF implementation
...
- remove tlsf_platform.h from esp-idf since the fl_index is now calculated
based on the size of the requested heap
- update CMakeLists.txt accordingly
* based on the changes made to the TLSF in https://github.com/espressif/esp-idf/pull/7829
* contributes to fix https://github.com/espressif/esp-idf/issues/7822
2022-10-26 09:47:45 +02:00
KonstantinKondrashov
beba771031
efuse: Migrate efuse unit tests from unit-test-app to component test app
2022-10-26 15:41:48 +08:00
Wang Meng Yang
db9caf4354
Merge branch 'bugfix/spp_vfs_mode_send_data_fail' into 'master'
...
bt: Fixed SPP VFS mode not being able to send data
See merge request espressif/esp-idf!20758
2022-10-26 15:24:41 +08:00
Sudeep Mohanty
d050b2b63c
freertos-smp: Disable CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER for FreeRTOS SMP
...
An explicit check of the mutex owner during a mutex release operation is
not necessary for FreeRTOS SMP as this is checked by default. Hence, the
corresponding Kconfig option is removed.
2022-10-26 09:02:55 +02:00
morris
c25031212d
driver: test with non-isr freertos functions in the flash
2022-10-26 13:43:13 +08:00
jgujarathi
915fb4dfe2
Removed some occurences of the RC4 cipher suite(deprecated now)
2022-10-26 03:02:16 +00:00
Chip Weinberger
b2d1c34a38
[Panic] also print to secondary USB Serial/JTAG Console
2022-10-25 14:04:32 -07:00
Zim Kalinowski
e0077e67d7
Merge branch 'feature/freertos_unit_test_migration' into 'master'
...
FreeRTOS: Migrate unit tests to test app
Closes IDF-5589
See merge request espressif/esp-idf!20625
2022-10-26 03:01:22 +08:00
Zim Kalinowski
09587b84c2
freertos: final test cleanup
2022-10-25 17:41:29 +02:00
Wang Meng Yang
2d2d0ba1f3
Merge branch 'bugfix/handle_issue_of_malloc_fail' into 'master'
...
bugfix/avoid unexpected free when malloc failed
Closes IDFGH-8518
See merge request espressif/esp-idf!20723
2022-10-25 20:16:20 +08:00
laokaiyao
8ef9fd4623
dac: optimize the dma stratege
2022-10-25 17:14:59 +08:00
laokaiyao
f9f9a09dfb
dac: update unit-test docs and examples for driver-NG
2022-10-25 17:00:41 +08:00
laokaiyao
351a18415c
dac: driver-ng framework
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9777c9d5b1
dac: refactor to new api on esp32s2
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9e4ff3d374
dac_dma: Support DAC_DMA on esp32s2
2022-10-25 17:00:41 +08:00
Omar Chebib
8e9b1e8a7a
Merge branch 'bugfix/bt_bss_wrong_address' into 'master'
...
Bluetooth: fix BSS placement in the linker script generated by ldgen
Closes BT-2883
See merge request espressif/esp-idf!20749
2022-10-25 16:34:30 +08:00
zwl
efd10a6af4
Modify ESP32C2's default ble tx output power
2022-10-25 16:29:10 +08:00
zwl
76cd979dbb
Reduced the RAM size of npl_os_freertos.c file
2022-10-25 16:28:38 +08:00
Lu Ai Jun
23cac269f6
Merge branch 'bugfix/handle_buffers_for_ext_adv_rpt' into 'master'
...
Nimble: Allocate memory for ext adv reports from lower priority pool.
See merge request espressif/esp-idf!20678
2022-10-25 15:43:16 +08:00
xiongweichao
bda54af557
bt: Fixed SPP VFS mode not being able to send data
2022-10-25 14:17:45 +08:00
Marius Vikhammer
4a56758547
Merge branch 'bugfix/s3_ulp_riscv_cocpu_trap' into 'master'
...
ulp-riscv: always force COCPU clock on S3
Closes FCS-983
See merge request espressif/esp-idf!20632
2022-10-25 13:50:36 +08:00
Rahul Tank
5a08ba15b5
Nimble: Stack support for Connection subrating feature
2022-10-25 10:21:46 +05:30
Shu Chen
58be27dae2
Merge branch 'support/ieee802154_lib_CI_rules' into 'master'
...
ieee802154: add 154 lib CI initialization
See merge request espressif/esp-idf!20560
2022-10-24 19:19:48 +08:00
morris
5135145f5e
Merge branch 'refactor/remove_deprecated_can_stuffs' into 'master'
...
twai: remove the deprecated "CAN" driver code
See merge request espressif/esp-idf!20746
2022-10-24 18:34:01 +08:00
Omar Chebib
950981906b
Bluetooth: fix BSS placement in the linker script generated by ldgen
2022-10-24 16:37:30 +08:00
zhangwenxu
f3cadb4fab
ieee802154: add 154 lib CI initialization.
2022-10-24 16:19:00 +08:00
Konstantin Kondrashov
daf3da5e4b
Merge branch 'feature/parttable_improve_doc_and_error' into 'master'
...
partition_table: Improve an error msg and doc
Closes IDFGH-8377
See merge request espressif/esp-idf!20687
2022-10-24 16:17:34 +08:00
Darian Leung
96fce0c9c4
freertos: Fix/remove flakey tests after migration
...
This commit fixes/ignores flakey freertos unit tests after migrating them to
the test app:
- Added vTaskDelay() before teardown to prevent memory leaks
- Adjusted the "main" task's priority so that scheudling tasks would work
- pytest now only runs tests that are not ignored
- Reset tests are temporarily ignored. Will be enabled to dedicate reset tests.
- Some flakey tests are fixed by adjusting delays and stack sizes.
2022-10-23 20:02:14 +08:00
Darian Leung
c36e06c45c
freertos: Add test app sdkconfig
...
This commit adds the sdkconfig files for the FreeRTOS test app. These
configurations were dervied from the various legacy unit test app's
config files that included the FreeRTOS component.
This commit tries to keep a 1 to 1 config parity with the legacy test app.
Meaning, if FreeRTOS test were run on a particular target with a particular
config, that config will be represented in one of the test app's
sdkconfig.ci.XXX files.
However, the following configurations were removed for FreeRTOS tests:
- The "freertos_flash" option was removed due to redudancy (already tested in
freertos_options)
2022-10-23 20:02:14 +08:00
Darian Leung
a50a238c18
freertos: Tidy up test organization
...
Some tests were placed in the incorrect test groups (i.e., kernel, port,
performance etc). This commit fixes those placements.
The following redundant tests were also removed:
- "test_panic.c" as behavior is already covered in esp_system tests
2022-10-23 19:56:47 +08:00
Darian Leung
54d7a3bb66
freertos: Migrate misc tests to test app
...
This commit migrates the "misc" tests to the test app as a component.
2022-10-23 19:56:47 +08:00
Darian Leung
87c3cc57d1
freertos: Migrate performance tests to test app
...
This commit migrates the "performance" tests to the test app as a component.
2022-10-23 19:56:47 +08:00
Darian Leung
df9aa722af
freertos: Migrate port tests to test app
...
This commit migrates the "port" tests to the test app as a component.
2022-10-23 19:56:47 +08:00
Darian Leung
df4bfeee5b
freertos: Migrate kernel tests to test app
...
This commit renames the "integration" tests to "kernel" test and migrates them
to the test app as a component.
2022-10-23 19:56:47 +08:00
Darian Leung
60edaa4152
freertos: Add blank freertos test app
...
This commit adds a blank FreeRTOS test app in preparation for migrating of
FreeRTOS unit tests to the created test app.
2022-10-23 19:56:47 +08:00
morris
4176cb68de
twai: remove deprecated code and add hint
...
name "CAN" has been deprecated for a long time, this commit just remove
it from the code base.
Please use "TWAI" driver instead.
2022-10-22 18:20:07 +08:00
Jakob Hasse
674fa9377f
refactor(nvs): using define for namespace len instead of magic number
...
Closes https://github.com/espressif/esp-idf/issues/9671
2022-10-21 18:12:24 +02:00
David Cermak
d038a35e96
esp-wifi/netif: Made esp_netif_create_wifi() const correct
2022-10-21 16:29:56 +02:00
Jakob Hasse
ae30c509ef
Merge branch 'refactor/freertos_cmake_file' into 'master'
...
freertos: Refactor/reorder cmake file
See merge request espressif/esp-idf!20623
2022-10-21 20:17:25 +08:00
Mahavir Jain
9abe294064
Merge branch 'ci/migrate_app_update_unit_test_app' into 'master'
...
ci: Migrate app_update unit tests from unit-test-app to component-test-app
Closes IDF-5565
See merge request espressif/esp-idf!20432
2022-10-21 20:00:47 +08:00
Mahavir Jain
d539b2da32
Merge branch 'bugfix/http_cached_data_in_redirection' into 'master'
...
esp_http_client: free cached data in case connection gets closed for redirection
Closes AUD-4158
See merge request espressif/esp-idf!20694
2022-10-21 19:40:04 +08:00
Wang Meng Yang
2cbc83a4c7
Merge branch 'bugfix/fix_gattc_disc_char_by_uuid_panic' into 'master'
...
Bluedroid: correct the length of att read by type pdu
Closes BT-2874
See merge request espressif/esp-idf!20686
2022-10-21 17:24:03 +08:00
Mahavir Jain
dc34d4986a
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain
...
This fix adds a workaround to disable compiler optimization flag "-ftree-loop-distribute-patterns"
for `mpi_to_mem_block` routine. It was observed that compiler with release configuration was falling
back to `memset` call from ROM library causing an issue in correctly zero initializing MPI peripheral
block.
Please see following linked issue for more discussion and context on this issue.
Closes https://github.com/espressif/esp-idf/issues/8710
Closes https://github.com/espressif/esp-idf/issues/9371
Closes https://github.com/espressif/esp-idf/issues/9256
Closes IDFGH-7102
Closes IDFGH-7842
Closes IDFGH-7714
Closes IDFCI-1452
Closes IDF-6029
2022-10-21 14:29:02 +05:30
Mahavir Jain
6c8f6597f9
mbedtls: test_app: keep release config enabled for ESP32
...
Before `test_apps` migration, we had an independent release config,
but we can safely enable it in the default configuration for ESP32
target itself. This helps to catch any potential issues that may
occur in relevant tests because of compiler optimization flags.
2022-10-21 14:29:02 +05:30
Nachiket Kukade
4b60fde252
esp_wifi: Update wifi libs
...
Fix some SoftAP PMF and espnow key management related issues
2022-10-21 14:13:13 +05:30
harshal.patil
9f6e433bb5
ci: Migrate app_update unit tests from unit-test-app to component-test-app
2022-10-21 07:37:37 +00:00
tgotic
cd2492f98b
[bt] fix if allocation fails
...
If osi_malloc fails for work_queues or osi_work_queue_create fails, osi_work_queue_delete in _err may release unallocated memory.
2022-10-21 14:43:12 +08:00
wangjialiang
7e0b57f9ef
ble_mesh: stack: Fix can't trans optional info to group address
2022-10-21 12:07:53 +08:00
xueyunfei
5cea828f4d
esp_wifi:bugfix sniffer mode can not capture control packet
2022-10-21 08:57:02 +08:00
Wang Meng Yang
af3e6d6398
Merge branch 'bugfix/esp_spp_write_len_0' into 'master'
...
bt: Fixed esp_spp_write() crash when len is 0
Closes IDFGH-8523
See merge request espressif/esp-idf!20659
2022-10-21 07:47:47 +08:00
Jakob Hasse
944576a0fa
refactor(freertos): streamlined freertos CMakeLists.txt
2022-10-20 16:43:24 +02:00
Jiang Jiang Jian
67bb3d0932
Merge branch 'bugfix/revert_commit_da44fc9c' into 'master'
...
Revert "fixed the issue iOS devices cannot initiate connection"
See merge request espressif/esp-idf!20665
2022-10-20 19:18:14 +08:00
Jiang Jiang Jian
d257838b99
Merge branch 'fix/softap_pmf_disconnect' into 'master'
...
Fix deauth and disassoc issue for softap pmf connections
See merge request espressif/esp-idf!20477
2022-10-20 19:02:45 +08:00
KonstantinKondrashov
b5315aec16
partition_table: Improve an error msg and doc
...
Closes https://github.com/espressif/esp-idf/issues/9846
2022-10-20 17:18:01 +08:00
Jiang Jiang Jian
c2fba4b14e
Merge branch 'bugfix/backup_dma_stall_when_sw_rst' into 'master'
...
force clear reset signal to fix the backup dma operation failure
Closes AUD-4051
See merge request espressif/esp-idf!20633
2022-10-20 17:04:35 +08:00
Mahavir Jain
67e080471f
esp_http_client: free cached data in case connection gets closed for redirection
...
In case of `esp_http_client_read` based workflow, we cache data that is received
during fetch header stage. In case, there is URL redirection and we have to close
the connection on URL, port change then we must discard earlier cached data.
Closes AUD-4158
2022-10-20 12:45:06 +05:30
xiongweichao
4e895104ef
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-20 06:18:14 +00:00
Jin Cheng
36d8e0b9ad
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-20 06:17:33 +00:00
morris
f997b81242
mcpwm: support esp32c6
2022-10-20 11:55:03 +08:00
morris
7b425cbcd7
mcpwm: new function to fetch capture resolution
2022-10-20 11:30:14 +08:00
morris
6b941042d8
mcpwm: default clock cource is PLL160M
...
On esp32, the default clock source is also PLL160M
2022-10-20 11:30:14 +08:00
morris
a22aa2d183
mcpwm: fix wrong return value in the legacy driver
...
For APIs that not return esp_err_t value, we can't use macros like
ESP_RETURN_ON_xxx
2022-10-20 11:30:14 +08:00
Li Shuai
526a9c665a
backup dma: force clear reset signal to fix the backup dma operation failure caused by RTC_SW_CPU_RST
2022-10-20 03:24:49 +00:00
Shyamal Khachane
bedad59e6a
esp_wifi: Fix deauth and disassoc issues for SoftAP PMF
2022-10-20 02:59:19 +00:00
Chen Jian Xing
8cb934ab2e
Merge branch 'bugfix/further_fix_part_of_modem_not_reset_when_power_on' into 'master'
...
Coexistence: remove reset for esp32's modem when PU to avoid SoftAP fail to work in some cases
Closes IDFCI-1493
See merge request espressif/esp-idf!20679
2022-10-20 10:45:09 +08:00
morris
be2b57ff2f
Merge branch 'feature/add_rom_tlsf_function_prototype' into 'master'
...
esp_rom: add rom tlsf function prototype instead of void *
See merge request espressif/esp-idf!20670
2022-10-19 23:46:39 +08:00
chenjianhua
bc1762e806
bluedroid: correct the length of att read by type pdu
2022-10-19 21:58:28 +08:00
Xue Yun Fei
c941691711
Merge branch 'Bugfix/increase_ping_task_stack_size' into 'master'
...
lwip:bugfix for increase ping task stack size
Closes WIFI-4903
See merge request espressif/esp-idf!20664
2022-10-19 19:19:25 +08:00
Song Ruo Jing
c8c9ce0a8b
Merge branch 'feature/esp32c6_gpio_support' into 'master'
...
gpio: bringup driver on esp32c6 FPGA
Closes IDF-5870 and IDF-5937
See merge request espressif/esp-idf!20364
2022-10-19 18:44:30 +08:00
jiangguangming
932045c980
esp_rom: add rom tlsf function prototype instead of void *
2022-10-19 17:54:50 +08:00
jingli
0d8ece50fd
Coexistence: remove reset for esp32's modem when PU to avoid SoftAP fail to work in some cases
2022-10-19 17:26:26 +08:00
Rahul Tank
2abc451d90
Nimble: Added check to allocate memory for extended adv
...
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-19 14:11:46 +05:30
Martin Vychodil
ba0eb09895
Merge branch 'fix/usb_midi_tinyusb_refactor' into 'master'
...
usb: Refactor USB MIDI example
Closes IDF-5690
See merge request espressif/esp-idf!19399
2022-10-19 16:27:53 +08:00
morris
f89b68e22a
Merge branch 'bugfix/update_duty_on_tez_tep' into 'master'
...
mcpwm: update compare value on both tep and tez
Closes IDFGH-8438
See merge request espressif/esp-idf!20631
2022-10-19 16:27:20 +08:00
Sudeep Mohanty
7a58ffa972
Merge branch 'feature/freertos_enable_port_optimized_task_selection_on_riscv_targets' into 'master'
...
freertos: Enable configUSE_PORT_OPTIMISED_TASK_SELECTION for RISC-V targets
See merge request espressif/esp-idf!20652
2022-10-19 16:19:19 +08:00
Mahavir Jain
dd76328927
Merge branch 'feature/wpa_supp_mbedtls_private_cleanup' into 'master'
...
wpa_supplicant: `MBEDTLS_PRIVATE` & `MBEDTLS_ALLOW_PRIVATE_ACCESS`-related cleanup
Closes IDF-5861
See merge request espressif/esp-idf!20171
2022-10-19 12:13:14 +08:00
Jiang Jiang Jian
f51e5d69fc
Merge branch 'optimize/fast_recycle_of_tcp_pcb_when_close_tcp' into 'master'
...
Lwip:add TCP Fin2 timeout configuration
See merge request espressif/esp-idf!19881
2022-10-19 12:00:09 +08:00
Mathis
ca024c119d
Blufi: Add function for blufi management inside custom gap event handler
2022-10-19 09:24:40 +05:30
Mathis
140f40a1d9
Blufi: use blufi_env.conn_id instead of local variable
2022-10-19 09:21:45 +05:30
xueyunfei
8c17b04cef
lwip:bugfix for increase ping task stack size
2022-10-19 10:49:13 +08:00
Marius Vikhammer
978c03c0c3
Merge branch 'feature/test_apps_def_config' into 'master'
...
CI: add common debug helper sdkconfig that can be used in test apps
See merge request espressif/esp-idf!20213
2022-10-19 10:37:48 +08:00
Tomas Rezucha
446daa9865
Merge branch 'feature/usb/voltage_monitoring' into 'master'
...
tinyusb: Add voltage monitoring feature
Closes IDFGH-6065 and IDF-5229
See merge request espressif/esp-idf!20296
2022-10-18 22:41:24 +08:00
Adam Múdry
169d746c49
usb: Refactor USB MIDI example
2022-10-18 15:09:09 +02:00
Ivan Grokhotkov
11ec9d392d
Merge branch 'bugfix/storage_wformat' into 'master'
...
storage: fix and re-enable -Wformat warnings
See merge request espressif/esp-idf!20486
2022-10-18 20:21:53 +08:00
Wang Meng Yang
55f92ec268
Merge branch 'bt/opt_audio_datapath' into 'master'
...
bt/optimized a2dp_sink audio datapath
Closes IDFGH-8124 and AUD-4106
See merge request espressif/esp-idf!20592
2022-10-18 19:27:29 +08:00
morris
ab20e3e5d5
Merge branch 'bugfix/2nd_bootloader_uart1_baudrate_issues' into 'master'
...
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
See merge request espressif/esp-idf!20630
2022-10-18 17:18:08 +08:00
Jiang Jiang Jian
b540fb44e1
Merge branch 'bugfix/esprv_intc_int_set_type_error' into 'master'
...
Nimble: Fixed esprv_intc_int_set_type() usage
See merge request espressif/esp-idf!20615
2022-10-18 15:58:43 +08:00
xueyunfei
bfaaa86775
Lwip:add TCP Fin2 timeout configuration
2022-10-18 15:40:43 +08:00
Tomas Rezucha
1410f5a798
tinyusb: Add VBUS voltage monitoring feature
...
VBUS voltage monitoring is mandated by USB specification for self-powered devices.
This implementation maps selected GPIO to bvalid signal of USB-OTG peripheral.
Closes https://github.com/espressif/esp-idf/issues/7747
2022-10-18 09:18:29 +02:00
Tomas Rezucha
dc705312a3
usb: Allow settings of all signals in usb_phy
...
Until now, only usb_phy signals for external PHY were defined.
This is now extended with all OTG signals.
2022-10-18 09:18:29 +02:00
morris
78dfb58295
mcpwm: update compare value on both tep and tez
...
Closes https://github.com/espressif/esp-idf/issues/9904
2022-10-18 06:29:53 +00:00
Simon
cb28fcff0f
Merge branch 'feature/flash_mode_select_auto' into 'master'
...
spi_flash: Support select flash mode automatically at run time(Quad flash or Octal flash)
Closes IDF-4716
See merge request espressif/esp-idf!20321
2022-10-18 14:11:47 +08:00
Omar Chebib
c8614a0dbf
esp_timer: add a function to restart timer
...
Timers, periodic or not, can now be restarted thanks to esp_timer_restart function.
This is done atomically, which can be used to feed a periodic timer, or simply change the period.
2022-10-18 04:42:27 +00:00
Song Ruo Jing
6d24e8bcf4
gpio: Add support for esp32c6
2022-10-18 12:38:36 +08:00
Cao Sen Miao
2c9bb4eb7d
spi_flash: Support select flash mode automatically at run time(Quad flash or Octal flash)
2022-10-18 11:25:35 +08:00
Marius Vikhammer
439455b440
Merge branch 'feature/esp_event_pytest' into 'master'
...
esp_event: move tests to pytest framework
Closes IDF-5574
See merge request espressif/esp-idf!20533
2022-10-18 11:18:18 +08:00
Jiang Jiang Jian
e08e2f071f
Merge branch 'bugfix/fix_part_of_modem_not_reset_when_power_on' into 'master'
...
Coexistence: fix part of modem module not reset when power up
See merge request espressif/esp-idf!19849
2022-10-18 11:13:10 +08:00
Marius Vikhammer
7b5bdcf077
ulp-riscv: always force COCPU clock on S3
...
The coprocessor cpu trap signal doesnt have a stable reset value,
force ULP-RISC-V clock on to stop RTC_COCPU_TRAP_TRIG_EN from waking the CPU
2022-10-18 03:06:05 +00:00
jiangguangming
7daadc5a92
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
2022-10-18 11:04:01 +08:00
Armando (Dou Yiwen)
542bdea689
Merge branch 'feature/adc_calibration_on_c2' into 'master'
...
esp_adc: support adc calibration on esp32c2
Closes IDF-5203 and IDF-5899
See merge request espressif/esp-idf!20044
2022-10-18 10:50:59 +08:00
Marius Vikhammer
099b0b6421
Merge branch 'feature/c6_doc_build' into 'master'
...
docs: add support for building C6 docs
Closes IDF-5829
See merge request espressif/esp-idf!19721
2022-10-18 09:37:30 +08:00
Sudeep Mohanty
70070989f0
freertos: Enable configUSE_PORT_OPTIMISED_TASK_SELECTION for RISC-V targets
...
This commit enables the config option
configUSE_PORT_OPTIMISED_TASK_SELECTION on RISC-V targets for legacy
FreeRTOS (IDF-FreeRTOS).
2022-10-17 16:47:21 +02:00
Jin Cheng
0459cf3963
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-10-17 20:57:19 +08:00
morris
3b0354acb8
Merge branch 'bugfix/esp32s3_rom_has_ets_printf_issue' into 'master'
...
esp_rom: fix esp32s3 rom ets_printf bug
See merge request espressif/esp-idf!20590
2022-10-17 17:54:02 +08:00
Armando
d592d983ce
esp_adc: added esp32c2 adc runners
2022-10-17 16:23:22 +08:00
Wan Lei
f98a37f571
Merge branch 'docs/add_flash_to_psram_feature' into 'master'
...
docs: add the flash content moved to psram feature
Closes IDF-5885
See merge request espressif/esp-idf!19908
2022-10-17 14:51:15 +08:00
Darian
54d286de67
Merge branch 'bugfix/freertos_fpu_isr_pins_task' into 'master'
...
FreeRTOS: Fix bug where FPU usage in ISR pins the interrupted task.
Closes IDF-6068
See merge request espressif/esp-idf!20573
2022-10-15 00:40:04 +08:00
morris
316493969a
Merge branch 'docs/update_uart_read_bytes_description' into 'master'
...
docs: update the description of uart_read_bytes
Closes DOC-3798
See merge request espressif/esp-idf!20611
2022-10-14 21:54:44 +08:00
morris
ad1bd82002
Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter' into 'master'
...
bugfix: esprv_intc_int_set_type() should not use bitmap parameter
See merge request espressif/esp-idf!20599
2022-10-14 21:21:36 +08:00
Jiang Jiang Jian
6e65b61c8a
Merge branch 'bugfix/esp32c2_scan_assert' into 'master'
...
Fixed occasional crash during scanning
Closes BT-2784
See merge request espressif/esp-idf!20578
2022-10-14 18:02:06 +08:00
Island
7ddbaae318
Merge branch 'feature/Add_IVI_recovery_option' into 'master'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
See merge request espressif/esp-idf!20500
2022-10-14 17:21:25 +08:00
Island
beb8a7cf34
Merge branch 'bugfix/fix_fast_interval_prov_adv' into 'master'
...
ble_mesh: stack: Fix send fast interval prov_adv failed
See merge request espressif/esp-idf!20520
2022-10-14 17:20:40 +08:00
Rahul Tank
63e44eef2c
Nimble: esprv_intc_int_set_type() will set bit_map in rom, the parameter
...
intr_num should be the interrupt number directly
2022-10-14 14:06:14 +05:30
Linda
837d29cca0
docs: update the description of uart_read_bytes
2022-10-14 15:55:40 +08:00
Mahavir Jain
10dfabe650
Merge branch 'ecc/improve_mbedtls_ecdsa' into 'master'
...
mbedtls: Added performance test for ECP and ECDSA operation
See merge request espressif/esp-idf!19337
2022-10-14 15:49:22 +08:00
jiangguangming
8774db59f0
esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART
2022-10-14 14:06:40 +08:00
jiangguangming
4c3ce9f21d
esp_rom: fix esp32s3 rom ets_printf bug
2022-10-14 11:43:46 +08:00
wuzhenghui
6b96534c68
bugfix: esprv_intc_int_set_type() should not use bitmap parameter
2022-10-14 11:31:22 +08:00
Marius Vikhammer
d73e1d9754
esp_event: move tests to pytest framework
2022-10-14 11:07:58 +08:00
Mahavir Jain
835bb4acb1
Merge branch 'ci/fix_esp32s2_mbedtls_psram_ta' into 'master'
...
ci: Fix `esp32s2.psram.test_mbedtls_psram` UT
Closes IDFCI-1487 and IDFCI-1488
See merge request espressif/esp-idf!20577
2022-10-14 10:10:07 +08:00
Aditya Patwardhan
37a69f6880
Merge branch 'update/update_certs_bundle' into 'master'
...
Update esp_crt_bundle certificates
See merge request espressif/esp-idf!20575
2022-10-14 00:35:47 +08:00
Ivan Grokhotkov
989d9e831f
Merge branch 'bugfix/replace_port_get_runtime_counter_usage' into 'master'
...
freertos, app_trace: use esp_cpu_get_cycle_count to get ccount
Closes IDF-4744
See merge request espressif/esp-idf!20443
2022-10-13 21:40:07 +08:00
Armando
9cb1006b2b
esp_adc: make c2 atten0 calibration experimental
2022-10-13 21:03:51 +08:00
Armando
f905f6ab7c
esp_adc: add esp32c2 adc high/low test threshold and expected val
2022-10-13 21:03:51 +08:00
Armando
508935c457
esp_adc: refacotr tests for all supported attenuations
2022-10-13 21:03:51 +08:00
Armando
f29eda26e6
esp_adc: replace hardcoded calibration version to a macro
...
On esp32c3 and esp32s3, we support calibration version 1. This commit
replace it with ESP_EFUSE_ADC_CALIB_VER to avoid hardcode.
2022-10-13 21:03:51 +08:00
Armando
ccfbba5994
esp_adc: support adc calibration on esp32c2
2022-10-13 21:03:51 +08:00
Ivan Grokhotkov
659460525f
Merge branch 'test/spiffs_component_test_app' into 'master'
...
spiffs: move tests from unit-test-app to a component test app
Closes IDF-5602
See merge request espressif/esp-idf!20485
2022-10-13 20:01:39 +08:00
Chen Jian Xing
b813476a51
Merge branch 'bugfix/fix_ignore_rx_sub_ampdu_int_issue' into 'master'
...
esp_wifi: fix ignore rx sub ampdu interrupt issue
Closes ESPCS-854
See merge request espressif/esp-idf!20564
2022-10-13 19:34:24 +08:00
Mahavir Jain
f4773d64e4
Merge branch 'bugfix/fix_mbedlts_ds_memory_leak' into 'master'
...
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled
Closes ESPCS-872
See merge request espressif/esp-idf!20563
2022-10-13 19:13:57 +08:00
Mahavir Jain
836dc4ae80
Merge branch 'bugfix/fix_wifi_retry' into 'master'
...
wifi_provisioning: fix error codes for wifi connect retry
See merge request espressif/esp-idf!20558
2022-10-13 19:02:42 +08:00
Ivan Grokhotkov
c4be293e23
Merge branch 'test/fatfs_test_app_readme' into 'master'
...
fatfs: add missing readme file for the test apps
See merge request espressif/esp-idf!20522
2022-10-13 17:53:11 +08:00
Jiang Jiang Jian
0ebae990a0
Merge branch 'bugfix/use_nonblocking_coex_callback' into 'master'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
See merge request espressif/esp-idf!20413
2022-10-13 14:57:08 +08:00
yuanjianmin
ddbe6aa42a
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled
2022-10-13 14:17:42 +08:00
Laukik Hase
80204ecab2
ci: Fix esp32s2.psram.test_mbedtls_psram
UT
...
- When PSRAM is enabled, the interrupt watchdog timeout value
needs to be increased to 800 ms from the default 500 ms.
2022-10-13 10:27:05 +05:30
Marius Vikhammer
ca4ad3ce7c
docs: add support for building C6 docs
2022-10-13 04:39:16 +00:00
Sachin Parekh
130ada60ec
mbedtls: Added performance tests for ECP and ECDSA operations
2022-10-13 10:01:06 +05:30
Jiang Jiang Jian
72a70f08b9
Merge branch 'bugfix/reason_code_pmk_flush' into 'master'
...
Prevent pmk flush for unspecified reasoncode
Closes WIFI-4796
See merge request espressif/esp-idf!20459
2022-10-13 11:51:48 +08:00
zwl
07d844f565
Fixed occasional crash during scanning
2022-10-13 11:48:50 +08:00
muhaidong
c2fe257ad6
esp_wifi: fix ignore rx sub ampdu interrupt issue
2022-10-13 11:40:13 +08:00
Jiang Jiang Jian
55eaf66a94
Merge branch 'rebase/fix_ble_mem_leak_issue' into 'master'
...
fix ble mem leak when sleep is enabled
See merge request espressif/esp-idf!20527
2022-10-13 10:48:15 +08:00
Espressif BOT
91bd4a1f80
Update esp_crt_bundle certificates
2022-10-13 10:00:11 +08:00
Jiang Guang Ming
6cfa88ed49
Merge branch 'bugfix/update_esp_rom_caps' into 'master'
...
esp_rom: update esp_rom_caps.h
See merge request espressif/esp-idf!20565
2022-10-13 06:02:37 +08:00
Ivan Grokhotkov
8a45ff0957
Merge branch 'bugfix/reenable_ut_c2_fatfs_vfs_spi_flash' into 'master'
...
vfs, spi_flash: re-enable unit tests for C2
Closes IDF-5137 and IDF-5139
See merge request espressif/esp-idf!20444
2022-10-13 05:40:12 +08:00
Darian Leung
423fb361e7
freertos: Enable FPU ISR core pinning test for IDF FreeRTOS
2022-10-12 22:45:56 +08:00
Darian Leung
9f7f964363
freertos: Fix FPU ISR core pinning bug
...
This commit fixes a bug where if an unpinned task is interrupted by a level 1
ISR that users the FPU, the FPU usage will cause the interrupted task to
become pinned to the current core.
Note: This bug was already fixed in SMP FreeRTOS in commit
d69361779e
. This commit simply backports the
fix to IDF FreeRTOS.
2022-10-12 22:45:56 +08:00
Darian
96058c25ab
Merge branch 'refactor/freertos_fpu_unit_tests' into 'master'
...
FreeRTOS: Refactor FPU unit tests
See merge request espressif/esp-idf!20526
2022-10-12 22:36:46 +08:00
Rahul Tank
2ec9f47aa0
Merge branch 'bugfix/close_stack_callback_during_ble_stop' into 'master'
...
Nimble: Added check to deregister stack callback with controller during stack deinit
See merge request espressif/esp-idf!20421
2022-10-12 21:03:26 +08:00
Wang Meng Yang
3965dc23a6
Merge branch 'support/Update_sdkdefaultconfig_BLE_only_flag' into 'master'
...
BLE: Cleanup Bluedroid example sdkconfig.defaults
Closes BT-1939
See merge request espressif/esp-idf!19226
2022-10-12 20:56:39 +08:00
Mahavir Jain
40368b17c6
Merge branch 'bugfix/http_coverity_warnings' into 'master'
...
Fix Coverity Reported Warning in HTTP server and client
See merge request espressif/esp-idf!20521
2022-10-12 20:40:10 +08:00
jiangguangming
0ed7927520
esp_rom: update esp_rom_caps.h
2022-10-12 20:12:56 +08:00
David Čermák
950800be9e
Merge branch 'update/lwip_sntp_comment_i32_timestamp' into 'master'
...
lwip: Document 32 bit NTP timestamp converstion to 64b time_t
Closes IDF-5956 and IDF-5592
See merge request espressif/esp-idf!20283
2022-10-12 20:06:42 +08:00
morris
9408e1372b
Merge branch 'bugfix/i2s_tx_auto_clear_not_totally_clean_the_buf' into 'master'
...
i2s: fix tx incomplete auto clear
Closes IDFGH-8416
See merge request espressif/esp-idf!20536
2022-10-12 18:15:49 +08:00
Ivan Grokhotkov
7b709aacc9
spiffs: move tests from unit-test-app to a component test app
2022-10-12 12:08:13 +02:00
morris
b8471380b6
Merge branch 'feature/spi_lcd_cs_active_high' into 'master'
...
spi_lcd: support CS active high
Closes IDFGH-8415
See merge request espressif/esp-idf!20518
2022-10-12 18:04:12 +08:00
Roland Dobai
ac315adc2c
Merge branch 'bugfix/remove-fatfsgen-kconfig-option' into 'master'
...
fatfsgen.py: removed unused options in Kconfig
Closes IDF-6038
See merge request espressif/esp-idf!20418
2022-10-12 17:28:03 +08:00
Ivan Grokhotkov
7e2f261a58
freertos, app_trace, heap: use esp_cpu_get_cycle_count to get ccount
...
portGET_RUN_TIME_COUNTER_VALUE should only be used in the kernel.
2022-10-12 11:20:55 +02:00
Ivan Grokhotkov
0a352a6ff2
vfs, spi_flash: re-enable unit tests for C2
2022-10-12 11:09:36 +02:00
Darian Leung
d69361779e
freertos: Refactor FPU unit tests
...
This commit refactors the existing FPU unit tests as follows
- Rename them from coproc to FPU
- Reorganize test placement
- Make existing tests work on both IDF and SMP FreeRTOS
- Update test documentation
- Remove old "test_float_in_isr.c"
2022-10-12 16:29:13 +08:00
Jiang Jiang Jian
f03f3b0a6c
Merge branch 'bugfix/add_security_patches' into 'master'
...
esp_wifi:Adding security patch for SAE side channel attacks
Closes WIFI-4890
See merge request espressif/esp-idf!20426
2022-10-12 16:21:33 +08:00
wangjialiang
50790f88d3
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-12 07:53:15 +00:00
wangjialiang
a6bb092450
ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously
2022-10-12 07:38:19 +00:00
Roland Dobai
95c4749a5f
Merge branch 'feature/fatfs-support-detection-minimal-partition-size' into 'master'
...
fatfsgen.py: Support for detection of minimal partition size
Closes IDF-4122
See merge request espressif/esp-idf!20178
2022-10-12 15:21:25 +08:00
Harshit Malpani
9b07007efb
wifi_provisioning: fix error codes for wifi connect retry
...
Closes: https://github.com/espressif/esp-idf/issues/9399
2022-10-12 12:10:21 +05:30
Guillaume Souchere
1bbd524a7c
Merge branch 'fix/add-region-allowed-checks' into 'master'
...
heap: Fix memory boundary condition checks when adding new region
See merge request espressif/esp-idf!20491
2022-10-12 13:33:24 +08:00
Marius Vikhammer
23b5e54974
CI: add common debug helper sdkconfig that can be used in test apps
2022-10-12 11:47:04 +08:00
cjin
071abb4866
fix ble mem leak when sleep is enabled
2022-10-12 11:23:28 +08:00
Sudeep Mohanty
952ba77edb
Merge branch 'tests/migrate_esp_ringbuf_tests_to_pytest' into 'master'
...
esp_ringbuf: migrated esp_ringbuf component tests to pytest framework
Closes IDF-5582
See merge request espressif/esp-idf!20476
2022-10-11 23:12:03 +08:00
Satish Solanke
34722483b3
Merge branch 'master' into 'support/Update_sdkdefaultconfig_BLE_only_flag'
...
# Conflicts:
# examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c2
2022-10-11 10:39:15 +00:00
Darian
0cf1477675
Merge branch 'bugfix/freertos_vTaskSuspendAll_test_flakiness' into 'master'
...
FreeRTOS: Fix vTaskSuspendAll unit test falkiness
See merge request espressif/esp-idf!20531
2022-10-11 17:43:37 +08:00
Sudeep Mohanty
6feab513e4
esp_ringbuf: migrated esp_ringbuf component tests to pytest framework
...
This commit migrates the esp_ringbuf tests to the pytest framework.
2022-10-11 11:31:04 +02:00
laokaiyao
be7c656f6e
i2s: fix tx incomplete auto clear
...
Closes: https://github.com/espressif/esp-idf/issues/9882
2022-10-11 16:57:05 +08:00
morris
a8eacd690c
Merge branch 'bugfix/allow_compare_equal_period' into 'master'
...
mcpwm: allow compare equals to period
See merge request espressif/esp-idf!20514
2022-10-11 16:53:27 +08:00
Jing Li
dd2f861b68
Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep' into 'master'
...
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
Closes AUD-4032, IDF-5967, and ESPCS-867
See merge request espressif/esp-idf!20197
2022-10-11 16:46:48 +08:00
wangmengyang
7736cdefd8
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
2022-10-11 16:36:37 +08:00
Jiang Jiang Jian
3b7d9faf78
Merge branch 'bugfix/fix_connect_fail_when_enable_SPIRAM' into 'master'
...
esp_wifi: fix connect fail when enable SPIRAM and ESPNOW send
Closes IDFGH-8189
See merge request espressif/esp-idf!20429
2022-10-11 16:26:54 +08:00
gaoxu
76eef386bb
esp_psram: update flash content moved to psram kconfig description
2022-10-11 15:15:04 +08:00
gaoxu
2cb2ff99af
docs: add description about flash content moved to psram feature
2022-10-11 15:15:04 +08:00
Wang Meng Yang
e0580d2669
Merge branch 'bugfix/update_ctrl_init_config_macro' into 'master'
...
Bugfix/update ctrl init config macro
Closes IDFGH-8441
See merge request espressif/esp-idf!20502
2022-10-11 14:25:37 +08:00
Darian Leung
7b1c0ef22c
freertos: Fix vTaskSuspendAll unit test falkiness
...
This commit fixes falkey unit tests (due to memory leaks) by adding a short
delay at the end of the test to allow the idle task to free task memory.
2022-10-11 14:24:39 +08:00
Wang Meng Yang
6c5c595d6f
Merge branch 'bugfix/blufi_add_host_deinit_api' into 'master'
...
Blufi: Added an API to stop Bluetooth / Blufi profile
See merge request espressif/esp-idf!20360
2022-10-11 14:13:41 +08:00
gauri patankar
84252e4eb8
wpa_supplicant: Update security patches from upstream
...
1. Adding security patch for SAE side channel attacks
2. Adding confirm message validation in error cases
3. Adding y coordinate for PWE in SAE
2022-10-11 11:33:33 +05:30
Darian Leung
2059fb885e
freertos: Move FPU unit tests to correct directory
...
This commit moves the FPU unit tests to the correct directory so that they are
built by the unit tests app.
2022-10-11 14:03:28 +08:00
gauri patankar
c286b0192b
wpa_supplicant: Move SAE modules into dragonfly files
2022-10-11 11:26:39 +05:30
jingli
5f60c4345e
esp_hw_support/sleep: remove redundant spinlock protection for deep sleep
2022-10-11 12:11:36 +08:00
jingli
2b8c43df69
hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3)
2022-10-11 12:11:36 +08:00
jingli
128d82eaaa
hal/gpio_ll: fix digital gpio can not disable hold during deep sleep
2022-10-11 12:11:36 +08:00
jingli
b903a2253b
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-10-11 12:11:28 +08:00
morris
ad376e2d99
mcpwm: allow compare equals to period
2022-10-11 11:25:33 +08:00
Chen Jian Hua
88b71f6416
Merge branch 'bugfix/fix_esp_hid_auth_fail_crash' into 'master'
...
Fix esp hid crash when auth failed
Closes IDFGH-7417
See merge request espressif/esp-idf!19454
2022-10-11 10:57:26 +08:00
Darian
41d25b20ec
Merge branch 'refactor/freertos_stack_initialization' into 'master'
...
FreeRTOS: Refactor task stack initialization code
See merge request espressif/esp-idf!20310
2022-10-10 18:31:17 +08:00
Ivan Grokhotkov
6a86614d74
fatfs: add missing readme file for the test apps
2022-10-10 12:15:56 +02:00
Mahavir Jain
fffc72d307
esp_http_server: fix few coverity warnings
...
- unreachable code
- uninitialized values
- missing return checks
2022-10-10 15:35:43 +05:30
Mahavir Jain
a7b42be1bd
esp_http_client: fix few coverity warnings
2022-10-10 15:22:23 +05:30
morris
d9bd809d61
spi_lcd: panel_io_spi_tx_color without cmd
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-10-10 16:31:28 +08:00
morris
7d3c9e9f3e
spi_lcd: allow dc gpio set to -1
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-10-10 16:31:28 +08:00
morris
3a5bc50c2f
spi_lcd: support CS active high
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-10-10 16:31:28 +08:00
Laukik Hase
82c5bdcb76
wpa_supplicant: MBEDTLS_PRIVATE
& MBEDTLS_ALLOW_PRIVATE_ACCESS
-related cleanup
2022-10-10 11:48:16 +05:30
Roshan Bangar
aa03ffdc1b
Nimble/blufi: Added an API to stop Bluetooth / Blufi
2022-10-10 04:43:21 +00:00
Armando
e736abdc03
efuse: added adc calibration efuse fields on esp32c2
2022-10-10 11:46:05 +08:00
Armando
d0591f5aa9
efuse: remove PVT_LOW field on esp32c2
...
PVT_LOW doesn't exist on ESP32C2
2022-10-10 11:46:05 +08:00
Armando
ef3d2008fc
esp_adc: remove blank file
...
`adc_lock.c` and `adc_lock.h` are removed.
Content in these two files are moved to `adc_share_hw_ctrl.c` and
`adc_share_hw_ctrl.h`, in commit 4f80c0f2
.
`adc_lock.c` and `adc_lock.h` are left due to auto-solving conflicts.
This commit removes these two blank files.
2022-10-10 11:46:05 +08:00
jingli
101c2c6c3e
esp_hw_support/sleep: fix light sleep wakeup flag
...
light sleep wakeup flag is true to indicate the most recent successful wakeup from light sleep,
which means the most recent light sleep occurred successfully and then wakes up by wakeup source
2022-10-09 19:59:24 +08:00
jingli
0a44d09f4f
esp32/rtc: fix xtal unstable in some cases when sleep
...
1. add xtal buf wait to fix high temperature restart issue
2. add min sleep value to fix xtal stop due to too short sleep time issue
2022-10-09 19:58:58 +08:00
morris
d35bb630ab
Merge branch 'feature/rgb_lcd_restart' into 'master'
...
rgb_lcd: support restart dma transmission manually
Closes IDF-5892
See merge request espressif/esp-idf!20295
2022-10-09 17:39:33 +08:00
Darian Leung
fe0d4f2834
freertos: Refactor riscv port stack initialization code
...
This commit refactors the pxPortInitialiseStack() function of the riscv
FreeRTOS ports (both IDF and SMP FreeRTOS).
- Each stack area is now separated into their own functions
- Each function will individually
- Push the stack pointer to allocate the stack area
- Initiaze the allocated stack area
- Each stack area's size and usage is now clearly documented in code
2022-10-09 14:51:45 +08:00
Darian Leung
282f10d1bc
freertos: Refactor xtensa port stack initialization code
...
This commit refactors the pxPortInitialiseStack() function of the xtensa
FreeRTOS ports (both IDF and SMP FreeRTOS).
- Each stack area is now separated into their own functions
- Each function will individually
- Push the stack pointer to allocate the stack area
- Initiaze the allocated stack area
- Each stack area's size and usage is now clearly documented in code
2022-10-09 14:48:30 +08:00
Wang Meng Yang
a5e19246df
Merge branch 'bugfix/fix_gattc_disc_crash' into 'master'
...
Bluedroid: configurable max gattc cache characteristic count
See merge request espressif/esp-idf!19842
2022-10-09 11:31:59 +08:00
Evan Neidler
54ee184a95
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
...
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-09 10:52:04 +08:00
Armando
5fd4dbad12
esp_adc: improve adc continuous iram test aim
...
This commit increases adc continuous iram test period of cache disabling
time. Now time is: 1 second
- The aim of this test is to make sure the continuous mode driver ISR
callbacks can run in an IRAM-Safe context.
- Closing cache takes time. WHereas the code to close the cache is
updated. This time gets changed.
2022-10-09 02:35:22 +00:00
Zhi Wei Jian
1308ff3d21
Merge branch 'bugfix/fix_esp32_ble_assert_32' into 'master'
...
Fixed ESP32 BLE assert(32 0)
Closes BT-2809
See merge request espressif/esp-idf!20446
2022-10-08 21:51:50 +08:00
Zhi Wei Jian
3b20bc7adc
Merge branch 'bugfix/eanble_bluedroid_host_adv_ind_report_individually' into 'master'
...
allow bluedroid host to report adv_ind separately
See merge request espressif/esp-idf!20305
2022-10-08 21:41:31 +08:00
Wang Meng Yang
0fa55c897f
Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3' into 'master'
...
Fixed BLE lld_per_adv.c line 401 assert
Closes BT-2624
See merge request espressif/esp-idf!20447
2022-10-08 20:49:43 +08:00
chenjianhua
137a7cb592
bluedroid: configurable max gattc cache characteristic count
2022-10-08 17:47:17 +08:00
zhangyanjiao
a165d5b3ef
esp_wifi: fix connect fail when enable SPIRAM
...
Closes IDFGH-8189
2022-10-08 15:49:02 +08:00
Michael (XIAO Xufeng)
8282dca796
Merge branch 'bugfix/fix_c3_dig_dibas_limit_bug' into 'master'
...
ESP32C3: Fix system not stable bug when dbias storing in efuse is bigger than 27
Closes IDF-6048
See merge request espressif/esp-idf!20453
2022-10-08 14:56:40 +08:00
zwj
01faa7b664
allow bluedroid host to report adv_ind separately
2022-10-08 14:49:36 +08:00
Aditya Patwardhan
6328afdce6
wifi_provisioning/manager.c: Fix small bug introduced in recent MR.
2022-10-07 18:27:08 +05:30
Aditya Patwardhan
acc3dc8bd2
protocomm/esp_srp: Allocate memory for username only when the
...
verification is successful
2022-10-07 18:27:07 +05:30
Aditya Patwardhan
68947b5944
protocommm/esp_srp: Fix small issues reported by coverity.
2022-10-07 18:27:07 +05:30
Guillaume Souchere
cd805a5ab1
heap: Fix memory boundary condition checks when adding new region
...
Previously, condition_4 was making impossible the valid scenario
start > heap_start && end == heap_end.
Now, the end == heap_end and start == heap_start case is handled
separately allowing the case start > heap_start && ned == heap_end
to be considered a valid scenario
2022-10-07 13:22:30 +02:00
morris
05092e2f82
rgb_lcd: support restart dma transmission manually
...
When doing Flash operations (e.g. OTA), LCD's DMA bandwidth will be not
sufficient, causing the desync between the LCD controller and DMA.
Added a restart function to help the user to make them sync again.
2022-10-07 18:46:05 +08:00
Alexey Lapshin
58ff462611
efuse: fix esp_efuse_utility_write_reg() declaration
2022-10-07 14:30:35 +04:00
Sudeep Mohanty
052dc64616
Merge branch 'feature/ulp_fix_ignore_tests' into 'master'
...
ulp: add all ignored ulp unit tests to the pytest framework
See merge request espressif/esp-idf!20465
2022-10-07 14:17:12 +08:00
Ivan Grokhotkov
23e1ae1bc2
storage: fix and re-enable -Wformat warnings
2022-10-06 16:16:32 +02:00
Martin Vychodil
1abd4eac2c
Merge branch 'test/fatfs_component_test_apps' into 'master'
...
fatfs: migrate unit tests to component test app, re-enable test for C2
Closes IDF-5588 and IDF-5136
See merge request espressif/esp-idf!20462
2022-10-06 21:10:39 +08:00
Sudeep Mohanty
93153bdfe1
ulp: add all 'ignore' tests to pytest framework
...
This commit adds a way to run all 'ignore' tests for ulp using the
pytest framework.
2022-10-06 12:58:11 +02:00
Guillaume Souchere
cc545fbf9a
Merge branch 'feature/heap-fix-ignored-tests' into 'master'
...
heap: add all 'ignore' tests to pytest framework
See merge request espressif/esp-idf!20478
2022-10-06 16:25:18 +08:00
Roland Dobai
a6792c2673
Merge branch 'feature/use_tools_json_to_check_toolchain_ver' into 'master'
...
Tools: use tools.json to double-check toolchain version when building
See merge request espressif/esp-idf!19894
2022-10-06 16:22:41 +08:00
Rahul Tank
81c23740e1
Nimble: Added check to deregister stack callback with controller during
...
stack deinit
2022-10-06 09:31:09 +05:30
Rocha Euripedes
8dff5bbf69
Merge branch 'bugfix/wrong_ws_mask_check' into 'master'
...
[tcp_transport] Bugfix: Remove unecessary mask_key check
See merge request espressif/esp-idf!20366
2022-10-05 21:47:42 +08:00
Guillaume Souchere
2b5a844640
heap: fix the boundary checks when adding a new region
2022-10-05 15:08:21 +02:00
Guillaume Souchere
2cce5e98b1
heap: add dynamic poisoning threshold in pytest env to allow test with known memory leak to pass
2022-10-05 15:07:37 +02:00
Guillaume Souchere
a29627f59d
heap: fix the size of buffers in ignored tests
...
the ignored tests are updated with the minimum required buffer size to create
a new heap using the tlsf heap callocator.
2022-10-05 15:07:06 +02:00
Kapil Gupta
198a4335f2
Remove unnecessary code from disconnect handler
2022-10-04 21:38:59 +05:30
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2
2022-10-04 17:39:38 +02:00
Ivan Grokhotkov
87ea3142ac
Merge branch 'contrib/github_pr_9899' into 'master'
...
Make esp_app_desc a weak symbol (GitHub PR)
Closes IDFGH-8433
See merge request espressif/esp-idf!20461
2022-10-04 13:40:32 +08:00
David Cermak
1f2c16af97
lwip/test: Add SNTP cases to check NTP timestamp overflow
2022-10-03 17:34:42 +02:00
Alexey Lapshin
e6f7b1a3a0
tools: cmake: check tool supported version with idf_tools.py
2022-10-03 19:01:32 +04:00
Rocha Euripedes
d6aacbc9ce
Merge branch 'feature/adjust_log_level' into 'master'
...
[tcp_transport] - Change log level on socket reading timeout
See merge request espressif/esp-idf!20448
2022-10-03 16:41:22 +08:00
Akos Vandra-Meyer
48b50327a0
Make esp_app_desc a weak symbol
...
By doing so, the application will be able to define its own esp_app_desc generated at their discretion, with help of whatever build process they use, and removes the necessity to rebuild esp-idf every time only to have the esp_app_desc updated.
Removes the patch necessary for https://github.com/esp-rs/esp-idf-sys/pull/136 , where we are building esp-idf and basically linking it as a static library. The process building the library doesn't have access to the real application version or the build time, since we are only rebuilding esp-idf if the sdkconfig changes.
2022-10-02 18:46:46 +02:00
Mahavir Jain
5fffe4bba5
Merge branch 'fix/fix_protocomm_security2_backward_compatibility' into 'master'
...
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid...
See merge request espressif/esp-idf!20003
2022-10-02 23:08:01 +08:00
Laukik Hase
8476ba1b7a
Merge branch 'bugfix/https_server_dyn_buf' into 'master'
...
https_server: Fix example when `MBEDTLS_DYNAMIC_BUFFER` is enabled
Closes IDFCI-1479
See merge request espressif/esp-idf!20452
2022-10-01 15:52:08 +08:00
Song Ruo Jing
29363b1af0
Merge branch 'bugfix/ets_update_cpu_frequency_typo_esp32s3' into 'master'
...
esp_hw_support: Fix typo on esp32s3 ets_update_cpu_frequency
See merge request espressif/esp-idf!20454
2022-10-01 13:09:43 +08:00
Laukik Hase
aeb42ce3a7
https_server: Fix example when MBEDTLS_DYNAMIC_BUFFER
is enabled
...
- While checking if ciphersuite uses RSA key exchange methods,
the APIs `mbedtls_ssl_get_ciphersuite_id_from_ssl` and
`mbedtls_ssl_ciphersuite_from_id` were used to get the ciphersuite
info.
- However, this is incorrect as we need the ciphersuite info from the
handshake instance and not the ssl_session instance.
2022-09-30 23:25:27 +05:30
Michael (XIAO Xufeng)
9bc18ba480
Merge branch 'feat/sdio_slave_disable_hs' into 'master'
...
sdio_slave: allow disabling highspeed mode
Closes IDF-5994
See merge request espressif/esp-idf!20312
2022-10-01 01:52:47 +08:00
Martin Gaňo
21408698e1
fatfsgen.py: Support for detection of minimal partition size
2022-09-30 15:20:49 +02:00
Martin Gaňo
1206d05d36
fatfsgen.py: removed unused options in Kconfig
2022-09-30 14:49:20 +02:00
Song Ruo Jing
4eab31cb82
esp_hw_support: Fix typo on esp32s3 ets_update_cpu_frequency introduced in 23e37393a7
2022-09-30 20:45:16 +08:00
Kapil Gupta
7a7bdf05d5
Merge branch 'bugfix/eap_hash_key_len_validation' into 'master'
...
esp_wifi:adding hash key length validation
Closes WIFI-4882 and WIFI-4825
See merge request espressif/esp-idf!20438
2022-09-30 19:32:30 +08:00
cje
4dddb6d8e8
fix system not stable bug when dbias storing in efuse is bigger than 27
2022-09-30 19:24:51 +08:00
Aditya Patwardhan
244f4ce1d9
protocomm: Enable security version 2 by default
2022-09-30 16:53:20 +05:30
Aditya Patwardhan
0e3c630f9a
wifi_prov_mgr: Add security version in the proto-ver endpoint.
2022-09-30 16:53:20 +05:30
Aditya Patwardhan
1d8e7fe2d7
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid breaking the usage for sec1
2022-09-30 16:53:06 +05:30
Jiang Jiang Jian
cf9921a9f5
Merge branch 'bugfix/set_ap_rsnxe_while_connect' into 'master'
...
esp_wifi: Set AP rsnxe while connection
See merge request espressif/esp-idf!20046
2022-09-30 18:25:30 +08:00
Jiang Jiang Jian
f881197f15
Merge branch 'bugfix/master_send_data_err_when_retransmit' into 'master'
...
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
Closes BT-2620
See merge request espressif/esp-idf!20430
2022-09-30 18:21:22 +08:00
Mahavir Jain
59a5bf61e9
Merge branch 'protobuf-c/update_submodule_to_v1.4.1' into 'master'
...
protobuf-c: Update submodule to v1.4.1
Closes IDF-6031
See merge request espressif/esp-idf!20435
2022-09-30 17:20:57 +08:00
Euripedes Rocha
456d6a5d17
[tcp_transport] - Change log level on socket reading timeout
...
- Log level set to VERBOSE to reduce noise on debug.
2022-09-30 09:59:08 +02:00
zwj
457006e04e
Fixed BLE lld_per_adv.c line 401 assert
2022-09-30 15:45:37 +08:00
Roland Dobai
a38c63b211
Merge branch 'feature/enable-variable-partition-size-fatfs' into 'master'
...
fatfs: enabled reading sector size and sectors count from boot sector in rawflash
Closes IDF-4130
See merge request espressif/esp-idf!20412
2022-09-30 15:24:26 +08:00
zwj
4ba1dd0a9c
Fixed ESP32 BLE assert(32 0)
2022-09-30 15:07:24 +08:00
Martin Vychodil
dd3cf2513d
Merge branch 'bugfix/fatfsgen-omit-cluster-for-empty-files' into 'master'
...
fatfsgen.py: omit cluster allocation when the file is empty
Closes IDF-6037
See merge request espressif/esp-idf!20441
2022-09-30 14:42:52 +08:00
Martin Vychodil
27601eed24
Merge branch 'feature/ut-fatfs-not-ignore-leading-spaces' into 'master'
...
fatfs/unittest: fatfs ignores leading spaces
Closes IDF-5896
See merge request espressif/esp-idf!20152
2022-09-30 14:38:56 +08:00
Laukik Hase
1fc3db23c1
Merge branch 'feature/wifi_prov_mgr_reprovision' into 'master'
...
wifi_prov_mgr: Added support for re-provisioning
Closes IDFGH-4111 and IDF-5714
See merge request espressif/esp-idf!20027
2022-09-30 14:08:18 +08:00
gauri patankar
c89686647d
esp_wifi:added hash key length validation
2022-09-30 10:40:27 +05:30
Martin Gaňo
7fb62d41d5
fatfsgen.py: omit cluster allocation when the file is empty
2022-09-29 16:18:56 +02:00
Martin Gaňo
41742c2369
fatfs: enabled reading sector size and sectors count from boot sector in rawflash
2022-09-29 16:16:36 +02:00
Kapil Gupta
cc6196ff6a
esp_wifi: Remove unnecessary function pointer from wpa_sm_init
2022-09-29 12:46:53 +00:00
Jakob Hasse
f33ac0a037
Merge branch 'feature/freertos_sim' into 'master'
...
FreeRTOS Single Core Simulator PoC
See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Wu Zheng Hui
511f1d7de4
Merge branch 'feature/update_esp32c6_rom_20220919' into 'master'
...
esp32c6: update freeze rom and memory related
Closes IDF-6022
See merge request espressif/esp-idf!20397
2022-09-29 19:17:57 +08:00
Martin Vychodil
e82adaaaf7
Merge branch 'feature/add-test-coverage-with-review' into 'master'
...
fatfs: add test coverage and comments to the fatfsgen.py related code
Closes IDF-5864
See merge request espressif/esp-idf!19986
2022-09-29 19:17:17 +08:00
Mahavir Jain
47fa64343f
Merge branch 'coredump_support_for_c2' into 'master'
...
espcoredump: Add support for esp32c2
Closes IDF-5050
See merge request espressif/esp-idf!20274
2022-09-29 19:13:27 +08:00
Darian
e925a1444a
Merge branch 'bugfix/intr_alloc_missing_critical_section_exit' into 'master'
...
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE (GitHub PR)
Closes IDFGH-8403
See merge request espressif/esp-idf!20398
2022-09-29 19:08:33 +08:00
Martin Gaňo
f995584a6d
fatfs: unittest fatfs ignores leading spaces
2022-09-29 12:22:53 +02:00
Mahavir Jain
16a123ce8f
Merge branch 'feature/mbedtls_private_cleanup' into 'master'
...
mbedtls: `MBEDTLS_PRIVATE` & `MBEDTLS_ALLOW_PRIVATE_ACCESS`-related cleanup
Closes IDF-5861
See merge request espressif/esp-idf!20163
2022-09-29 18:20:26 +08:00
harshal.patil
a976dd1608
protobuf-c: Update submodule to v1.4.1
2022-09-29 15:35:19 +05:30
David Cermak
ad0da9cd2b
lwip: Migrate unit tests to test_apps
2022-09-29 10:40:28 +02:00
zwl
8a221f0073
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
2022-09-29 16:26:10 +08:00
tgotic
1a73f5c174
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE
...
Closes https://github.com/espressif/esp-idf/pull/9867
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-09-29 14:20:43 +08:00
Jiang Jiang Jian
c61910c267
Merge branch 'bugfix/ble_light_sleep_enter_issue_master' into 'master'
...
Bugfix/ble light sleep enter issue
See merge request espressif/esp-idf!20337
2022-09-29 13:57:39 +08:00
Laukik Hase
d7eb2c7b4e
mbedtls: MBEDTLS_PRIVATE
& MBEDTLS_ALLOW_PRIVATE_ACCESS
-related cleanup
2022-09-29 10:13:14 +05:30
Laukik Hase
b7ae23856a
protocomm: MBEDTLS_PRIVATE
& MBEDTLS_ALLOW_PRIVATE_ACCESS
-related cleanup
2022-09-29 10:13:13 +05:30
Laukik Hase
9bc1cc706e
wifi_prov_mgr: Add support for re-provisioning
...
Closes https://github.com/espressif/esp-idf/issues/5978
2022-09-29 10:12:47 +05:30
wuzhenghui
357490267a
heap: update esp32c6 memory layout
2022-09-29 11:13:06 +08:00
wuzhenghui
66fb86972d
bootloader: update bootloader memory map
2022-09-29 11:13:06 +08:00
wuzhenghui
cf21dfa6a5
rom: update freeze rom and ld (20220919)
2022-09-29 11:13:06 +08:00
Marius Vikhammer
b5c6f4bf24
Merge branch 'bugfix/heap_test_realloc' into 'master'
...
heap: fix random alloc test timing out in CI
Closes IDFCI-1473
See merge request espressif/esp-idf!20365
2022-09-29 10:39:18 +08:00
Martin Gano
1b3fed3b5c
Merge branch 'feature/fatfsgen-enable-512-bytes-sector' into 'master'
...
fatfsgen.py: enabled 512 sized sectors
Closes IDF-5523
See merge request espressif/esp-idf!20344
2022-09-28 23:11:12 +08:00
Mahavir Jain
ed884fece6
espcoredump: enable tests for esp32c2 target
2022-09-28 20:41:01 +05:30
Mahavir Jain
a2db79eb26
espcoredump: add esp32c2 target in test_app
2022-09-28 20:41:01 +05:30
Mahavir Jain
9e6d181557
espcoredump: re-enable test_app build for esp32c2
2022-09-28 20:41:00 +05:30
Harshit Malpani
8fba04638b
espcoredump: Add support for esp32c2
...
This commit puts some code under SOC_RTC_MEM_SUPPORTED. This enables use of coredump in targets with no RTC memory support.
2022-09-28 20:41:00 +05:30
Shu Chen
45fb699542
Merge branch 'feature/openthread_flash_optimization' into 'master'
...
openthread: Add some flash optimization options
See merge request espressif/esp-idf!20290
2022-09-28 21:43:44 +08:00
WanqQixiang
1d826c7a2b
openthread: Add some flash optimization options for openthread component
...
openthread: use a certain version of esp_openthread_cli_extension managed component
2022-09-28 20:37:44 +08:00
Jiang Jiang Jian
dbdd8ee1a5
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected' into 'master'
...
bugfix/fix the issue that bt can not connect after ble connected
Closes IDFGH-4754 and AUD-4085
See merge request espressif/esp-idf!18542
2022-09-28 15:46:06 +08:00
Jakob Hasse
bfbbd9d790
feat(freertos): Added FreeRTOS POSIX/Linux Simulator
...
* Added port layer from the FreeRTOS POSIX port, added
additional port code for ESP-IDF.
* Created another hello world example using that POSIX
port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
Michael (XIAO Xufeng)
507864c4f1
sdio_slave: allow disabling highspeed mode
2022-09-27 18:38:35 +08:00
Martin Gaňo
943f96422b
fatfs: add test coverage and comments to the fatfsgen.py related code
2022-09-27 12:14:32 +02:00
morris
c91f693408
test: fix rmt iram case random failure
2022-09-27 18:03:21 +08:00
Mahavir Jain
7e57cdfcfb
Merge branch 'bugfix/wifi_prov_device_name' into 'master'
...
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0'
See merge request espressif/esp-idf!20340
2022-09-27 17:57:18 +08:00
Euripedes Rocha
56a54afae9
[tcp_transport] Bugfix: Remove unecessary mask_key check
...
- In the processing of WS payload the check for a valid mask_key was
made by checking for a valid address. The address is always valid and
the test is meaningless.
- Mask key is initialized in the process of header reading and set to 0
in case of mask not set.
2022-09-27 11:00:37 +02:00
Marius Vikhammer
1327a82b65
heap: fix random alloc test timing out in CI
2022-09-27 16:51:54 +08:00
Martin Gaňo
2a0ea8703d
fatfsgen.py: enabled 512 sized sectors
2022-09-27 10:18:52 +02:00
morris
88c0053172
Merge branch 'feature/esp32c6_bringup' into 'master'
...
ESP32C6: Introduce new chip target esp32c6
Closes IDF-5247
See merge request espressif/esp-idf!19286
2022-09-27 13:23:21 +08:00
Zim Kalinowski
04ecfacbdd
Merge branch 'feature/migrate-console-tests-to-pytest' into 'master'
...
console: move unit tests to pytest
Closes IDF-5568
See merge request espressif/esp-idf!20192
2022-09-27 00:44:52 +08:00
cjin
0d113fb609
update controller lib for bugfix on light-sleep
2022-09-26 21:25:48 +08:00
cjin
f289710ccf
fix ble compilation error
2022-09-26 20:51:13 +08:00
wuzhenghui
fca7d70e05
esp32c6: add minimal ci support
...
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Song Ruo Jing
1eb9a24a48
esp_system: Minor update for esp32c6
2022-09-26 20:32:13 +08:00
wuzhenghui
5115e31175
driver: Minor update for esp32c6
...
Leave TODO for esp_adc and legacy adc driver
HAL/SOC update for spi and i2s
2022-09-26 20:32:13 +08:00
wuzhenghui
fbc19fad70
memory_utils: Modify esp_ptr_in_diram_iram to be compatible with esp32c6
2022-09-26 20:32:13 +08:00
songruojing
a8b43d197f
esp32c6: skip esp_phy and esp_wifi support
2022-09-26 20:32:13 +08:00
wuzhenghui
6b6bb3a321
esp32c6: add wpa_supplicant support
2022-09-26 20:32:13 +08:00
wuzhenghui
22862d7eb2
esp32c6: add esp_gdb_stub support
2022-09-26 20:32:13 +08:00
wuzhenghui
4a86a6a258
esp32c6: add heap support
2022-09-26 20:32:13 +08:00
wuzhenghui
a7b549acca
esp32c6: add esp_pm support
2022-09-26 20:32:13 +08:00
wuzhenghui
62f9ddcb82
esp32c6: add newlib support
2022-09-26 20:32:13 +08:00
wuzhenghui
ff8dd1e1a8
esp32c6: add spi_flash support
2022-09-26 20:32:13 +08:00
wuzhenghui
23e37393a7
esp32c6: add esp_hw_support
2022-09-26 20:32:13 +08:00
wuzhenghui
21663bd0b9
esp32c6: add efuse support
2022-09-26 20:32:13 +08:00
wuzhenghui
68159feb10
esp32c6: add esp_rom support (rom version: esp32c6-20220901)
2022-09-26 20:32:04 +08:00
wuzhenghui
1c820b0a6d
esp32c6: add bootloader support
2022-09-26 20:24:52 +08:00
Mahavir Jain
a9f15d1556
Merge branch 'bugfix/fix_socket_leak' into 'master'
...
esp-tls: socket will be set to -1 and will not be closed
Closes IDFGH-8378
See merge request espressif/esp-idf!20333
2022-09-26 19:15:05 +08:00
Yuan Jian Min
9a97cfbffc
esp-tls: socket will be set to -1 and will not be closed
...
Closes https://github.com/espressif/esp-idf/issues/9847
2022-09-26 19:15:04 +08:00
Michael (XIAO Xufeng)
03d8059fa5
Merge branch 'feat/essl_extra_component' into 'master'
...
essl: move from esp-idf component to extra component
See merge request espressif/esp-idf!20221
2022-09-26 18:29:07 +08:00
Zim Kalinowski
c37ccfb84e
console: migrate console tests to pytest
2022-09-26 12:02:38 +02:00
Kapil Gupta
6729f870b9
wpa_supplicant: Prevent pmk flush for unspecified reasoncode
2022-09-26 15:09:48 +05:30
Isha Pardikar
57108a7ab1
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0', at the end, to ensure we adhere to the max name length as per spec.
2022-09-26 15:07:50 +05:30
Roland Dobai
d08898aabc
Merge branch 'fix/tools-gdbinit-with-elf-symbols' into 'master'
...
tools: fixed elf symbols load if gdbinit specified
Closes IDF-4991 and GCC-246
See merge request espressif/esp-idf!18089
2022-09-26 16:20:19 +08:00
Michael (XIAO Xufeng)
02a9de904a
essl: move from esp-idf component to extra component
2022-09-26 12:26:55 +08:00
Jin Cheng
da44fc9cbe
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-09-23 17:58:39 +08:00
Martin Vychodil
7d28abae4e
Merge branch 'feature/sdcard_custom_freq' into 'master'
...
[Storage] Enable SD card custom frequency setup
Closes IDFGH-7089
See merge request espressif/esp-idf!19038
2022-09-23 17:45:30 +08:00
Guillaume Souchere
1ecddf5678
Merge branch 'feature/heap_pytest' into 'master'
...
heap: move unit tests to pytest
Closes IDF-5591
See merge request espressif/esp-idf!20229
2022-09-23 17:44:14 +08:00
Chen Jian Hua
76834a767f
Merge branch 'bugfix/fix_ble_adv_tx_power_map' into 'master'
...
Fix ble adv tx power map
Closes IDFGH-8299
See merge request espressif/esp-idf!20225
2022-09-23 16:03:12 +08:00
Song Ruo Jing
82cbcf893a
Merge branch 'bugfix/fix_uart_fake_tx_done_temp_revert' into 'master'
...
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
See merge request espressif/esp-idf!20286
2022-09-23 15:53:45 +08:00
Guillaume Souchere
bf18a05a5f
unit-tests: Move the leak related tests from the heap component to test_utils
2022-09-23 09:49:09 +02:00
Guillaume Souchere
82c98c7f48
heap: Add test_apps configs
2022-09-23 09:49:09 +02:00
Guillaume Souchere
405c26da6d
heap: migrate unit tests to pytest
2022-09-23 09:49:07 +02:00
Rahul Tank
f39869fdf5
Merge branch 'bugfix/reorder_stack_deinit_function' into 'master'
...
Nimble: Removed extra deinit for flow timer
See merge request espressif/esp-idf!20124
2022-09-23 13:43:29 +08:00
Wan Lei
e352382aa8
Merge branch 'feature/no_return_Q_from_isr_for_slave' into 'master'
...
spi_slave: add new flag SPI_SLAVE_NO_RETURN_RESULT to bypass return descriptor from ISR
Closes IDF-5971
See merge request espressif/esp-idf!20164
2022-09-23 10:34:07 +08:00
morris
4cc763fbf0
Merge branch 'feature/mcpwm_update_compare_iram_safe' into 'master'
...
mcpwm: make set_compare_value iram safe
Closes IDFGH-8314
See merge request espressif/esp-idf!20254
2022-09-22 22:18:45 +08:00
Roland Dobai
2dcb19515a
Merge branch 'bugfix/fatfsgen-enable-lfn-for-nonascii' into 'master'
...
fatfsgen.py: use lfn record when forbidden character detected in the file name
Closes IDF-5981
See merge request espressif/esp-idf!20180
2022-09-22 18:15:25 +08:00
Mahavir Jain
787c69a2cc
Merge branch 'bugfix/add_so_linger_to_httpd_config' into 'master'
...
esp_http_server: Add struct linger in httpd_config_t
Closes IDFGH-8004
See merge request espressif/esp-idf!20142
2022-09-22 17:18:33 +08:00
Michael (XIAO Xufeng)
eb290ecd12
Merge branch 'doc/usj_sw_reset_alive_bbpll_doc' into 'master'
...
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
See merge request espressif/esp-idf!20096
2022-09-22 15:30:41 +08:00
Shreyas Sheth
48fd5bcda4
esp_wifi: Set AP rsnxe while connection
2022-09-22 12:42:38 +05:30
Song Ruo Jing
701e49278a
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
Introduced in 4e09d147b11ed8a094b5858642c9f60d658ef656
2022-09-22 14:30:39 +08:00
Darian
b39435647e
Merge branch 'feature/freertos_task_delay_test_refactor' into 'master'
...
FreeRTOS: Refactor vTaskDelay() tests
See merge request espressif/esp-idf!20271
2022-09-22 12:52:04 +08:00
Harshit Malpani
a3fd6d1070
esp_http_server: Add linger in httpd_config_t
...
Closes: https://github.com/espressif/esp-idf/issues/9514
2022-09-22 10:11:50 +05:30
morris
57562b3a55
Merge branch 'refactor/migrate_gdma_test_pytest' into 'master'
...
gdma: migrate ut to pytest
Closes IDF-5329
See merge request espressif/esp-idf!20281
2022-09-22 12:30:07 +08:00
jingli
42699637ec
soc: remove unused DR_REG_DPORT_END macro for c2/c3/s2/s3
2022-09-22 11:45:20 +08:00
jingli
cce2af9193
wifi/bt: fix part of modem module not reset when power up
2022-09-22 11:45:20 +08:00
Darian Leung
aaf7547665
freertos: Refactor vTaskDelay() and vTaskDelayUntil() unit tests
...
This commit refactors the existing vTaskDelayUntil() unit test according to
the FreeRTOS unit test guidelines, and adds a new vTaskDelay() unit test.
2022-09-22 11:27:29 +08:00
Darian Leung
193e30bbf7
freertos: Rename vTaskDelayUntil unit test file
2022-09-22 11:27:29 +08:00
Darian Leung
0d9d4f60df
freertos: Add unit test utilities
...
This commit adds "freertos_test_utils.h/c" that contains utility functions
used in FreeRTOS unit tests.
2022-09-22 11:27:29 +08:00
morris
09b511c578
Merge branch 'feature/esp32c6_gpio_sdm_bringup' into 'master'
...
gpio_sdm: bring up SDM driver on esp32c6
Closes IDF-5318
See merge request espressif/esp-idf!20158
2022-09-22 10:54:39 +08:00
morris
ff6855c4b1
gdma: migrate ut to pytest
2022-09-22 10:44:57 +08:00
morris
d609884407
Merge branch 'refactor/esp_rom_pytest' into 'master'
...
esp_rom: migrate ut to pytest
Closes IDF-5583
See merge request espressif/esp-idf!20258
2022-09-22 10:31:37 +08:00
Alexey Lapshin
29655fe22a
tools: fixed elf symbols load if gdbinit specified
...
ROM and bootloader symbols add to use in GDB (via 'idf.py gdb')
2022-09-21 22:39:03 +04:00
Michael (XIAO Xufeng)
a0bf87ee5d
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
...
Related to: https://github.com/espressif/esp-idf/issues/8507 , https://github.com/espressif/esp-idf/issues/8884
2022-09-22 01:36:06 +08:00
Jiang Jiang Jian
5a83ed8b27
Merge branch 'bugfix/bludroid_debug_esp32c2' into 'master'
...
Bugfix/bludroid debug esp32c2
See merge request espressif/esp-idf!20029
2022-09-22 00:07:10 +08:00
David Cermak
9e31c5077d
lwip: Document 32 bit NTP timestamp converstion to 64b time_t
2022-09-21 17:38:37 +02:00
Martin Gaňo
567f5f963c
fatfsgen.py: use lfn record when forbidden character detected in the file name
...
The file name is recorded as a LFN when it doesn't fit 8.3 pattern or if it contains characters prohibited in SFN
2022-09-21 15:22:51 +00:00
Martin Vychodil
72de7c512e
Merge branch 'bugfix/increase-total-files-in-dir' into 'master'
...
fatfsgen.py: Increase number of files in directory
Closes IDF-5970
See merge request espressif/esp-idf!20155
2022-09-21 23:22:38 +08:00
Jing Li
db1bbdafea
Merge branch 'bugfix/fix_c2_xtal_unstable_when_wakeup_from_sleep' into 'master'
...
esp_hw_support/esp32c2/rtc: fix c2 xtal unstable when wakeup from sleep
See merge request espressif/esp-idf!20272
2022-09-21 22:53:59 +08:00
Martin Vychodil
4799cc1439
Merge branch 'feature/nvs_partition_parse_tool' into 'master'
...
tools: NVS partition parser
Closes IDF-4049
See merge request espressif/esp-idf!18107
2022-09-21 22:16:13 +08:00
morris
c99edc6715
mcpwm: make set_compare_value iram safe
...
Closes https://github.com/espressif/esp-idf/issues/9793
2022-09-21 13:37:49 +00:00
Martin Gaňo
b187fad076
fatfsgen.py: Increase number of files in directory
...
By starting the ID at the value 1, instead of ord('1') we increase the possible number of files by 49.
2022-09-21 13:30:05 +00:00
cjin
8e348c3f63
update ble controller lib for bugfix on esp32c2
2022-09-21 12:34:41 +00:00
cjin
42a07cf16b
fix err using rpa for confirmation calculation
2022-09-21 12:34:41 +00:00
cjin
872baad9b9
mbuf copy hci data error fix
2022-09-21 12:34:41 +00:00
cjin
b345e89b4a
fix on data len change cmd malfunction
2022-09-21 12:34:41 +00:00
jingli
04530d7112
esp_hw_support/esp32c2/rtc: take a safer xtal buf wait
2022-09-21 12:27:26 +00:00
Darian
9657e687e4
Merge branch 'feature/freertos_10.4.3_sync_various_functions' into 'master'
...
FreeRTOS: (Sync v10.4.3) Update various functions (Remerge)
See merge request espressif/esp-idf!20235
2022-09-21 16:04:06 +08:00
Rocha Euripedes
819dae8008
Merge branch 'feature/mqtt_cmakefile_cleanup' into 'master'
...
Mqtt: Cmakelists.txt file simplification.
See merge request espressif/esp-idf!19966
2022-09-21 15:21:07 +08:00
Jiang Jiang Jian
a0908b1764
Merge branch 'bugfix/fix_xtal32k_error_detect' into 'master'
...
esp_hw_support/clk_cali: fix xtal32k error detect
Closes BT-2621 and IDF-5788
See merge request espressif/esp-idf!19500
2022-09-21 13:50:56 +08:00
Gao Xu
1005c3b9d5
Merge branch 'feature/add_flash_copy_to_psram_example' into 'master'
...
system: add an example showing moving Flash content to PSRAM feature
Closes IDF-5156
See merge request espressif/esp-idf!19340
2022-09-21 12:15:19 +08:00
Rahul Tank
c40fcb1089
Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process
2022-09-21 09:40:56 +05:30
wanlei
ee6d3de128
spi_slave: add a flag SPI_SLAVE_NO_RETURN_RESULT to bypass return descriptor from ISR
...
if using this flag, driver willn't return the trans-done descriptor from ISR, so
`spi_slave_get_trans_result()` shouldn't be called.
besides, callback is the only way to know transaction status in that case, so a
`post_trans_cb` will be checked mandatory.
2022-09-21 11:56:27 +08:00
Ivan Grokhotkov
4a69a3f7ef
Merge branch 'feature/cmake_use_new_features' into 'master'
...
cmake: use features introduced between 3.5 and 3.16
Closes IDF-5955
See merge request espressif/esp-idf!19819
2022-09-21 11:05:06 +08:00
jingli
60c1811433
esp_hw_support/clk_cali: remove redundant check for cali value
2022-09-21 03:03:25 +00:00
jingli
05a2fbe810
esp_hw_support/clk_cali: fix xtal32k error detect
2022-09-21 03:03:25 +00:00
Jiang Jiang Jian
292fe7c57f
Merge branch 'bugfix/ble_light_sleep_error_on_esp32c2_master' into 'master'
...
Bugfix/ble light sleep error on esp32c2 master
Closes BLE-161 and BLE-162
See merge request espressif/esp-idf!20248
2022-09-21 10:53:18 +08:00
morris
65767769a9
esp_rom: migrate ut to pytest
2022-09-21 10:42:13 +08:00
Darian
5f85f507fb
Merge branch 'feature/freertos_test_reorganization' into 'master'
...
FreeRTOS: Add test reorganization guidelines and initial batch of refactored tests
Closes IDF-5997
See merge request espressif/esp-idf!20233
2022-09-21 00:36:51 +08:00
Kapil Gupta
2bbd5ea69c
Merge branch 'bugfix/wps_connect_to_open_ap' into 'master'
...
esp_wifi: bugfix wps connect to open AP
See merge request espressif/esp-idf!20247
2022-09-20 23:59:47 +08:00
Mahavir Jain
44bee0acfd
Merge branch 'bugfix/esptool_secure_boot_signing_key_path' into 'master'
...
esptool: (re)populate the secure boot signing key path
Closes IDFGH-8075
See merge request espressif/esp-idf!20218
2022-09-20 22:26:34 +08:00
Mo Fei Fei
ec680a2a82
Docs: Add CN translation for nvs_partition_parser/README.rst
2022-09-20 14:02:23 +00:00
Matus Fabo
1c6edff560
add: data classes for parsing NVS binary data
...
add: functions to print formatted NVS data
add: color support via ANSI escape sequences
add: documentation
2022-09-20 14:02:23 +00:00
Jash Gujarathi
ee493e0b45
Merge branch 'bugfix/fix_sta_scan_when_already_connected' into 'master'
...
esp-wifi: Restores station status to connected when no other AP is found for roam
Closes WIFI-4785
See merge request espressif/esp-idf!20120
\[WiFi\]Fixed the bug that station connected to an AP already connected caused subsequent scan fail.
2022-09-20 20:59:44 +08:00
Kapil Gupta
1cfd20c476
Merge branch 'bugfix/wps_connection_optimization' into 'master'
...
wpa_supplicant: Use channel from WPS scan for WPS connect
See merge request espressif/esp-idf!20184
2022-09-20 20:09:31 +08:00
Island
cfbdc55717
Merge branch 'bugfix/lpn_not_recv_message_to_all_node' into 'master'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes
See merge request espressif/esp-idf!19711
2022-09-20 20:03:08 +08:00
Marius Vikhammer
0b0a541c7d
Merge branch 'feature/pthread_pytest' into 'master'
...
pthread: migrate unit tests to pytest test app
Closes IDF-5600
See merge request espressif/esp-idf!20188
2022-09-20 17:58:20 +08:00
Ivan Grokhotkov
66554aa215
cmake: remove unused defines from several host test apps
...
These macros are seemingly only used in the NVS host test, and are not
necessary in the other host test apps.
2022-09-20 11:35:45 +02:00
Ivan Grokhotkov
c392c06216
cmake: remove -D prefix from COMPILE_DEFINITIONS property
...
Unlike COMPILE_OPTIONS, COMPILE_DEFINITIONS CMake property assumes
values without the -D prefix, such as NAME or NAME=VAL.
Previously, IDF build system was passing COMPILE_DEFINITIONS build
property to CMake COMPILE_OPTIONS property, so -D prefix was not
a problem.
Now that COMPILE_DEFINITIONS CMake property is used, -D prefix has
to be removed.
(Note that this doesn't affect 'target_compile_definitions' function,
which strips -D prefix before adding the definition to the property.)
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
237b2ce40c
cmake: use target_link_options and _directories supported since 3.13
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
The code to deduplicate the directories can be removed since this is
handled by target_link_directories.
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
72b8ff7f87
cmake: use the ternary generator expressions supported since 3.8
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
2022-09-20 11:08:02 +02:00
Darian Leung
c126b910b6
freertos: Expand CONFIG_FREERTOS_SMP description
...
This commit adds more details to the CONFIG_FREERTOS_SMP option's description.
2022-09-20 16:46:43 +08:00
Darian Leung
882515fcef
freertos: Add priority scheduling unit tests
...
This commit adds a priority scheduling unit test to test that the scheduler
always schedules the highest priority ready state task. Single core and SMP
variants of the test are both added.
2022-09-20 16:46:43 +08:00
Darian Leung
188c21319d
freertos: Add test reorganization README.md and portTestMacro.h
...
This commit adds a README.md containing guidelines on how to refactor the
FreeRTOS unit tests for upstreaming. A portTestMacro.h header was also added
which contains port implementation specific macros used by the test cases.
2022-09-20 16:46:43 +08:00
Mahavir Jain
59f79a7b92
Merge branch 'bugfix/parttool_commands_extra_partition_subtypes' into 'master'
...
parttool: fix parttool commands attribute parsing
Closes IDF-5879
See merge request espressif/esp-idf!20122
2022-09-20 16:22:53 +08:00
Jiang Jiang Jian
19759d5d33
Merge branch 'bugfix/acl_buf_ocf_and_conn_fail' into 'master'
...
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests
Closes ESPCS-855
See merge request espressif/esp-idf!19794
2022-09-20 15:12:14 +08:00
Chen Jian Hua
6014e92a8d
Merge branch 'bugfix/fix_ble_gen_rpa_by_host' into 'master'
...
Bluedroid: fix ble rpa generate and update by host
See merge request espressif/esp-idf!19617
2022-09-20 14:49:26 +08:00
zwl
16c8a369e6
fixed wifi can't be connected after enable bt sleep mode
2022-09-20 14:44:00 +08:00
Shreyas Sheth
d12351f7a6
esp_wifi: bugfix wps connect to open AP
...
Set Mac address in correct field
2022-09-20 11:43:53 +05:30
Wang Meng Yang
02aad58856
Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed' into 'master'
...
Fixed BLE disconnection issue when channel map instant passed due to bad channels
Closes BT-2764, BT-2730, and BT-2649
See merge request espressif/esp-idf!20189
2022-09-20 14:13:27 +08:00
harshal.patil
aca27c8db2
parttool: fix extra_partition_subtypes attribute parsing
2022-09-20 11:28:52 +05:30
jgujarathi
9e44dde2cd
esp_wifi : updated the wifi lib to fix the printf issue on esp32c2
2022-09-20 05:45:30 +00:00
jgujarathi
b5b1a1f31d
esp-wifi : Adds the status connected for station, when the station is already connected to the ap of the same bss- wifi-4785
2022-09-20 05:45:30 +00:00
zwl
f42eed9491
fixed ble can't enter light sleep
2022-09-20 12:08:09 +08:00
Jiang Jiang Jian
9d8d118397
Merge branch 'feature/add_mesh_support_macro' into 'master'
...
ble_mesh: docs: Remove BLE Mesh related reference for C2
Closes IDF-4215
See merge request espressif/esp-idf!19513
2022-09-20 11:06:25 +08:00
Jiang Jiang Jian
09f7589ef2
Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err' into 'master'
...
Fixed extend adv tx power range error
See merge request espressif/esp-idf!20191
2022-09-20 10:45:25 +08:00
Jiang Jiang Jian
7df49f05c3
Merge branch 'bugfix/so_linger_close_wait_forever' into 'master'
...
lwip: Fix close() might block forever if SO_LINGER=y
Closes IDF-5851
See merge request espressif/esp-idf!20216
2022-09-20 10:44:49 +08:00
morris
6f1d1409d1
Merge branch 'bugfix/tinyusb_corrected_typo_naming_of_acm' into 'master'
...
tinyusb: fix typo naming of ACM
See merge request espressif/esp-idf!20212
2022-09-20 10:31:21 +08:00
Darian Leung
7e49d67bad
freertos: Move some port functions into flash by default
...
This commit places some functions in port.c and port_common.c into flash by
default. These functions are mostly called once during startup, thus shouldn't
affect applications much when placed into flash instead of the default IRAM.
2022-09-19 23:35:25 +08:00
Darian Leung
aa5d74410b
freertos: Synchronize tasks.c functions (minor changes) to v10.4.3
...
This commit synchronizes multiple functions in tasks.c with upstream v10.4.3
that contain minor differences.
The following functions have had their parameter names or code formatting
updated:
- xTaskCreateStaticPinnedToCore()
- xTaskCreatePinnedToCore()
- prvInitialiseNewTask()
- prvTaskIsTaskSuspended()
- vTaskStartScheduler()
- xTaskResumeAll()
- xTaskCheckForTimeOut()
- uxTaskResetEventItemValue()
The following functions have had their missing "xAlreadyYielded" restored
- xTaskDelayUntil()
- vTaskDelay()
The following functions have had their critical section/interrupt disdable
usage update
- vTaskSuspendAll()
- xTaskGetTickCountFromISR()
- xTaskGetApplicationTaskTagFromISR()
2022-09-19 21:30:52 +08:00
Darian Leung
5742c194e1
freertos: Synchronize tasks.c functions (major changes) to v10.4.3
...
This commit synchronizes multiple functions that contain major differences with
upstream v10.4.3. Multi-core modifications are then reapplied to the function.
Vanilla code uses "pxTCB == pxCurrentTCB" to check whether a task is currently
running. This commit adds the following macros instead.
- taskIS_CURRENTLY_RUNNING()
- taskIS_CURRENTLY_RUNNING_ON_CORE()
The following functions have been updated to use those macros instead.
- eTaskGetState()
- vTaskPrioritySet()
- vTaskResume()
The following functions have been synchronized with upstream v10.4.3.
Multi-core modifications are then reapplied.
- vTaskSuspend()
- vTaskDelete()
- prvGetExpectedIdleTime()
2022-09-19 21:30:47 +08:00
Darian Leung
15d8fc0722
freertos: Restore xAlreadyYielded usage in event_groups
...
This commit restores xAlreadyYielded in various event_group functions to
synchronize with upstream v10.4.3.
2022-09-19 21:30:43 +08:00
Darian Leung
5352ba06fa
freertos: Synchronize xStreamBufferSend() to v10.4.3
...
This commit synchronizes xStreamBufferSend() with upstream v10.4.3.
2022-09-19 21:30:38 +08:00
Darian Leung
77f2eba57e
freeRTOS: Synchronize queue functions to v10.4.3
...
This commit synchronizes multiple functions in queue.c with upstream v10.4.3.
Multi-core modifications are then reapplied to these functions. The following
functions were modified:
prvNotifyQueueSetContainer()
xQueueGenericCreateStatic()
xQueueGenericCreate()
xQueueGetMutexHolder()
xQueueCreateCountingSemaphoreStatic()
xQueueCreateCountingSemaphore()
xQueueGenericSend()
xQueueGenericSendFromISR()
xQueueReceiveFromISR()
uxQueueMessagesWaiting()
prvUnlockQueue()
prvIsQueueFull()
xQueueAddToSet()
xQueueRemoveFromSet()
prvNotifyQueueSetContainer()
Note: The SEGGER_SYSVIEW traceQUEUE_SEND() macro was updated as the
xCopyPosition argument is no longer available in scenarios where the
macro is called.
2022-09-19 21:30:32 +08:00
Island
728654a6d4
Merge branch 'bugfix/memory_leak_init_deinit_blufi_example' into 'master'
...
Fix: blufi example memory leak while init and deinit
Closes BT-2798
See merge request espressif/esp-idf!20196
2022-09-19 20:28:07 +08:00
Marius Vikhammer
46c092c04a
pthread: migrate unit tests to pytest test app
2022-09-19 17:43:33 +08:00
Jiang Jiang Jian
5aeba87e51
Merge branch 'bugfix/change_mblock_size_on_esp32c2' into 'master'
...
change block1 size and num for esp ble controller
Closes BLE-157
See merge request espressif/esp-idf!20183
2022-09-19 17:21:53 +08:00
Euripedes Rocha
736424c366
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-09-19 09:11:15 +00:00
Mahavir Jain
64129c2e51
Merge branch 'ci/migrate_mbedtls_unit_test_app' into 'master'
...
ci: Migrate mbedtls unit tests from unit-test-app to component-test-app
Closes IDF-5593
See merge request espressif/esp-idf!19783
2022-09-19 16:52:02 +08:00
Mahavir Jain
ca851c87cf
esptool: (re)populate the secure boot signing key path
...
For project with reduced component list, secure boot signing key
path was not getting correctly. This change sets the secure boot
signing key path explicitly based on the relevant config option.
Closes https://github.com/espressif/esp-idf/issues/9578
Close IDFGH-8075
2022-09-19 11:43:34 +05:30
Marius Vikhammer
cb48a7b9f9
Merge branch 'feature/ulp_fsm_adc_s3' into 'master'
...
ulp-fsm: Update ulp-fsm ADC example with S3 support
Closes IDFGH-6299
See merge request espressif/esp-idf!19924
2022-09-19 14:08:33 +08:00
David Cermak
4959b0a213
lwip: Fix close() might block forever if SO_LINGER=y
...
* Update submodule: git log --oneline ec115c720b8909364ec5898dc5cc430cc898192d..316cfc17ce24f2d5d65c9f28251ec43a59a74cb1
Detailed description of the changes:
- tcp/close: Fix clean socket closure when lignering (espressif/esp-lwip@316cfc17 )
- tcp_in: Fix incomplete closure if linger active (espressif/esp-lwip@8b599aa1 )
- ci: Introduce lwip test apps (espressif/esp-lwip@0866f578 )
2022-09-19 07:21:21 +02:00
satish.solanke
77b8276578
Fix: blufi example memory leak while init and deinit
2022-09-19 10:17:50 +05:30
gaoxu
0909f5b230
system: don't disable cache if Flash .text and .rodata are moved to PSRAM
2022-09-19 12:23:23 +08:00
chenjianhua
940ee1f7f4
fix ble adv tx power map
2022-09-19 12:02:40 +08:00
jiangguangming
e147629a02
tinyusb: fix typo naming of ACM
2022-09-19 11:49:21 +08:00
Marius Vikhammer
29830f609d
Merge branch 'docs/misc_broken_link_fixes' into 'master'
...
docs: fixed misc broken links
See merge request espressif/esp-idf!20208
2022-09-19 10:58:58 +08:00
Marius Vikhammer
8540e7a772
docs: fixed misc broken links
2022-09-18 15:03:39 +08:00
Island
f25af53077
Merge branch 'bugfix/relay_friend_cred_message' into 'master'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable.
See merge request espressif/esp-idf!19753
2022-09-18 14:31:05 +08:00
harshal.patil
317eeddce4
fix: memory leaks check added
2022-09-17 14:31:36 +05:30
harshal.patil
146f101289
ci: Migrate mbedtls unit tests from unit-test-app to component-test-app
2022-09-17 14:31:36 +05:30
morris
a2c132c5c3
Merge branch 'docs/update_wakeup_gpio_esp32s2_esp32s3' into 'master'
...
docs: update gpios serving as wakeup source in esp32s2 and esp32s3
Closes DOC-3461
See merge request espressif/esp-idf!20161
2022-09-17 16:25:29 +08:00
morris
f6eba4ccfe
gpio_sdm: bring up SDM driver on esp32c6
2022-09-17 16:15:56 +08:00
morris
b562754a2f
rmt: support esp32c6
2022-09-17 04:56:49 +00:00
morris
c71bd0e4fa
rmt: disable rc_fast clock when it's used up
2022-09-17 04:56:49 +00:00
Martin Gano
e9d7340f3b
Merge branch 'bugfix/fatfsgen-enable-multiple-dots' into 'master'
...
fatfsgen.py: Enable multiple dots in lfn filename
Closes IDF-5969
See merge request espressif/esp-idf!20153
2022-09-17 01:27:43 +08:00
Kevin (Lao Kaiyao)
740a8b5729
Merge branch 'test/add_i2s_tdm_full_duplex_test_app' into 'master'
...
test: add i2s tdm full duplex multi device test app
Closes IDFGH-8003
See merge request espressif/esp-idf!19904
2022-09-17 00:57:21 +08:00
Darian
03b25c6a0d
Merge branch 'bugfix/riscv_interrupt_function_naming' into 'master'
...
riscv: Fix interrupt function naming and redundancy
See merge request espressif/esp-idf!19251
2022-09-17 00:33:33 +08:00
Darian
6d29411db6
Merge branch 'refactor/rename_usb_host_hal_to_dwc2' into 'master'
...
USB Host: Rename struct/ll/hal file and functions to use "usb_dwc" prefix
See merge request espressif/esp-idf!20033
2022-09-17 00:23:44 +08:00
zwj
f95c347013
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-16 21:25:22 +08:00
Jiang Jiang Jian
cef946eea6
Merge branch 'bugfix/fix_send_eapol_key_request_frame_when_wpa_group_handshake_issue' into 'master'
...
Bugfix/fix send eapol key request frame when wpa group handshake issue
Closes ESPCS-842, IDFGH-6592, and IDFGH-5563
See merge request espressif/esp-idf!19905
2022-09-16 20:34:40 +08:00
Martin Gaňo
53c2ea2d08
fatfsgen.py: enable multiple dots in the long file name
2022-09-16 13:50:12 +02:00
wangjialiang
6e79d05814
ble_mesh: docs: Remove BLE Mesh related reference for C2
2022-09-16 19:39:51 +08:00
Linda
4723974419
docs: update gpios serving as wakeup source in esp32s2 and esp32s3
2022-09-16 11:23:53 +00:00
Martin Vychodil
952c0f7b23
Merge branch 'bugfix/fatfsparse-fix-ignoring-first-file' into 'master'
...
fatfsparse.py: Fixed ignoring first file in directory
Closes IDF-5968
See merge request espressif/esp-idf!20145
2022-09-16 19:14:01 +08:00
laokaiyao
af0c0bd8ce
i2s: fix the data lagging of slave role
...
Closes https://github.com/espressif/esp-idf/issues/9513
2022-09-16 18:45:02 +08:00
wangyuanze
4d0ac129b4
test: add i2s tdm full duplex multi device test app
2022-09-16 18:45:02 +08:00
Zim Kalinowski
d9df69e815
Merge branch 'feature/bootloader_pytest' into 'master'
...
bootloader support: move unit tests to pytest
Closes IDF-5566
See merge request espressif/esp-idf!20157
2022-09-16 17:35:06 +08:00
chenjianhua
8598610ccd
bluedroid: fix ble rpa generate and update by host
2022-09-16 16:54:58 +08:00
Darian Leung
abf0bc13e6
riscv: Fix esprv_intc_int_set_threshold() naming
...
This commit fixes the function declaration naming from esprv_intc_set_threshold()
to esprv_intc_int_set_threshold(), thus allowing the underlying ROM funciton to be
exposed via the header.
2022-09-16 16:45:43 +08:00
Darian Leung
0c97fbd5ba
riscv: Remove redundant riscv_interrupts.h header
...
This commit removes the riscv_interrupts.h header is it has become redundant. The previously
exposed API has been handled as follows:
- "riscv_interrupt_enable()" and "riscv_interrupt_disable()" have been removed. These functions
were declarations only and never had any implementation.
- "riscv_global_interrupts_enable()" and "riscv_global_interrupts_disable()" renamed to
"rv_utils_intr_global_enable()" and "rv_utils_intr_global_disable()" respectively and now
placed in rv_utils.h
2022-09-16 16:45:43 +08:00
Darian Leung
d333833f59
usb_host: Rename struct/ll/hal symbols to use "usb_dwc" prefix
...
Following the file renaming to use the "usb_dwc" prefix, this commit
updates the symbol names of those files to use the "usb_dwc" as well.
Some LL functions were also renamed so that the register name is
mentioned.
2022-09-16 16:45:26 +08:00
Darian Leung
d8d4e3acb0
usb_host: Rename struct/ll/hal files to use "usb_dwc" prefix
...
This commit updates the DWC_OTG based struct/ll/hal file names to
use the prefix "usb_dwc". This naming scheme reduces ambiguity if
another USB controller implementation is added.
As a result, "hcd.c" has been renamed to "hcd_dwc.c"
2022-09-16 16:45:26 +08:00
Fu Hanxi
a42849f63c
Merge branch 'test/test_adc_on_dedicated_runners' into 'master'
...
ci: use adc dedicated test runners
See merge request espressif/esp-idf!19164
2022-09-16 15:58:36 +08:00
zwj
e9f4a4e92d
Fixed extend adv tx power range error
2022-09-16 15:45:40 +08:00
Mahavir Jain
961bdde289
Merge branch 'ci/migrate_esp-tls_unit_test_app' into 'master'
...
ci: Migrate esp-tls unit tests from unit-test-app to component-test-app
Closes IDF-5571
See merge request espressif/esp-idf!20099
2022-09-16 14:34:44 +08:00
morris
e8a356ec91
Merge branch 'feature/esp32c6_fast_gpio_bringup' into 'master'
...
fast_gpio: bring up fast gpio driver on esp32c6
Closes IDF-5331
See merge request espressif/esp-idf!20159
2022-09-16 14:17:40 +08:00
Jiang Jiang Jian
f03ec22327
Merge branch 'bugfix/fix_vhci_hack_for_external_bt' into 'master'
...
Nimble: Added check to not include VHCI buffer handling code if controller support is disabled
See merge request espressif/esp-idf!19876
2022-09-16 14:16:52 +08:00
Kapil Gupta
3c5c108fa8
wpa_supplicat: Use same channel as found in WPS scan for WPS connect
2022-09-16 10:58:03 +05:30
Kevin (Lao Kaiyao)
04b4bc6cb5
Merge branch 'feature/support_i2s_on_esp32c6' into 'master'
...
i2s: support i2s on esp32c6
See merge request espressif/esp-idf!19989
2022-09-16 12:31:24 +08:00
Armando
7be7a3e996
esp_adc: added comments to c3 test thresh, also sync to legacy tests
2022-09-16 03:21:29 +00:00
Armando
eee5085281
ci: use adc dedicated test runners for adc tests
2022-09-16 03:21:29 +00:00
Omar Chebib
4f1a9e436e
Merge branch 'feature/add_int_task_wdt_esp32c2' into 'master'
...
WDT: implement interrupt wdt and task wdt for ESP32-C2
Closes IDF-4035, IDF-4205, and IDF-5055
See merge request espressif/esp-idf!18918
2022-09-16 10:43:34 +08:00
Martin Gaňo
26f7f105c3
fatfsparse.py: Fixed ignoring first file in directory
...
Closes IDF-5968
2022-09-15 19:38:39 +02:00
Martin Vychodil
1146b83bf1
Merge branch 'feature/detect-wl-automatically' into 'master'
...
fatfsparse.py: enable automatic WL detection
Closes IDF-5903
See merge request espressif/esp-idf!20076
2022-09-16 00:23:50 +08:00
laokaiyao
bae4944b90
i2s: bringup i2s on esp32c6
2022-09-15 20:03:39 +08:00
Martin Vychodil
f644d71d26
Merge branch 'bugfix/fatfsgen-add-name-termination' into 'master'
...
fatfsgen.py: fixed missing NULL terminator
Closes IDF-5964
See merge request espressif/esp-idf!20130
2022-09-15 19:58:27 +08:00
laokaiyao
7197e987cb
i2s: add XTAL clock source
2022-09-15 19:32:06 +08:00
morris
77ce37f235
Merge branch 'feature/check_mcpwm_sync_direction' into 'master'
...
mcpwm: check sync direction is valid
See merge request espressif/esp-idf!20134
2022-09-15 19:05:57 +08:00
Martin Gaňo
30dd0fbf30
fatfsparse.py: enable automatic WL detection
2022-09-15 10:51:48 +00:00
wangjialiang
5242f63080
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-15 09:34:13 +00:00
wangjialiang
f736d9cb3f
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-15 09:27:10 +00:00
Mahavir Jain
98747ceeb6
Merge branch 'bugfix/fix_custom_certificate_test_case' into 'master'
...
mbedtls: fix custom certificate bundle test case
See merge request espressif/esp-idf!19758
2022-09-15 15:33:00 +08:00
Marius Vikhammer
7cef82e0df
bootloader support: move unit tests to pytest
2022-09-15 15:19:42 +08:00
Omar Chebib
6798bfc4b0
TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog
2022-09-15 14:37:59 +08:00
Omar Chebib
30d12af191
TWDT: refactor the TWDT to be driver agnostic
...
This refactoring brings a private API for the TWDT implementation, which
can now use a hardware timer (Timer Group) or a software timer (esp_timer)
2022-09-15 14:37:59 +08:00
Omar Chebib
53c7dd4efc
WDT: implement interrupt wdt and task wdt for ESP32-C2
...
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-09-15 14:37:59 +08:00
morris
fd325c9fa2
fast_gpio: bring up fast gpio driver on esp32c6
2022-09-15 11:02:31 +08:00
Martin Gaňo
131b28314e
fatfsgen.py: fixed missing NULL terminator
2022-09-14 16:55:13 +02:00
morris
5f550b2a13
rmt,gptimer: don't support rc_fast clock source for c6 and h2
...
The RC_FAST clock source on ESP32C6 and ESP32H2 can't be calibrated.
Which makes it impossible to work stable for peripherals like timer, RMT
2022-09-14 14:40:28 +00:00
zwl
9f940f14f6
change block1 size and num for esp ble controller
2022-09-14 20:02:09 +08:00
Harshit Malpani
d78fddd81a
mbedtls: fix custom certificate bundle test case
2022-09-14 14:20:29 +05:30
morris
52576faa9e
Merge branch 'bugfix/update_esp_rom_c6_caps' into 'master'
...
esp_rom: update esp32c6 rom caps
See merge request espressif/esp-idf!20133
2022-09-14 15:01:39 +08:00
harshal.patil
aaf8b5d98e
ci: Migrate esp-tls unit tests from unit-test-app to component-test-app
2022-09-14 12:03:49 +05:30
morris
1fc458b3f7
mcpwm: check sync direction is valid
2022-09-14 11:49:37 +08:00
Simon
2f13368c63
Merge branch 'feature/gd_e_hpm_support' into 'master'
...
spi_flash: Add GD25QxxE and ZBit flash HPM(120M) support
Closes IDF-5848
See merge request espressif/esp-idf!19741
2022-09-14 11:16:08 +08:00
jiangguangming
b2a1b13958
esp_rom: update esp32c6 rom caps
2022-09-14 10:38:54 +08:00
Wan Lei
f7748beb4d
Merge branch 'bugfix/spi2_add_device_cs_more_than_3' into 'master'
...
spi_master: fix error when use `spi_bus_add_device` add more than 3 devices
Closes IDFGH-7288
See merge request espressif/esp-idf!19798
2022-09-14 10:33:37 +08:00
Ivan Grokhotkov
16dbb8f249
Merge branch 'feature/ulp_binutils_multi_target' into 'master'
...
ulp: support the new multi-target ULP-FSM binutils
Closes IDFGH-4618
See merge request espressif/esp-idf!19818
2022-09-13 21:35:53 +08:00
wanlei
241f182408
spi_master: add test for spi_bus_add_device() more than 3 device
...
1.add 6 devices freely to check master can mount 6 devices
2.replace each one by a real device to check they can work
2022-09-13 19:20:07 +08:00
Zim Kalinowski
889b5fbea3
Merge branch 'bugfix/fix_tlsf_patch_esp32c2' into 'master'
...
TLSF: fix the patch for tlsf_check function in ROM
Closes IDFCI-1442 and IDFCI-1441
See merge request espressif/esp-idf!19839
2022-09-13 18:32:40 +08:00
Cao Sen Miao
421e77d773
spi_flash: Add several flash chips HPM(120M) support
2022-09-13 17:06:43 +08:00
Alexey Lapshin
a9bd454529
tools: update esp32ulp-elf to v2.35_20220830
...
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-13 12:55:48 +04:00
Mahavir Jain
f684ab62e5
Merge branch 'feature/esp_http_client_support_setting_server_common_name' into 'master'
...
tcp_transport: Add support of setting the common name for the TLS
Closes IDFGH-8194
See merge request espressif/esp-idf!20102
2022-09-13 16:06:46 +08:00
Song Ruo Jing
0b048387bc
Merge branch 'test/move_rtcio_test_to_test_app' into 'master'
...
rtcio: Move unit test to gpio test_apps
Closes IDF-5618
See merge request espressif/esp-idf!19919
2022-09-13 14:33:42 +08:00
Kevin (Lao Kaiyao)
8880d38522
Merge branch 'bugfix/add_error_check_for_esptimer_in_touch_sensor' into 'master'
...
touch_sensor: add esp_timer error check
Closes IDF-5905
See merge request espressif/esp-idf!20072
2022-09-13 14:09:18 +08:00
Aditya Patwardhan
4904d57fd9
esp_http_client: Added support to set server common name.
2022-09-13 05:31:43 +00:00
Aditya Patwardhan
ce32183749
tcp_transport: Add support of setting the common name fot the TLS
...
context
2022-09-13 05:31:43 +00:00
wangyuanze
ad8d6cdedd
rtcio: Move rtcio test cases from unit-test-app to gpio test_app, and enable the tests for ESP32S3
2022-09-13 12:13:51 +08:00
Song Ruo Jing
de0401047c
rtcio: Disable USB Serial JTAG pad when setting pins 19 and 20 as RTC function on ESP32S3
...
Similar to the fix in gpio lower layers, USB Serial JTAG pad should be disabled when the DM and DP pins want to be used as rtcio pins.
2022-09-13 12:13:51 +08:00
morris
a1030307f1
gptimer: bringup driver on esp32c6
2022-09-13 10:50:58 +08:00
Martin Gano
890a84dcc4
Merge branch 'bugfix/fix-corrpted-content-full-partition' into 'master'
...
fatfsparse.py: Limit the file content size to correct number
Closes IDF-5947
See merge request espressif/esp-idf!20048
2022-09-13 05:46:26 +08:00
Martin Vychodil
56f2001317
sdmmc/sdspi: allow custom setup of SD card frequency
...
In order to allow flexible setup of SD card frequency, sdmmc_host_t.max_freq_khz is used as a limit
Closes https://github.com/espressif/arduino-esp32/issues/6225
2022-09-12 17:08:36 +02:00
radek.tandler
723adae0ec
spiffs: convert host tests from Make to CMake
2022-09-12 14:14:09 +00:00
Martin Gaňo
37178dfa74
fatfsparse.py: limit the file content size to correct number
2022-09-12 14:13:03 +00:00
Ivan Grokhotkov
0332b8db07
Revert "Merge branch 'feature/freertos_10.4.3_sync_various_functions' into 'master'"
...
This reverts merge request !19761
2022-09-12 19:53:09 +08:00
Dai Zi Yan
3ca44d4d0f
Merge branch 'docs/update_get-started' into 'master'
...
docs: updated gpio and sync up line numbers
Closes DOC-3350 and DOC-3390
See merge request espressif/esp-idf!19959
2022-09-09 17:24:32 +08:00
Darian
c575dec8f3
Merge branch 'feature/freertos_10.4.3_sync_various_functions' into 'master'
...
freeRTOS: (Sync v10.4.3) Update various functions
See merge request espressif/esp-idf!19761
2022-09-09 15:53:44 +08:00
Armando (Dou Yiwen)
2c2384e39c
Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue' into 'master'
...
spi_bus_lock: fix a concurrency bug
Closes IDFGH-6528
See merge request espressif/esp-idf!19925
2022-09-09 15:42:24 +08:00
laokaiyao
91c2928ff5
touch_sensor: add esp_timer error check
2022-09-09 14:59:42 +08:00
daiziyan
49aaea7509
docs: updated gpio and sync up line numbers
2022-09-09 02:39:35 +00:00
gaoxu
5934ba731e
SPI: Fix SPI wrong dummy bits on ESP32H2
2022-09-09 01:54:53 +00:00
morris
96d03461ae
Merge branch 'feature/esp32c6_bringup_pcnt' into 'master'
...
pcnt: support esp32c6
Closes IDF-5806
See merge request espressif/esp-idf!19882
2022-09-09 08:58:16 +08:00
Martin Gano
99f836e07a
Merge branch 'feature/fatfsparse-enable-automatic-detection-wl-lfn' into 'master'
...
fatfsparse.py: enable automatic detection of lfn
Closes IDF-5622
See merge request espressif/esp-idf!20007
2022-09-09 01:10:43 +08:00
Omar Chebib
3ffa2ad39c
Merge branch 'feature/bootloader_date_log' into 'master'
...
Bootloader: print date and time to the banner on boot
Closes IDFGH-8229
See merge request espressif/esp-idf!20002
2022-09-08 22:39:18 +08:00
Tomas Rezucha
cf59a8a2bd
Merge branch 'feature/usb_v5_qol' into 'master'
...
usb: USB IDF v5 update
Closes IDF-4690 and IDF-5767
See merge request espressif/esp-idf!19875
2022-09-08 19:50:22 +08:00
Island
71bc1a28cc
Merge branch 'fix/DOC_3566' into 'master'
...
Updating doc for the issue doc_3566
Closes DOC-3566
See merge request espressif/esp-idf!19971
2022-09-08 19:27:18 +08:00
Jiang Jiang Jian
e2f57ecff1
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_and_esp32s3' into 'master'
...
Fixed some BLE controller bugs on ESP32-C3 and ESP32-S3
Closes BT-2760, BT-2733, BT-2687, BT-2588, BT-2574, BT-2470, and BT-2355
See merge request espressif/esp-idf!19970
2022-09-08 18:52:40 +08:00
morris
6539aa2275
pcnt: support esp32c6
2022-09-08 18:26:04 +08:00
Martin Gaňo
72acbeb921
fatfsparse.py: enable automatic detection of lfn
2022-09-08 10:53:04 +02:00
Omar Chebib
3a429b8b7a
Bootloader: print date and time to the banner on boot
...
* Closes https://github.com/espressif/esp-idf/issues/9718
2022-09-08 06:08:49 +00:00
Rahul Tank
95c057861d
Nimble: Added check to not include VHCI buffer handling code if
...
controller support is disabled
2022-09-08 05:52:34 +00:00
morris
892437d829
Merge branch 'bugfix/fix_touch_test_wdt_timeout' into 'master'
...
touch_sensor: fixed timer period
Closes IDFCI-1454
See merge request espressif/esp-idf!20018
2022-09-08 13:17:33 +08:00