Commit Graph

12393 Commits

Author SHA1 Message Date
Angus Gratton
6b468d40fb Merge branch 'bugfix/exlude_log_linux_make' into 'master'
[log]: excluding log_linux.c correctly now

Closes IDFGH-5409

See merge request espressif/esp-idf!13995
2021-06-18 07:37:02 +00:00
Island
380efa1f3c Merge branch 'bugfix/AuthValue_leak' into 'master'
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth...

See merge request espressif/esp-idf!13920
2021-06-18 06:08:14 +00:00
Cao Sen Miao
f2fe0847d5 usb_serial_jtag: add initial support for S3 (including flashing, monitoring, writing, and reading) but console is not avaliable now 2021-06-18 12:42:41 +08:00
Angus Gratton
298729b904 Merge branch 'feature/efuse_reading_wo_locks' into 'master'
efuse: Burn operation does not block reading

See merge request espressif/esp-idf!11683
2021-06-18 03:52:57 +00:00
Konstantin Kondrashov
4c0cf40a39 efuse: Burn operation does not block reading 2021-06-18 11:52:47 +08:00
wangjialiang
fbacede604 ble_mesh: stack: Fix crash for net_key_del when subnet is NULL 2021-06-18 11:52:00 +08:00
wangjialiang
7bfae982e4 ble_mesh: stack: Make unprovisioned beacon interval configurable.
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-18 11:52:00 +08:00
Angus Gratton
7a74f5f38c Merge branch 'bugfix/hcd_multiple_bugs' into 'master'
(2) USB HCD: Fix multiple bugs

Closes IDF-3393

See merge request espressif/esp-idf!13932
2021-06-18 01:33:04 +00:00
Jiacheng Guo
68ce4f1404 openthread: add platform UDP and border router example
This MR adds the OpenThread border router example and supports the
Thread 1.1 border agent feature.

* Adds the OPENTHREAD_BORDER_ROUTER Kconfig option.
* Adds platform UDP and task queue port for the border agent feature.
* Adds `esp_openthread_border_router_*` api.
* Adds the `esp_otbr` example.
2021-06-17 17:29:16 +08:00
wangjialiang
d4232ee8f9 ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM 2021-06-17 17:05:01 +08:00
KonstantinKondrashov
57c7ebc4bc flash_encrypt: Adds API to switch flash encryption "Development" to "Release" 2021-06-17 12:58:04 +05:00
David Čermák
4d604ee6d2 Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
CI: Move mqtt publish tests from regular pipeline to weekend tests

Closes IDFCI-653

See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Michael (XIAO Xufeng)
1c14ad0844 Merge branch 'test/flash_perf_thr_update_by_grafana_avg' into 'master'
ci: adjust spi_flash performance value according to more test data

See merge request espressif/esp-idf!13958
2021-06-17 05:04:40 +00:00
Michael (XIAO Xufeng)
bf3f315630 Merge branch 'soc/728_header' into 'master'
soc: update the csv headers for esp32s3(legacy format)

See merge request espressif/esp-idf!13926
2021-06-17 04:56:38 +00:00
Jakob Hasse
db46ad8ef2 [log]: excluding log_linux.c correctly now
* log_linux.c needs to be excluded generally
  in make since Linux target isn't supported
  when building with make

Closes https://github.com/espressif/esp-idf/issues/7155
2021-06-17 11:09:56 +08:00
ChenJianxing
ef127ab9dd esp_wifi: fix amsdu & fragment vulnerabilities 2021-06-17 10:11:33 +08:00
Michael (XIAO Xufeng)
904afc65f8 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-06-17 09:49:04 +08:00
Michael (XIAO Xufeng)
18860ff304 sdio_slave: format source file 2021-06-17 09:40:09 +08:00
Michael (XIAO Xufeng)
591e4c4b31 sdio_slave: allow getting end of frame information 2021-06-17 09:40:08 +08:00
Wang Meng Yang
0ee043a8a7 Merge branch 'bugfix/active_ext_scan_performance_in_coex' into 'master'
bugfix/active_ext_scan_performance_in_coex

