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