Commit Graph

17735 Commits

Author SHA1 Message Date
KonstantinKondrashov
2e4b625f59 simple_ota_example: Adds sha256 check for app images 2021-05-05 22:18:40 +08:00
KonstantinKondrashov
ca481e18e1 bootloader_support: Used esp_image_get_metadata() instead of esp_image_verify()
- bootloader_common_get_sha256_of_partition will not do any unnecessery verifies.
- Used esp_image_get_metadata() instead of esp_image_verify().
2021-05-05 11:53:57 +00:00
KonstantinKondrashov
d9be32629e bootloader: Fixed a case when signed OTA updates fail when debugger is attached due to the wrong image_len.
And it fixed another case for bootloader_common_get_sha256_of_partition() when CHECK_SIGNATURE is on
- If RSA signature check is on in Kconfig then sha256 was 0xFFFFF...
because image_load gave image_len which pointed to the end of sign blocks.
And image_digest was filled from a wrong position.

Closes https://github.com/espressif/esp-idf/issues/6873
2021-05-05 11:53:57 +00:00
Ivan Grokhotkov
3dbafb9a13 Merge branch 'bugfix/loadable_elf_test_eco3' into 'master'
tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3

See merge request espressif/esp-idf!13427
2021-05-04 18:39:52 +00:00
Ivan Grokhotkov
6d2e0c3eae tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3
The previous location was the return from the first ets_printf call
that prints ROM sign-on message. Since the main function was patched
in ECO3, the new address no longer works — there is no instruction at
0x40007901 in ECO3 ROM. This could be solved by setting two
breakpoints (one would work for ECO <=2, the other for ECO3), but we
would need to remove the unused breakpoint later.
Fix this by setting the breakpoint at ets_printf. This means that when
debugging a loadable ELF the ROM sign-on message will no longer be
shown, but this doesn't seem to be an issue.
2021-05-04 16:22:50 +02:00
Ivan Grokhotkov
639e7ad494 Merge branch 'bugfix/freertos_addition_overflow' into 'master'
freertos: Fix addition overflow

Closes IDF-3193

See merge request espressif/esp-idf!13421
2021-05-04 08:20:21 +00:00
Angus Gratton
e02439f2de freertos: Add addition overflow check for stream buffer
Patch from upstream commit d05b9c123f2bf9090bce386a244fc934ae44db5b
2021-05-04 16:55:40 +10:00
Angus Gratton
b41d4b0a9c freertos: Check for arithmetic overflows on queue creation
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 16:55:20 +10:00
David Čermák
94f08291ee Merge branch 'bugfix/esp_eth_mac_openeth_c' into 'master'
esp_eth_mac_openeth.c: Fix issue created by generic check macros update

Closes IDFGH-5158

See merge request espressif/esp-idf!13343
2021-05-04 04:56:46 +00:00
Ivan Grokhotkov
da59a29be6 Merge branch 'update_copyright_notice_app_trace' into 'master'
app_trace: update copyright notice

See merge request espressif/esp-idf!13415
2021-05-03 12:00:53 +00:00
Ivan Grokhotkov
952c9a2d05 Merge branch 'feature/esptool_wrapper' into 'master'
tools: Support external Esptool wrappers

Closes IDFGH-5095

See merge request espressif/esp-idf!13389
2021-05-03 09:32:46 +00:00
Ivan Grokhotkov
d936d137c7 Merge branch 'bugfix/gdbgui' into 'master'
tools: Add various fixes for idf.py gdbgui

Closes IDFGH-4098

See merge request espressif/esp-idf!13371
2021-05-03 09:31:13 +00:00
Ivan Grokhotkov
c88287851d Merge branch 'feature/raise_log_level' into 'master'
feature: Set maximum log level, add startup time example

Closes IDFGH-3599 and IDFGH-333

See merge request espressif/esp-idf!12714
2021-05-03 08:52:27 +00:00
Wang Meng Yang
f471fc2262 Merge branch 'feature/add_esp32c3_hci_uart_example' into 'master'
Bluetooth: add hci uart example to ESP32-C3