See merge request espressif/esp-idf!13543
2021-06-17 01:32:16 +00:00
Angus Gratton
059353b0c2 Merge branch 'feature/refactor_common_secure_boot_code' into 'master'
secure_boot/flash_encryption: Refactoring

Closes IDF-2582 and IDF-2035

See merge request espressif/esp-idf!12963
2021-06-16 23:21:45 +00:00
Konstantin Kondrashov
f339b3fc96 efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
Cao Sen Miao
11672dc9e5 soc: update the csv headers for esp32s3 2021-06-16 18:04:18 +08:00
Jiacheng Guo
b4e0088b68 mdns: allow explicit txt value length 2021-06-16 17:47:07 +08:00
Michael (XIAO Xufeng)
38f0d52e2c Merge branch 'bugfix/uart_race_condition' into 'master'
Fix couple of UART issues

Closes IDFGH-5254

See merge request espressif/esp-idf!13631
2021-06-16 07:48:06 +00:00
laokaiyao
fe354f1c50 hal/emac_hal: refactord emac_hal 2021-06-16 09:48:21 +08:00
Michael (XIAO Xufeng)
69e26fbcd7 Merge branch 'feature/s3_ci_enable' into 'master'
CI: Enable unit tests for S3

See merge request espressif/esp-idf!13875
2021-06-15 16:15:11 +00:00
0xFEEDC0DE64
70b1247a47 ws_client: Fix const correctness in the API config structure
Merges https://github.com/espressif/esp-idf/pull/7113
2021-06-15 13:46:13 +02:00
Michael (XIAO Xufeng)
084f1ca3f8 Merge branch 'bugfix/remove_chip_related_comment_for_essl' into 'master'
essl: remove chip related comments in essl.h

Closes IDF-2772

See merge request espressif/esp-idf!13444
2021-06-15 11:05:45 +00:00
Darian Leung
5f9692ae97 HCD: Fix multiple bugs
This commit fixes the following bugs with the HCD and USB Host HAL

- Make the setting to periodic frame list and scheduling to occur after
  a reset command
- All port errors states should put the port into the HCD_PORT_STATE_RECOVERY
  state.
- Fixed incorrect return type of hcd_port_command() function
2021-06-15 18:52:56 +08:00
Michael (XIAO Xufeng)
0c1a242433 Merge branch 'refactor/usb_host_irp_to_urb' into 'master'
(1) USB HCD: Change IRP to URBs

Closes IDF-3392

See merge request espressif/esp-idf!13931
2021-06-15 07:49:34 +00:00
Marius Vikhammer
693d4a69d8 uart: update S3 uart soc reg headers 2021-06-15 13:39:51 +08:00
Marius Vikhammer
f124536948 system: add support for reset reason hint on S3 2021-06-15 13:39:51 +08:00
Marius Vikhammer
79b5dedeb1 CI: minor testcases fixes and disable some cases that cant run on S3 2021-06-15 13:39:48 +08:00
Shu Chen
2ed6e269e7 Merge branch 'feature/simplify-openthread-init' into 'master'
openthread: simplify esp_openthread initialization

See merge request espressif/esp-idf!13900
2021-06-15 03:46:55 +00:00
David Cermak
79ba738626 mdns: Fix crashes reported by the fuzzer 2021-06-11 16:53:06 +02:00
David Cermak
7d76245173 mdns: Minor correction of the test code 2021-06-11 16:53:06 +02:00
David Cermak
14099fe15e mdns: Fix fuzzer from miss-interpreting adding services as timeouts 2021-06-11 16:53:06 +02:00
Jiacheng Guo
8e0af4267b openthread: move implementation-specific functions to private headers 2021-06-11 18:02:03 +08:00
Jiang Jiang Jian
9228b7d55d Merge branch 'bugfix/fix_crash_when_csi_enable' into 'master'
esp_wifi: fix crash when csi enable

Closes FCS-669

See merge request espressif/esp-idf!13921
2021-06-11 05:31:04 +00:00
Jiacheng Guo
dea281a48e openthread: simplify esp_openthread initialization
The current OpenThread initialization is too verbose and error-prone.
Using a simple flow will be more user friendly and paves way for
introducing more border router features.
2021-06-11 12:13:02 +08:00
Angus Gratton
eca878b37f Merge branch 'feature/728_crypto_bringup' into 'master'
aes/sha/rsa: 728 bringup

