Alex Lisitsyn
3efa8d7a97
core dump: add ESP32-S2 support
2020-03-03 23:37:45 +08:00
Jiang Jiang Jian
ebd35a1657
Merge branch 'bugfix/wep_crash' into 'master'
...
esp-wifi: Fix crash during WEP shared auth
See merge request espressif/esp-idf!7818
2020-03-03 19:18:46 +08:00
kapil.gupta
c634de1532
esp-wifi: Fix crash during WEP shared auth
...
VNC 1181
WIFI Lib: 526
2020-03-03 17:29:03 +08:00
David Cermak
7bf1a1db35
MQTT: Reference latest mqtt addressing c++ build and qos1/2 resend
...
Closes https://github.com/espressif/esp-idf/issues/4787
2020-03-03 07:07:57 +00:00
Jiang Jiang Jian
36e292b97d
Merge branch 'bugfix/add_hostname_in_discover_packet' into 'master'
...
lw-ip:add host name in discover packet
Closes WIFI-1702
See merge request espressif/esp-idf!7677
2020-03-03 14:25:19 +08:00
Jiang Jiang Jian
e8ca5e6f21
Merge branch 'bugfix/Add_wifi_stop_check_in_deinit_entry' into 'master'
...
esp_wifi: Add wifi stop check at wifi deinit entry
Closes WIFI-1671
See merge request espressif/esp-idf!7800
2020-03-03 12:33:05 +08:00
Angus Gratton
bfc37ab43f
Merge branch 'bugfix/spiflash_read_psram' into 'master'
...
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
Closes IDFGH-2698
See merge request espressif/esp-idf!7768
2020-03-03 10:20:15 +08:00
Angus Gratton
95f7b1985b
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-03 00:17:27 +00:00
Angus Gratton
fb340940d3
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
...
Previously would try allocate buffer of minimum size 16KB not maximum size 16KB, causing
out of memory errors for any large reads, or if less than 16KB contiguous free heap.
Also, if using legacy API and internal allocation failed then implementation would abort()
instead of returning the error to the caller.
Added test for using large buffers in PSRAM.
Closes https://github.com/espressif/esp-idf/issues/4769
Also reported on forum: https://esp32.com/viewtopic.php?f=13&t=14304&p=55972
2020-03-03 00:17:27 +00:00
morris
580ce8fa4a
driver: clean pcnt.h i2s.h
2020-03-02 19:31:29 +08:00
xueyunfei
1dfd4d7c42
add host name in discover packet
2020-03-02 08:18:28 +00:00
xiehang
299ab1360c
eps_wifi: Add wifi stop check at wifi deinit entry
2020-03-02 14:20:28 +08:00
zhangyanjiao
36c726de99
esp_wifi: fix bugs related to espnow and channel set
...
1. Fix the bug for setting channel when Wi-Fi in NULL mode
2. Fix the espnow crash issue
2020-03-02 11:32:05 +08:00
Jiang Jiang Jian
6fd855ab8d
Merge branch 'bugfix/IPV6_multicast_adress_error' into 'master'
...
lw-ip:fix ipv6 bug when input the wrong broadcast
Closes IDF-1226
See merge request espressif/esp-idf!7771
2020-02-29 16:24:19 +08:00
liu zhifu
6fa0ef50d1
esp_wifi: fix S2 WiFi RX filter issue
2020-02-28 21:37:30 +08:00
Jiang Jiang Jian
520ae6543d
Merge branch 'bugfix/add_ant_field_for_esp32s2' into 'master'
...
(S2) WiFi: add ant field for esp32s2 and update phy lib v102 to v202
Closes WIFI-1787 and WIFI-1788
See merge request espressif/esp-idf!7676
2020-02-28 21:17:40 +08:00
ChenJianxing
a182c0682e
(S2) WiFi: add ant field for esp32s2 and update phy lib from v102 to v202
2020-02-28 17:44:21 +08:00
Jiang Jiang Jian
40baff19f8
Merge branch 'bugfix/btdm_div_by_zero_in_slp_clk_conversion' into 'master'
...
bugfix/btdm_div_by_zero_in_slp_clk_conversion
See merge request espressif/esp-idf!7785
2020-02-28 17:19:40 +08:00
liu zhifu
940b4786c5
esp_wifi: fix the bug that WiFi stop leads to memory leak
2020-02-28 12:06:26 +08:00
xueyunfei
74e690402c
fix ipv6 bug when input the wrong broadcast
2020-02-28 12:00:45 +08:00
Angus Gratton
04ccb84b83
Merge branch 'feature/cpu_abstraction' into 'master'
...
CPU related operations abstraction
See merge request espressif/esp-idf!7301
2020-02-28 11:54:29 +08:00
wangmengyang
3428a1ad0b
component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled
2020-02-28 11:36:48 +08:00
Mahavir Jain
2187948cf0
Merge branch 'bugfix/use_less_ram_for_esp_event_performance_test' into 'master'
...
esp_event: reduce event bases registered in performance test
See merge request espressif/esp-idf!7807
2020-02-28 11:25:24 +08:00
Michael (XIAO Xufeng)
ce3ab0b8df
Merge branch 'bugfix/nec_example' into 'master'
...
bugfix in NEC example and low level function
Closes IDFGH-2676 and IDFGH-2689
See merge request espressif/esp-idf!7562
2020-02-28 11:00:50 +08:00
Mahavir Jain
371b3d26ee
Merge branch 'feature/https_server_using_wolfssl' into 'master'
...
Feature/https server using wolfssl
See merge request espressif/esp-idf!7422
2020-02-27 18:57:12 +08:00
Renz Christian Bagaporo
c643f743ce
esp_event: halve the events registered in performance test
2020-02-27 15:54:54 +05:00
Mahavir Jain
5f897fd33c
Merge branch 'feat/secure_boot_v2_v41' into 'master'
...
feat/secure_boot_v2: Adding secure boot v2 support to ESP32-ECO3
Closes IDF-799
See merge request espressif/esp-idf!6778
2020-02-27 18:54:08 +08:00
Aditya Patwardhan
c6ad650796
esp_tls_wolfssl: Add support for DER formatted certificates
2020-02-27 15:20:22 +05:30
Aditya Patwardhan
0a25922043
esp_tls_wolfssl: 1) Fix SNI for wolfSSL
...
2) Fix error captures
3) Add error flags specific wolfSSL
4) make respective changes to esp_err_to_name.c
2020-02-27 15:20:22 +05:30
Aditya Patwardhan
d35862b662
esp-tls: Add support for https_server using wolfSSL
2020-02-27 15:20:22 +05:30
Angus Gratton
26efc5a6d0
bootloader: Set the bootloader optimization level separately to the app
...
Change the default bootloader config to -Os to save size.
This is a useful feature because it allows switching between debug
and release configs in the app without also needing to account for a
size change in the bootloader.
2020-02-27 14:38:52 +05:30
Angus Gratton
d40c69375c
bootloader: Add fault injection resistance to Secure Boot bootloader verification
...
Goal is that multiple faults would be required to bypass a boot-time signature check.
- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32
Add some additional checks for invalid sections:
- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-02-27 14:37:19 +05:30
Angus Gratton
0dacff4df4
secure boot: Encrypt the bootloader signature when enabling flash encryption + secure boot v2
2020-02-27 14:32:42 +05:30
Jiang Jiang Jian
4bd9c2ff64
Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue' into 'master'
...
bugfix: Place the Vendor Specific element at the end according to the protocol
Closes WIFI-705
See merge request espressif/esp-idf!7669
2020-02-27 14:31:45 +08:00
Jiang Jiang Jian
5ab8250bde
Merge branch 'feat/ble_mesh_update' into 'master'
...
ble_mesh: Miscellaneous modifications
Closes BLEMESH-139 and BLEMESH-38
See merge request espressif/esp-idf!7385
2020-02-27 11:34:58 +08:00
Michael (XIAO Xufeng)
7f8c827326
Merge branch 'bugfix/fix_driver_ut_pcnt' into 'master'
...
bugfix(pcnt): fix driver ut pcnt
See merge request espressif/esp-idf!6891
2020-02-27 11:29:28 +08:00
Renz Christian Bagaporo
d46989efa3
soc: remove param checking in cpu related abstractions
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
f75cb2ef00
soc: change cpu stall, unstall, and reset core to not return values
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
d5c123c1f5
soc: use own macro to assert proper args for cpu abstractions
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
7386ac6d15
esp32s2: remove calls to stall/unstall other core
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
7f864d24ad
soc: prefer assertions, disabling functions for cpu abstractions
...
Prefer assertions, making available functions only when caps support it
for cpu-related abstractions.
Changes cpu hal functions to stall, unstall, reset to not accept -1;
instead prefering macros that provide the same functionality.
2020-02-27 07:15:14 +05:00
Renz Christian Bagaporo
cefc71cdcd
bootloader_support: mem-related initializations using cpu abstractions
2020-02-27 07:14:21 +05:00
Renz Christian Bagaporo
db608736fb
freertos: implement get core id with cpu abstraction
2020-02-27 07:14:21 +05:00
Renz Christian Bagaporo
f3c6320ff6
soc: implement cpu utils in terms of cpu abstractions
2020-02-27 07:14:21 +05:00
Renz Christian Bagaporo
c9a51bfbb2
soc: create abstraction for cpu related operations
2020-02-27 07:14:19 +05:00
Jiang Jiang Jian
ac55328efd
Merge branch 'bugfix/fix_sae_test_failure' into 'master'
...
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
See merge request espressif/esp-idf!7792
2020-02-26 22:38:06 +08:00
Sachin Parekh
301dacfb33
Exception handlers for LoadStoreError and LoadStoreAlignmentError
...
Configurable option to use IRAM as byte accessible memory (in single core mode) using
load-store (non-word aligned and non-word size IRAM access specific) exception handlers.
This allows to use IRAM for use-cases where certain performance penalty
(upto 170 cpu cycles per load or store operation) is acceptable. Additional configuration
option has been provided to redirect mbedTLS specific in-out content length buffers to
IRAM (in single core mode), allows to save 20KB per TLS connection.
2020-02-26 20:21:59 +08:00
Sagar Bijwe
0f1710d878
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
...
Problem:
mbedtls_ctr_drbg_context was initialized in crypto_ec_point_mul. This
was okay in releases before 2.16.4 as entropy_len used to get set to
MBEDTLS_CTR_DRBG_ENTROPY_LEN in function mbedtls_ctr_drbg_seed. The
function is now changed to set the length to
MBEDTLS_CTR_DRBG_ENTROPY_LEN if previous length is 0 and hence the bug.
Solution:
Initialize mbedtls_ctr_drbg_context in crypto_ec_point_mul.
2020-02-26 17:50:08 +05:30
Michael (XIAO Xufeng)
c53192d521
Merge branch 'bugfix/fix_uart_set_line_inverse_breaking_change_issue' into 'master'
...
Bugfix(uart): fix uart_set_line_inverse breaking change issue
Closes IDFGH-2469
See merge request espressif/esp-idf!7345
2020-02-26 18:34:52 +08:00
Michael (XIAO Xufeng)
9d8e590d86
Merge branch 'fix/spi_flash_legacy_on_esp32s2' into 'master'
...
spi_flash: fix the reading issue using the ROM functions on ESP32-S2
See merge request espressif/esp-idf!7767
2020-02-26 18:04:51 +08:00