See merge request espressif/esp-idf!13302
2021-05-03 02:46:54 +00:00
Jan Brudný
2a3c570abd app_trace: update copyright notice 2021-05-03 04:39:23 +02:00
Michael (XIAO Xufeng)
1f95403596 Merge branch 'feature/emmc_doc_ut_4bit_sdr' into 'master'
sdmmc_host: add unit tests and improve documents about using eMMC in 4-line SDR mode

See merge request espressif/esp-idf!13334
2021-05-02 13:58:13 +00:00
wangmengyang
59c0825ed8 Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport 2021-04-30 15:25:10 +00:00
Krzysztof Budzynski
b455299bb0 Merge branch 'feature/add_link_to_c3_page' into 'master'
docs: Add a link to ESP32-C3 page for developers on espressif.com

See merge request espressif/esp-idf!12349
2021-04-30 06:12:23 +00:00
Krzysztof Budzynski
bd5b14fd81 Merge branch 'bugfix/uart_api_reference_examples' into 'master'
docs: Update type of uart_num in UART API Reference examples

See merge request espressif/esp-idf!13385
2021-04-30 06:08:46 +00:00
Jiang Jiang Jian
73adacb7d4 Merge branch 'bugfix/fix_nolightsleep_after_wifi_init' into 'master'
esp_wifi: fix nolightsleep after wifi init

See merge request espressif/esp-idf!13404
2021-04-30 04:52:39 +00:00
Krzysztof Budzynski
f05d9a1de0 Merge branch 'bugfix/check_readme_links_no_exception' into 'master'
check_readme_links: remove throwing of exception before exit

See merge request espressif/esp-idf!13341
2021-04-30 03:50:10 +00:00
Jiang Jiang Jian
efb9f87951 Merge branch 'bugfix/fix_728_series_reboot_failure' into 'master'
[system]: Fix two  (re)boot failure issues on ESP32S3Beta

Closes WIFI-3548, WIFI-3559, and IDF-3170

See merge request espressif/esp-idf!13268
2021-04-30 03:20:47 +00:00
Ivan Grokhotkov
4faba8aecf Merge branch 'bugfix/monitor_args' into 'master'
tools: Fix Cmake arguments for IDF Monitor

Closes IDFGH-5169

See merge request espressif/esp-idf!13383
2021-04-29 15:30:32 +00:00
Ivan Grokhotkov
aa2655f13c Merge branch 'feature/sdcard_example_split' into 'master'
Storage: SD card example split to 2 standalone examples (SDMMC, SDSPI)

See merge request espressif/esp-idf!12947
2021-04-29 15:27:16 +00:00
Jiang Jiang Jian
97136cc512 Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt' into 'master'
optimize deep sleep current in wifi softap mode

Closes WIFI-3594

See merge request espressif/esp-idf!13349
2021-04-29 14:49:45 +00:00
ninh
f1ee8aa14f esp_wifi: fix nolightsleep after wifi init 2021-04-29 18:50:28 +08:00
ninh
91dbae3eb5 esp_pm: allow dfs to swith down alltime if no lightsleep 2021-04-29 18:41:00 +08:00
Ivan Grokhotkov
0a0234193f Merge branch 'bugfix/place_xt_int_fns_into_iram' into 'master'
[system]: Place xtensa_intr_asm into IRAM

See merge request espressif/esp-idf!13330
2021-04-29 08:52:30 +00:00
Martin Vychodil
99aa037793 * SD card example split (SDMMC/SDSPI)
JIRA IDF-1456
2021-04-29 10:38:55 +02:00
Martin Babutzka
6faf4941cc tools: Support external Esptool wrappers
Implements https://github.com/jimparis/esptool-ftdi/issues/3

Closes https://github.com/espressif/esp-idf/pull/6879
2021-04-29 08:27:57 +02:00
Michael (XIAO Xufeng)
76fbb689fd Merge branch 'bugfix/remove_uart2_c3' into 'master'
uart: remove misleading ld files and soc defs for UART2

See merge request espressif/esp-idf!13340
2021-04-29 05:18:25 +00:00
Jiang Jiang Jian
6dc36d09df Merge branch 'bugfix/interrupt_watchdog_on_reset' into 'master'
Bugfix/interrupt watchdog on reset

