Commit Graph

9631 Commits

Author SHA1 Message Date
Krzysztof Budzynski
f0d53bd097 Merge branch 'docs/translate_ulp_risc_v' into 'master'
docs: translate api-guides/ulp-risc-v from EN to CN

See merge request espressif/esp-idf!9757
2020-08-13 19:44:46 +08:00
He Hui Zi
dfa59e3d22 docs: translate api-guides/ulp-risc-v from EN to CN 2020-08-13 19:44:46 +08:00
Angus Gratton
1a47f025e9 Merge branch 'bugfix/cpu_start_build' into 'master'
esp_system: fix bootloader wdt enabled build issue

Closes IDFGH-3717

See merge request espressif/esp-idf!9816
2020-08-13 16:52:31 +08:00
ChenJianxing
4949087217 esp_wifi: fix phy v4350 RX throughput low issue.
sleep wakeup optimizaion do not cover 480M bbpll configuration,
which cause CPU working in 240M mode RX throughput is low.
2020-08-12 14:16:45 +08:00
Jiang Jiang Jian
0584b3d1d3 Merge branch 'bugfix/fix_unable_update_rssi_of_hidden_ap' into 'master'
bugfix: fix connect hidden AP doesn't update information

Closes WIFI-2484, WIFI-2604, and WIFI-2609

See merge request espressif/esp-idf!9600
2020-08-12 12:04:44 +08:00
Michael (XIAO Xufeng)
3b617dd94c Merge branch 'bugfix/fix_bugs_in_rtcio_unit_test' into 'master'
bugfix(ut): fix rtcio pullup/pulldown and rtcio hold unit test

Closes IDFCI-96

See merge request espressif/esp-idf!10015
2020-08-12 11:21:34 +08:00
Jiang Jiang Jian
68ddb64dd7 Merge branch 'bugfix/fix_udp_tx_performance_issue' into 'master'
lw-ip: fix udp tx packet loss issue

Closes WIFI-2573

See merge request espressif/esp-idf!9925
2020-08-11 21:22:18 +08:00
ronghulin
087c580c09 bugfix: fix connect hidden AP doesn't update information
Closes https://github.com/espressif/esp-idf/issues/5632
2020-08-11 19:41:32 +08:00
Jiang Jiang Jian
63b566eb27 Merge branch 'bugfix/fix_softap_mode_wifi_event_issue' into 'master'
bugfix: fix softap mode event issue

Closes WIFI-1861, WIFI-1446, WIFI-2367, WIFI-2042, and WIFI-893

See merge request espressif/esp-idf!7918
2020-08-11 19:34:07 +08:00
Chen Yi Qun
f9b167103f bugfix(ut): fix rtcio pullup/pulldown and rtcio hold unit test 2020-08-11 18:43:54 +08:00
Michael (XIAO Xufeng)
593d3ce79a Merge branch 'bugfix/twai_brp_div_init' into 'master'
TWAI: Initialize brp_div field to zero, fix register field name, and remove sdkconfig form caps

See merge request espressif/esp-idf!9924
2020-08-11 17:01:18 +08:00
ronghulin
b006acbb46 bugfix: fix softap mode event issue
1. add sta connect again ap sent disconnect event
2. add set/get inactive time api

Closes https://github.com/espressif/esp-idf/issues/4401
Closes https://github.com/espressif/esp-idf/issues/4987
Closes https://github.com/espressif/esp-idf/issues/2375
2020-08-11 10:34:47 +08:00
Michael (XIAO Xufeng)
d06f1f6897 Merge branch 'test/esp_flash_s2_performance_thr' into 'master'
flash test: decrease the threshold of performance test on s2

See merge request espressif/esp-idf!9831
2020-08-11 10:10:18 +08:00
Jiang Jiang Jian
933de37074 Merge branch 'bugfix/softAP_power_save_buffer_issue' into 'master'
esp_wifi: fix the bug for softAP power save buffer issue

Closes WIFI-2362