Closes IDF-1792, IDF-1789, and IDF-1788

See merge request espressif/esp-idf!13874
2021-06-11 03:05:40 +00:00
David Cermak
26f9d2d5e1 rtc: Fix minor const char* correction issue 2021-06-10 22:22:48 +08:00
David Cermak
02ac1baee4 wpa_supplicant: Temporarily disable write-string warning
Since some assignment of a string literal to `char *` variables were
added and not caught by the CI.
2021-06-10 22:22:48 +08:00
David Čermák
a09e413fb6 Merge branch 'feature/add-mdns-delegation' into 'master'
mdns: add host and service delegation

See merge request espressif/esp-idf!13063
2021-06-10 13:58:32 +00:00
Zhang Jun Hao
4d612ad053 esp_wifi: fix crash when csi enable 2021-06-10 16:30:50 +08:00
David Cermak
badcbe0fcb mqtt: Moved weekend tests to test apps 2021-06-10 09:09:14 +02:00
Angus Gratton
ad7ad185e3 Merge branch 'bugfix/c3_s3_apb_freq' into 'master'
esp_hw_support: Fix ESP32-C3/S3 APB frequency

See merge request espressif/esp-idf!13296
2021-06-09 23:42:09 +00:00
Michael (XIAO Xufeng)
1322a44588 Merge branch 'feature/mcpwm_refactor_and_support_esp32s3' into 'master'
MCPWM: refactor driver and support ESP32-S3

Closes IDF-1765

See merge request espressif/esp-idf!11907
2021-06-09 16:45:20 +00:00
Darian Leung
18f9dabce1 USB: Change IRP to URBs
This commit changes the IRP (I/O Request Packet) structure to
the URB (USB Request Block) in order to represent USB transfers
in the host stack. The new URB strcuture:

- Add extra safety with const fields
- Allows each layer of the stack to add their own overhead variables

The HCD layer API and tests have been updated to use this new URB structure
2021-06-09 22:09:46 +08:00
Jiang Jiang Jian
1d1060e25b Merge branch 'bugfix/wapi_keymgmt' into 'master'
WAPI: Key mgmt type compability issue.

Closes WIFI-3717 and WIFI-3716

See merge request espressif/esp-idf!13752
2021-06-09 08:07:48 +00:00
Angus Gratton
e20ccf4846 Merge branch 'feature/esp_log_level_get_pr6573' into 'master'
log: Add esp_log_level_get() function (PR)

Closes IDFGH-4770

See merge request espressif/esp-idf!13881
2021-06-09 07:32:39 +00:00
Island
74414cc5e3 Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure' into 'master'
ble_mesh: stack: Add the check of Provisioning Random & Confirmation sent and...

See merge request espressif/esp-idf!13886
2021-06-09 06:34:58 +00:00
Angus Gratton
bc4eb2071c Merge branch 'feature/toolchain_2021r1' into 'master'
Bring 2021r1 toolchains

Closes IDFGH-5009

See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
morris
b47d012720 mcpwm: refactor unit test 2021-06-09 12:27:01 +08:00
morris
d4fe219c49 mcpwm: refactor driver 2021-06-09 12:27:01 +08:00
Angus Gratton
0716520423 Merge branch 'feature/s3_doc_build' into 'master'
build docs: enable building of S3 docs

Closes IDF-3284

See merge request espressif/esp-idf!13661
2021-06-09 04:09:55 +00:00
wangjialiang
48979803e8 ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner 2021-06-09 03:24:35 +00:00
Island
63e22a1860 Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash' into 'master'
component/bt: fix enable gattc nvs cache lead to crash

See merge request espressif/esp-idf!13887
2021-06-09 02:47:34 +00:00
Michael (XIAO Xufeng)
afe9b42cbf Merge branch 'typo_fix/fix_typo_in_comment_in_uart_ll' into 'master'
Fix typo in `include/hal/uart_ll.h`

Closes IDFGH-5320