See merge request espressif/esp-idf!13384
2021-04-29 04:35:08 +00:00
Michael (XIAO Xufeng)
859f7e3664 Merge branch 'feature/support_eon_flash_qaud_mode_esp_flash' into 'master'
esp_flash: support override default chip driver list

Closes IDF-2907

See merge request espressif/esp-idf!12565
2021-04-29 04:03:56 +00:00
wuzhenghui
fa8389da00 remove othercore cache disable 2021-04-29 03:10:47 +00:00
wuzhenghui
57d43d1bc5 fix 728 series reboot failure 2021-04-29 03:10:47 +00:00
Jiang Jiang Jian
f5108296d9 Merge branch 'bugfix/c3_pmf_mbo_fix' into 'master'
PMF/C3: Strip CCMP header for Mgmt frames

Closes WIFI-3551

See merge request espressif/esp-idf!13039
2021-04-28 14:15:32 +00:00
Li Shuai
344ec80fad optimize deep sleep current in wifi softap mode 2021-04-28 14:03:02 +00:00
wangmengyang
666a73d79c components/bt: bug-fixes in BLE controller and BLE baseband
1. Removed the interrupt lock operation during controller enable/disable/reset, to avoid trigger interrupt watchdog time-out due to use of mutex/semaphore in coex_st_set

2. update libbtbb.a to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-28 12:05:49 +00:00
wangmengyang
d2324c162a components/bt: Minor fix for the range of GATTC number of reconnections. 2021-04-28 12:05:49 +00:00
Krzysztof
7b9b489968 docs: Update type of uart_num in UART API Reference examples 2021-04-28 13:11:41 +02:00
Nachiket Kukade
15499e3cc1 esp_wifi: Update wifi lib
Forward Mgmt frames with skipping CCMP headers to fix parsing
issues in Application for ESP32C3
2021-04-28 16:31:05 +05:30
Roland Dobai
3a948c1455 tools: Fix Cmake arguments for IDF Monitor
SERIAL_TOOL_ARGS is post-processed with the spaces2list cmake function.
Therefore, it should be a list of arguments because spaces are replaced
with semicolons.

Regression of b77addea2f and
c425ac7bed.

Closes https://github.com/espressif/esp-idf/issues/6946
2021-04-28 12:07:40 +02:00
Krzysztof
34a16c9d93 docs: Add a link to ESP32-C3 page for developers on espressif.com 2021-04-28 10:42:09 +02:00
Jeroen Domburg
644f430a31 Merge branch 'feature/esp32c3_usbjtagserial_console' into 'master'
USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.

See merge request espressif/esp-idf!12925
2021-04-28 08:38:31 +00:00
Jeroen Domburg
2c75f63f89 * ets_delay_us(1) has too much overhead; change logic
* Fix MR comments
2021-04-28 16:38:24 +08:00
Michael (XIAO Xufeng)
41937a9f97 Merge branch 'feature/support_spi_on_727' into 'master'
spi: support spi on 727

Closes IDF-3178

See merge request espressif/esp-idf!13346
2021-04-28 08:16:15 +00:00
Jiang Jiang Jian
2a8a614090 Merge branch 'mesh/bugfix_0421' into 'master'
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send

See merge request espressif/esp-idf!13266
2021-04-28 07:49:11 +00:00
Jiang Jiang Jian
3c0801584a Merge branch 'bugfix/update_esp32c3_docs' into 'master'
Bugfix/update esp32c3 wifi driver docs

See merge request espressif/esp-idf!13274
2021-04-28 07:40:20 +00:00
Krzysztof Budzynski
edb8ef9f2f Merge branch 'doc/add_support_for_external_redirects' into 'master'
Docs: Add support for redirects to external URL

See merge request espressif/esp-idf!13364
2021-04-28 05:58:04 +00:00
shenjun
8b3e090533 esp_wifi_mesh: update wifi mesh libs
1. Fix mesh deinit blocking issue
2. Fix root has no eb for deauth frames during the networking
3. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-04-28 02:46:34 +08:00