Angus Gratton
13ef9cf4bc
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
...
Significantly speeds up heap initialization at startup when default "Light" heap
poisoning is enabled.
Tip via reddit user LinkeSeitentasche https://www.reddit.com/r/esp32/comments/fnj51a/a_guide_to_improving_esp32_boot_speed/
2020-04-27 16:32:24 +10:00
espressif
7d934dafb8
mcpwm: fix the issue of wrong period (backport v4.1)
2020-04-24 21:10:14 +08:00
xueyunfei
c50952ebaf
fixbug for tcp kill state assert
2020-04-23 15:58:29 +08:00
xueyunfei
0c92ca5175
fixbug for set dhcp time fail for 4.1
2020-04-22 11:13:01 +08:00
Angus Gratton
a41bcacf31
Merge branch 'bugfix/ppp_enable_ipv6_v4.1' into 'release/v4.1'
...
esp-netif: make the IPv6 configurable for PPP netifs (v4.1)
See merge request espressif/esp-idf!8200
2020-04-21 12:36:00 +08:00
Angus Gratton
e9c6f119de
Merge branch 'bugfix/make_system_using_rom_time_funcs_v4.1' into 'release/v4.1'
...
esp_rom: Fix esp32.rom.newlib-time.ld should includes all time ROM functions/data (v4.1)
See merge request espressif/esp-idf!8365
2020-04-17 14:14:13 +08:00
Angus Gratton
1ea008d22e
Merge branch 'feature/add_rtc_xtal_cal_retry_option_v4.1' into 'release/v4.1'
...
esp32: Add a Kconfig option - Number of attempts to repeat 32k XTAL calibration (v4.1)
See merge request espressif/esp-idf!7931
2020-04-16 15:25:03 +08:00
Jiang Jiang Jian
585d53dfa8
Merge branch 'bugfix/fix_errors_with_mbedtls_disabled_v4.1' into 'release/v4.1'
...
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled. (v4.1)
See merge request espressif/esp-idf!8356
2020-04-16 14:59:35 +08:00
Jiang Jiang Jian
1f480f4570
Merge branch 'bugfix/fix_API_esp_wifi_stop_crash_issue_v4.1' into 'release/v4.1'
...
bugfix: fix esp_wifi_stop crash issue (backport v4.1)
See merge request espressif/esp-idf!8329
2020-04-16 14:58:00 +08:00
Angus Gratton
d10ad9a4b1
Merge branch 'bufgix/esp_ota_get_app_elf_sha256_v4.1' into 'release/v4.1'
...
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled (v4.1)
See merge request espressif/esp-idf!8366
2020-04-16 14:32:21 +08:00
Marius Vikhammer
0c4e55e3bd
app_update: fix test failure for get_app_elf_sha256 test
...
Commit fc03161f
updated esp_ota_get_app_elf_sha256 to store and return
X number of bytes of the hash, but the test case still expected 64 bytes.
Updated test case to use CONFIG value for expected length.
2020-04-15 21:09:57 +08:00
KonstantinKondrashov
a2a71fc68f
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
...
Closes: IDF-1342
2020-04-15 21:05:58 +08:00
KonstantinKondrashov
ae063d96c2
esp_rom: Fix esp32.rom.newlib-time.ld should includes all time ROM functions/data
...
- Added UT
Closes: https://github.com/espressif/esp-idf/issues/4925
2020-04-15 20:59:24 +08:00
KonstantinKondrashov
3948065c24
efuse: Using IDF_ENV_FPGA in UTs
2020-04-15 19:43:07 +08:00
KonstantinKondrashov
33eab40f2a
efuse/esp32s2: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
2020-04-15 19:36:47 +08:00
KonstantinKondrashov
f59ef5e6ef
efuse/esp32: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
...
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-04-15 19:36:45 +08:00
Sagar Bijwe
b7ae3ff9bd
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled.
...
This is a regression from earlier commit related to TLSV12 which used
sha functions that are currently declared static.
Solution: Follow upstream code structure and resolve the errors.
2020-04-15 15:33:59 +05:30
KonstantinKondrashov
a2a89fb95d
esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
...
Closes: IDF-1479
2020-04-15 16:34:57 +08:00
Ivan Grokhotkov
ffe0cca423
esp_pm: esp_pm_dump_locks: don't print from a critical section
...
Closes https://github.com/espressif/esp-idf/issues/1917
2020-04-15 08:47:37 +02:00
Jiang Jiang Jian
b3410b9210
Merge branch 'bugfix/coredump_no_ext_stacks_v4.1' into 'release/v4.1'
...
core dump: don't allow core dumps to Flash if PSRAM is used for stacks (backport v4.1)
See merge request espressif/esp-idf!8228
2020-04-15 13:25:26 +08:00
Jiang Jiang Jian
b08b0f0949
Merge branch 'bugfix/psram_single_bit_error_v4.1' into 'release/v4.1'
...
psram: support psram 2T mode to fix single bit error (backport v4.1)
See merge request espressif/esp-idf!8327
2020-04-15 13:24:21 +08:00
Jiang Jiang Jian
f646cdd6a8
Merge branch 'nimble/fix_ble_hs_reset_v4.1' into 'release/v4.1'
...
NimBLE: Reset master and slave states on host reset and few minor fixes (backport v4.1)
See merge request espressif/esp-idf!8216
2020-04-15 13:23:59 +08:00
Jiang Jiang Jian
445f727e7a
Merge branch 'bugfix/fix_supplicant_tlsv12_v4.1' into 'release/v4.1'
...
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues (v4.1)
See merge request espressif/esp-idf!8202
2020-04-15 13:06:42 +08:00
Angus Gratton
e1562311bf
Merge branch 'bugfix/logging_compilation_fix_anti_rollback_v4.1' into 'release/v4.1'
...
Minor fix logging issue hindering compilation on anti rollback. (v4.1)
See merge request espressif/esp-idf!8302
2020-04-14 16:36:29 +08:00
Sagar Bijwe
afc1362ea6
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues
...
1) Fixed compilation issues.
2) Added tlsprf.c from upstream
3) Enabled SHA256 in supplicant compilation.
2020-04-13 16:39:59 +00:00
ronghulin
d880672076
bugfix: fix esp_wifi_stop crash issue
2020-04-13 16:05:48 +08:00
chenjianqiang
90a8945930
psram: support psram 2T mode to fix single bit error
...
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 14:26:45 +08:00
lly
1ac44aa202
ble_mesh: Support BLE advertising simultaneously
2020-04-10 17:34:06 +08:00
Prasad Alatkar
acb92c225f
NimBLE: Minor fix in esp_nimble_cfg
and bleprph
README (backport v4.1)
2020-04-09 16:05:14 +05:30
Prasad Alatkar
072d01da2f
NimBLE: Reset master and slave states on host reset and fix build failure (backport v4.1)
2020-04-09 16:05:04 +05:30
Supreet Deshpande
87d68ebb98
Fixes logging issue hindering compilation on anti rollback.
2020-04-09 12:04:20 +05:30
lly
89f7e62011
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-04-09 06:03:59 +00:00
Ivan Grokhotkov
4fe18a9258
Merge branch 'bugfix/IDFGH-2910_v4.1' into 'release/v4.1'
...
NVS: bugfix - iterator skipping version 1 blobs (v4.1)
See merge request espressif/esp-idf!8191
2020-04-09 05:45:49 +08:00
Shubham Kulkarni
4573688862
esp_ota_ops.c: Fix size calculation to erase partition range for OTA image
...
Closes https://github.com/espressif/esp-idf/issues/4953
2020-04-06 13:39:01 +05:30
Ivan Grokhotkov
cd301cc324
core dump: don't allow core dumps to Flash if PSRAM is used for stacks
...
It is not possible to write to Flash when the stack is located in
PSRAM, and it is not possible to write PSRAM buffers into Flash when
malloc can not be used.
2020-04-02 23:43:20 +02:00
Jiang Jiang Jian
9a1c5a903f
Merge branch 'bugfix/btdm_backports_v4.1_0328' into 'release/v4.1'
...
Bugfix/btdm backports v4.1 0328
See merge request espressif/esp-idf!8150
2020-04-02 22:47:49 +08:00
Jiang Jiang Jian
5e09d473c7
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v4.1' into 'release/v4.1'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v4.1)
See merge request espressif/esp-idf!8181
2020-04-01 19:06:55 +08:00
David Cermak
4b59f7e2c7
mdns: limit the GOT_IP6_EVENT to only known network interfaces
2020-04-01 08:52:54 +02:00
David Cermak
716298f8e3
esp-netif-ppp: support for posting GOT_IP event for IPv6
2020-04-01 08:52:54 +02:00
Francesco Giancane
3c01f68a78
lwip: make IPV6 link-local support over PPP configurable
...
Make the link local negotiation for IPV6 in PPP optional and
configurable.
This is because some modems do not support the IPV6 negotiation and
sending IPV6CP frames would in some cases break the network
configuration phase, resulting in a timeout during the Phase Network.
Please note that this does not disable the IPV6 support for the outgoing
communication (IPV6 is still enabled even if this option is not
selected) but just for the local link between lwIP and modem.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4782
Closes https://github.com/espressif/esp-idf/issues/1065
2020-04-01 08:52:54 +02:00
Angus Gratton
a5bf353e3f
Merge branch 'backport/malloc_zero_return_null_v4.1' into 'release/v4.1'
...
backport/malloc_zero_return_null_v4.1
See merge request espressif/esp-idf!8146
2020-04-01 14:41:33 +08:00
Jakob Hasse
26379f7d3e
NVS: bugfix - iterator skipping version 1 blobs
...
Closes https://github.com/espressif/esp-idf/issues/4954
2020-04-01 11:16:28 +08:00
xiewenxiang
79590d2e21
component/bt: fix don't dequeue the command queue after process the read_by_type_req
2020-03-31 16:27:08 +08:00
Angus Gratton
c17d55eb9b
esp32: Enable flash encryption by setting FLASH_CRYPT_CNT to max
...
Previous method was to write-protect this efuse, however on ECO3
the write protect field also covers the UART_DOWNLOAD_DIS efuse.
Doing it this way keeps the possibility of disabling UART download
mode, later.
2020-03-31 17:31:59 +11:00
Angus Gratton
cf8dd62fc4
secure boot v2: esp32: Prevent read disabling additional efuses
...
Also reduce the number of eFuse write cycles during first boot when
Secure Boot and/or Flash Encryption are enabled.
2020-03-31 17:31:56 +11:00
Angus Gratton
f96d28172b
Merge branch 'bugfix/monitor_encrypted_target_v4.1' into 'release/v4.1'
...
tools: Fix flashing encrypted binaries from IDF Monitor (v4.1)
See merge request espressif/esp-idf!8126
2020-03-31 13:09:55 +08:00
Jiang Jiang Jian
f538b63458
Merge branch 'bugfix/fix_airkiss_bug_v4.1' into 'release/v4.1'
...
fix the bug for Airkiss (backport v4.1)
See merge request espressif/esp-idf!8121
2020-03-31 00:07:51 +08:00
baohongde
a8494b68e1
components/coex: Fix wakeup delay with DFS
2020-03-28 20:12:21 +08:00
liu zhifu
8367bc4571
esp_wifi: backport some WiFi bugs
...
1. Fix WiFi log print level
2. Optimize WiFi/BT coexist sleep
- If any data tx/rx in WiFi slice, fore wakeup next TBTT
- Increase active timeout time to coex TBTT interval to avoid sleep in WiFi slice
2020-03-28 18:13:31 +08:00
gengyuchao
374e9b32d4
bugfix/fix_controller_disable_re_enable_crash
2020-03-28 17:14:37 +08:00
Felipe Neves
7fdc9571ba
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-27 14:27:45 -03:00
Mahavir Jain
f9f42a9d90
Merge branch 'fix/wifi_provisioning_uuid_v4.1' into 'release/v4.1'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script (backport v4.1)
See merge request espressif/esp-idf!8081
2020-03-27 22:54:10 +08:00
Roland Dobai
820ed5c7f1
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-27 09:43:26 +01:00
zhangyanjiao
88f8f91d40
fix the bug for Airkiss
...
Closes https://github.com/espressif/esp-idf/issues/3362
2020-03-26 21:12:52 +08:00
Angus Gratton
06337f1034
Merge branch 'bugfix/cmake_bugfixes_v4.1' into 'release/v4.1'
...
CMake-related bugfixes (v4.1)
See merge request espressif/esp-idf!8067
2020-03-26 16:29:55 +08:00
Prasad Alatkar
db1111ef79
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-26 05:04:52 +00:00
Jiang Jiang Jian
dbaf0f1e93
Merge branch 'bugfix/backport_some_wifi_bugs_0323_v4.1' into 'release/v4.1'
...
esp_wifi: Backport some wifi bugs 0323 (backport v4.1)
See merge request espressif/esp-idf!8086
2020-03-25 15:11:32 +08:00
Jiang Jiang Jian
906280e767
Merge branch 'optimization/TCPv6_connect_for_v4.1' into 'release/v4.1'
...
lw-ip:optimization TCPv6 connect for 4.1
See merge request espressif/esp-idf!8048
2020-03-24 15:25:27 +08:00
xiehang
55abe2eba8
esp_wifi: Fix ESP32S2 wifi log not printing
2020-03-24 15:05:05 +08:00
xiehang
fbe215f3c0
esp_wifi: backport some wifi bugs 0323
...
1.Reduce wifi bin size
2.Add TX packets size check
3.Fix scan get rssi error
4.Return fail when setting AP's channel out of range
2020-03-24 15:05:00 +08:00
Mahavir Jain
b8fe1fdf27
bootloader_support: initialize mbedtls_ctr_drbg_context per mbedtls v2.16.5 requirement
...
In commit 02d2903e39
, mbedtls was
updated to release v2.16.5, where it was made mandatory to initialize
mbedtls_ctr_drbg_context before using same. It was fixed in wpa supplicant
but missed out in secure boot v2 verification code. This commit
fixes that.
2020-03-23 11:22:20 +05:30
Mahavir Jain
355a210a38
mbedtls: upgrade to release v2.16.5
...
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released
Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-03-23 11:22:02 +05:30
Sagar Bijwe
5c4f7948d4
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-03-23 11:22:02 +05:30
Renz Bagaporo
bc81db3676
cmake: show error message on encrypted flash targets without proper config
2020-03-22 20:44:23 +08:00
Renz Bagaporo
cc95d14d80
ulp: fix ulp external project args
...
Closes https://github.com/espressif/esp-idf/issues/4713
2020-03-22 20:00:21 +08:00
Renz Christian Bagaporo
1717232f11
ulp: use quotes when specifying files for embedding ulp binaries
2020-03-22 19:59:50 +08:00
Renz Christian Bagaporo
2aba19e00d
partition_table: output partition table info for partition_table target
2020-03-22 19:58:48 +08:00
Jiang Jiang Jian
bac92d579f
Merge branch 'bugfix/send_ok_when_sta_disconnect_for_v4.1' into 'release/v4.1'
...
lw-ip:bugfix for TCPv6 send ok when sta disconnect for v4.1
See merge request espressif/esp-idf!8025
2020-03-21 15:15:49 +08:00
Jiang Jiang Jian
b445b59c5e
Merge branch 'bugfix/wep40_key_parsing_bug_v4.1' into 'release/v4.1'
...
Bugfix/wep40 key parsing bug v4.1
See merge request espressif/esp-idf!7990
2020-03-20 17:33:50 +08:00
xueyunfei
9b31a2e7f9
optimization TCPv6 connect for 4.1
2020-03-20 15:04:31 +08:00
Jiang Jiang Jian
71ffae5d6e
Merge branch 'bugfix/hfp_github_issues_v4.1' into 'release/v4.1'
...
Bugfix for HFP and some Github issue. v4.1
See merge request espressif/esp-idf!7975
2020-03-20 13:21:33 +08:00
xueyunfei
c092f9b881
bugfix for TCPv6 send ok when sta disconnect
2020-03-19 14:14:13 +08:00
kapil.gupta
582a493739
wpa_supplicant: Add parsing support for WEP40 key
...
WEP key is passed as ascii key without "", add parsing support
in supplicant for this.
2020-03-18 13:40:05 +00:00
Angus Gratton
4414e829de
Merge branch 'backport/feat/secure_boot_v2_v41' into 'release/v4.1'
...
Backport/feat/secure boot v2 v41
See merge request espressif/esp-idf!7854
2020-03-18 15:35:53 +08:00
weitianhua
f5fc735711
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-03-18 04:06:24 +00:00
lly
7815cd9ff4
ble_mesh: Fix ble mesh nimble host deinit
2020-03-17 16:18:50 +08:00
Jiang Jiang Jian
1cdea40bba
Merge branch 'bugfix/ble_mesh_miscellaneous_fix_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh miscellaneous fix (v4.1)
See merge request espressif/esp-idf!7969
2020-03-17 15:34:19 +08:00
weitianhua
aa6347339c
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-14 14:41:16 +08:00
weitianhua
8488f292c2
Fix mem_start uninitialized error when compiler optimization performance enabled
2020-03-14 14:41:06 +08:00
lly
6431a5e185
ble_mesh: Move dev_role to the end of model_pub
2020-03-13 19:24:49 +08:00
lly
27b28c0249
ble_mesh: Use the right netkey during iv update
2020-03-13 19:24:45 +08:00
lly
b29bc240a7
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-13 19:24:37 +08:00
lly
940e87c0da
ble_mesh: Check buf->ref before unref the buffer
2020-03-13 19:24:32 +08:00
lly
60eaca9637
ble_mesh: Fix mesh memory use-after-free issue
2020-03-13 19:24:27 +08:00
lly
e01333514d
ble_mesh: Add ble mesh deinit in btc task
2020-03-13 19:24:23 +08:00
lly
f0519c674f
ble_mesh: Free beacon timer when deinit mesh
2020-03-13 19:24:18 +08:00
lly
de9186b908
ble_mesh: Use lock for mesh timer operations
2020-03-13 19:24:12 +08:00
Angus Gratton
5cd45a6d80
secure boot: Fix anti-fault value if hash is shorter than curve
...
(Not actually a problem with SBV1 anti-fault as hash size == curve size in this case.)
2020-03-13 14:01:45 +05:30
Ivan Grokhotkov
7f84669054
Merge branch 'bugfix/from_github_v4.1' into 'release/v4.1'
...
Fixes from Github (backport v4.1)
See merge request espressif/esp-idf!7920
2020-03-11 21:49:19 +08:00
xueyunfei
47f9c0e301
fix bug for after udp close select_waiting assert for v4.1
2020-03-11 10:06:43 +00:00
Mahavir Jain
d09a43fc1e
Merge branch 'bugfix/ota_with_redirection_v4.1' into 'release/v4.1'
...
esp_https_ota in sync with master (v4.1)
See merge request espressif/esp-idf!7914
2020-03-11 14:46:25 +08:00
Michael (XIAO Xufeng)
492065463d
Merge branch 'bugfix/put_spihost_handle_in_sram_v4.1' into 'release/v4.1'
...
spi: always put spihost handle in SRAM (backport v4.1)
See merge request espressif/esp-idf!7901
2020-03-10 14:22:32 +08:00
Alexander Borsuk
ba43902fb8
Fixes compilation error on verbose level (IDFGH-2439)
...
Closes #4552
Merges https://github.com/espressif/esp-idf/pull/4786
2020-03-09 11:25:54 +01:00
Jiang Jiang Jian
fefd64fa83
Merge branch 'Bugfix/netconn_marked_close_crash_for_v4.1' into 'release/v4.1'
...
lw-ip:fix bug for netconn marked close crash for v4.1
See merge request espressif/esp-idf!7896
2020-03-09 16:36:39 +08:00
Shubham Kulkarni
70b1ab76e8
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-03-09 13:26:36 +05:30
Shubham Kulkarni
6bc77d79a6
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-03-09 13:26:36 +05:30
Shubham Kulkarni
4c09dc6270
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-03-09 13:26:36 +05:30
Angus Gratton
2241dda536
Merge branch 'feature/netif_ppp_authtype_none_v4.1' into 'release/v4.1'
...
esp-netif: PPPoS fixes (v4.1)
See merge request espressif/esp-idf!7849
2020-03-09 13:34:16 +08:00
Michael (XIAO Xufeng)
a559d55379
Merge branch 'bugfix/spiflash_read_psram_v4.1' into 'release/v4.1'
...
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers (v4.1)
See merge request espressif/esp-idf!7877
2020-03-09 11:13:29 +08:00
xueyunfei
a1764ec5b0
fix bug for netconn marked close crash for v4.1
2020-03-09 02:54:20 +00:00