Wang Meng Yang
01a11b2d0e
Merge branch 'bugfix/hf_disc_acl_no_disc_v4.1' into 'release/v4.1'
...
bugfix/acl can't disconnect when hfp_client disconnect [release/v4.1]
See merge request espressif/esp-idf!15058
2021-09-07 23:30:20 +00:00
morris
530b2b0f81
eth: dont warn nego timeout if link is down
2021-09-06 19:10:46 +08:00
morris
a5057f7202
emac: configure data interface early
2021-09-06 19:10:46 +08:00
Wang Meng Yang
c358ca07d4
Merge branch 'bugfix/bt_spp_timer_collision_v4.1' into 'release/v4.1'
...
Fix timer collision in role switch(v4.1)
See merge request espressif/esp-idf!14820
2021-09-06 08:24:04 +00:00
Mahavir Jain
659de924da
Merge branch 'feature/update_cjson_submodule_v4.1' into 'release/v4.1'
...
cJSON: Update submodule to v1.7.15 (v4.1)
See merge request espressif/esp-idf!15076
2021-09-06 06:39:01 +00:00
jincheng
f5e1d1c2bf
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-09-06 10:35:25 +08:00
Shubham Kulkarni
b9643ee59c
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-09-06 07:44:42 +05:30
Liu Han
895dbb90c2
expat: Update library from 2.2.9 to 2.4.1
2021-09-03 16:32:39 +08:00
jincheng
ba8f1e4b5c
fix acl can not disconnect when hf_client disconnect
2021-09-03 11:29:14 +08:00
Wang Meng Yang
907205a13a
Merge branch 'bugfix/btdm_fix_some_Document_Description_Error_v4.1' into 'release/v4.1'
...
component/bt: fix some ble document description error(backport v4.1)
See merge request espressif/esp-idf!14825
2021-09-03 01:40:26 +00:00
XieWenxiang
3ba43f4991
component/bt: fix some ble document description error
2021-09-01 20:46:14 +08:00
Kapil Gupta
789a7e5e5a
Merge branch 'bugfix/eap_client_windows' into 'master'
...
wpa_supplicant: clean tls client state machine
Closes IDFGH-5702, IDFGH-5662, and IDFGH-119
Closes https://github.com/espressif/esp-idf/issues/7422
Closes https://github.com/espressif/esp-idf/issues/1297
See merge request espressif/esp-idf!14968
(cherry picked from commit e8360fe075
)
d3a42d78
wpa_supplicant: clean tls client state machine
2021-09-01 19:15:02 +08:00
Alberto García Hierro
f1a024e374
Enable IO20 on ESP32
...
Some newer ESP32 variants (like ESP32-PICO-V3 and ESP32-PICO-MINI-02)
do implement this pin and it can be used as a normal GPIO.
Fixes #6016
Fixes #6837
Closes https://github.com/espressif/esp-idf/pull/6918
(cherry picked from commit 6deaefde69
)
2021-08-31 20:45:17 +08:00
Rahul Tank
12b50729ed
NimBLE: Check stack status before executing stack command
2021-08-27 20:53:19 +05:30
Alex Lisitsyn
1e309a3885
Merge branch 'bugfix/freemodbus_fix_mbm_event_processing_v41' into 'release/v4.1'
...
freemodbuss: fix event processing after merge (backport v4.1)
See merge request espressif/esp-idf!12824
2021-08-25 15:12:49 +00:00
Wang Meng Yang
47cc42f662
Merge branch 'component_bt/add_spp_faq_v4.1' into 'release/v4.1'
...
Component_bt/Add FAQ in SPP Demo README[backport v4.1]
See merge request espressif/esp-idf!14798
2021-08-23 05:15:26 +00:00
xiongweichao
367675be4e
components/bt: fix spp memory leak
...
Closes https://github.com/espressif/esp-idf/issues/7238
2021-08-19 14:41:06 +08:00
Mahavir Jain
f7563fffbe
Merge branch 'fix/warning_in_wifi_prov_mgr_v4.1' into 'release/v4.1'
...
provisioning: fix wifi warning in wifi_prov_mgr application (v4.1)
See merge request espressif/esp-idf!14765
2021-08-19 04:11:05 +00:00
Island
b7bc49e942
Merge branch 'bugfix/ble_mesh_cve_recommendation_v4.1' into 'release/v4.1'
...
ble_mesh: Update the SIG recommendations for CVE issues (v4.1)
See merge request espressif/esp-idf!14843
2021-08-18 12:41:33 +00:00
Harshit Malpani
1169a42e71
provisioning: fix wifi warning in wifi_prov_mgr application
...
Scan configuration parameters should not modify in co-existence mode.
2021-08-18 18:35:14 +08:00
lly
d272f830b2
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-18 10:58:56 +08:00
Chinmay Chhajed
3675409ee8
bt: Remove unused function esp_bt_get_mac.
2021-08-17 18:55:21 +05:30
liqigan
69b2100a13
add FAQ in SPP demo README
2021-08-17 15:19:31 +08:00
Wang Meng Yang
e589fdd18c
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value_v4.1' into 'release/v4.1'
...
component/bt: fix bluedroid host auto update PPCP attribute value(backport v4.1)
See merge request espressif/esp-idf!14750
2021-08-16 07:36:29 +00:00
Anton Maklakov
7c06467277
Merge branch 'ci/change_perf_key_v4.1' into 'release/v4.1'
...
ci: update performance test key to db compatible format (v4.1)
See merge request espressif/esp-idf!14656
2021-08-16 06:13:13 +00:00
Zim Kalinowski
e3081a08fa
Merge branch 'bugfix/add_critical_section_in_uart_driver_v4.1' into 'release/v4.1'
...
UART: add missing critical section wrappers around rx_buffered_len (backport v4.1)
See merge request espressif/esp-idf!14777
2021-08-14 02:55:31 +00:00
Omar Chebib
c10c604af9
uart: Add missing critical section wrappers around rx_buffered_len
...
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.
Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com>
Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-08-14 10:55:26 +08:00
Wang Meng Yang
52875ff2b2
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_v4.1' into 'release/v4.1'
...
Fix controller may miss the sleep time
See merge request espressif/esp-idf!14739
2021-08-13 09:17:44 +00:00
aleks
dfc509d3e4
freemodbus: fix invalid error handling for duplicate param_key
2021-08-13 10:40:25 +02:00
Zim Kalinowski
88340e04cd
Merge branch 'bugfix/freertos_ut_suspend_v4.1' into 'release/v4.1'
...
freertos: Increases delta for UT - Test suspend-resume CPU. The number of... (v4.1)
See merge request espressif/esp-idf!14632
2021-08-12 21:32:46 +00:00
Zim Kalinowski
2720bf0455
Merge branch 'bugfix/newlib_FD_ISSET_v4.1' into 'release/v4.1'
...
newlib: Fix a case in FD_ISSET macro when n==-1 (v4.1)
See merge request espressif/esp-idf!13692
2021-08-12 21:28:07 +00:00
Zim Kalinowski
b48b5e1829
Merge branch 'bugfix/otatool_imported_as_lib_v4.1' into 'release/v4.1'
...
otatool: Fix a crash when imported as external python lib (v4.1)
See merge request espressif/esp-idf!13668
2021-08-12 21:26:16 +00:00
XieWenxiang
cd671be627
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-11 18:06:44 +08:00
Yang Zhao
bca844c2f5
The controller may miss the sleep time caculated before. So it will stuck
...
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:28:24 +08:00
Zim Kalinowski
52b36b0ef9
Merge branch 'bugfix/esp_event_any_id_unregister_4.1' into 'release/v4.1'
...
ESP Event: fix unregister documentation (backport 4.1)
See merge request espressif/esp-idf!14432
2021-08-10 03:37:19 +00:00
Zim Kalinowski
c809c33caa
Merge branch 'bugfix/setjmp_longjmp_4.1' into 'release/v4.1'
...
[system]: Made longjmp save for context switch (backport v4.1)
See merge request espressif/esp-idf!13502
2021-08-10 03:35:12 +00:00
Wang Meng Yang
c4a519de29
Merge branch 'bugfix/spp_connect_20_fail_v4.1' into 'release/v4.1'
...
component_bt: fix spp acceptor deadlock
See merge request espressif/esp-idf!14107
2021-08-10 03:03:48 +00:00
Zim Kalinowski
05ed8331bc
Merge branch 'feature/twdt_prints_backtrace_v4.1' into 'release/v4.1'
...
Add Task Watchdog backtrace printing (v4.1)
See merge request espressif/esp-idf!12617
2021-08-10 02:42:43 +00:00
Zim Kalinowski
79566e087b
Merge branch 'feature/prevent_unwind_code_linking_4.1' into 'release/v4.1'
...
[C++]: wrapper functions around unwind code (backport 4.1)
See merge request espressif/esp-idf!13805
2021-08-09 21:39:47 +00:00
Zim Kalinowski
b5dc49fa3b
Merge branch 'docs/spi_max_transfer_sz_limit_v4.1' into 'release/v4.1'
...
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v4.1)
See merge request espressif/esp-idf!14254
2021-08-09 21:34:33 +00:00
Zim Kalinowski
80727f739a
Merge branch 'bugfix/prefetch_invalid_v4.1' into 'release/v4.1'
...
soc: add dummy bytes to ensure instr prefetch always valid (v4.1)
See merge request espressif/esp-idf!12995
2021-08-09 21:18:21 +00:00
Zim Kalinowski
9a0ae975c6
Merge branch 'bugfix/uart_sw_sw_flow_error_typo_v4.1' into 'release/v4.1'
...
uart: fix typo in error message (v4.1)
See merge request espressif/esp-idf!14615
2021-08-09 21:16:27 +00:00
Zim Kalinowski
783851f350
Merge branch 'feature/regi2c_add_lock_v4.1' into 'release/v4.1'
...
regi2c: add a spinlock for accessing (reg)I2C devices (v4.1)
See merge request espressif/esp-idf!13715
2021-08-09 21:15:51 +00:00
Zim Kalinowski
6ba4f298e3
Merge branch 'update/version_4_1_2' into 'release/v4.1'
...
Update version to 4.1.2
See merge request espressif/esp-idf!14553
2021-08-09 21:12:27 +00:00
xiongweichao
aec82dca51
fix spp acceptor deadlock
2021-08-09 11:06:12 +08:00
Darian Leung
57d8934707
Add Task Watchdog backtrace printing
...
This commit makes the Task Watchdog print the backtrace of both
cores when it times out.
2021-08-06 13:37:53 +08:00
Mahavir Jain
99c1ef8a32
Merge branch 'bugfix/fix_truncated_headers_for_esp_http_client_v4.1' into 'release/v4.1'
...
esp_http_client: Fix header truncated when responded header length over buffer_size (backport v4.1)
See merge request espressif/esp-idf!14385
2021-08-06 05:22:12 +00:00
Mahavir Jain
2331c1d59e
Merge branch 'feature/upgrade_mbedtls_to_v4.1' into 'release/v4.1'
...
mbedtls: upgrade to release v2.16.11 (v4.1)
See merge request espressif/esp-idf!14439
2021-08-06 05:18:12 +00:00
Mahavir Jain
5aa828a364
Merge branch 'fix/memory_leaks_identified_by_cppcheck_v4.1' into 'release/v4.1'
...
Fix/memory leaks identified by cppcheck (v4.1)
See merge request espressif/esp-idf!14503
2021-08-06 05:17:35 +00:00
Wang Meng Yang
f86a4c4cdb
Merge branch 'bugfix/fix_a2dp_sink_blocked_v4.1' into 'release/v4.1'
...
Bugfix/Fix a2dp Sink Blocked Bugs[backport v4.1]
See merge request espressif/esp-idf!14013
2021-08-06 03:20:00 +00:00
KonstantinKondrashov
ad073b5a1d
otatool: Fix a crash when imported as external python lib
...
Closes: https://github.com/espressif/esp-idf/issues/6733
2021-08-05 15:30:58 +08:00
Fu Hanxi
4357d05974
ci: update performance test key to db compatible format
2021-08-04 12:27:05 +08:00
KonstantinKondrashov
3b988e7f7d
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
2021-08-03 16:01:29 +05:00
Marius Vikhammer
ac8c621d24
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:28:53 +08:00
Omar Chebib
c27290f205
regi2c: add a spinlock for accessing (reg)I2C devices
...
When not compiling bootloader, a spinlock will be used for reading or writing
I2C internal devices/registers.
When compiling for bootloader, no need to use any lock.
2021-07-31 17:30:07 +08:00
Shubham Patil
fae314099d
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-30 16:34:15 +08:00
Wang Meng Yang
1b2ef2ea78
Merge branch 'bugfix/fix_scan_timeout_mr_4.1' into 'release/v4.1'
...
Fix the scan timeout report
See merge request espressif/esp-idf!14447
2021-07-29 07:59:27 +00:00
Michael (XIAO Xufeng)
4427586902
Merge branch 'test/flash_perf_thr_update_by_grafana_avg_v4.1' into 'release/v4.1'
...
ci: adjust spi_flash performance value according to more test data (v4.1)
See merge request espressif/esp-idf!14118
2021-07-29 06:44:31 +00:00
Michael (XIAO Xufeng)
8dcaedcf62
ci: adjust spi_flash performance value according to more test data
...
After we have the performance dashboard, we have more data and no longer depend on the threshold to ensure performance.
Set looser performance thresholds to avoid CI failure.
2021-07-29 14:44:26 +08:00
He Yin Ling
c198f34f48
versions: Update version to 4.1.2
2021-07-28 17:46:16 +08:00
aleks
2512f394ca
freemodbus: add affinity option for modbus stack tasks
2021-07-28 08:37:20 +02:00
Alex Henrie
06ea5da2c8
Fix memory leak on error path in register_select
...
And remove dead error handling code from unregister_select.
Closes https://github.com/espressif/esp-idf/pull/7296
2021-07-25 07:44:43 +05:30
Alex Henrie
7e7d4e291d
Fix memory leak on error path in http_header_set_format
2021-07-25 07:44:43 +05:30
Alex Henrie
88abe2a4cb
Fix memory leak on error path in md5_printf
2021-07-25 07:44:42 +05:30
chenjianqiang
59a07d40ad
psram: support for esp32-pico-v3-02
...
1. Support for 16Mbit PSRAM
2. Support for esp32-pico-v3-02
3. Use package identifier to look up SPI flash/PSRAM WP Pin, unless overridden
2021-07-22 18:19:23 +08:00
Roland Dobai
802eb855bc
Merge branch 'bugfix/link_gcov_rtio_backport_v4.1' into 'release/v4.1'
...
Bugfix/link gcov rtio backport v4.1
See merge request espressif/esp-idf!13834
2021-07-21 06:57:41 +00:00
Yang Zhao
23fddb4b48
This is to fix the hardware bug. The device may report scan event
...
timeout when scaning.If check this error,then reset the rwble core.
2021-07-20 20:44:50 +08:00
Mahavir Jain
1c4114a758
mbedtls: upgrade to release v2.16.11
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-20 14:33:27 +05:30
Jakob Hasse
afa8599a91
[esp_event]: fixed and improved docs
...
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function
Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-07-20 15:57:59 +08:00
Jiang Jiang Jian
c7b83717b0
Merge branch 'bugfix/concurrent_mode_sae_crash_fix_v4.1' into 'release/v4.1'
...
esp_wifi: Fix some wifi bugs(v4.1)
See merge request espressif/esp-idf!14239
2021-07-20 04:11:46 +00:00
Jiang Jiang Jian
31594a0ae5
Merge branch 'bugfix/a2dp_deint_crash_v4.1' into 'release/v4.1'
...
fix a2dp deinit crash
See merge request espressif/esp-idf!14362
2021-07-20 03:14:34 +00:00
aditi_lonkar
865453bbe5
esp_wifi: Fix some wifi bugs
...
Add station based check for auth frame formation.
Remove dependency of SHA256 AKM on PMF.
Fix Block Ack setup issue in PMF scenario(aggregation issue).
2021-07-19 12:38:54 +05:30
wangmengyang
b60af85f98
component/bt: Fix some bugs in bluetooth controller(2fcbe897)
...
1. Fixed BLE ACL tx flush issue during reset.
2. Added remove sniff when peer not accepted sniff mode
3. Fixed crash issue when using scan parameter(window=4 slot, interval=5 slot)
4. Removed duplicated events in lld_evt_end
2021-07-19 07:54:59 +08:00
Yang Zhao
d75cb43257
bugfix:Set address resolution enable. If not set enable and the filter
...
policy is 2 or 3, the controller will reply with invalid param error.
2021-07-19 07:54:59 +08:00
xiongweichao
2be0def9b5
Not initialized or in the process of de-initialization, calling API will return ERR
2021-07-16 16:49:17 +08:00
xiongweichao
b681d4e415
fix a2dp deinit crash
2021-07-16 11:58:40 +08:00
yuanjm
96a49aebb7
esp_http_client: Optimize code structure
2021-07-15 16:30:46 +08:00
Clickau
bb675184bf
esp_http_client: fix truncated headers
...
Signed-off-by: yuanjm <yuanjianmin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6370
2021-07-15 16:30:41 +08:00
ChenJianxing
9c897ef280
esp_wifi: rm esp32s2beta
2021-07-15 11:59:55 +08:00
KonstantinKondrashov
082c534ca3
newlib: Fix a case in FD_ISSET macro when n==-1
2021-07-15 11:18:31 +08:00
Marius Vikhammer
0dfe45249a
soc: add dummy bytes to ensure instr prefetch always valid
...
The CPU might prefetch instructions, which means it in some cases
will try to fetch instruction located after the last instruction in
flash.text.
Add dummy bytes to ensure fetching these wont result in an error,
e.g. MMU exceptions
2021-07-12 09:18:15 +08:00
morris
c69ceefb27
Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr_v4.1' into 'release/v4.1'
...
driver/timer: fixed auto reload problem in default isr callback (backport to 4.1)
See merge request espressif/esp-idf!13531
2021-07-06 12:48:31 +00:00
Michael (XIAO Xufeng)
0e36a7e3c0
spi_docs: Fixed the default value of max_transfer_sz.
...
(cherry picked from commit e89fabb963
)
2021-07-05 14:15:39 +08:00
fuzhibo
21150d9286
bugfix(adc): missing ranges of ADC codes in ESP32
2021-07-04 22:22:40 +08:00
Ivan Grokhotkov
66e45d143b
esp_ringbuf: don't test xRingbufferCreate with cache disabled
...
Creating a ringbuffer is not an operation that needs to be done when
the cache is disabled.
2021-06-30 12:01:19 +02:00
Wang Meng Yang
f8997beb0d
Merge branch 'bugfix/fix_data_length_callback_param_err_v4.1' into 'release/v4.1'
...
Fixed data length update callback parameters error(back port v4.1)
See merge request espressif/esp-idf!14182
2021-06-30 05:57:58 +00:00
Anton Maklakov
1b792c4687
Merge branch 'bugfix/gdbstub_threads_and_tests_v4.1' into 'release/v4.1'
...
gdbstub: fix thread list generation, add tests (v4.1)
See merge request espressif/esp-idf!14054
2021-06-30 04:28:09 +00:00
zwj
c6897a43ce
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-29 14:13:56 +08:00
Angus Gratton
9d82fc4447
Merge branch 'bugfix/pthread_join_debug_log_v4.1' into 'release/v4.1'
...
pthread: Fix possible deadlock when using pthread_join() and Debug log level (v4.1)
See merge request espressif/esp-idf!13778
2021-06-28 04:37:34 +00:00
Michael (XIAO Xufeng)
62034d4432
Merge branch 'bugfix/i2s_apll_disable_issue_v4.1' into 'release/v4.1'
...
backport: Bugfix/i2s apll disable issue to release/v4.1
See merge request espressif/esp-idf!14008
2021-06-27 13:34:39 +00:00
David Čermák
9bd41e2431
Merge branch 'feature/mqtt_intro_new_modes_v4.1' into 'release/v4.1'
...
MQTT: Update submodule reference to support new config modes (v4.1)
See merge request espressif/esp-idf!13709
2021-06-24 09:49:34 +00:00
Jiang Jiang Jian
97c8be7194
Merge branch 'bugfix/fix_amsdu_fragment_vulnerability_v4.1' into 'release/v4.1'
...
esp_wifi: fix amsdu & fragment vulnerabilities(v4.1)
See merge request espressif/esp-idf!14077
2021-06-24 05:21:59 +00:00
Angus Gratton
1e9367f48e
Merge branch 'bugfix/elf_sha256_first_byte_skip_v4.1' into 'release/v4.1'
...
app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256 (v4.1)
See merge request espressif/esp-idf!13664
2021-06-24 01:55:30 +00:00
Mahavir Jain
cd961e7fff
Merge branch 'bugfix/http_client_test_memcorupt_v4.1' into 'release/v4.1'
...
ci/test: Fix esp_http_client test not to use pointer after free (v4.1)
See merge request espressif/esp-idf!13702
2021-06-23 03:29:46 +00:00
Angus Gratton
1ea2b57b41
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj_v4.1' into 'release/v4.1'
...
ldgen: check mappings (v4.1)
See merge request espressif/esp-idf!14058
2021-06-22 23:34:31 +00:00
David Cermak
6980b57a97
ci/test: Fix esp_http_client test not to use pointer after free
2021-06-21 21:47:39 +08:00
liqigan
72e5dfb4e3
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:16:42 +08:00
ChenJianxing
e2526915b7
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-21 19:26:43 +08:00
wangjialiang
16898897a9
ble_mesh: stack: Fix crash for net_key_del when subnet is NULL
2021-06-21 11:26:10 +08:00
wangjialiang
9aecaa6fd0
ble_mesh: stack: Make unprovisioned beacon interval configurable.
...
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-21 11:26:03 +08:00
Renz Bagaporo
bf341d966c
components: fix ldgen check errors
2021-06-21 09:52:03 +10:00
Renz Bagaporo
b9d288879d
ci: exempt upstream libmbedtls mapping for sha256
2021-06-21 09:45:23 +10:00
Ivan Grokhotkov
8ef0017662
gdbstub: fix thread list generation
...
This commit fixes an issue with gdbstub, where it would list threads
with TIDs 1 to N in qfThreadInfo/qsThreadInfo responses, and then
would tell GDB that the current TID is 0 in the qC response. This
caused an assertion failure in GDB, because it couldn't find the
thread structure corresponding to TID 0:
src/gdb/gdb/thread.c:93: internal-error: thread_info* inferior_thread(): Assertion `tp' failed.
The issue was caused by the logic of qfThreadInfo/qsThreadInfo.
If the "paniced" task index was 1, the code would report it in the
response to qfThreadInfo, and then mistakenly skip task with index 0
in qsThreadInfo, due to the use of pre-increment instead of a
post-increment.
With that issue fixed, GDB assertion doesn't happen anymore. However
the code contained a deeper problem, which manifested itself in the
fact that GDB would incorrectly show task index 0 as the current task,
after the above fix.
Previous version of the code assumed that when GDB requests the thread
list, it uses the first thread returned by the target as the "default"
thread, and subsequently shows the user that the program is stopped
in that thread. This assumption was incorrect. In fact, after
connecting to a remote target, GDB obtains information about the
"default" or "current" thread from two sources:
1. the 'thread' special register indicated in the status response
($T00thread;00000001#ee)
2. if the target has only sent the plain stop response ($T00#ee), GDB
would ask for the current thread using a qC packet.
With that in mind, it is not necessary to report the paniced task as
the first task in qfThreadInfo response. We can simply returns the
tasks in their natural order, and then indicate the current task in
the qS packet response.
However even that change does not fully resolve the issues with task
list. The previous version of this code also incorrectly interpreted
the meaning of GDB TIDs -1 and 0. When GDB sends an "Hg0" command
early in the connection process, it doesn't expect the server to set
task 0 as the current task, as the code assumed. Rather, it tells the
server to "set any (arbitrary) task as the current one", and the most
logical thing to do for the server that is already in "stopped" state
is to keep the current task selection.
Since TID 0 has a special meaning in GDB remote protocol, gdbstub code
is now modified to map task indices (which start from 0) to GDB TIDs.
GDB TIDs are arbitrary, and for simplicity we keep the same order and
start counting them from 1.
The summary of all the above changes is:
1. Use "task index + 1" as the TID reported to GDB
2. Report the tasks in natural order; don't complicate the code to
make the paniced task first in the list.
3. Centralize modification of 'current_task_index' and 'regfile'
in the new 'set_active_task' function, to improve encapsulation.
2021-06-18 16:04:02 +02: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
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
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
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
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
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
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
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
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
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
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
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
Michael (XIAO Xufeng)
1ddac24b0a
ci: decrease the flash performance threshold
2021-05-27 14:07:01 +08: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
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
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
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
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
Ivan Grokhotkov
ad9987f859
esp_pm: fix formatting issues in esp_pm_dump_locks
...
- line was truncated because 64 characters were not sufficient
- length passed to snprintf should be full buffer length, not -1
- make the width of lock name field fixed
- fix alignment of lock type column
2021-05-10 16:29:29 +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
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
Jiang Jiang Jian
932ac7abf1
Merge branch 'nimble/add_error_prints_acl_buf_v4.1' into 'release/v4.1'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.1)
See merge request espressif/esp-idf!12970
2021-05-10 03:28:06 +00:00
Jiang Jiang Jian
2ac583cd12
Merge branch 'bugfix/endianness_in_output_or_input_oob_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v4.1)
See merge request espressif/esp-idf!13256
2021-05-10 03:27:40 +00:00
Jiang Jiang Jian
db84ddc82f
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed_and_cancle_con_state_err_v4.1' into 'release/v4.1'
...
fix multi con pair failed and cancel con state error (backport v4.1)
See merge request espressif/esp-idf!13476
2021-05-08 13:01:33 +00:00
wangjialiang
f50680310e
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 12:01:11 +08:00
zwj
3d6b03d98c
update con state when getting connection cancle complete
2021-05-07 20:51:55 +08:00
zwj
f4cadc56c0
fix multi-connection pair failed
2021-05-07 20:51:43 +08:00
Prasad Alatkar
13756c6a55
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-05-07 09:47:01 +00:00
wangjialiang
1b3ac526a7
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 03:35:42 +00:00
Michael (XIAO Xufeng)
9a8dbbc281
Merge branch 'bugfix/spi_fix_duplex_switch_v4.1' into 'release/v4.1'
...
spi_master: fix duplex mode switch issue for multi devices (4.1)
See merge request espressif/esp-idf!11234
2021-05-06 07:45:29 +00:00
xiehang
b8520d0c9c
esp_wifi: Fix setting channel error after WiFi stop
2021-05-06 11:52:26 +08:00
Angus Gratton
189c04279c
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:35:38 +10:00
Angus Gratton
57ff3f92a5
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:44:50 +00:00
Jiang Jiang Jian
da66ddd4c1
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v4.1' into 'release/v4.1'
...
[system]: Remove redundant othercore cache disable (backport v4.1)
See merge request espressif/esp-idf!13358
2021-04-30 09:18:03 +00:00
Jiang Jiang Jian
cc9d0e1e99
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.1' into 'release/v4.1'
...
backport v4.1: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13396
2021-04-30 02:50:50 +00:00
xueyunfei
72b35dec11
backport bugfix lwip for v4.1
2021-04-29 13:03:26 +00:00
Li Shuai
f417181e62
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 14:14:15 +08:00
Shubham Kulkarni
22ca7adccb
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-28 05:00:33 +00:00
KonstantinKondrashov
544fa05bd1
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
...
Closes: https://github.com/espressif/esp-idf/issues/6773
2021-04-27 19:41:17 +08:00
wuzhenghui
dcd6e82826
remove othercore cache disable
2021-04-27 14:37:45 +08:00
William Ferguson
13b0633e8d
[cxx]: fixed extern "C" declarations
...
* Moving #includes above
#ifdef __cplusplus extern "C" { #endif
So that we can compile with CPP.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6634
2021-04-23 07:35:47 +00:00
Angus Gratton
fe5c9bb03e
Merge branch 'bugfix/calc_8m_freq_test_v4.1' into 'release/v4.1'
...
rtc: increase CI acceptance range for calc 8M test (v4.1)
See merge request espressif/esp-idf!13087
2021-04-23 07:32:03 +00:00
baohongde
12b6656d90
Synchronize multiple branch of bt-lib
2021-04-21 05:29:48 +00:00
xiongweichao
c1215f27ed
Modify E8192 ELx200 ELx40 log level to LOGD
2021-04-21 05:29:48 +00:00
Marius Vikhammer
7e839a82de
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:44:06 +08:00
Marius Vikhammer
02ce0744f0
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:37 +08:00
David Čermák
a92185263e
Merge branch 'bugfix/esp_netif_ppp_event_data_v4.1' into 'release/v4.1'
...
esp-netif: Fix PPP netif event posting to include esp_netif data (v4.1)
See merge request espressif/esp-idf!11869
2021-03-31 14:25:04 +00:00
Shubham Kulkarni
9933037c0d
Add options for esp_http_client and esp_websocket_client to support keepalive
2021-03-31 05:44:48 +00:00
yuanjm
f946e296a2
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
2021-03-31 05:44:48 +00:00
David Cermak
2da1f2059e
esp-netif: Fix PPP netif event posting to include esp_netif data
...
Closes https://github.com/espressif/esp-idf/issues/6009
2021-03-31 05:43:39 +00:00
Angus Gratton
a395f3592b
Merge branch 'bugfix/dport_init_min_stack_size_v4.1' into 'release/v4.1'
...
freertos: Increase minimum task stack size when stack smashing checker is enabled (v4.1)
See merge request espressif/esp-idf!12800
2021-03-29 06:26:36 +00:00
Jiang Jiang Jian
44b47f79e1
Merge branch 'bugfix/btdm_controller_task_watchdog_in_wifi_test_v4.1' into 'release/v4.1'
...
Fix controller task watchdog in Wi-Fi test
See merge request espressif/esp-idf!12709
2021-03-25 06:32:21 +00:00
fuzhibo
b7c4925d0b
driver(gpio): fix gpio can't wakeup light sleep
2021-03-24 16:39:16 +08:00
Jiang Jiang Jian
69084bafec
Merge branch 'bugfix/btdm_assert_without_sw_coex_enable_v4.1' into 'release/v4.1'
...
components/bt: Fix assert without sw coexist enabled
See merge request espressif/esp-idf!12528
2021-03-24 03:25:08 +00:00
Jiang Jiang Jian
056890a41a
Merge branch 'bugfix/fix_some_wifi_bugs_0105_v4.1' into 'release/v4.1'
...
Bugfix/fix some wifi bugs 0105 v4.1 (backport v4.1)
See merge request espressif/esp-idf!11881
2021-03-23 16:36:07 +00:00
Jiang Jiang Jian
997ac7e166
Merge branch 'bugfix/spp_data_send_delay_v4.1' into 'release/v4.1'
...
Bugfix/spp data send delay v4.1
See merge request espressif/esp-idf!11773
2021-03-23 03:33:46 +00:00
Jiang Jiang Jian
21d2fa6934
Merge branch 'bugfix/mdns_txt_length_collision_v4.1' into 'release/v4.1'
...
mDNS: Fix of text length calculation when detecting a collision(Backport v4.1)
See merge request espressif/esp-idf!12028
2021-03-23 03:28:36 +00:00
Jiang Jiang Jian
645b200d73
Merge branch 'bugfix/wpa_supplicant_coverity_issue_fixes_v4.1' into 'release/v4.1'
...
Fix some issues raised by Coverity static Analyzer.(backport_v4.1)
See merge request espressif/esp-idf!11920
2021-03-23 03:27:44 +00:00
Jiang Jiang Jian
a38bbe46d0
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.1)
See merge request espressif/esp-idf!11848
2021-03-23 03:20:27 +00:00
Jiang Jiang Jian
2750bb8e16
Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources_v4.1' into 'release/v4.1'
...
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option (v4.1)
See merge request espressif/esp-idf!11413
2021-03-23 03:08:38 +00:00
Jiang Jiang Jian
150910ccd8
Merge branch 'bugfix/esp_netif_hostname_v4.1' into 'release/v4.1'
...
esp_netif: fix get/set hostname API to reflect user settings (v4.1)
See merge request espressif/esp-idf!11360
2021-03-23 03:08:21 +00:00
Jiang Jiang Jian
450f99f0f9
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.1' into 'release/v4.1'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled (v4.1)
See merge request espressif/esp-idf!12494
2021-03-23 03:07:04 +00:00
Jiang Jiang Jian
8dabab4e36
Merge branch 'bugfix/fix_wifi_interface_use_v4.1' into 'release/v4.1'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA (backport v4.1)
See merge request espressif/esp-idf!12167
2021-03-23 03:06:42 +00:00
aleks
818b45654f
freemodbuss: fix event processing after merge
2021-03-22 09:39:49 +00:00
xiehang
c277240dc6
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-03-22 17:19:47 +08:00
xiehang
4403af7267
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-03-22 17:18:58 +08:00
Chen Wu
cffcac6106
lwip: Fixed ping assert reset when ping interval is 0
2021-03-22 08:00:30 +00:00
Michael (XIAO Xufeng)
c10fd0edb2
Merge branch 'bugfix/uart_read_o2_v4.1' into 'release/v4.1'
...
hal: workaround for UART FIFO read on ESP32 with -O2 optimization (backport v4.1)
See merge request espressif/esp-idf!12660
2021-03-22 07:41:40 +00:00
Jiang Jiang Jian
29422884d8
Merge branch 'bugfix/flash_encryption_v4.1' into 'release/v4.1'
...
ota: fix ota with flash encryption(backport v4.1)
See merge request espressif/esp-idf!12702
2021-03-22 06:13:38 +00:00
Jiang Jiang Jian
efcb1959bc
Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config_v4.1' into 'release/v4.1'
...
bugfix/fix_arp_buffer_error_in_smart_config_v4.1
See merge request espressif/esp-idf!12255
2021-03-22 06:10:40 +00:00
Jiang Jiang Jian
b8c1824e37
Merge branch 'bugfix/spiram_reserve_size_pr5373_v4.1' into 'release/v4.1'
...
SPIRAM reserved memory size fixes (v4.1)
See merge request espressif/esp-idf!11517
2021-03-22 04:33:53 +00:00
Jiang Jiang Jian
1750acfa17
Merge branch 'bufix/ag_deep_copy_crash_v_4_1' into 'release/v4.1'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
See merge request espressif/esp-idf!12793
2021-03-22 04:32:06 +00:00
Jiang Jiang Jian
bf86c59ec4
Merge branch 'component_bt/optimize_spp_stop_server_v4.1' into 'release/v4.1'
...
component_bt/Optimize SPP Stop Server API[backport v4.1]
See merge request espressif/esp-idf!12621
2021-03-22 04:31:28 +00:00
Angus Gratton
4afdc394c9
freertos: Add a small additional stack when optimization set to None
...
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-03-19 13:22:24 +08:00
Angus Gratton
280baea4f7
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-03-19 13:22:10 +08:00
xiongweichao
f8946dc471
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-18 20:35:13 +08:00
Jiang Jiang Jian
4628a37435
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.1' into 'release/v4.1'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.1]
See merge request espressif/esp-idf!12559
2021-03-18 04:05:14 +00:00
Jiang Jiang Jian
d70f854edb
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle_v_4_1' into 'release/v4.1'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd[backport v4.1]
See merge request espressif/esp-idf!12100
2021-03-18 04:04:49 +00:00
Jiang Jiang Jian
961f79612a
Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v4.1' into 'release/v4.1'
...
Bugfix/btdm backport ble bugs v4.1
See merge request espressif/esp-idf!12433
2021-03-18 03:55:49 +00:00
liqigan
a630e1317d
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-18 11:48:25 +08:00
xiehang
e67d29b4e8
esp_wifi: Update WiFi lib
...
1. Change wifi scan duration from 120ms to 100ms
2. Using deport reg instead of ahb
3. Revert to report specific reason code when receiving deauth during 4-way-handshark
4. Fix the bug that tx ampdu parameter is not from peer device
5. Faster WiFi station connect improvement, avoid 100ms passive scan
6. Add FCS failed packets filter
7.Update esp32 phy lib to v4660
8.Fix country code last byte to space instead of NULL
9.Fix softap cannot forward A-MSDU
10.Fix some typos in esp_wifi.h
11.Fix max tx power to 20dBm
12.Fix the issue that the esp_wifi_sta_get_ap_info can't get country
13.Add support for 802.1x sha256 auth key mode
2021-03-17 15:30:09 +08:00
xiehang
40f124b0d0
esp_wifi: Add macro control for phy log
2021-03-17 15:27:39 +08:00
kapil.gupta
c907da0656
esp_wifi: Add support for 802.1x sha256 auth key mode
2021-03-17 15:27:39 +08:00
xiehang
37ce175bb5
esp_wifi: ESP32 phy add [sections:phy_iram]
2021-03-17 15:27:39 +08:00
ChenJianxing
f4bb2b466c
esp_wifi: optimize phy version log
2021-03-17 15:27:39 +08:00
ronghulin
18b6ed65f1
bugfix: fix some wifi bugs
...
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
Closes https://github.com/espressif/esp-idf/issues/6267
2021-03-17 15:27:39 +08:00
dongyou
87968f8406
esp_wifi: Add documentation to avoid using WiFi modem sleep for WiFi/BT coexistence
...
Remove description of unusable API esp_wifi_restart()
Update esp_now_fetch_peer discription
Update description for ssid and password
2021-03-17 15:27:25 +08:00
Cao Sen Miao
2333667cb5
ota: fix ota with flash encryption
2021-03-12 16:44:06 +08:00
baohongde
43ee2976f2
Fix controller task watchdog in Wi-Fi test
2021-03-11 17:21:01 +08:00
Cao Sen Miao
63e4510e9e
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-03-11 14:11:01 +08:00
Omar Chebib
8db219c292
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
2021-03-09 14:18:28 +08:00
Darian Leung
fb2d6a44eb
CAN: ISR runs when cache is disabled
...
This commit adds the feature where the CAN ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_CAN_ISR_IN_IRAM option.
2021-03-09 08:47:58 +08:00
Darian Leung
c2afe02507
CAN: Fix BRP field initialization onf ESP32 ECO3
...
This commit zero initializes the brp_div field on ESP32 ECO3
to prevent incorrect timing configuration.
2021-03-09 08:47:58 +08:00
Darian Leung
5311a60af2
CAN: Simplify caps header
...
This commit simplifies the defines made in the _caps.h header. Kconfig
option dependencies were moved into the LL, and the check for a
valid BRP has bee simplified.
2021-03-09 08:47:57 +08:00
Jiang Jiang Jian
356bf67443
Merge branch 'bugfix/fix_tx_issue_after_esp_restart_v4.1' into 'release/v4.1'
...
components/bt: Shutdown Bluetooth before esp_restart.(V4.1)
See merge request espressif/esp-idf!11756
2021-03-05 12:29:27 +00:00
Jiang Jiang Jian
8cfb4a2426
Merge branch 'bugfix/fix_csa_channel_crash_v4.1' into 'release/v4.1'
...
esp_wifi: fix CSA and BAR crash issue(v4.1)
See merge request espressif/esp-idf!12550
2021-03-05 12:24:18 +00:00
Jiang Jiang Jian
f71577afe0
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_1' into 'release/v4.1'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.1]
See merge request espressif/esp-idf!12151
2021-03-05 12:21:12 +00:00
Jiang Jiang Jian
34e1d1d69f
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_1' into 'release/v4.1'
...
Fix A2DP Underrun Issue [backport v4.1]
See merge request espressif/esp-idf!12278
2021-03-05 12:18:45 +00:00
Mahavir Jain
4567b6e866
Merge branch 'bugfix/correct_logging_timestamp_format_v4.1' into 'release/v4.1'
...
log: correct timestamp formatting to unsigned integer type (v4.1)
See merge request espressif/esp-idf!12612
2021-03-05 09:27:04 +00:00
Aditya Patwardhan
5b215dbc9e
protocomm: Fixed NULL check of allocated memory
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:10:55 +05:30
Aditya Patwardhan
b8274496f9
esp_tls: Fix misplaced paranthesis in esp_tls_mbedtls.c
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:10:55 +05:30
Mahavir Jain
188eb221aa
log: correct timestamp formatting to unsigned integer type
...
Closes https://github.com/espressif/esp-idf/issues/6226
Closes IDFGH-4393
2021-03-04 11:54:47 +05:30
Jiang Jiang Jian
d481781180
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs_v4.1' into 'release/v4.1'
...
component_bt/fix spp vfs demo crash when use dynamic memory[backport v4.1]
See merge request espressif/esp-idf!11728
2021-03-04 03:34:43 +00:00
ChenJianxing
a7302a6880
esp_wifi: fix CSA and BAR crash issue
2021-03-02 11:32:46 +08:00
baohongde
cc49472ea4
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-01 14:46:26 +08:00
baohongde
fdfc95812c
components/bt: Shutdown Bluetooth before esp_restart.
2021-03-01 14:46:05 +08:00
liaowenhao
195160af94
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-03-01 11:38:35 +08:00
aditi_lonkar
b68f07dbc7
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:11:17 +05:30
Shubham Kulkarni
761a3cdeae
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
...
Add test case to test this workflow
2021-02-26 14:56:42 +05:30
baohongde
54c71781a9
components/bt: Fix assert without sw coexist enabled
2021-02-26 14:33:01 +08:00
Michael (XIAO Xufeng)
657ae5e11e
Merge branch 'feat/spi_flash_override_size_v4.1' into 'release/v4.1'
...
spi_flash: add config option to override flash size in bootloader header (v4.1)
See merge request espressif/esp-idf!12457
2021-02-26 02:08:39 +00:00
Island
8ed7a899d7
Merge branch 'bugfix/ble_mesh_server_model_deinit_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix deinit server models with no matching id (v4.1)
See merge request espressif/esp-idf!12316
2021-02-25 11:09:48 +00:00
Angus Gratton
fcef475989
Merge branch 'bugfix/esptool_version_v4.1' into 'release/v4.1'
...
esptool: Update esptool to latest v2.x version
See merge request espressif/esp-idf!11487
2021-02-24 22:30:37 +00:00
Michael (XIAO Xufeng)
46d8dad2e1
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2021-02-23 11:02:10 +08:00
Michael (XIAO Xufeng)
f6da7f3305
spi_flash: add config option to override flash size in bootloader header
...
Sometimes the flash size read from bootloader is not correct. This may
forbid SPI Flash driver from reading the the area larger than the size
in bootloader header.
When the new config option is enabled, the latest configured
ESPTOOLPY_FLAHSIZE in the app header will be used to override the value
read from bootloader header.
2021-02-23 01:23:53 +08:00
Michael (XIAO Xufeng)
52496189d9
Merge branch 'bugfix/freemodbus_fix_parity_propagation_issue_v41' into 'release/v4.1'
...
Bugfix/freemodbus fix parity propagation issue (Backport v4.1)
See merge request espressif/esp-idf!12388
2021-02-22 05:26:31 +00:00
zwj
ed04398a8c
add connection parameter check
2021-02-22 11:29:06 +08:00
zwj
62396e3b23
fix ble connection maximum latency is 499
2021-02-22 11:28:55 +08:00
zwj
37c2b7e9b7
disable bluedroid congest error log print
2021-02-22 11:28:42 +08:00
zhiweijian
490af40be5
fix read multi char failed(GATT_27001)
2021-02-22 11:28:25 +08:00
zhiweijian
89a1f8e7a9
fix add white list failed
2021-02-22 11:28:07 +08:00
zwj
c1f23ada19
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-02-22 11:27:54 +08:00
zwj
1b6572ec9f
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-02-22 11:27:39 +08:00
zwj
0e2236a2f1
fix ble read multi char err when the number of handles is more than 10
2021-02-22 11:27:22 +08:00