Angus Gratton
632796887e
cmake: Fix passing PYTHON path via CMake variable if using IDF as library
...
Closes https://github.com/espressif/esp-idf/issues/6285
2021-05-12 00:35:15 +00:00
He Yin Ling
4ba4b5780e
Merge branch 'bugfix/python3_target_test_4.0' into 'release/v4.0'
...
ci: using python3 to tun target test (4.0)
See merge request espressif/esp-idf!13241
2021-05-11 09:15:18 +00:00
Alexey Gerenkov
0d99d2a1a1
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-10 16:23:48 +00:00
Jakob Hasse
19eab31660
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-05-10 19:21:56 +08:00
Jiang Jiang Jian
fa1f7e112c
Merge branch 'feature/twdt_prints_backtrace_v4.0' into 'release/v4.0'
...
Add Task Watchdog backtrace printing (v4.0)
See merge request espressif/esp-idf!12618
2021-05-10 09:47:28 +00:00
Jiang Jiang Jian
f5c4e5e7d2
Merge branch 'bugfix/gtk_reinstallation_fix_v4.0' into 'release/v4.0'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.0)
See merge request espressif/esp-idf!13184
2021-05-10 08:33:46 +00:00
Jiang Jiang Jian
ce99b662c2
Merge branch 'bugfix/freemodbus_fix_event_processing_after_destroy_backport40' into 'release/v4.0'
...
freemodbus: fix event processing failure after destroy (backport v4.0)
See merge request espressif/esp-idf!9323
2021-05-10 08:30:45 +00:00
aleks
940e108c4b
freemodbus: fix event processing failure after destroy
...
Closes https://github.com/espressif/esp-idf/issues/5275
2021-05-10 08:43:42 +02:00
Kapil Gupta
39a3d1df8e
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-05-10 11:22:01 +05:30
Kapil Gupta
c5f0a609c8
wpa_supplicant: Prevent reinstallation of an already in-use group key
2021-05-10 11:22:01 +05:30
Jiang Jiang Jian
1ce0d7bcf4
Merge branch 'bugfix/scheduler_start_iram_v4.0' into 'release/v4.0'
...
freertos: move some of the initialization functions out of IRAM (v4.0)
See merge request espressif/esp-idf!11222
2021-05-10 04:36:16 +00:00
Jiang Jiang Jian
dba7cab2d9
Merge branch 'bugfix/spi_fix_duplex_switch_v4.0' into 'release/v4.0'
...
spi_master: fix duplex mode switch issue for multi devices (4.0)
See merge request espressif/esp-idf!11235
2021-05-10 04:13:28 +00:00
Jiang Jiang Jian
6b294bac4c
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop_v4.0' into 'release/v4.0'
...
esp_wifi: Fix setting channel error after WiFi stop ( backport v4.0)
See merge request espressif/esp-idf!13452
2021-05-10 03:18:32 +00:00
Jiang Jiang Jian
66b2b5f45c
Merge branch 'feature/nvs_allow_custom_part_4.0' into 'release/v4.0'
...
Feature/nvs allow custom part 4.0
See merge request espressif/esp-idf!9519
2021-05-10 03:13:47 +00:00
Darian Leung
29d6823d2f
Add Task Watchdog backtrace printing
...
This commit makes the Task Watchdog print the backtrace of both
cores when it times out.
2021-05-10 03:09:20 +00:00
Jiang Jiang Jian
676905709a
Merge branch 'bugfix/fix_uart_module_enable_issue_4.0' into 'release/v4.0'
...
driver(uart): fix uart module reset issue (release V4.0)
See merge request espressif/esp-idf!11971
2021-05-10 03:07:41 +00:00
Jiang Jiang Jian
b89b1ec022
Merge branch 'bugfix/ble_timeout_disconnected_no_report_v4.0' into 'release/v4.0'
...
Fix the issue that the controller do not report the timeout disconnect event
See merge request espressif/esp-idf!13468
2021-05-10 03:03:58 +00:00
Jiang Jiang Jian
763aa66036
Merge branch 'bugfix/generate_value_0_when_prov_auth_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix provisioning input or output count number should be at least 1 (v4.0)
See merge request espressif/esp-idf!13482
2021-05-08 12:54:53 +00:00
ChenJianxing
4a24cb7d8f
esp_wifi: fix some wifi bugs
...
1. Fix setting channel error after WiFi stop
2. Fixed issue of reason code change from 15 to 204 when provide wrong password
3. Fix set config return value error
4. Fix ampdu age timer memory leak
5. Add beacon timeout event
6. Ignore dirtyBuf check when buffer size is larger than 4092
7. Fix SoftAP not initiating 4-way handshake if max length passphrase is set
8. Fix esptouch find hidden AP fail
9. Clear AP Bss when auth timeout happens.
10.Fix not connect to open AP when WPA3 auth fail.
11.Fix esp_wifi_80211_tx when out of memory unlock mutex issue.
12.Fix esp_wifi_80211_tx can't be used in ap mode
13.Fix hidden AP scans after connecting AP
14.Fix watchdog happens when receiving action frame
2021-05-08 19:55:00 +08:00
Jiang Jiang Jian
9ee19a35b8
Merge branch 'bugfix/spp_data_send_delay_v4.0' into 'release/v4.0'
...
Bugfix/spp data send delay v4.0
See merge request espressif/esp-idf!11774
2021-05-08 09:47:23 +00:00
Jiang Jiang Jian
3907e8a067
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.0' into 'release/v4.0'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.0]
See merge request espressif/esp-idf!12558
2021-05-08 07:28:38 +00:00
Jiang Jiang Jian
5c0b14e167
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed_and_cancle_con_state_err_v4.0' into 'release/v4.0'
...
fix multi con pair failed and cancel con state error (backport v4.0)
See merge request espressif/esp-idf!13477
2021-05-08 07:28:10 +00:00
Jiang Jiang Jian
970dc8cf80
Merge branch 'mesh/esp_mesh_send_block_time_v4.0' into 'release/v4.0'
...
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send(backport v4.0)
See merge request espressif/esp-idf!13411
2021-05-08 07:05:53 +00:00
baohongde
09e665770f
components/bt: Add API to config QoS
2021-05-08 06:05:50 +00:00
baohongde
e1c9aafd46
components/bt: Add QOS for SPP, to decrease the delay from slave to master
2021-05-08 06:05:50 +00:00
wangjialiang
6826f9dbba
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-08 13:13:58 +08:00
zwj
eb9841e769
update con state when getting connection cancle complete
2021-05-08 03:42:02 +00:00
zwj
84df41cdf0
fix multi-connection pair failed
2021-05-08 03:42:02 +00:00
Jiang Jiang Jian
d4970113af
Merge branch 'example/aligenie_v4.0' into 'release/v4.0'
...
ble_mesh: add aligenie ble mesh example (backport V4.0)
See merge request espressif/esp-idf!11402
2021-05-08 03:17:31 +00:00
InfiniteYuan
89bff63443
ble mesh: add aligenie ble mesh example
2021-05-08 01:57:48 +00:00
liaowenhao
acbcf13ee5
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-05-07 23:23:38 +00:00
Wang Meng Yang
522103b43a
Merge branch 'bugfix/endianness_in_output_or_input_oob_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v4.0)
See merge request espressif/esp-idf!13257
2021-05-07 23:03:35 +00:00
wangjialiang
c0a397e0a2
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-05-07 13:32:20 +00:00
Yang Zhao
269e903f8c
Fix the issue that the controller do not report the timeout disconnect event.
...
This issue is caused by modem sleep.The sleep interrupt will come the second
time before the CLKN interrupt. If we disable the sleep interrupt when it
comes in the first time, the CLKN will never come.
2021-05-07 20:29:32 +08:00
Wang Meng Yang
755ae308d1
Merge branch 'bugfix/btdm_incorrectly_spelled_v4.0' into 'release/v4.0'
...
component/bt: fix Spelling mistakes (release v4.0)
See merge request espressif/esp-idf!12818
2021-05-07 09:35:00 +00:00
Jiang Jiang Jian
1fa03e6b25
Merge branch 'bugfix/backport_some_lwip_bugs_0428_v4.0' into 'release/v4.0'
...
lw-ip:backport bugfix lwip for v4.0(backport v4.0)
See merge request espressif/esp-idf!13376
2021-05-07 09:16:59 +00:00
XieWenxiang
1d1368858c
component/bt: Modify some ambiguous descriptions (release v4.0)
2021-05-07 08:08:39 +00:00
David Čermák
29b8bf0221
Merge branch 'bugfix/mqtt_examples_certificates_update_v4.0' into 'release/v4.0'
...
bugfix/mqtt examples: Updates the CA certificates used. (v4.0)
See merge request espressif/esp-idf!13128
2021-05-07 06:45:45 +00:00
Ivan Grokhotkov
6c6e4ca637
freertos: move some of the initialization functions out of IRAM
2021-05-07 04:32:49 +00:00
shenjun
ebf59642c2
esp_wifi_mesh: update wifi mesh libs
...
1. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2. Fix the issue that tx beacon interval become 1 minute
2021-05-07 11:56:03 +08:00
Armando
9e9ebed861
spi: fix duplex mode switch issue for multi devices
...
Closes https://github.com/espressif/esp-idf/issues/1080
2021-05-06 15:56:33 +08:00
Angus Gratton
5ba7202cc1
Merge branch 'bugfix/freertos_addition_overflow_v4.0' into 'release/v4.0'
...
freertos: Fix addition overflow (v4.0)
See merge request espressif/esp-idf!13425
2021-05-05 23:23:01 +00:00
Angus Gratton
728f0807f4
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:35:51 +10:00
Angus Gratton
beed6820f2
Merge branch 'bugfix/espsecure_args_v4.0' into 'release/v4.0'
...
esptool: Update to fix espsecure.py sign_data default version argument (v4.0)
See merge request espressif/esp-idf!13320
2021-05-03 05:57:27 +00:00
Angus Gratton
15f34b4cc2
ci: Use GitHub Actions to generate recursive source code zips for releases
...
We do this for all ESP-IDF releases, this step automates it.
Uses action added in https://github.com/espressif/github-actions/pull/10
2021-05-03 04:20:07 +00:00
Angus Gratton
d106141032
esptool: Update to fix espsecure.py sign_data default version argument
...
Regression in Secure Boot signing, reported at https://github.com/espressif/esp-idf/issues/6831
2021-05-03 04:19:31 +00:00
Euripedes Rocha
d12f023a32
bugfix/mqtt examples: Updates the CA certificates used.
...
- Updates the CA certificates.
- Updates the URI names to reflect the new URI in the service used in
the examples.
Closes IDFGH-4986
Closes https://github.com/espressif/esp-idf/issues/6776
2021-04-30 12:20:10 +00:00
Jiang Jiang Jian
14c7c49515
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v4.0' into 'release/v4.0'
...
[system]: Remove redundant othercore cache disable (backport v4.0)
See merge request espressif/esp-idf!13359
2021-04-30 06:00:35 +00:00
Jiang Jiang Jian
dd26a96a29
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.0' into 'release/v4.0'
...
backport v4.0: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13397
2021-04-30 02:50:23 +00:00
xueyunfei
bc6a98c12c
backport bugfix lwip for v4.0
2021-04-29 13:03:39 +00:00