Commit Graph

8205 Commits

Author SHA1 Message Date
Michael (XIAO Xufeng)
606955382e spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
The user register, especially dummy related ones, needs to be restored, otherwise the ROM function will not work.

Introduced in dd40123129
2021-08-19 22:10:18 +08:00
Michael (XIAO Xufeng)
1c69e063d2 bootloader: add xmc spi_flash startup flow to improve reliability 2021-08-19 16:41:08 +08:00
KonstantinKondrashov
bac5767666 freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs 2021-08-03 15:56:15 +05:00
Marius Vikhammer
3b708987f0 uart: fix typo in error message
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:30:31 +08:00
yuanjm
f512899388 esp_http_client: Optimize code structure 2021-07-29 16:39:08 +08:00
Clickau
e662ecb957 esp_http_client: fix truncated headers
Signed-off-by: yuanjm <yuanjianmin@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6370
2021-07-29 16:39:08 +08:00
Aditya Patwardhan
269d40c0db 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-26 14:37:36 +08:00
Island
c128769170 Merge branch 'feat/ble_mesh_make_unprov_beacon_interval_configurable_v4.0' into 'release/v4.0'
Feat/ble mesh make unprov beacon interval configurable (v4.0)

See merge request espressif/esp-idf!14064
2021-07-23 06:30:54 +00:00
Zim Kalinowski
ec77ce6962 Merge branch 'bugfix/esp_event_any_id_unregister_4.0' into 'release/v4.0'
ESP Event: fix unregister documentation (backport 4.0)

See merge request espressif/esp-idf!14433
2021-07-22 06:59:52 +00:00
wangjialiang
bbaf8c5277 ble_mesh: stack: Fix crash for net_key_del when subnet is NULL 2021-07-22 11:40:22 +08:00
wangjialiang
d6b0a84b5d ble_mesh: stack: Make unprovisioned beacon interval configurable.
Closes https://github.com/espressif/esp-idf/issues/6722
2021-07-22 11:40:22 +08:00
Mahavir Jain
172bc4b5bb Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
mbedtls: upgrade to release v2.16.11 (v4.0)

See merge request espressif/esp-idf!14440
2021-07-21 09:44:42 +00:00
David Čermák
8a69fa793e Merge branch 'feature/mqtt_intro_new_modes_v4.0' into 'release/v4.0'
MQTT:  Update submodule reference to support new config modes (v4.0)

See merge request espressif/esp-idf!13710
2021-07-21 09:36:56 +00:00
Zim Kalinowski
ba059149aa Merge branch 'bugfix/a2dp_deint_crash_v4.0' into 'release/v4.0'
component_bt: fix a2dp deinit crash(v4.0)

See merge request espressif/esp-idf!14419
2021-07-21 05:32:36 +00:00
Mahavir Jain
7c773cd74c 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:41:10 +05:30
Jakob Hasse
1bab0dd8ca [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 16:05:35 +08:00
Jiang Jiang Jian
fa6886f898 Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff_v4.0' into 'release/v4.0'
bugfix/unable to initiate SCO connection when peer device not accept sniff mode (v4.0)

See merge request espressif/esp-idf!14402
2021-07-20 04:14:30 +00:00
xiongweichao
573b660797 Not initialized or in the process of de-initialization, calling API will return ERR 2021-07-19 20:22:22 +08:00
xiongweichao
d7fb0c1f07 fix a2dp deinit crash 2021-07-19 20:22:14 +08:00
KonstantinKondrashov
c8e6563e48 newlib: Fix a case in FD_ISSET macro when n==-1 2021-07-19 12:39:58 +08:00
Zim Kalinowski
7cfe37f907 Merge branch 'bugfix/prefetch_invalid_v4.0' into 'release/v4.0'
soc: add dummy bytes to ensure instr prefetch always valid (v4.0)

See merge request espressif/esp-idf!12996
2021-07-19 01:41:26 +00:00
Zim Kalinowski
f3e40d21bb Merge branch 'feature/dis_uart_dl_mode_v4.0' into 'release/v4.0'
feature: Disable UART download mode (v4.0)

See merge request espressif/esp-idf!10766
2021-07-19 01:35:03 +00:00
xiongweichao
d21da1f61a Add remove sniff when peer not accepted sniff mode 2021-07-16 20:21:50 +08:00
Yang Zhao
75b387d7e7 If the scan window set as 4 slots and the scan interval set as 5 slots,
then the device will crash when starting scanning.This commit is to fix
this bug.Remove duplicate events in r_lld_evt_end
2021-07-16 20:14:32 +08:00
Yang Zhao
5abd645cce 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-16 20:11:53 +08:00
Chinmay Chhajed
27e5498524 bt/controller: Fix for BLE ACL tx flush issue during reset. 2021-07-16 20:06:17 +08:00
Zim Kalinowski
308bbd1e89 Merge branch 'bugfix/link_gcov_rtio_backport_v4.0' into 'release/v4.0'
Bugfix/link gcov rtio backport v4.0

See merge request espressif/esp-idf!13847
2021-07-16 06:11:32 +00:00
Zim Kalinowski
02e9ca69bc Merge branch 'docs/spi_max_transfer_sz_limit_v4.0' into 'release/v4.0'
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v4.0)

See merge request espressif/esp-idf!14255
2021-07-16 06:09:34 +00:00
Zim Kalinowski
d8c011428e Merge branch 'nimble/fix_broadcaster_role_v4.0' into 'release/v4.0'
NimBLE: Fix build error for broadcaster role and bug in peer_dev_record (v4.0)

