Commit Graph

21814 Commits

Author SHA1 Message Date
Jiang Jiang Jian
41839b69bd Merge branch 'bugfix/fix_ble_sch_arb_assert_v4.4' into 'release/v4.4'
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3(backport v4.4)

See merge request espressif/esp-idf!19733
2022-08-25 13:44:20 +08:00
Rahul Tank
696760668a Nimble: Fixed memory corruption introduced in reconnection attempt code 2022-08-25 04:54:02 +00:00
Wang Meng Yang
134170a6fc Merge branch 'contrib/github_pr_9529_mr_v4.4' into 'release/v4.4'
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v4.4)

See merge request espressif/esp-idf!19692
2022-08-25 10:44:43 +08:00
Zim Kalinowski
5927bc2227 Merge branch 'bugfix/freertos_eventgroup_test_flakiness_v4.4' into 'release/v4.4'
freertos: Fix flakey event group unit tests (v4.4)

See merge request espressif/esp-idf!19528
2022-08-24 19:08:55 +08:00
Zim Kalinowski
5b1bedec2a Merge branch 'bugfix/remove_remaining_rom_time_t_dependencies_v4.4' into 'release/v4.4'
Newlib: Add workaround for ROM Newlib stdio functions using 32-bit time_t callpath (v4.4)

See merge request espressif/esp-idf!19684
2022-08-24 17:07:46 +08:00
Zim Kalinowski
72313054ad Merge branch 'bugfix/nvs_part_ptr_wrong_init_4.4' into 'release/v4.4'
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr (backport v4.4)

See merge request espressif/esp-idf!18672
2022-08-24 17:06:53 +08:00
Jiang Jiang Jian
954299a063 Merge branch 'bugfix/wps_connection_issue_v4.4' into 'release/v4.4'
wpa_supplicant: Fix WPS connection issue after WPS done (v4.4)

See merge request espressif/esp-idf!19720
2022-08-24 14:07:27 +08:00
Marius Vikhammer
ac043bfc91 Merge branch 'bugfix/gpio_wakeup_docs_v4.4' into 'release/v4.4'
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only (v4.4)

See merge request espressif/esp-idf!19740
2022-08-24 13:25:55 +08:00
Marius Vikhammer
228737d978 docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
ESP_SLEEP_WAKEUP_GPIO is also a valid deep sleep wakeup cause on targets
with SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP

Closes https://github.com/espressif/esp-idf/issues/9567
2022-08-24 10:50:59 +08:00
Island
e87caa8d75 Merge branch 'bugfix/ble_mesh_console_support_nimble_host_for_v4.4' into 'release/v4.4'
ble_mesh:ble mesh console support nimble(v4.4)

See merge request espressif/esp-idf!19604
2022-08-24 10:27:13 +08:00
Ivan Grokhotkov
300a4a16a5 Merge branch 'bugfix/add_signature_in_image_len_v4.4' into 'release/v4.4'
bootloader_support: consider signature sector in image length validation (v4.4)

See merge request espressif/esp-idf!19484
2022-08-23 20:19:52 +08:00
zwj
ad510c5099 Update BLE lib for ESP32-C3 and ESP32-S3
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-23 19:49:50 +08:00
zwj
fc4ffd144a fix extend adv set remove failed 2022-08-23 19:49:40 +08:00
Mahavir Jain
bfc927e258 Merge branch 'fix/fix_esp_rsa_sign_alt_modifying_input_params_v4.4' into 'release/v4.4'
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data... (v4.4)

See merge request espressif/esp-idf!19714
2022-08-23 19:05:22 +08:00
Aditya Patwardhan
606ada809a esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data when it is given directory from flash 2022-08-23 13:27:03 +05:30
Kapil Gupta
4d9c4fd7e1 wpa_supplicant: Fix WPS connection issue after WPS done
esp_wifi_disconnect is needed to clear the wifi state and enable
station to connect to new SSID. Add changes to call it after
WPS is done.
2022-08-23 13:09:32 +05:30
morris
23d5a582cb Merge branch 'bugfix/fix_rtc_clock_freq_value_macro_v4.4' into 'release/v4.4'
rtc_clk: Fix wrong RC_FAST and RC_SLOW clock frequency values on ESP32C3 and ESP32S3

