Michael (XIAO Xufeng)
2d5f3a4825
Merge branch 'feature/usb_serial_jtag_s3' into 'master'
...
usb_serial_jtag: add initial support for S3 (no stub support)
See merge request espressif/esp-idf!13890
2021-06-18 10:35:07 +00:00
Wang Meng Yang
e245d4c9cd
Merge branch 'bugfix/bta_hf_client_co_cb_ptr_macro' into 'master'
...
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
See merge request espressif/esp-idf!12335
2021-06-18 09:03:33 +00:00
Jakob Hasse
e32831033a
[esp_rom]: fixed S3 longjmp patch
...
* On S3, the placement of ROM functions is
ECO-dependent. Hence, we don't jump into
the middle of the longjmp function in ROM
on S3 anymore.
Instead, the whole longjump function is used
in the patch.
* Also properly excluded the patch from
bootloader build with Makefiles
Closes IDF-3391
2021-06-18 15:47:41 +08:00
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