Commit graph

9139 commits

Author SHA1 Message Date
Marius Vikhammer c343323863 Fixes issues with gen_crt_bundle.py for unicode chars
gen_crt_bundle.py could fail to parse the certificates if it contained a non-ascii character.
2020-06-08 18:27:03 +08:00
Ivan Grokhotkov 58e1100473 Merge branch 'bugfix/cast_int_to_size_t_in_cpu_ll' into 'master'
soc: cast int to size_t in cpu_ll

Closes IDFGH-3352

See merge request espressif/esp-idf!9077
2020-06-08 15:40:42 +08:00
Jiang Jiang Jian ee5a630ee6 Merge branch 'bugfix/esp32_can_not_scan_ap_after_restart' into 'master'
wifi: upadte esp32 phy lib to 4182

Closes WIFI-2433

See merge request espressif/esp-idf!9073
2020-06-08 14:38:18 +08:00
Jiang Jiang Jian 82448f1bc1 Merge branch 'bugfix/supplicant_mbedtls_rsa_apis' into 'master'
wpa_supplicant: Replace internal RSA APIs by mbedtls APIs

See merge request espressif/esp-idf!8099
2020-06-08 14:37:33 +08:00
Michael (XIAO Xufeng) 1a6191debe Merge branch 'bugfix/fix_ledc_unable_to_work_in_light_sleep_mode' into 'master'
bugfix (Ledc):  fix the bug that ledc low-speed channel can not work when chip in light-sleep mode

See merge request espressif/esp-idf!8392
2020-06-08 14:25:43 +08:00
kapil.gupta 1cabd06f0c wpa_supplicant: Replace internal RSA APIs by mbedtls APIs
Curretly wpa_supplicant uses internal APIs for RSA operations
which internally uses lots of big num operations.

Big num operations are CPU expensive and can take a lot of time
which can cause watchdog timer to tigger.

This can be optimize by using mbedtls APIs which uses
hardware blocks for big num operations.

To fix this, write new crypto_mbedtls-rsa.c which has APIs
similar to crypto_internal-rsa.c but uses mbedtls APIs.
2020-06-07 15:31:12 +00:00
Ivan Grokhotkov 8526cb577c Merge branch 'bugfix/coredump_workaround_esp32s2_sha256_support' into 'master'
Limit coredump SHA256 support for ESP32 only

See merge request espressif/esp-idf!8817
2020-06-05 22:14:46 +08:00
zhangyanjiao 6f5e9398f7 esp_wifi: upadte esp32 phy lib to 4182
Closes https://github.com/espressif/esp-idf/issues/5323
2020-06-05 17:07:18 +08:00
Mahavir Jain 790aecfc6a Merge branch 'feature/get_chunk_length' into 'master'
esp_http_client: Add API to get chunk length

Closes IDFGH-3319

See merge request espressif/esp-idf!9074
2020-06-05 15:06:26 +08:00
Shubham Kulkarni de5ee9cc80 esp_http_client: Add API to get chunk length in case of chunked responses
Closes: https://github.com/espressif/esp-idf/issues/5302
2020-06-05 09:57:32 +05:30
kapil.gupta 179292f9b3 esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of  WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-04 17:54:26 +05:30
Angus Gratton 8b692c85f1 Merge branch 'test/move_rom_unit_test' into 'master'
move rom unit test && enable intr_alloc test on esp32s2

See merge request espressif/esp-idf!8263
2020-06-04 16:47:25 +08:00
Angus Gratton 9d52318683 Merge branch 'doc/ds_S2' into 'master'
DOC: DS documentation for S2

See merge request espressif/esp-idf!8450
2020-06-04 16:36:13 +08:00
Angus Gratton 3b20e73b67 Merge branch 'bugfix/bootloader_header_align' into 'master'
bootloader: Force bootloader_image_hdr to be word aligned