See merge request espressif/esp-idf!19665
2022-08-22 15:54:32 +08:00
tgotic
810667fc1e update code to use osi_free() 2022-08-22 15:40:48 +08:00
tgotic
879466e0cb local copy of btc_msg_t
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 15:40:42 +08:00
Darian Leung
a45fcce631 newlib: Add workaround for printf functions using 32-bit time_t on first call
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d18).

However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).

Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.

This results in cantwrite() always returning false, thus the callpath described
above never being reached.

Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-22 11:56:51 +08:00
morris
2bce0a19f6 Merge branch 'bugfix/fix_esp32_psram_cs_hold_time_issue_when_under_80m_v4.4' into 'release/v4.4'
esp_psram: fix esp32 psram cs hold time issue when under 40m (v4.4)

See merge request espressif/esp-idf!19648
2022-08-21 15:10:57 +08:00
Zim Kalinowski
f3ddf105a4 Merge branch 'bugfix/fix_disassembler_interpreting_padding_v4.4' into 'release/v4.4'
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file (backport v4.4)

See merge request espressif/esp-idf!19609
2022-08-20 03:49:58 +08:00
David Cermak
bd0ec74c2e mdns: Fix add_service() to report error if no-hostname 2022-08-19 18:41:38 +02:00
ioio
350dd3798e bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
Added unit test case.

Closes https://github.com/espressif/esp-idf/pull/8755

Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2022-08-19 16:13:10 +02:00
Zim Kalinowski
0b0ca31386 Merge branch 'contrib/github_pr_9497_v4.4' into 'release/v4.4'
Move xSemaphoreGive out of configASSERT (GitHub PR) (v4.4)

See merge request espressif/esp-idf!19536
2022-08-19 21:06:43 +08:00
Zim Kalinowski
eebbc181e8 Merge branch 'staging/add_idf_as_lib_to_ci_v4.4' into 'release/v4.4'
CI: idf_as_lib is now run on all suported targets (backport v4.4)

See merge request espressif/esp-idf!19618
2022-08-19 21:05:49 +08:00
Zim Kalinowski
4bb3ebd6e5 Merge branch 'bugfix/update-doc-freertos-task-header_v4.4' into 'release/v4.4'
freertos: Update the documentation of the ulBitsToClearOnEntry parameter (v4.4)

See merge request espressif/esp-idf!19661
2022-08-19 21:04:47 +08:00
Erhan Kurubas
0784fd086a esp32s3: fix interrupt names used by SystemView 2022-08-19 14:42:45 +02:00
Erhan Kurubas
5245c53d7a replace CAN with TWAI in the esp_isr_names table 2022-08-19 14:39:37 +02:00
Jiang Jiang Jian
4851e0b9ca Merge branch 'bugfix/hfp_examples_not_work_with_default_sdkconfig_v4.4' into 'release/v4.4'
bugfix/set default number of sco connection to 1 (v4.4)

See merge request espressif/esp-idf!19587
2022-08-19 20:32:56 +08:00
Guillaume Souchere
c6aa0928ab freertos: Update the docuementation of the ulBitsToClearOnEntry parameter in xTaskGenericNotifyWait() function.
Closes https://github.com/espressif/esp-idf/issues/7207

The description of how the xTaskGenericNotifyWait parameter is handled in the
xTaskGenericNotifyWait() function was inaccurate.

In this commit, the description was updated to match the implementation of xTaskGenericNotifyWait().
2022-08-19 08:04:12 +02:00
Song Ruo Jing
b2f4fc022a rtc_clk: Fix wrong RC_FAST and RC_SLOW clock frequency values on ESP32C3 and ESP32S3 2022-08-19 12:21:11 +08:00
Armando
d08be42a53 esp_psram: fixed 40mhz cs signal glitch issue 2022-08-18 20:33:12 +08:00
Jiang Jiang Jian
91e6b5de70 Merge branch 'feature/sae_sta_h2e_v4.4' into 'release/v4.4'
esp_wifi: WPA3 SAE H2E support for station (backport v4.4)

