Commit Graph

18212 Commits

Author SHA1 Message Date
Anton Maklakov
e5faf4f924 ci: fix test_build_system* fails 2021-06-07 18:48:38 +07:00
Anton Maklakov
f6a91bff87 Update toolchains to esp-2021r1
Adds ESP32-C3 support
    Updates ESP32-S3 overlay
    GDB 9.2 for ESP32-C3 with core dump support
    Linker supports eh-frame-hdr for ESP32-C3
    Newlib 3.3.0 includes fixes for <cmath> funcs, for overflow when TZ calculating, for malloc checks
    Binutils 2.35.1

    Closes https://github.com/espressif/esp-idf/issues/6795
2021-06-07 18:46:42 +07:00
xiewenxiang
96811de932 component/bt: fix enable gattc nvs cache lead to crash 2021-06-07 17:28:12 +08:00
alex.li
db165da4b8 WAPI: Key mgmt type compability issue. 2021-06-07 17:11:01 +08:00
Island
731f16fc6a Merge branch 'bugfix/ble_mesh_sensor_server_model_not_start_on_esp32s3' into 'master'
ble_mesh: stack: Add sdkconfig.defaults.esp32s3 for esp32s3.

Closes IDFGH-5301

See merge request espressif/esp-idf!13705
2021-06-07 06:50:06 +00:00
Anton Maklakov
343cc5025b make build system: fix build for undefined _lock_* funcs 2021-06-07 12:53:45 +07:00
Anton Maklakov
e5d69bf82d make build system: fix ar warning 2021-06-07 12:53:45 +07:00
Anton Maklakov
b46b50eaa6 newlib: Add ESP_ROM_HAS_RETARGETABLE_LOCKING capability for C3 and S3 chips 2021-06-07 12:53:45 +07:00
Anton Maklakov
5a982ffe7a hal: fix ee.get_gpio_in command for esp32-s3 2021-06-07 12:52:50 +07:00
Anton Maklakov
0ed7af2c4c tools: promote ESP32-S3 from preview to supported target 2021-06-07 12:52:28 +07:00
Anton Maklakov
4bb09900ab tools: fix parsing regex 2021-06-07 12:35:55 +07:00
Angus Gratton
0f1b24891b Merge branch 'bugfix/esp32_u4wdh_quad_io' into 'master'
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip

Closes IDFGH-4353

See merge request espressif/esp-idf!13111
2021-06-07 04:50:54 +00:00
Chen Yudong
b3b71bc8ab CI: fix connection failures in asio example tests 2021-06-07 04:04:14 +00:00
wangjialiang
7c4557fbe0 ble_mesh: stack: Add sdkconfig.defaults.esp32s3 for esp32s3
Closes https://github.com/espressif/esp-idf/issues/7061
2021-06-07 04:00:15 +00:00
Angus Gratton
18e3055f75 Merge branch 'bugfix/repl_on_another_uart' into 'master'
console: fix a bug preventing us from starting a CLI on non-default UART

Closes IDFGH-5114

See merge request espressif/esp-idf!13594
2021-06-07 03:53:46 +00:00
wangmengyang
775465c140 components/bt: fixed performance issue for extended active scan in coexistence scenario: use the same priority for Rx of AUX_ADV_IND and AUX_SCAN_RSP 2021-06-07 11:31:15 +08:00
Marius Vikhammer
19a492bc8d soc: add base support for ESP32-S3
Updates the following with changes from verification branches:

 * esp_rom linker files
 * rtc_cntl and system reg and struct headers

Also updates:
 * GDMA driver with new register layout
 * esptool submodule commit
2021-06-07 10:40:14 +08:00
Angus Gratton
dcef04a324 Merge branch 'update_copyright_notice_esp32' into 'master'
esp32: update copyright notice

See merge request espressif/esp-idf!13829
2021-06-07 02:12:42 +00:00
Jan Brudný
325deed208 esp32: update copyright notice 2021-06-04 11:51:06 +02:00
Mahavir Jain
1d7068e4be Merge branch 'test/test_examples_protocol_http_request' into 'master'
bugfix/fail on esp32.default.test_examples_protocol_http_request

Closes IDFCI-651

See merge request espressif/esp-idf!13785
2021-06-04 08:04:43 +00:00
Michael (XIAO Xufeng)
dc6d6f225e spi_flash: reverted unwilling cs_setup argument
Partially reverted 08f1bbe0c7.

The host should have this flexibility, which is consistent to the cs_hold argument.

However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-04 15:29:53 +08:00
Michael (XIAO Xufeng)
1596e336a1 Merge branch 'bugfix/spi_flash_cs_setup' into 'master'
spi_flash: fix cs line setup to make the flash driver more stable

Closes IDF-3240

See merge request espressif/esp-idf!13623
2021-06-04 07:05:05 +00:00
Angus Gratton
65f70b946f Merge branch 'bugfix/misc_ci_fixes' into 'master'
ci: esp_err_to_name and check_readme_links fixes

