Michael (XIAO Xufeng)
c82087610a
Merge branch 'feature/hal_assert' into 'master'
...
hal: added platform port layer
Closes IDF-1341
See merge request espressif/esp-idf!13608
2021-06-22 08:05:10 +00:00
xiongweichao
96aff16dd3
fix spp acceptor deadlock
...
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 15:05:27 +08:00
Mahavir Jain
9ac9b69087
heap: use hal specific API to get cpu cycles count
...
This fixes compilation issue of heap tracing feature for RISC-V
architecture.
2021-06-22 14:14:10 +08:00
Jakob Hasse
64750acbb0
[esp_system]: added __cxx_eh_arena_size_get again
...
* This function has been accidentally removed.
It is necessary to provide the emergency
exception memory pool size for C++ code.
Since our libstdc++ always has exceptions
enabled, this function must exist here even if
-fno-exception is set for user code.
2021-06-22 14:14:08 +08:00
Ivan Grokhotkov
bdb01b8285
Merge branch 'bugfix/longjmp_s3' into 'master'
...
[esp_rom]: fixed S3 longjmp patch
Closes IDF-3391
See merge request espressif/esp-idf!13946
2021-06-22 04:00:51 +00:00
morris
4c0ddd34b4
ci: added script to check api violations
2021-06-22 11:28:01 +08:00
morris
9afdf54748
hal: added HAL_ASSERT
2021-06-22 11:28:01 +08:00
liuhan
8b02c9026a
transport: Add CONFI_WS_TRANSPORT for optimize the code size
2021-06-22 10:51:04 +08:00
Michael (XIAO Xufeng)
b727dca308
Merge branch 'ci/sdmmc_performance_log' into 'master'
...
ci: add log output for the sdmmc performance test
See merge request espressif/esp-idf!13753
2021-06-22 02:45:05 +00:00
laokaiyao
48fdf6912d
test_pwm: relax the requirement of mcpwm test
2021-06-22 10:41:09 +08:00
Wang Meng Yang
71250e2984
Merge branch 'bugfix/start_enc_proc_mic_err_fix' into 'master'
...
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller
See merge request espressif/esp-idf!14056
2021-06-22 01:52:35 +00:00
Angus Gratton
c685ef303b
pthread: Fix race conditions in existing pthread UTs
2021-06-22 08:26:08 +08:00
Angus Gratton
262107691a
pthread: Fix pthread_cond_timedwait returning early from timeout
...
The reason timeouts would sometimes happen before the abstime deadline was due
to rounding errors converting the timeout to milliseconds, and also because
vTaskDelay(1) only delays until the next tick which is less than one full tick
period.
Closes https://github.com/espressif/esp-idf/issues/6901
2021-06-22 08:26:08 +08:00
Roland Dobai
407053592e
Drop support for unsupported Python versions
2021-06-21 21:48:49 +02:00
“YangZhao”
7bec64eaa3
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.
2021-06-21 21:14:42 +08:00
liqigan
fd83938f39
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:02:36 +08:00
Armando
6a49ceb67e
spi_master: enable a test closed for s3 before
2021-06-21 19:42:49 +08:00
sushant.chougule
8f7ed33ba3
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller
2021-06-21 17:03:02 +05:30
Liu Han
77d4f3080f
expat: Update library from 2.2.9 to 2.4.1
2021-06-21 17:45:43 +08:00
Shu Chen
30524406f0
Merge branch 'feature/otbr-example' into 'master'
...
openthread: add platform UDP and border router example
See merge request espressif/esp-idf!13885
2021-06-21 08:33:15 +00:00
liuhan
2d80c122b1
lwip: Add CONFIG_LWIP_ICMP and CONFIG_LWIP_ICMP6 to sperate the code
2021-06-21 15:14:19 +08:00
Fu Hanxi
cb46558c30
ci: update performance test key to db compatible format
2021-06-21 14:17:45 +08:00
Marius Vikhammer
fae5185916
CI: regenerate esp_err_to_name.c
...
Move esp err to name check to pre-check stage in CI to prevent failures like this.
2021-06-21 11:19:56 +08:00
David Cermak
1a7e75036b
tcp_transport: Fix to cleanup esp-tls context on close
2021-06-20 21:21:22 +02:00
Michael (XIAO Xufeng)
67743ac444
Merge branch 'feat/sdio_slave_eof' into 'master'
...
sdio_slave: allow getting end of frame information
See merge request espressif/esp-idf!13510
2021-06-20 16:31:54 +00:00
Aditya Patwardhan
e44bd93cc9
i) wpa_supplicant: Force enable the necessary options for mbedtls in the wpa_supplicant to fix illegal combinations in mbedtls
...
ii) Fix dependancy for one option in mbedtls menuconfig
2021-06-20 08:39:51 +05:30
Michael (XIAO Xufeng)
6d1eddb9c0
sd_test: refactor the test case
2021-06-19 14:27:44 +08:00
Michael (XIAO Xufeng)
bad9ab052d
ci: add log output for the sdmmc performance test
2021-06-19 14:12:22 +08:00
Island
cdad1eaa9c
Merge branch 'feat/ble_mesh_make_unprov_beacon_interval_configurable' into 'master'
...
ble_mesh: stack: Make unprovisioned beacon interval configurable
Closes IDFGH-4930
See merge request espressif/esp-idf!12811
2021-06-18 11:57:45 +00:00
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