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
Jiang Jiang Jian
e69a50fa1d
Merge branch 'bugfix/fix_wifi_stop_leads_to_memory_leak' into 'master'
...
esp_wifi: fix the memory leak caused by WiFi stop
Closes WIFI-1487
See merge request espressif/esp-idf!7766
2020-02-28 14:55:01 +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
0f4cd40b0c
Merge branch 'feature/idf_size_multichip_support' into 'master'
...
tools: Add proper multi-chip support for idf_size.py
Closes IDF-1359 and IDF-363
See merge request espressif/esp-idf!7686
2020-02-28 11:59:01 +08:00
Angus Gratton
f96c374254
Merge branch 'doc/multi_target_list' into 'master'
...
doc: custom list filter directive
Closes IDF-1385
See merge request espressif/esp-idf!7595
2020-02-28 11:57:55 +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
Roland Dobai
1821ee8851
tools: Add proper multi-chip support for idf_size.py
2020-02-27 19:50:05 +01:00
Mahavir Jain
e6a99f0506
Merge branch 'bugfix/heap_ci_assign_test_job_count' into 'master'
...
Increase job count for heap tests esp32s2
See merge request espressif/esp-idf!7808
2020-02-28 01:08:15 +08:00
Supreet Deshpande
2f62b3af4a
Increase job count for heap tests
2020-02-27 17:54:09 +05:30
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
Anton Maklakov
5ea4d7ba61
Merge branch 'ci/ut_esp32s2_allow_schedule' into 'master'
...
ci: allow esp32s2 unit tests run by scheduled pipeline
See merge request espressif/esp-idf!7796
2020-02-27 14:48:10 +08:00
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
Michael (XIAO Xufeng)
9199207c67
ci: allow esp32s2 unit tests run by scheduled pipeline
2020-02-27 11:20:08 +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
Ivan Grokhotkov
5d399b459c
tools: check if idf_tools.py install-python-env is called from a venv
...
Closes IDF-1095
2020-02-26 14:03:38 +01:00
Mahavir Jain
e36516372a
Merge branch 'feature/loadstore_handler' into 'master'
...
LoadStore Exception Handlers
See merge request espressif/esp-idf!7086
2020-02-26 20:21:59 +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
lly
134f57b8e0
ble_mesh: Calc incomplete timeout based on msg info
2020-02-26 17:42:04 +08:00
lly
087bafe5b9
ble_mesh: Start the timer when starting to send the client message
2020-02-26 17:41:46 +08:00
lly
90f8a54a71
ble_mesh: No timeout for client message to non-unicast address
2020-02-26 17:41:30 +08:00
lly
97eca35805
ble_mesh: Unify client application and lower transport layer timeout
2020-02-26 17:41:11 +08:00
lly
e24645c791
ble_mesh: Allow maximum 377 octets payload
2020-02-26 17:40:46 +08:00
lly
828bfeac88
ble_mesh: Reset transport info when node is removed
2020-02-26 17:40:23 +08:00
lly
48343a8a8f
ble_mesh: Provisioner ignores msg from removed node
2020-02-26 17:39:55 +08:00