See merge request espressif/esp-idf!9826
2020-08-10 23:33:17 +08:00
Jiang Jiang Jian
4d4dee8a52 Merge branch 'bugfix/wifi_stop_crash' into 'master'
esp_wifi: fix the crash when wifi stop after deinit

Closes WIFI-2647 and WIFI-2646

See merge request espressif/esp-idf!9931
2020-08-10 19:11:55 +08:00
Michael (XIAO Xufeng)
e97e7281b2 Merge branch 'feature/tinyusb_cdc' into 'master'
Feature/tinyusb cdc

See merge request espressif/esp-idf!7212
2020-08-10 18:13:23 +08:00
Darian Leung
fdbda1ce78 TWAI: Simplify caps header
This commit simplies the defines made in the _caps.h header. Kconfig
option dependencies were moved into the LL, and the check for a
valid BRP has bee simplified.
2020-08-10 17:01:32 +08:00
Darian Leung
d814a40c1d TWAI: Fix ESP32-S2 register field name 2020-08-10 17:01:32 +08:00
Darian Leung
6983d1e0bb TWAI: Fix BRP field initialization onf ESP32 ECO3
This commit zero initializes the brp_div field on ESP32 ECO3
to prevent incorrect timing configuration.
2020-08-10 17:01:32 +08:00
Michael (XIAO Xufeng)
cda9c595d7 Merge branch 'feature/mcpwm_capture_on_both_edge' into 'master'
MCPWM: add an option to do mcpwm capture on both edges

See merge request espressif/esp-idf!9850
2020-08-10 11:48:50 +08:00
Michael (XIAO Xufeng)
37cd6249d8 Merge branch 'bugfix/remove_FILE_from_log_messages' into 'master'
bugfix: remove __FILE__ from log messages

Closes IDFGH-3709 and IDFGH-3712

See merge request espressif/esp-idf!9852
2020-08-10 11:43:38 +08:00
Ivan Grokhotkov
7acda7b8eb Merge branch 'bugfix/panic_instr_fetch_prohibited' into 'master'
panic: don't interrupt the backtrace for InstrFetchProhibited exceptions

See merge request espressif/esp-idf!9851
2020-08-07 21:43:35 +08:00
Michael (XIAO Xufeng)
64f2ac49ce Merge branch 'feature/esp32s3_hal_driver_placeholder' into 'master'
soc: placeholder for esp32s3 HAL driver

See merge request espressif/esp-idf!9897
2020-08-07 17:27:05 +08:00
Jiang Jiang Jian
c27bd40d54 Merge branch 'feature/support_phase2TTLS_algos' into 'master'
wpa_supplicant: add support for PAP, MS-CHAP and CHAP as Phase 2 algorithms for TTLS alongside MS-CHAPv2

Closes FCS-361

See merge request espressif/esp-idf!8816
2020-08-07 14:06:12 +08:00
Jiang Jiang Jian
b613f90cb9 Merge branch 'bugfix/eap_client_iot_issue' into 'master'
wpa_supplicant: Fix IOT issue with freeradius & internal eap agent

See merge request espressif/esp-idf!9766
2020-08-07 12:22:32 +08:00
morris
edb5ddf63b soc: placeholder for esp32s3 HAL driver
soc rtc
2020-08-07 11:59:00 +08:00
xiehang
49cb6905d4 lwip: fix udp tx packet loss issue 2020-08-07 11:25:06 +08:00
Andrei Gramakov
84aa1c0cc3 usb: cdc support, streams redirection; ci, examples upd
tusb: cdc, tasks encapsulation, callbacks api, multiple interfaces
examples: added serial interface and usb console
ci: reimplemented cmake/make test in python with ignore lists