See merge request espressif/esp-idf!9020
2020-06-04 16:21:12 +08:00
Jiang Jiang Jian c1bbc94e9d Merge branch 'bugfix/esp32s2_airkiss_fail' into 'master'
fix the bug that ESP32S2 can't receive AMPDU when airkiss

Closes ESPCS-380 and WIFI-2369

See merge request espressif/esp-idf!8740
2020-06-04 11:44:17 +08:00
Jakob Hasse 516680a4ff Doc: DS documentation for S2 2020-06-04 10:49:22 +08:00
David Čermák d3588f53a7 Merge branch 'feature/pin_ethernet_task_to_core' into 'master'
ethernet: support pin emac task to core

Closes IDFGH-3383

See merge request espressif/esp-idf!8953
2020-06-03 22:26:03 +08:00
Island b2a0e63ca8 Merge branch 'bugfix/ble_mesh_remove_relay_dependency' into 'master'
ble_mesh: Remove relay option dependency

See merge request espressif/esp-idf!9024
2020-06-03 15:20:24 +08:00
Island ae2898f12e Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check' into 'master'
ble_mesh: Rework prov pdu length check

See merge request espressif/esp-idf!8993
2020-06-03 15:10:14 +08:00
morris 2ccdd7eb10 intr_alloc: using isr version of critical section 2020-06-03 13:16:13 +08:00
morris d70961ad58 esp32s2: add more unit test for esp32s2
Most of the test cases are copied from esp32
add int_alloc test
add delay test
add random test
2020-06-03 13:16:13 +08:00
morris 783779c870 esp_rom: move rom api test into esp_rom component 2020-06-03 13:16:13 +08:00
Michael (XIAO Xufeng) 099f2706aa Merge branch 'bugfix/fix_adc_dac_conflict' into 'master'
Driver(adc): Disable the synchronization operation function of ADC1 and DAC

Closes IDF-1585

See merge request espressif/esp-idf!8364
2020-06-03 12:41:50 +08:00
Michael (XIAO Xufeng) 1a1b0574ac Merge branch 'bugfix/fix_fifo_cnt_bug' into 'master'
bugfix(uart): fix esp32 uart  fifo_cnt bug

See merge request espressif/esp-idf!8974
2020-06-03 11:44:39 +08:00
xiongyu eea38d7698 bugfix(uart): fix esp32 fifo_cnt bug
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-02 21:38:31 +08:00
lly 5ced2206b4 ble_mesh: Remove relay option dependency
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-06-02 19:05:16 +08:00
Michael (XIAO Xufeng) d2bb1e1b75 Merge branch 'bugfix/fix_adc_dac_driver_ut' into 'master'
Driver(adc): fix adc driver and UT

See merge request espressif/esp-idf!8482
2020-06-02 17:46:45 +08:00
Jiang Jiang Jian c807e9f6af Merge branch 'bugfix/enable_esp32s2_wifi_example' into 'master'
esp_wifi: re-enable build wifi example

Closes WIFI-2384

See merge request espressif/esp-idf!8991
2020-06-02 17:38:22 +08:00
Chen Jian Xing ebb2caa940 esp_wifi: re-enable build wifi example 2020-06-02 17:38:22 +08:00
Angus Gratton e6151c4394 bootloader: Force bootloader_image_hdr to be word aligned
Possible due to linker order for this file to be placed unaligned,
causing failure from bootloader_flash_read() function.
2020-06-02 18:13:37 +10:00
zhangyanjiao 1fe08ef40e wifi: fix the bug that ESP32S2 can't receive AMPDU when airkiss 2020-06-02 14:57:13 +08:00
Jiang Jiang Jian 702f768814 Merge branch 'feature/btdm_add_clear_white_list_API' into 'master'
component/bt: add clear white list API

See merge request espressif/esp-idf!8845
2020-06-02 14:53:30 +08:00
zhiweijian 6d593eb6fc component/bt: add clear white list API 2020-06-02 11:29:51 +08:00
Island bcbf2f2275 Merge branch 'bugfix/ble_mesh_model_recv_fix' into 'master'
Bugfix/ble mesh model recv fix