See merge request espressif/esp-idf!13859
2021-06-04 06:46:27 +00:00
Jakob Hasse
1dfdf803b3 [unity]: deleted unuseful comment for linux target 2021-06-04 14:03:31 +08:00
Jiang Jiang Jian
5cbea220b0 Merge branch 'feature/decouple_esp_phy' into 'master'
esp_phy: decouple esp_phy component from esp_wifi and bt

See merge request espressif/esp-idf!13742
2021-06-04 05:20:17 +00:00
Marius Vikhammer
018582dc64 ULP: reduce max possible memory reserved for ULP coprocessor
Some RTC slow memory is reserved by IDF, reduce CONFIG_TARGET_ULP_COPROC_RESERVE_MEM
range to reflect this.

Closes https://github.com/espressif/esp-idf/issues/7073
2021-06-04 12:15:52 +08:00
Marius Vikhammer
2f705136e9 bootloader: fix verify_load_addresses wrongly reporting "bad load address range"
verify_load_addresses would check if load_end was in a certain member range,
but should verify (load_end - 1) which is the actual last byte.
2021-06-04 12:15:52 +08:00
Jiacheng Guo
a4f263948c mdns: fix test script delayed response 2021-06-04 10:44:36 +08:00
Jiacheng Guo
e6135552d2 mdns: fix wrong SRV/PTR record handling 2021-06-04 10:44:36 +08:00
Jiacheng Guo
439b31d065 mdns: fix wrong service hostname after mangling 2021-06-04 10:44:36 +08:00
Jiacheng Guo
7bbb72d865 mdns: fix empty address change announce packets 2021-06-04 10:44:36 +08:00
Jiacheng Guo
d2a5d25984 mdns: fix mdns probe/reply behavior
* send correct hostnames when probing.
* add test for mdns host delegation.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2d34352f3d mdns: make delegate host address a list
Also adds unit test and doc string for new apis.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2174693096 mdns: add remove delegate host api 2021-06-04 10:44:36 +08:00
Jiacheng Guo
401ff56cc1 mdns: add mdns delegation
This allows publishing mdns services for other devices.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
5f244c86f2 mdns: fix memory free issue when repeating the query in reply
The repeated query will be copied in the next event loop while the
memory is freed instantly. Delay the free to fix this issue.
2021-06-04 10:44:36 +08:00
Angus Gratton
2aa48c9558 Merge branch 'doc/performance_guide' into 'master'
doc: Add performance guides for execution speed, binary size, RAM usage

Closes IDF-1136, IDF-486, IDF-487, IDF-485, IDFGH-5238, IDFGH-4923, IDFGH-1516, and IDFGH-408

See merge request espressif/esp-idf!13564
2021-06-04 02:17:26 +00:00
Marius Vikhammer
b1aa9269fd docs: updated link to partition table docs 2021-06-04 10:14:53 +08:00
Marius Vikhammer
1ddaef7fc3 system: regenerate esp_err_to_name.c 2021-06-04 10:07:38 +08:00
He Yin Ling
1a9abeda6b example: set PMF capable to connect to PMF required APs 2021-06-03 20:03:59 +08:00
Shu Chen
246e006aab esp_phy: update esp-phy-lib and esp32-wifi-lib submodules 2021-06-03 19:08:04 +08:00
Michael (XIAO Xufeng)
b5d2e9478b Merge branch 'bugfix/spi_ll_intr_bits' into 'master'
spi: Fix wrong target register for interrupt disable

See merge request espressif/esp-idf!13646
2021-06-03 10:22:25 +00:00
Shu Chen
6061a547e5 esp_phy: decouple esp_phy component from esp_wifi and bt
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
David Čermák
72f1c47554 Merge branch 'bugfix/mdns_interface_del_crash' into 'master'
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets

See merge request espressif/esp-idf!13613
2021-06-03 07:31:36 +00:00
Shu Chen
480fcfd7a6 Merge branch 'feature/uprev-openthread-210603' into 'master'
openthread: update openthread version

See merge request espressif/esp-idf!13839
2021-06-03 07:25:29 +00:00
Mahavir Jain
d0a8ff12ec Merge branch 'bugfix/esp_https_ota' into 'master'
esp_https_ota: Add  check for HTTP error codes and documentation updates

Closes IDFGH-5285 and IDFGH-5298

See merge request espressif/esp-idf!13660
2021-06-03 05:54:49 +00:00
Angus Gratton
f19d6df8eb Merge branch 'update_copyright_notice_bootloader' into 'master'
bootloader: update copyright notice, part 1

See merge request espressif/esp-idf!13494
2021-06-03 04:22:51 +00:00
Jiacheng Guo
84cc1b8e96 openthread: update openthread version
Uprev OpenThread to check in TCP message leak fix.
2021-06-03 12:02:17 +08:00
Angus Gratton
1281895785 lwip: Add a note that enabling debug increases the binary size 2021-06-03 13:55:34 +10:00
Angus Gratton
dc6b950257 doc: Add performance guides for execuion speed, binary size, RAM usage
Closes https://github.com/espressif/esp-idf/issues/7007
Closes https://github.com/espressif/esp-idf/issues/6715
Closes https://github.com/espressif/esp-idf/issues/3781
Closes https://github.com/espressif/esp-idf/issues/2566
2021-06-03 13:55:34 +10:00