See merge request espressif/esp-idf!13826
2021-06-09 02:13:36 +00:00
Marius Vikhammer
bdfda351bd build docs: enable building of S3 docs
* Added suport for building esp32s3 docs
 * Fixed all related warnings
 * Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Angus Gratton
d995086621 Merge branch 'bugfix/memprot_bypass' into 'master'
System/Security: Memprot bypassing mitigation

Closes IDF-2700

See merge request espressif/esp-idf!13795
2021-06-09 00:02:30 +00:00
Mahavir Jain
3a65e38bfa Merge branch 'bugfix/check_for_eof' into 'master'
esp_http_server, protocomm: Close the connection when recv() returns 0

Closes IDFGH-4735

See merge request espressif/esp-idf!12747
2021-06-08 14:41:33 +00:00
Jiacheng Guo
c88e1e3712 openthread: fix wrong OpenThread uart read return value handling 2021-06-08 19:49:37 +08:00
Angus Gratton
5b12cd4a76 esp_hw_support: Fix ESP32-C3/S3 APB frequency
Regression in e6edf34e82, APB frequency
accidentally set at 81MHz not 80MHz.
2021-06-08 07:52:32 +00:00
Angus Gratton
6961e4b3d5 Merge branch 'bugfix/ulp_overflow_rtc_mem' into 'master'
ulp: ULP_COPROC_RESERVE_MEM limitation

See merge request espressif/esp-idf!13814
2021-06-08 07:20:46 +00:00
Angus Gratton
7529355597 Merge branch 'bugfix/remove_unnecessary_cmake_comment' into 'master'
[unity]: deleted unuseful comment for linux target

See merge request espressif/esp-idf!13865
2021-06-08 06:57:11 +00:00
Angus Gratton
6c44fe291c esp_log: Refactor esp_log_level_get() into a common static function
Removes duplicate code for a small runtime & size overhead if
esp_log_level_get() is not called in the firmware.

Follow-up to https://github.com/espressif/esp-idf/pull/6573
2021-06-08 16:53:23 +10:00
0xFEEDC0DE64
fc85f8a47d esp_log: Implemented esp_log_level_get(TAG)
Closes https://github.com/espressif/esp-idf/pull/6573
2021-06-08 16:53:23 +10:00
Marius Vikhammer
4786f2d88a aes/sha/rsa: update registers for ESP32-S3
Updates register headers for ESP32-S3 and default
crypto accelerators for S3 to enabled
2021-06-08 14:15:18 +08:00
Mahavir Jain
664c9a343a Merge branch 'feature/prov_mgr_reset_state' into 'master'
wifi_provisioning: Add API to erase credentials and reset provisioning state

See merge request espressif/esp-idf!13756
2021-06-08 05:59:58 +00:00
Siarhei Volkau
ba15970abb esp_http_server, protocomm: Consider a connection as closed if recv() returns 0
This check prevents infinite loop on closed sockets

Closes https://github.com/espressif/esp-idf/pull/6541

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-06-08 05:48:30 +00:00
Michael (XIAO Xufeng)
b94c61497d Merge branch 'bugfix/revert_spi_flash_cs_setup_argument' into 'master'
spi_flash: reverted unwilling cs_setup argument

See merge request espressif/esp-idf!13866
2021-06-07 16:46:06 +00:00
Shubham Kulkarni
f06d1cdc75 wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal 2021-06-07 12:23:28 +00:00
Shubham Kulkarni
34bdbf9ee2 wifi_provisioning: Add API to reset state if provisioning fails 2021-06-07 12:23:28 +00:00
Michael (XIAO Xufeng)
e005ec0899 Merge branch 'feature/s3_base_support' into 'master'
soc: S3 base support

See merge request espressif/esp-idf!13827
2021-06-07 12:07:08 +00:00
Anton Maklakov
e5faf4f924 ci: fix test_build_system* fails 2021-06-07 18:48:38 +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
Anton Maklakov
343cc5025b make build system: fix build for undefined _lock_* funcs 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
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
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
Jan Brudný
325deed208 esp32: update copyright notice 2021-06-04 11:51:06 +02: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
1ddaef7fc3 system: regenerate esp_err_to_name.c 2021-06-04 10:07:38 +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
Shu Chen
e470e7c4c3 Merge branch 'feature/ot-lwip-interface' into 'master'
openthread: add lwIP network interface