See merge request espressif/esp-idf!18634
2022-08-18 17:56:31 +08:00
Omar Chebib
b5d2ee7ed4 CI: idf_as_lib is now run on all suported targets 2022-08-18 12:07:19 +08:00
Shreyas Sheth
756b46ca96 esp_wifi: WPA3 SAE H2E support for station
Mandate sta threshold wpa3 for ssid after receiving transition disable
bit from AP
2022-08-18 02:55:51 +05:30
Omar Chebib
3154abc66e (Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-08-17 14:58:36 +08:00
Yuan Hong Hui
d2eb652738 ble_mesh:ble mesh console support nimble 2022-08-17 14:34:04 +08:00
jincheng
d88544fd05 Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration
Due to the lack of synchronized connections, the hf_client can not create audio_connection to
hf_ag. Set default number of synchronized connection to 1.

Closes https://github.com/espressif/esp-idf/issues/9537
2022-08-17 10:14:50 +08:00
Roland Dobai
4c550fd79f Merge branch 'fix/install.ps1.v4.4' into 'release/v4.4'
Tools: Remove undefined variable from install.ps1 (v4.4)

See merge request espressif/esp-idf!19583
2022-08-16 22:19:41 +08:00
Roland Dobai
a1f0381797 Tools: Remove undefined variable from install.ps1
Closes https://github.com/espressif/esp-idf/issues/9556
2022-08-16 12:14:43 +02:00
morris
06ca9b6427 Merge branch 'bugfix/incorrect_base_addr_for_rtcio_on_esp32s3_v4.4' into 'release/v4.4'
rtci2c: Corrected the register base addr reference for RTC I2C on esp32s3 (v4.4)

See merge request espressif/esp-idf!19559
2022-08-16 10:51:06 +08:00
Ondrej Kosta
d9dda477b0 eth_iperf_test: improved regex to properly evaluate IP address 2022-08-15 16:07:33 +02:00
Sudeep Mohanty
6dcb5bd1d3 rtci2c: Corrected the register base addr reference for RTC I2C on esp32s3
This commit corrects the register base address reference for RTC I2C on
esp32s3.
2022-08-15 14:50:14 +02:00
tgotic
047d75eee5 rename xHoldSemaphore to result 2022-08-12 17:54:34 +08:00
tgotic
d96121221d Move xSemaphoreGive out of configASSERT
xSemaphoreGive won't be executed in configASSERT and semaphore will stay locked if NDEBUG (idf v5) or CONFIG_FREERTOS_ASSERT_DISABLE (idf v3, v4) are defined.
2022-08-12 17:54:29 +08:00
Darian Leung
b867b52770 freertos: Fix flakey event group unit tests
The event group unit tests would previously use a single call bit (the
"BIT_CALL" macro) to unblock all the test tasks. However, if one or more tasks
were delayed in calling xEventGroupWaitBits(), the other tasks would clear the
test bits, leading to the test deadlocking.

This commit updates the bits used so that each task gets their own CALL and
RESPONSE bits.
2022-08-12 16:54:59 +08:00
Jiang Jiang Jian
9d97b7ba50 Merge branch 'bugfix/bt_invalid_workqueue_num_v4.4' into 'release/v4.4'
Bluetooth:fixed the invalid workqueue number for BTU thread in Bluedroid(backport v4.4)

See merge request espressif/esp-idf!19510
2022-08-12 14:02:20 +08:00
Jiang Jiang Jian
34fbb676c7 Merge branch 'feature/optimize_chips_memory_allocation_backport_v4.4' into 'release/v4.4'
system: Optimize chips bootloader and heap memory allocation(backport v4.4)

See merge request espressif/esp-idf!19472
2022-08-12 11:19:06 +08:00
Jiang Jiang Jian
805b6af65d Merge branch 'bugfix/wifi_bt_use_same_clock_source_v4.4' into 'release/v4.4'
Fix Wi-Fi does not know that Bluetooth has modified the lpclk source(v4.4)

See merge request espressif/esp-idf!19408
2022-08-12 11:05:43 +08:00