IDF-578
2020-08-06 15:26:08 +02:00
lly
0fcd0bb6b8 ble_mesh: stack: Client model related code clean 2020-08-06 08:45:22 +00:00
lly
e924e5f2f4 ble_mesh: stack: Rename cfg & health client status recv func 2020-08-06 08:45:22 +00:00
lly
36d714ec59 ble_mesh: stack: Check client msg result in common func 2020-08-06 08:45:22 +00:00
lly
02eaaca3d6 ble_mesh: stack: Fix no events for some error conditions 2020-08-06 08:45:22 +00:00
lly
5f6f61f634 ble_mesh: stack: Move client role set to the msg function 2020-08-06 08:45:22 +00:00
lly
ad39479804 ble_mesh: stack: Remove some not used client parameters 2020-08-06 08:45:22 +00:00
lly
1d6f653640 ble_mesh: stack: Remove some not used variables & functions 2020-08-06 08:45:22 +00:00
lly
7542c86d9c ble_mesh: stack: Update client model msg send 2020-08-06 08:45:22 +00:00
Michael (XIAO Xufeng)
64535528ac flash test: decrease the threshold of performance test on s2 2020-08-06 13:13:56 +08:00
Michael (XIAO Xufeng)
bfd71ae7ec Merge branch 'feature/dma_memcpy' into 'master'
esp32s2: async memcpy

Closes IDF-1573

See merge request espressif/esp-idf!8436
2020-08-06 11:32:43 +08:00
Jiang Jiang Jian
066361f5aa Merge branch 'bugfix/put_periph_module_enable/diable_into_iram-least_modification' into 'master'
Bugfix/move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM

See merge request espressif/esp-idf!9808
2020-08-05 23:51:09 +08:00
Jiang Jiang Jian
97b47f117b Merge branch 'bugfix/bluedroid_ble_provisioning_gatt_deregister_fix' into 'master'
Bluedroid: Fix BLE provisioning failure with bluedroid stack

See merge request espressif/esp-idf!9833
2020-08-05 23:50:14 +08:00
Ivan Grokhotkov
600665a563 Merge branch 'bugfix/esp32s2_o2_op' into 'master'
freertos: fix build error at -O2 optimization level

Closes IDFGH-3581

See merge request espressif/esp-idf!9444
2020-08-05 22:03:00 +08:00
Ivan Grokhotkov
4e7e8598f3 freertos: ensure the interrupt stack is aligned
CONFIG_FREERTOS_ISR_STACKSIZE was set to 2100 when ELF core dump was
enabled, which resulted in a non-16-byte-aligned interrupt stack
offset. This triggered "is SP corrupted" check in the backtrace,
terminating the backtrace early.

Fix the default value, and make sure that the stack is always aligned,
regardless of the value of CONFIG_FREERTOS_ISR_STACKSIZE.
2020-08-05 12:51:41 +02:00
Ivan Grokhotkov
5ff9cd495e panic: skip over the first invalid PC in case of InstrFetchProhibited
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.

Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-08-05 12:00:50 +02:00
zhangyanjiao
a5c05e2c94 esp_wifi: fix the bug for softAP power save buffer issue 2020-08-05 14:35:50 +08:00
zhangyanjiao
b47dee59dc esp_wifi: fix the crash when wifi stop after deinit 2020-08-05 11:50:27 +08:00
Michal Vácha
e4820fc447 Fixed TLS 1.1 still being enables even if disabled via config.
Fixed MBEDTLS_SSL_PROTO_TLS1_1 still being defined even ifCONFIG_MBEDTLS_SSL_PROTO_TLS1_1 is not

Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/5675
2020-08-05 03:38:51 +00:00
dongyou
97ae87df41 wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 11:04:16 +08:00
Renz Bagaporo
43af455457 esp_system: fix bootloader wdt enabled build issue
Closes https://github.com/espressif/esp-idf/issues/5643
2020-08-05 10:39:12 +08:00
Ivan Grokhotkov
b3814a1b5e Merge branch 'bugfix/soc_reduce_iram' into 'master'
soc: move RTC initialization out of IRAM

See merge request espressif/esp-idf!9898
2020-08-04 21:44:50 +08:00
morris
b30bd7a2ef esp32s2: add CP_DMA driver 2020-08-04 15:28:32 +08:00