See merge request espressif/esp-idf!13188
2021-06-03 01:46:17 +00:00
Suren Gabrielyan
03de74a728 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-02 13:43:54 +00:00
Jan Brudný
dffe49f305 bootloader: update copyright notice 2021-06-02 14:22:09 +02:00
Shubham Kulkarni
3064487c20 esp_https_ota: Add check for HTTP error codes and corresponding error logs
Closes: https://github.com/espressif/esp-idf/issues/7058
2021-06-02 11:19:30 +00:00
Michael (XIAO Xufeng)
e25e02e06d Merge branch 'feature/usb_esp32s3_add_host_support' into 'master'
usb/hal/soc: add USB Host support on ESP32-S3

Closes IDF-2713

See merge request espressif/esp-idf!13522
2021-06-02 09:57:58 +00:00
Alex Lisitsyn
46020fe13a usb/hal/soc: initial copy of usbh support from esp32s2
copy required usbh driver files from esp32s2
check usb host functionality using unit tests on esp32s3
2021-06-02 17:57:50 +08:00
Angus Gratton
a69e6a1a37 Merge branch 'bugfix/rtc_retain_mem_addr' into 'master'
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2

See merge request espressif/esp-idf!13811
2021-06-02 09:12:19 +00:00
Jiacheng Guo
52a68cb7fe openthread: integrate OpenThread network interface with esp_netif 2021-06-02 17:03:54 +08:00
Andrey Starodubtsev
8488055711 Fix typo in include/hal/uart_ll.h
s/final state machine/finite-state machine/g

Signed-off-by: bizhuangyang <bizhuangyang@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/7076
2021-06-02 15:37:30 +08:00
David Čermák
4b7a7e559a Merge branch 'bugfix/esp_netif_list_match_improvement' into 'master'
esp-netif: Improve netif list operations (GitHub PR)

Closes IDFGH-5289

See merge request espressif/esp-idf!13636
2021-06-01 12:47:18 +00:00
David Čermák
a660594e71 Merge branch 'bugfix/esp_netif_ppp_set_auth_fail' into 'master'
esp_netif: Fix failing ppp_set_auth() due to wrong arg check

Closes IDFGH-5284

See merge request espressif/esp-idf!13602
2021-06-01 11:30:29 +00:00
Angus Gratton
f486736cbf bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
Regression in 83bf2e1ac1, this memory region was shifted from fast to slow RTC
memory (no change on ESP32-C3 as no RTC fast memory on this chip.)
2021-06-01 18:58:55 +10:00
Jiang Jiang Jian
2a27e46cd9 Merge branch 'bugfix_fix_ble_ANON_ADV_addr_err' into 'master'
Fixed BLE ANON_ADV address error

Closes BT-1706

See merge request espressif/esp-idf!13789
2021-06-01 08:44:54 +00:00
Cao Sen Miao
08f1bbe0c7 spi_flash: fix cs line setup to make the flash driver more stable 2021-06-01 16:41:41 +08:00
Omar Chebib
b911951cad console: fix a bug preventing us from starting a CLI on non-default UART
It is now possible to start a REPL CLI on another UART than the default
one.

Closes https://github.com/espressif/esp-idf/issues/6897
2021-06-01 15:50:15 +08:00
Angus Gratton
fe94de0310 Merge branch 'update_copyright_notice_efuse' into 'master'
efuse: update copyright notice

See merge request espressif/esp-idf!13782
2021-06-01 06:54:49 +00:00
Angus Gratton
c49c915bcc Merge branch 'feature/allow_efuses_be_nested_in_efuse_table' into 'master'
efuse: Adds support describe structures of efuses in efuse_table

Closes IDF-3200