See merge request espressif/esp-idf!8988
2020-06-02 11:00:07 +08:00
Island 7c72a0b1f0 Merge branch 'bugfix/ble_mesh_example_nvs_store' into 'master'
Bugfix/ble mesh example nvs store

Closes BMCI-84

See merge request espressif/esp-idf!8972
2020-06-02 10:57:54 +08:00
Ivan Grokhotkov b40c7c78e3 Merge branch 'feature/nvs_cxx_enums' into 'master'
Enabled enum types for nvs C++ handle

See merge request espressif/esp-idf!8700
2020-06-02 01:13:00 +08:00
Ivan Grokhotkov 44d3efc1db Merge branch 'feature/nvs_allow_custom_part' into 'master'
NVS: allow custom partition

See merge request espressif/esp-idf!8910
2020-06-02 01:12:07 +08:00
lly c6e9d789b7 ble_mesh: Rework prov pdu length check 2020-06-01 20:44:52 +08:00
fuzhibo 3cc2d0e9a4 Driver(adc): Disable the synchronization operation function of ADC1 and DAC
Closes IDF-1585
2020-06-01 16:23:47 +08:00
Ivan Grokhotkov b73a38da9e Merge branch 'bugfix/coredump_memregion_size' into 'master'
coredump: Fixes size of memory region used by espcoredump.py

See merge request espressif/esp-idf!8975
2020-06-01 15:04:45 +08:00
fuzhibo d90e0e4345 driver(adc): fix unit test for ADC-DMA (test_esp32s2.c); fix unit test for ADC-DMA (test_esp32s2.c); fix commit in adc dirver. 2020-06-01 15:00:08 +08:00
Angus Gratton 33bfe2393a Merge branch 'bugfix/wpa_supplicant_no_hw_mpi' into 'master'
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI

Closes IDFGH-3344

See merge request espressif/esp-idf!8822
2020-06-01 14:48:06 +08:00
Angus Gratton 8b156a9095 Merge branch 'feature/switch_from_external_to_interanl_ram' into 'master'
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack

Closes IDFGH-3086

See merge request espressif/esp-idf!8785
2020-06-01 14:39:22 +08:00
lly e41eae1b07 ble_mesh: correct the return type [Zephyr] 2020-06-01 14:08:21 +08:00
lly 1e29d86dd3 ble_mesh: Add net_buf_simple_init_with_data [Zephyr] 2020-06-01 13:57:41 +08:00
lly 8a8caebf51 ble_mesh: Optimize model recv operations [Zephyr]
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-06-01 13:57:33 +08:00
Michael (XIAO Xufeng) a7e0cd656c Merge branch 'bugfix/fix_uart_module_enable_issue' into 'master'
Bugfix (uart): fix uart module reset issue

Closes IDFGH-3370

See merge request espressif/esp-idf!8591
2020-06-01 12:13:31 +08:00
Michael (XIAO Xufeng) 507a5e51f5 Merge branch 'bugfix/freemodbus_fix_event_processing_after_destroy' into 'master'
freemodbus: fix event processing failure after destroy

Closes IDFGH-3283

See merge request espressif/esp-idf!8731
2020-06-01 11:40:58 +08:00
houwenxiang 46713a5275 driver(uart): fix uart module reset issue
On ESP32, due to fifo reset issue, UART2 will work incorrectly if reset the fifo of UART1(TX fifo and RX fifo). The software can workaround the RX fifo reset issue,

        while the TX fifo reset issue can not. When UART2 is used and UART1 is used as the log output port, a software reset can reproduce this issue. So we should reset the UART memory

        before the software reset to solve this problem.
2020-06-01 11:01:26 +08:00
houwenxiang 73384adfbe driver(Ledc): fix the bug that ledc low-sleep channel can not work when chip in light-sleep mode
`esp_light_sleep_start` will disable the RTC8M_CLK, which will cause the LEDC low-speed channel to not work in light-sleep mode
2020-06-01 09:51:32 +08:00