See merge request espressif/esp-idf!14304
2021-07-16 06:07:58 +00:00
Angus Gratton
d9710a6498 flash encryption: In Release mode, set FLASH_CRYPT_CNT to max value
Compared to write disabling, this leaves possibility to burn
UART_DL_DIS efuse later.
2021-07-16 10:59:51 +10:00
Angus Gratton
5a4091a2c0 efuse: Add ESP32 V3 'disable Download Mode' functionality 2021-07-16 10:59:51 +10:00
Angus Gratton
363589e849 efuse: Add new esp_efuse_read_field_bit() convenience function 2021-07-16 10:59:51 +10:00
Angus Gratton
9ca02bd8ac efuse: Add new esp_efuse_write_field_bit() convenience function 2021-07-16 10:59:51 +10:00
Angus Gratton
814ff17256 efuse: Don't need to burn WR_CRYPT_CNT if CRYPT_CNT is already max
Reduces write cycles, and useful on ESP32 ECO3 as UART_DIS_DL is protected by
the same efuse.

Also fixes accidental macro definition introduced in 7635dce502
2021-07-16 10:59:51 +10:00
Angus Gratton
12704ae528 Merge branch 'origin/feature/prevent_unwind_code_linking_4.0' into 'release/v4.0'
[C++]: prevent unwind code linking (backport 4.0)

See merge request espressif/esp-idf!13806
2021-07-15 11:44:19 +00:00
Ivan Grokhotkov
68d417c4dc 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-07-13 18:52:53 +10:00
Renz Bagaporo
8de50b5655 components: fix ldgen check errors 2021-07-13 18:52:40 +10:00
Prasad Alatkar
817de5bee1 NimBLE: Fix build error for broadcaster role and bug in peer_dev_record (v4.0)
* Fix bug in nvs deletion of `ble_dev_record`.
* Update NimBLE submodule to nimble-1.1.0-idf
2021-07-13 13:56:03 +08:00
Mahavir Jain
190ef37994 Merge branch 'bugfix/pthread_join_debug_log_v4.0' into 'release/v4.0'
pthread: Fix possible deadlock when using pthread_join() and Debug log level (v4.0)

See merge request espressif/esp-idf!13779
2021-07-12 11:23:21 +00:00
Angus Gratton
2f1feb8ea1 driver test: Increase stack for the "spi poll tasks" test
Current stack usage gets very close to overflowing
2021-07-12 08:46:04 +08:00
Zim Kalinowski
eec2482ecf Merge branch 'feature/regi2c_add_lock_v4.0' into 'release/v4.0'
regi2c: add a spinlock for accessing (reg)I2C devices (v4.0)

See merge request espressif/esp-idf!13716
2021-07-09 07:33:19 +00:00
Michael (XIAO Xufeng)
84b149fcc5 spi_docs: Fixed the default value of max_transfer_sz.
(cherry picked from commit e89fabb963)
2021-07-05 14:20:34 +08:00
Michael (XIAO Xufeng)
911f432e82 Merge branch 'bugfix/spi_flash_cs_setup_v4.0' into 'release/v4.0'
spi_flash: fix cs line setup to make the flash driver more stable (v4.0)

See merge request espressif/esp-idf!13894
2021-07-03 06:05:02 +00:00
Michael (XIAO Xufeng)
8fc6c7d404 Merge branch 'bugfix/freemodbus_change_max_task_prio_v40' into 'release/v4.0'
Bugfix/freemodbus change max task prio (backport v4.0)

See merge request espressif/esp-idf!13720
2021-07-03 05:59:57 +00:00
Wang Meng Yang
4a181c7872 Merge branch 'bugfix/invalid_feat_page_exec_v4.0' into 'release/v4.0'
bt controller: Fixed handling for invalid feature page. (v4.0)

See merge request espressif/esp-idf!13574
2021-07-02 13:01:33 +00:00
David Čermák
d7967133c8 Merge branch 'bugfix/start_emac_after_phy_reset_v4.0' into 'release/v4.0'
esp_eth: restart negotiation in esp_eth_start (v4.0)

See merge request espressif/esp-idf!13704
2021-07-02 12:51:13 +00:00
Ivan Grokhotkov
0f47e6b189 Merge branch 'feature/portmux_debug_bump_timeout_v4.0' into 'release/v4.0'
bugfix/freertos: increase portmux timeouts to avoid crashing when using debug feature (v4.0)

See merge request espressif/esp-idf!13750
2021-07-02 12:31:51 +00:00
Mahavir Jain
7b994feb13 Merge branch 'bugfix/http_client_test_memcorupt_v4.0' into 'release/v4.0'
ci/test: Fix esp_http_client test not to use pointer after free (v4.0)

See merge request espressif/esp-idf!13703
2021-07-02 12:17:59 +00:00
Wang Meng Yang
06ee358a09 Merge branch 'bugfix/fix_data_length_callback_param_err_v4.0' into 'release/v4.0'
Fixed data length update callback parameters error (back port v4.0)

See merge request espressif/esp-idf!14183
2021-07-02 12:16:31 +00:00
Wang Meng Yang
783bf67cbd Merge branch 'bugfix/spp_connect_20_fail_v4.0' into 'release/v4.0'
component_bt: fix spp acceptor deadlock

See merge request espressif/esp-idf!14108
2021-07-02 12:15:26 +00:00