See merge request espressif/esp-idf!13643
2021-06-01 06:31:20 +00:00
David Cermak
8ae19ed332 esp_netif: Fix failing ppp_set_auth() due to wrong arg check
Closes https://github.com/espressif/esp-idf/issues/7047
2021-06-01 05:32:39 +00:00
zhiweijian
a85890dd9d Fixed ANON_ADV address error 2021-06-01 11:43:40 +08:00
Martin Vychodil
1e58eb6928 system/security: Memprot bypassing mitigation
Check Memprot lock bit(s) during the system startup, abort/reset on any Memprot parts found locked during this phase.
There is no legal reason to disallow the Memprot configuration by the system, so it's either a critical bug in the
application or an malicious attempt to bypass the system security.
Error message is printed before digital system reset.

Closes IDF-2700
2021-06-01 00:07:09 +02:00
Ivan Grokhotkov
5f0ec8c9b7 Merge branch 'feature/log_linux' into 'master'
[log]: Normal log works on Linux

Closes IDF-3245

See merge request espressif/esp-idf!13610
2021-05-31 17:16:43 +00:00
Gustavo Henrique Nihei
c1b3d77dcf spi: Fix wrong target register for interrupt disable 2021-05-31 11:25:32 -03:00
Mahavir Jain
863c3ae12f Merge branch 'update_copyright_notice_esp_tls_http_server_client' into 'master'
esp-tls, esp_http_client and esp_http_server: update copyright notice

See merge request espressif/esp-idf!13781
2021-05-31 12:06:15 +00:00
Jan Brudny
967e057906 esp-tls, esp_http_client and esp_http_server: update copyright notice 2021-05-31 20:06:09 +08:00
KonstantinKondrashov
4d35b1fc5b efuse: Updates common_efuse_table for all chips 2021-05-31 08:42:57 +00:00
KonstantinKondrashov
29f853633d efuse: Adds support structure of efuses in efuse_table
Supported a new format of efuse description using '.' in the name.
It means that RD_DIS.KEYx belongs to the range of the RD_DIS name.
RD_DIS,                           EFUSE_BLK0,   32,    7,     Read protection
    RD_DIS.KEY0,                  EFUSE_BLK0,   32,    1,     Read protection for EFUSE_BLK4.
    RD_DIS.KEY1,                  EFUSE_BLK0,   33,    1,     Read protection for EFUSE_BLK5.
2021-05-31 08:42:57 +00:00
Michael (XIAO Xufeng)
ff29aded19 Merge branch 'bugfix/i2s_apll_disable_issue' into 'master'
i2s: fix driver uninstall issue

Closes IDF-3129

See merge request espressif/esp-idf!13238
2021-05-31 08:16:21 +00:00
Mahavir Jain
64f9bc06ac Merge branch 'esp32c3/coredump_bt_summary' into 'master'
coredump: Parse backtrace info for RISCV

See merge request espressif/esp-idf!13455
2021-05-31 08:12:46 +00:00
Michael (XIAO Xufeng)
aecf85e74b Merge branch 'update_copyright_notice_driver_part_2' into 'master'
driver: update copyright notice, part 2

See merge request espressif/esp-idf!13650
2021-05-31 07:52:19 +00:00
Michael (XIAO Xufeng)
4fac9668c8 Merge branch 'update_copyright_notice_driver_part_3' into 'master'
driver: update copyright notice, part 3

See merge request espressif/esp-idf!13651
2021-05-31 07:50:31 +00:00
Michael (XIAO Xufeng)
dd47340d0e Merge branch 'update_copyright_notice_driver_part_4' into 'master'
driver: update copyright notice, part 4

See merge request espressif/esp-idf!13652
2021-05-31 07:37:19 +00:00
Michael (XIAO Xufeng)
23d2d2768a Merge branch 'refactor/apply_general_check_to_timer' into 'master'
driver/timer: apply genral check

See merge request espressif/esp-idf!13746
2021-05-31 07:22:03 +00:00
Angus Gratton
164ccef52c Merge branch 'docs/fix_allow_external_stack_mem_config_description' into 'master'
Freertos: Fix CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY description

See merge request espressif/esp-idf!13739
2021-05-31 05:55:52 +00:00
Jan Brudný
1bac0d1e42 efuse: update copyright notice 2021-05-31 06:43:23 +02:00
Island
cf44d2f6ef Merge branch 'bugfix/bt_impersonation_passkey_fix' into 'master'
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.

See merge request espressif/esp-idf!13754
2021-05-28 13:43:14 +00:00