Krzysztof Budzynski
d8ef56e630
Merge branch 'docs/update_docs_for_doc_751_v4.1' into 'release/v4.1'
...
docs: update the documents based on customer feedbacks (v4.1)
See merge request espressif/esp-idf!13960
2021-06-17 10:14:00 +00:00
Itay Perl
27fe437412
app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256
...
At -O2 optimization level, GCC seems to optimize out the copying of the
first byte of the checksum, assuming it is zero. This "miscompilation"
happens because the esp_app_desc struct is declared const, but then modified
post-compilation. Casting to volatile disables the optimization.
Closes: https://github.com/espressif/esp-idf/pull/6389
2021-06-17 17:32:49 +08:00
wangjialiang
bfcaa64b49
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-17 17:23:49 +08:00
morris
41c82efcb9
i2s: fix driver uninstall issue
2021-06-17 16:37:11 +08:00
Island
cb1a17e7ce
Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation... (v4.1)
See merge request espressif/esp-idf!13930
2021-06-17 07:20:12 +00:00
Renz Bagaporo
c97984de99
docs: remove quotes in ldgen documentation for adding fragment file
...
Closes https://github.com/espressif/esp-idf/issues/5142
2021-06-17 09:13:40 +02:00
laokaiyao
45ee699eae
driver/timer: only re-enable alarm in callback when auto reload is true
...
closes https://github.com/espressif/esp-idf/issues/7001
2021-06-17 10:37:32 +08:00
wangjialiang
4c453660ae
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-16 17:03:38 +08:00
Michael (XIAO Xufeng)
fd1a67dd61
Merge branch 'bugfix/spi_flash_cs_setup_v4.1' into 'release/v4.1'
...
spi_flash: fix cs line setup to make the flash driver more stable(backport v4.1)
See merge request espressif/esp-idf!13964
2021-06-16 07:36:06 +00:00
David Čermák
1f76c9014b
Merge branch 'bugfix/start_emac_after_phy_reset_v4.1' into 'release/v4.1'
...
esp_eth: restart negotiation in esp_eth_start (v4.1)
See merge request espressif/esp-idf!13700
2021-06-16 06:00:32 +00:00
Jiang Jiang Jian
84f3d3e69a
Merge branch 'bugfix/enable_pmf_in_iperf_test_v4.1' into 'release/v4.1'
...
iperf example: set PMF capable to connect to PMF required APs (v4.1)
See merge request espressif/esp-idf!13871
2021-06-16 04:39:17 +00:00
David Čermák
afb5248ec8
Merge branch 'bugfix/mdns_interface_del_crash_v4.1' into 'release/v4.1'
...
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets(Backport v4.1)
See merge request espressif/esp-idf!13855
2021-06-15 12:00:10 +00:00
Suren Gabrielyan
b1e5705bbd
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
...
Closes https://github.com/espressif/esp-idf/issues/6973
2021-06-15 16:54:44 +08:00
He Yin Ling
5438706922
Merge branch 'bugfix/example_test_socket_issue_4.1' into 'release/v4.1'
...
CI: example test socket issue (4.1)
See merge request espressif/esp-idf!13906
2021-06-15 08:48:27 +00:00
Michael (XIAO Xufeng)
cd99f0856c
Merge branch 'bugfix/freemodbus_change_max_task_prio_v41' into 'release/v4.1'
...
Bugfix/freemodbus change max task prio (backport v4.1)
See merge request espressif/esp-idf!13721
2021-06-15 07:55:03 +00:00
Cao Sen Miao
7180526645
spi_flash: fix cs line setup to make the flash driver more stable
2021-06-15 15:11:47 +08:00
Wang Fang
b9ca1e9b48
docs: update the documents based on customer feedbacks
2021-06-15 14:54:11 +08:00
Anton Maklakov
d7612c14c9
Merge branch 'ci/unify_all_target_test_artifacts_paths_v4.1' into 'release/v4.1'
...
ci: unify target test artifacts to all .log file and $LOG_PATH (v4.1)
See merge request espressif/esp-idf!13850
2021-06-11 07:32:59 +00:00
Island
a22cd6f542
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.1' into 'release/v4.1'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13917
2021-06-10 02:56:50 +00:00
Wang Meng Yang
1f075dc346
Merge branch 'bugfix/btdm_incorrectly_spelled_v4.1' into 'release/v4.1'
...
component/bt: fix Spelling mistakes (release v4.1)
See merge request espressif/esp-idf!12817
2021-06-09 10:05:53 +00:00
XieWenxiang
9daeddac0b
component/bt: Modify some ambiguous descriptions(release v4.1)
2021-06-09 14:14:18 +08:00
Island
4789575f49
Merge branch 'bugfix/bt_impersonation_passkey_fix_v4.1' into 'release/v4.1'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v4.1)
See merge request espressif/esp-idf!13760
2021-06-09 02:55:44 +00:00
Chen Yudong
dc433b50b0
test: fix socket issue in iperf example test
2021-06-08 17:20:32 +08:00
He Yin Ling
069182853e
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-06-08 17:20:18 +08:00
Chen Yudong
911cc3710b
CI: fix connection failures in asio example tests
2021-06-08 17:18:45 +08:00
xiewenxiang
a1f743772f
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:56:55 +08:00
Chinmay Chhajed
74b48f1df7
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-06-07 07:18:16 +00:00
Ivan Grokhotkov
935deb4082
Merge branch 'bugfix/idfpy_global_action_callbacks_order_v4.1' into 'release/v4.1'
...
idf.py: Run global_action_callbacks in predictable order (v4.1)
See merge request espressif/esp-idf!13683
2021-06-07 05:09:49 +00:00
Angus Gratton
1e84e87f7f
pthread: Fix possible deadlock when using pthread_join() and Debug log level
...
Possible for a joined task to be deleted at the moment it is logging,
meaning it might hold the stdout lock. In that case the lock isn't
released and the next task to try and take it (i.e. call printf)
will block indefinitely.
2021-06-07 02:15:36 +00:00
Wang Meng Yang
27a3d44f68
Merge branch 'bugfix/invalid_feat_page_exec_v4.1' into 'release/v4.1'
...
bt controller: Fixed handling for invalid feature page.
See merge request espressif/esp-idf!13573
2021-06-07 01:50:06 +00:00
He Yin Ling
381f2008ac
example: set PMF capable to connect to PMF required APs
2021-06-04 17:59:57 +08:00
Angus Gratton
3e664c8a80
Merge branch 'bugfix/override_cmake_python_v4.1' into 'release/v4.1'
...
cmake: Minor Python CMake build fixes (v4.1)
See merge request espressif/esp-idf!13196
2021-06-04 05:27:38 +00:00
Fu Hanxi
7b9f8c0e8c
ci: unify target test artifacts to all .log file and $LOG_PATH
2021-06-03 17:45:35 +08:00
David Čermák
90a763b5a8
Merge branch 'bugfix/websocket_example_error_handling_v4.1' into 'release/v4.1'
...
ci: Fix websocket example test error handling (v4.1)
See merge request espressif/esp-idf!13807
2021-06-03 05:42:15 +00:00
Alexey Gerenkov
ce04bc87e1
gcov: Fixes not linked gcov rtio functions
2021-06-02 22:17:56 +03:00
liaowenhao
eb36b63e7d
bugfix/fix crash when lmp flooding
2021-06-02 09:48:30 +00:00
baohongde
cf5d810bae
components/bt: Delete BLE ADV priority high
2021-06-02 09:48:30 +00:00
Chinmay Chhajed
a81a6c5471
bt controller: Fixed handling for invalid feature page.
2021-06-02 09:48:30 +00:00
wangmengyang
c08d81a91f
components/bt: fix PATH of libbtdm_app.a in build script
2021-06-02 09:48:30 +00:00
Angus Gratton
7e0abf78f9
Merge branch 'bugfix/partition_table_integrity_check_v4.1' into 'release/v4.1'
...
paritition_table: Verify the partition table md5sum when loading in the app (v4.1)
See merge request espressif/esp-idf!13584
2021-06-02 08:54:01 +00:00
Angus Gratton
8d1a99e026
paritition_table: Verify the partition table md5sum when loading the app
...
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).
The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-06-02 16:31:19 +10:00
Angus Gratton
e836297b55
Merge branch 'feature/idf_tools_github_mirror_v4.1' into 'release/v4.1'
...
Add GitHub mirror option for IDF tools installs (v4.1)
See merge request espressif/esp-idf!13766
2021-06-01 09:48:12 +00:00
Jakob Hasse
aba87df4f2
[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-06-01 07:38:50 +00:00
Angus Gratton
10785bc1e4
ci: Fix websocket example test error handling
...
If connection fails for websocket test, a second exception was generated in
__exit__
2021-06-01 17:18:56 +10:00
Jakob Hasse
ba11976efb
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-06-01 14:51:15 +08:00
Ivan Grokhotkov
7c6ada7f86
Merge branch 'feature/installed_tool_failed_v4.1' into 'release/v4.1'
...
tools: Warning about tool being installed but failed to run. (v4.1)
See merge request espressif/esp-idf!13232
2021-05-31 17:25:24 +00:00
Ivan Grokhotkov
931577bc11
Merge branch 'feature/ci_release_zips_v4.1' into 'release/v4.1'
...
ci: Use GitHub Actions to generate recursive source code zips for releases (v4.1)
See merge request espressif/esp-idf!13200
2021-05-31 17:23:16 +00:00
Ivan Grokhotkov
ee15d4c3af
Merge branch 'feature/IDF-2612_human_readable_error_v4.1' into 'release/v4.1'
...
export.bat/install.bat: print human-readable error message if Git or Python are not in PATH (v4.1)
See merge request espressif/esp-idf!13228
2021-05-31 17:22:22 +00:00
aleks
998b67094b
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-05-31 12:20:15 +02:00
Krzysztof Budzynski
bb2ce2cb4e
Merge branch 'bugfix/lwip_docs_delete_while_select_v4.1' into 'release/v4.1'
...
lw-IP: Add docs about not supported delete of task while blocked on select (v4.1)
See merge request espressif/esp-idf!13678
2021-05-31 02:36:14 +00:00