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
Angus Gratton
97b6b435a8
docs: Remove some uses of IDF_TARGET_NAME accidentally backported
2021-05-31 11:09:05 +10:00
daiziyan
c8906224fd
add CN translation for index.rst in get started section for MR10616
2021-05-31 11:08:00 +10:00
Anton Maklakov
fe3fd4d561
tools: windows installer: Modify IDF's archive mirror link
2021-05-31 11:06:19 +10:00
Ivan Grokhotkov
89568b73d6
tools: windows installer: add support for IDF_GITHUB_ASSETS
...
Adds a checkbox to download tools from dl.espressif.com mirror.
2021-05-31 11:06:19 +10:00
Angus Gratton
fd91bf4500
tools: Use GitHub download URLs for all files that can be downloaded from GitHub
2021-05-31 11:06:19 +10:00
Angus Gratton
f99c367e5d
idf_tools: Add option to replace all GitHub tools download URLs with dl.espressif.com
...
Via new IDF_GITHUB_ASSETS environment variable.
2021-05-31 11:06:19 +10:00
Michael (XIAO Xufeng)
fa34265c4b
Merge branch 'ci/decrease_flash_performance_thr_4.1' into 'release/v4.1'
...
ci: decrease the flash performance threshold (4.1)
See merge request espressif/esp-idf!13747
2021-05-28 09:10:29 +00:00
Michael (XIAO Xufeng)
1ddac24b0a
ci: decrease the flash performance threshold
2021-05-27 14:07:01 +08:00
baohongde
c0a586bdea
components/bt: Set discoverable after create server
2021-05-26 11:36:08 +08:00
He Yin Ling
4ae45ff756
Merge branch 'ci/ttfw_fix_dut_exception_not_added_to_junit_report_v4.1' into 'release/v4.1'
...
ttfw: fix DUT exception not added to junit report (v4.1)
See merge request espressif/esp-idf!13612
2021-05-26 03:12:19 +00:00
Jiang Jiang Jian
3c3eab0bd8
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop_v4.1' into 'release/v4.1'
...
esp_wifi: Fix setting channel error after WiFi stop (backport v4.1)
See merge request espressif/esp-idf!13449
2021-05-25 14:53:11 +00:00
Jiang Jiang Jian
2a63d1058e
Merge branch 'nimble/fix_ble_sm_sc_pub_key_v4.1' into 'release/v4.1'
...
NimBLE: Fix MITM vulnerability and free AES context (v4.1)
See merge request espressif/esp-idf!13598
2021-05-25 14:52:59 +00:00
Jiang Jiang Jian
3a12c7ee8d
Merge branch 'bugfix/ag_use_dynamic_memory_error_v4.1' into 'release/v4.1'
...
Fix ag use dynamic memory error
See merge request espressif/esp-idf!13552
2021-05-25 14:28:21 +00:00
Prasad Alatkar
3319702355
NimBLE: Fix MITM vulnerability and free AES context (v4.1)
2021-05-25 14:47:22 +05:30
xiongweichao
7c53e88b05
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-25 09:00:09 +00:00
xiongweichao
5b5a36a7b2
fix ag use dynamic memory error
2021-05-25 09:00:09 +00:00
David Cermak
6aa902c509
MQTT: Update submodule reference to support new config modes
...
* Queueing publish messages to outbox when the client is not connected (default=off -> messages are queued if disconnected)
* Use of incremental msg-id instead of random id (default=off -> msg-id uses platform_random())
* Posting a new event-id if a queued message gets deleted from the outbox (default=off -> events are not posted)
Detailed description of included `esp-mqtt` changes
(da850b0add1e71b3659bfac5d797cc834dc3e89b...9ea804e0ab5368d5ab53ae2301a5fec9d1f12f1a)
* mqtt: Remove unused mqtt_header_state_t
- esp-mqtt commit: b7158a4aea
- esp-mqtt MR: espressif/esp-mqtt!84
- Merges https://github.com/espressif/esp-mqtt/pull/180
* Cleanup public include dirs
- esp-mqtt commit: f65d5d05db
- esp-mqtt MR: espressif/esp-mqtt!85
* Config: Add a new option to use incremental message id
- esp-mqtt commit: 8bb4a26f46
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/176
* Publish: Add new API to enqueue qos>0 messages
- esp-mqtt commit: dc7fd5c0b1
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/155
* Config: Add a new option to disable publishing when disconnected
- esp-mqtt commit: f44dcb1c26
- esp-mqtt MR: espressif/esp-mqtt!85
- Related https://github.com/espressif/esp-mqtt/issues/177
* Events: Add new event to report deleted messages from outbox
- esp-mqtt commit: 2e35d4d4d5
- esp-mqtt MR: espressif/esp-mqtt!85
* Publish: Allow for qos=0 messages to be stored using esp_mqtt_client_enqueue()
- esp-mqtt commit: e2de0f3e3e
- esp-mqtt MR: espressif/esp-mqtt!85
2021-05-25 09:56:29 +02:00
morris
bf9587132b
esp_eth: restart negotiation in esp_eth_start
2021-05-25 15:26:09 +08:00
Sergei Silnov
83bda9f63e
Run global_action_callbacks in predictable order
2021-05-24 18:20:39 +02:00
David Cermak
bd3de5c295
lwip: Add docs about not supported delete of task while blocked on select
2021-05-24 15:11:09 +02:00
He Yin Ling
f01bfeddb9
ttfw: fix DUT exception not added to junit report
2021-05-20 16:48:17 +08:00
Island
ba35834ec8
Merge branch 'nimble/fix_host_flow_ctrl_v4.1' into 'release/v4.1'
...
NimBLE: Fix host flow control in NimBLE porting layer and host (release/v4.1)
See merge request espressif/esp-idf!13576
2021-05-19 09:50:15 +00:00
Prasad Alatkar
98116a627e
NimBLE: Update submodule to fix host flow control bugs.
2021-05-18 18:46:26 +05:30
Prasad Alatkar
842a55cda3
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-05-17 19:53:37 +05:30
Michael (XIAO Xufeng)
97a0523b34
Merge branch 'bugfix/timer_spinlock_iram_v4.1' into 'release/v4.1'
...
timer: add IRAM_ATTR to spinlock give/take API (v4.1)
See merge request espressif/esp-idf!13513
2021-05-15 17:21:27 +00:00
Marius Vikhammer
5241d68bf4
timer: add IRAM_ATTR to spinlock give/take API
...
Closes https://github.com/espressif/esp-idf/issues/6824
2021-05-13 16:07:01 +08:00
Jiang Jiang Jian
b1a5c00ee7
Merge branch 'bugfix/gtk_reinstallation_fix_v4.1' into 'release/v4.1'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.1)
See merge request espressif/esp-idf!13183
2021-05-13 07:35:05 +00:00
Hrudaynath Dhabe
e1af1fe126
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-05-13 15:34:58 +08:00
He Yin Ling
4f06532e80
Merge branch 'bugfix/python3_target_test_4.1' into 'release/v4.1'
...
ci: using python3 to tun target test (4.1)
See merge request espressif/esp-idf!13017
2021-05-11 09:13:33 +00:00
Angus Gratton
966e45598b
Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots_v4.1' into 'release/v4.1'
...
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd (v4.1)
See merge request espressif/esp-idf!13369
2021-05-11 02:10:07 +00:00
Alexey Gerenkov
49e26e05e9
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-10 16:22:43 +00:00
Jiang Jiang Jian
0f1801d6b4
Merge branch 'bugfix/backport_some_lwip_bugs_0428_v4.1' into 'release/v4.1'
...
lw-ip:backport bugfix lwip for v4.1(backport 4.1)
See merge request espressif/esp-idf!13377
2021-05-10 05:37:29 +00:00
Jiang Jiang Jian
d3f11b1e9d
Merge branch 'bugfix/fix_uart_set_rx_timeout_feature_v41' into 'release/v4.1'
...
Bugfix/fix uart set rx timeout feature (backport v4.1)
See merge request espressif/esp-idf!11538
2021-05-10 03:41:08 +00:00
Alex Lisitsyn
538117a904
Bugfix/fix uart set rx timeout feature (backport v4.1)
2021-05-10 11:41:02 +08:00
Angus Gratton
3a0652602a
cmake: Improve the error message if the Python interpreter fails to run
...
RESULT_VARIABLE will return a string not a number in this case, so display it
for the user.
2021-05-10 03:40:50 +00:00
Angus Gratton
b79fc8271f
cmake: Set IDFTOOL variable using the correct PYTHON interpreter variable
2021-05-10 03:40:50 +00:00
Angus Gratton
b8afe13b3a
cmake: Fix passing PYTHON path via CMake variable if using IDF as library
...
Closes https://github.com/espressif/esp-idf/issues/6285
2021-05-10 03:40:50 +00:00
Jiang Jiang Jian
099daf7873
Merge branch 'bugfix/fix_gpio_wakeup_light_sleep_backport_v4.1' into 'release/v4.1'
...
bugfix: gpio can't wakeup light sleep (backport v4.1)
See merge request espressif/esp-idf!12884
2021-05-10 03:37:28 +00:00