chaijie
6d2bdfc5f5
1. open glitch reset for c3 ECO3;
...
2. set digital & rtc voltage to about 1.15v which storing in efuse.
2021-05-08 17:38:24 +08:00
Kang Zuoling
d651e4e073
touch_sensor: fix esp32s2 touch sensor default power source
2021-05-08 13:54:59 +08:00
wangjialiang
5fc3c0ca91
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-08 11:58:04 +08:00
fuzhibo
f6d96f33bb
bugfix: add .rodata section for riscv ulp for esp32s2
2021-05-07 10:56:33 +10:00
Angus Gratton
228f875ada
esp32s2 riscv ulp: Make re-linking depend on linker script file
2021-05-07 10:54:55 +10:00
Angus Gratton
997c07c2ee
esp32s2 riscv ulp: Ensure reset vector is always at offset 0x0
...
Previous linker script relied on nothing else using the .text section
As reported at https://esp32.com/viewtopic.php?f=2&t=20734&p=75997
2021-05-07 10:54:55 +10:00
Angus Gratton
d30ec8c94e
freertos: Add addition overflow check for stream buffer
...
Patch from upstream commit d05b9c123f2bf9090bce386a244fc934ae44db5b
2021-05-04 18:30:49 +10:00
Angus Gratton
658a0acdbe
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:30:49 +10:00
Angus Gratton
467c7af33e
Merge branch 'doc/general_notes_v4.3' into 'release/v4.3'
...
doc: Update docs about startup sequence and memory types (v4.3)
See merge request espressif/esp-idf!13316
2021-05-03 06:48:07 +00:00
Mahavir Jain
4c113a0c0c
Merge branch 'bugfix/fix_mbedtls_send_alert_crash_v4.3' into 'release/v4.3'
...
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL[backport v4.3]
See merge request espressif/esp-idf!13300
2021-04-30 07:08:19 +00:00
Mahavir Jain
ad759ee5a7
Merge branch 'newlib/no_atomic_support_v4.3' into 'release/v4.3'
...
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n (backport v4.3)
See merge request espressif/esp-idf!13361
2021-04-30 07:07:37 +00:00
Mahavir Jain
24af403dac
Merge branch 'bugfix/esp_http_client_read_v4.3' into 'release/v4.3'
...
Fix esp_http_client_read for file size aligned to 289 bytes (v4.3)
See merge request espressif/esp-idf!13305
2021-04-30 07:06:33 +00:00
Jiang Jiang Jian
469bb082d7
Merge branch 'bugfix/fix_nolightsleep_after_wifi_init_v4.3' into 'release/v4.3'
...
esp_wif: fix nolightsleep after wifi init v4.3
See merge request espressif/esp-idf!13403
2021-04-30 05:52:09 +00:00
Jiang Jiang Jian
80e381e511
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v4.3' into 'release/v4.3'
...
[system]: Remove redundant othercore cache disable (backport v4.3)
See merge request espressif/esp-idf!13356
2021-04-30 05:51:43 +00:00
Jiang Jiang Jian
847273d0fb
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.3' into 'release/v4.3'
...
backport v4.3: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13391
2021-04-30 02:50:04 +00:00
yuanjm
6d32eec165
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
2021-04-30 02:01:51 +00:00
ninh
6dc067dda7
esp_wifi: fix nolightsleep after wifi init (backport to v4.3)
2021-04-29 22:01:55 +08:00
ninh
0ddf00c6e1
esp_pm: allow dfs to swith down alltime if no lightsleep (backport to v4.3)
2021-04-29 22:00:37 +08:00
Jiang Jiang Jian
8c6705ded5
Merge branch 'bugfix/interrupt_watchdog_on_reset_v4.3' into 'release/v4.3'
...
Bugfix/interrupt watchdog on reset v4.3
See merge request espressif/esp-idf!13386
2021-04-29 13:33:07 +00:00
shenjun
2f603a56a7
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
4. Forward Mgmt frames with skipping CCMP headers to fix parsing issues in Application for ESP32C3
2021-04-29 15:05:07 +08:00
Michael (XIAO Xufeng)
2bffeb7265
uart: fix misleading files for UART2
...
Includes: header files, ld files and clk.c
ESP32-C3 only have UART0 and UART1.
2021-04-29 14:23:13 +08:00
wangmengyang
9c872b1851
components/bt: fixed bugs in Bluetooth Controller and 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 for ESP32-C3 to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-29 03:58:29 +00:00
wangmengyang
b2c18de9b3
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-29 03:58:29 +00:00
Li Shuai
f684bd10f5
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 10:14:30 +08:00
Michael (XIAO Xufeng)
9da031e0c3
Merge branch 'bugfix/twai_caps_naming_and_tidy_up_v4.3' into 'release/v4.3'
...
Fix TWAI caps (backport v4.3)
See merge request espressif/esp-idf!13304
2021-04-28 17:47:35 +00:00
Michael (XIAO Xufeng)
64de7ee38c
Merge branch 'feature/spi_slave_hd_segment_example_v4.3' into 'release/v4.3'
...
spi_slave_hd: add an spi slave hd segment example (4.3)
See merge request espressif/esp-idf!13312
2021-04-28 17:39:25 +00:00
Michael (XIAO Xufeng)
52d9d466fb
Merge branch 'ci/enable_i2c_test_v4.3' into 'release/v4.3'
...
I2C: enable all unit test for i2c on esp32c3 (backport 4.3)
See merge request espressif/esp-idf!13061
2021-04-28 15:00:20 +00:00
Jiang Jiang Jian
a4a7e7b3e9
Merge branch 'bugfix/update_esp32c3_phy_init_data_v4.3' into 'release/v4.3'
...
esp_wifi: update esp32c3 phy init data(v4.3)
See merge request espressif/esp-idf!13338
2021-04-28 12:45:36 +00:00
Armando
a87f5c6c02
spi_slave_hd: add polling api to read/write buf to essl_spi
2021-04-28 08:20:55 +00:00
Armando
20993109e8
spi_slave_hd: add callback after data is loaded to the DMA for segment mode
2021-04-28 08:20:55 +00:00
Michael (XIAO Xufeng)
6c38cc736a
Merge branch 'bugfix/twai_esp32_errata_workarounds_backport_v4.3' into 'release/v4.3'
...
TWAI: Add FIFO overrun handling and ESP32 hardware errata workarounds (backport v4.3)
See merge request espressif/esp-idf!12984
2021-04-28 08:12:06 +00:00
chenjianxing
193b60afcf
esp_wifi: update esp32c3 phy init data
2021-04-28 08:04:28 +00:00
Shubham Kulkarni
e4ebaca693
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-28 05:00:58 +00:00
Michael (XIAO Xufeng)
3f358236f0
Merge branch 'feat/c3_driver_api_cleanup_gpio_v4.3' into 'release/v4.3'
...
gpio, rtcio: removed unsupported features on different targets (v4.3)
See merge request espressif/esp-idf!13120
2021-04-27 09:37:15 +00:00
Cao Sen Miao
ba1ce2ebd0
I2C: enable all unit test for i2c on esp32c3
2021-04-27 17:13:47 +08:00
Sachin Parekh
aad1f7abde
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
...
These APIs are used when the architecture doesn't have atomic
instruction support
Closes https://github.com/espressif/esp-idf/issues/6463
2021-04-27 13:34:54 +05:30
wuzhenghui
29ad86ed5b
remove othercore cache disable
2021-04-27 14:40:52 +08:00
Jiang Jiang Jian
dede31cd83
Merge branch 'bugfix/gtk_reinstallation_fix_1_4.3' into 'release/v4.3'
...
wpa_supplicant: Clean gtk after disconnect (backport v4.3)
See merge request espressif/esp-idf!13286
2021-04-27 03:32:46 +00:00
Darian Leung
07291fdd27
TWAI: FIFO overrun handling and errata workarounds
...
This commit adds handling for FIFO overruns and
adds workarounds for HW errats on the ESP32.
Closes https://github.com/espressif/esp-idf/issues/2519
Closes https://github.com/espressif/esp-idf/issues/4276
2021-04-26 19:35:13 +08:00
Darian Leung
00801c8044
TWAI: Simply caps and remove unused caps
2021-04-26 19:34:30 +08:00
Darian Leung
b8e31efcac
TWAI: Fix incorrect CAP name
...
Fixes a bug where SOC_TWAI_BRP_DIV_SUPPORTED was mistyped preventing
slower bit rates from being enabled on ESP32 revision 2 and 3 chips
2021-04-26 19:34:30 +08:00
Jiang Jiang Jian
ae72870d43
Merge branch 'bugfix/fix_c3_ble_disconnect_due_to_con_param_update_v4.3' into 'release/v4.3'
...
Fix c3 ble disconnect due to con param update v4.3
See merge request espressif/esp-idf!13325
2021-04-26 06:00:15 +00:00
Jiang Jiang Jian
4d1aaed682
Merge branch 'refactor/bt_lib_submodules_v4.3' into 'release/v4.3'
...
Refactor/bt lib submodules(backports v4.3)
See merge request espressif/esp-idf!13275
2021-04-25 06:24:46 +00:00
Michael (XIAO Xufeng)
6059ef26fb
gpio, rtcio: removed unsupported features on different targets
2021-04-24 15:55:13 +00:00
liuhan
38db3d9507
lw-ip: Fix LWIP_DEBUG define which is always defined
2021-04-23 18:25:17 +00:00
Shu Chen
42ae0166d7
esp32c3: fix typos of c3 path
2021-04-23 21:09:06 +08:00
Michael (XIAO Xufeng)
eff7fd9052
Merge branch 'feature/update_adc_programming_guide_on_c3_v4.3' into 'release/v4.3'
...
adc: add adc programming guide on c3 (4.3)
See merge request espressif/esp-idf!13281
2021-04-23 12:53:04 +00:00
Angus Gratton
275743ab1c
doc: Add notes that vTaskStartScheduler() is called during startup
...
Closes https://github.com/espressif/esp-idf/issues/1457
2021-04-23 22:48:47 +10:00
Angus Gratton
8a39b5237d
doc: update the memory types and startup docs
2021-04-23 22:48:47 +10:00
zwj
5e9aa539ea
fix c3 ble disconnect due to connection parameters update
2021-04-23 20:39:40 +08:00
Angus Gratton
d0e0f80bd0
esp_system: Mark the startup array as 'const' to save RAM
2021-04-23 19:12:06 +10:00
Angus Gratton
1b82e9604c
Merge branch 'bugfix/esp32c3_eco3_efuse_programming_v4.3' into 'release/v4.3'
...
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3 (v4.3)
See merge request espressif/esp-idf!13297
2021-04-23 09:08:24 +00:00
Mahavir Jain
26139daaf5
Merge branch 'feature/adds_ota_example_test_check_sign_on_update_v4.3' into 'release/v4.3'
...
simple_ota_example: Adds config to test on_update_no_secure_boot option (v4.3)
See merge request espressif/esp-idf!13222
2021-04-23 08:57:46 +00:00
Mahavir Jain
f9831301ce
Merge branch 'bugfix/bootloader_min_revision_c3_v4.3' into 'release/v4.3'
...
Fix bootloader minimum revision check and print for ESP32-C3 (v4.3)
See merge request espressif/esp-idf!13263
2021-04-23 08:56:24 +00:00
Mahavir Jain
cfb84d3381
Merge branch 'feature/mbedtls_md5_update_v4.3' into 'release/v4.3'
...
mbedtls: Add CONFIG_MBEDTLS_ROM_MD to enable ROM MD acceleration(back port v4.3)
See merge request espressif/esp-idf!13133
2021-04-23 08:56:08 +00:00
Kapil Gupta
952e47d45d
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-04-23 13:45:13 +05:30
Michael (XIAO Xufeng)
c6ca4e3e88
Merge branch 'bugfix/fix_flash_ci_v4.3' into 'release/v4.3'
...
esp_flash: fix host number for passing ci(backport v4.3)
See merge request espressif/esp-idf!13264
2021-04-23 06:43:18 +00:00
Angus Gratton
999f648a35
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
...
Without this timing change, efuse programming occasionally appears to fail
(although the efuse is programmed correctly).
2021-04-23 10:33:43 +10:00
liuhan
9bf4d44235
mbedtls: Add CONFIG_MBEDTLS_ROM_MD5 to use ROM MD5 in mbedTLS
2021-04-22 12:34:00 +00:00
KonstantinKondrashov
1166bc5680
bootloader: Suppress a Cmake warning - variables were not used by the project
...
Manually-specified variables were not used by the project: SECURE_BOOT_SIGNING_KEY
2021-04-22 07:27:08 +00:00
KonstantinKondrashov
02170d815e
bootloader: Fix error in Make build system when signature options is on
2021-04-22 07:27:08 +00:00
Armando
3fb1165e4e
adc: add adc programming guide on c3
2021-04-22 06:28:37 +00:00
wangmengyang
cdcb85fd70
component/bt: add another bt-lib submodule and refactor the directories
...
# Conflicts:
# .gitmodules
# components/bt/component.mk
2021-04-22 07:46:55 +08:00
Jiang Jiang Jian
a67793e9fc
Merge branch 'bugfix/gtk_reinstallation_fix_v4.3' into 'release/v4.3'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.3)
See merge request espressif/esp-idf!13181
2021-04-21 15:17:35 +00:00
Jiang Jiang Jian
182c2eda48
Merge branch 'bugfix/fix_bootloader_time_too_long_bug_v4.3' into 'release/v4.3'
...
esp32s2/esp32c3: decrease boot up and cpu start up time (backport v4.3)
See merge request espressif/esp-idf!12728
2021-04-21 14:20:28 +00:00
Jiang Jiang Jian
1d218485ec
Merge branch 'nimble/add_c3_config_max_conn_v4.3' into 'release/v4.3'
...
NimBLE: Add max connection config option for C3 (v4.3)
See merge request espressif/esp-idf!12999
2021-04-21 13:07:48 +00:00
wangmengyang
257047c073
remove original esp32-bt-lib submodule
2021-04-21 20:40:35 +08:00
Jiang Jiang Jian
83358061df
Merge branch 'bugfix/endianness_in_output_or_input_oob_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v4.3)
See merge request espressif/esp-idf!13254
2021-04-21 12:35:51 +00:00
Kapil Gupta
47e4386953
wpa_supplicant: Prevent reinstallation of an already in-use group key
2021-04-21 11:41:34 +00:00
chaijie
e8282fb5c5
esp32s2/esp32s3/esp32c3: Decrease boot up time by delete useless slow clock calibration
2021-04-21 11:38:26 +00:00
Jiang Jiang Jian
5a5327e77e
Merge branch 'bugfix/fix_esp32c3_macaddr_default_v4.3' into 'release/v4.3'
...
fix esp32c3 default mac addr count(v4.3)
See merge request espressif/esp-idf!13209
2021-04-21 11:35:43 +00:00
Wang Meng Yang
5580d578bd
Merge branch 'nimble/add_error_prints_acl_buf_v4.3' into 'release/v4.3'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.3)
See merge request espressif/esp-idf!12968
2021-04-21 10:26:31 +00:00
Wang Meng Yang
949a3cd61a
Merge branch 'bugfix/ble_timeout_disconnected_no_report_v4.3' into 'release/v4.3'
...
Fix the controller do not report the disconnect event to host
See merge request espressif/esp-idf!13262
2021-04-21 09:55:38 +00:00
Prasad Alatkar
ac9bd8bcc4
NimBLE: Add max connection config option for ESP32C3
2021-04-21 08:52:32 +00:00
“YangZhao”
e45ce5c058
bugfix: Fix the issue that the controller do not report the timeout
...
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 15:02:40 +08:00
Cao Sen Miao
44b81cb280
esp_flash: fix host number for passing ci
2021-04-21 13:54:26 +08:00
Mahavir Jain
d41781099a
bootloader_support: fix min. revision error print for < C3-ECO3 revisions
2021-04-21 10:16:46 +05:30
Mahavir Jain
6403a229eb
bootloader: fix print related to min. chip revision
...
Closes https://github.com/espressif/esp-idf/issues/6890
Closes IDFGH-5106
2021-04-21 10:16:46 +05:30
Jiang Jiang Jian
98ad8cc2e3
Merge branch 'bugfix/ftm_fixes_logging_change_v4.3' into 'release/v4.3'
...
wifi/ftm: Move FTM report logging into application and some bugfixes (Backport v4.3)
See merge request espressif/esp-idf!13218
2021-04-21 03:22:59 +00:00
Angus Gratton
afc2f9b5d3
Merge branch 'bugfix/freertos_current_tcb_unpinned_v4.3' into 'release/v4.3'
...
freertos: Fix race condition returning incorrect TCB on unpinned tasks (v4.3)
See merge request espressif/esp-idf!13236
2021-04-20 22:57:47 +00:00
Jiang Jiang Jian
f2e222a8f8
Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry_v4.3' into 'release/v4.3'
...
optimize c3 multi con and add connection retry (backport v4.3)
See merge request espressif/esp-idf!12990
2021-04-20 15:28:30 +00:00
wangjialiang
bdce35c3d7
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-04-20 21:24:25 +08:00
Nachiket Kukade
6587ff6110
wifi/ftm: Move FTM report logging into application and some bugfixes
...
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 14:00:23 +05:30
Angus Gratton
991d0b8c31
freertos: test: Add stress test for thread local storage
...
(Fails without the fix applied in parent commit.)
2021-04-20 03:51:43 +00:00
Angus Gratton
2290d0385e
freertos: Fix race condition returning incorrect TCB on unpinned tasks
...
Noted as a problem with thread local storage returning a different task's
pointers, but some other were APIs also accessing current task unsafely.
Regression in FreeRTOS 10 update a3c90bf59a
2021-04-20 03:51:43 +00:00
Jiang Jiang Jian
4f04f48a70
Merge branch 'bugfix/update_esp32s2_phylib_v1800_v4.3' into 'release/v4.3'
...
esp_wifi: Update esp32s2 phylib and fix s3 beta2 tsf (backport v4.3)
See merge request espressif/esp-idf!13151
2021-04-20 03:50:17 +00:00
zwj
2a7df3bcd8
optimize C3 multi-connection
2021-04-20 02:53:07 +00:00
zwj
67b09d3db5
add option to enable multi-connection
2021-04-20 02:53:07 +00:00
zwj
5717f8f2fb
update con state when getting connection cancle complete
2021-04-20 02:53:07 +00:00
zwj
fe2f3bfe1e
fix ble 5.0 SMP failed
2021-04-20 02:53:07 +00:00
zwj
e2af75b5e4
add BLE connection establishment retry
2021-04-20 02:53:07 +00:00
ChenJianxing
a17b57b062
fix esp32c3 default mac addr count
2021-04-20 02:38:31 +00:00
Rahul Tank
9ed4e06dd2
esp-idf: Added an option in menuconfig to configure maximum gatt services
...
Currently Max GATT services count cannot be configured externally and
hence user needs to modify code ,everytime the count is to be
modified.
Added an option in menuconfig to provide a way to user to set the count.
Fixes: https://jira.espressif.com:8443/browse/BT-1508
2021-04-19 12:28:49 +05:30
xiehang
ededfb47b9
esp_wifi: fix esp32s2 and esp32s3beta2 issue
...
1.Update libphy.a to V1800 20210413_e7ef680 for esp32s2
2.fix esp32s3beta2 tsf issue
2021-04-19 14:45:08 +08:00
Angus Gratton
2335e5026f
Merge branch 'bugfix/freertos_task_delete_v4.3' into 'release/v4.3'
...
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak (v4.3)
See merge request espressif/esp-idf!13142
2021-04-16 01:46:37 +00:00
David Čermák
2bd0e9371a
Merge branch 'bugfix/mdns_configure_strict_mode_v4.3' into 'release/v4.3'
...
mdns: Fix mdns to correctly answer non-strict queries (+ additional fixes) (v4.3)
See merge request espressif/esp-idf!13121
2021-04-15 12:27:33 +00:00
Jiang Jiang Jian
e9cf9e2978
Merge branch 'bugfix/e8192_and_assert_param_bt1551' into 'release/v4.3'
...
Modify E8192 ELx 200 ELx40 log level to LOGD
See merge request espressif/esp-idf!12977
2021-04-14 16:23:57 +00:00
Jiang Jiang Jian
6463dd9630
Merge branch 'bugfix/esp32c3_deep_sleep_gpio_wakeup_issue_v4.3' into 'release/v4.3'
...
backport v4.3: fix deep sleep gpio wakeup fail issue
See merge request espressif/esp-idf!13140
2021-04-14 16:02:32 +00:00
Jiang Jiang Jian
c9f1b55287
Merge branch 'bugfix/fix_wifi_issue_for_pm_disconnected_v4.3' into 'release/v4.3'
...
esp_wifi: fix some issue about wifi pm (backport to v4.3)
See merge request espressif/esp-idf!13138
2021-04-14 14:36:56 +00:00
xiongweichao
e16ec9a574
modify E8192 ELx200 ELx40 log level to LOGD
2021-04-14 19:33:03 +08:00