Commit Graph

14244 Commits

Author SHA1 Message Date
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
c2e549b1b8 Merge branch 'feature/ble_combined_adv_scan' into 'master'
bluetooth: added example `ble_adv_scan_combined' for combined scanning and advertising

Closes BT-843 and BT-867

See merge request espressif/esp-idf!6661
2020-08-07 14:08:02 +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
Island
0b9e303e93 Merge branch 'bugfix/ble_mesh_client_msg_optimize' into 'master'
Bugfix/ble mesh client msg optimize

See merge request espressif/esp-idf!9366
2020-08-07 11:04:21 +08:00
Michael (XIAO Xufeng)
b08c2885d8 Merge branch 'bugfix/examples_echo_fix_stack_size' into 'master'
examples: fix echo example crash when UART interrupt handler placed in IRAM

Closes IDFGH-2371

See merge request espressif/esp-idf!8694
2020-08-06 19:32:14 +08:00
Alex Lisitsyn
df9ca688d7 examples: fix echo example crash when UART interrupt handler placed in IRAM 2020-08-06 19:32:11 +08: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)
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
Ivan Grokhotkov
20cbdeab65 Merge branch 'feature/download_only_required_ut_bin' into 'master'
CI: Download only required bin for unit tests

Closes IDF-1608

See merge request espressif/esp-idf!9266
2020-08-06 10:50:59 +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
481409ec05 panic: allow running specific test cases from command line
Small quality-of-life improvement, make it easier to run specific
test cases, when debugging the tests locally.
Take the optional list of test cases to run from the command line.
2020-08-05 12:00:50 +02:00
Ivan Grokhotkov
709730317b panic: fix checks for corrupted backtrace in the test cases
"CORRUPTED" needs to be checked before ELF SHA256. Use
expect_backtrace in every test (which checks for it), remove extra
check for CORRUPTED.
2020-08-05 12:00:50 +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
Mahavir Jain
48b659b474 Merge branch 'bugfix/fix_mbedtls_flag_defined_always' into 'master'
Fixed TLS 1.1 still being enables even if disabled via config.

Closes IDFGH-3755

See merge request espressif/esp-idf!9905
2020-08-05 13:22:30 +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
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
Angus Gratton
a9dd9e3017 Merge branch 'feature/embed_generated_files' into 'master'
cmake: allow embedding files to be dependent on a target

See merge request espressif/esp-idf!8535
2020-08-04 14:39:49 +08:00
Fu Hanxi
19ad15a1b4 modify example tests. delete unused arguments 2020-08-04 13:27:16 +08:00
Fu Hanxi
0478edc6ba CI: download only required bin for unit-tests. Refactor AssignTest related code 2020-08-04 13:27:16 +08:00
kapil.gupta
50b4cf9286 wpa_supplicant: Fix IOT issue with latest freeradius
Fix inter operability issue with freeradius version 3.0.21
and openssl 1.1.1f when internal tls client is used which
requires extension elements in client hello.

closes https://github.com/espressif/esp-idf/issues/5273
closes https://github.com/espressif/esp-idf/issues/5627
2020-08-04 04:50:58 +00:00
Jiang Jiang Jian
59347d6a63 Merge branch 'bugfix/fix_fragment_issue' into 'master'
esp_wifi: Fix WiFi fragment issue

Closes WIFI-2625

See merge request espressif/esp-idf!9877
2020-08-04 12:09:49 +08:00
Island
313f4a97d6 Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested' into 'master'
component/bt: fix Blufi sends longer customer data  will will lead congested

See merge request espressif/esp-idf!9887
2020-08-03 20:54:23 +08:00
Ivan Grokhotkov
01d55b9aea Merge branch 'feature/export_ps1_tools' into 'master'
scripts: updates export.ps1 to export tools' paths

See merge request espressif/esp-idf!9725
2020-08-03 15:26:10 +08:00
Chen Yi Qun
caaf62bdad driver, http_client, web_socket, tcp_transport: remove __FILE__ from log messages
__FILE__ macro in the error messages adds full paths to the production binarys, remove __FILE__ from the ESP_LOGE.

Closes https://github.com/espressif/esp-idf/issues/5637
Merges https://github.com/espressif/esp-idf/pull/5638
2020-08-03 15:21:36 +08:00
Wu Bo Wen
14a6b1db56 driver/mcpwm: add an option to capture on both edges.
However, The functionality of capturing on both edges is alternatively done with passing in the two flags ORed together: MCPWM_NEG_EDGE|MCPWM_POS_EDGE

closes https://github.com/espressif/esp-idf/issues/4446
closes https://github.com/espressif/esp-idf/issues/2943
2020-08-03 14:58:45 +08:00
XieWenxiang
fa729f3805 component/bt: fix Blufi sends longer customer data will will lead congested 2020-08-03 14:55:12 +08:00
Mahavir Jain
79da52f8e1 Merge branch 'feature/upgrade_nghttp2_component' into 'master'
nghttp2: upgrade to v1.41.0 release

Closes IDFGH-2821

See merge request espressif/esp-idf!9843
2020-08-03 14:13:22 +08:00
Michael (XIAO Xufeng)
9103343812 Merge branch 'feature/tinyusb_config_cleanup' into 'master'
Feature/tinyusb config cleanup

Closes IDFGH-3653

See merge request espressif/esp-idf!9782
2020-08-01 23:58:26 +08:00
Ivan Grokhotkov
0ee714e1fa soc: move RTC initialization out of IRAM
Saves approximately 870 bytes of IRAM.
2020-08-01 00:52:43 +02:00
xiehang
c744c6f30c esp_wifi: Fix WiFi fragment issue 2020-07-31 20:02:27 +08:00
Jiang Jiang Jian
d1f9a238f3 Merge branch 'bugfix/sys_fix_build_error_about_livelock' into 'master'
components/sys: Fix build error about livelock when intwdt is disable

See merge request espressif/esp-idf!9312
2020-07-31 16:43:22 +08:00
Krzysztof Budzynski
bda580f3ec Merge branch 'doc/version_specific_inc_bugfix' into 'master'
docs: wrong version specific includes

Closes DOC-322 and IDFGH-3734

See merge request espressif/esp-idf!9809
2020-07-31 14:31:30 +08:00
Jiang Jiang Jian
2ad8f8c9d2 Merge branch 'bugfix/ADV_UNDERRUN_assert_1024' into 'master'
components/bt: Fix ble assert(1024,0), ADV_UNDERRUN error

Closes BT-726

See merge request espressif/esp-idf!9479
2020-07-30 21:18:11 +08:00