Angus Gratton
7402e17838
Merge branch 'bugfix/openss_strict_verify_mode' into 'release/v4.2'
...
openssl: made verification mode conversion to mbetls modes more strict (v4.2)
See merge request espressif/esp-idf!10499
2020-09-25 07:40:52 +08:00
Angus Gratton
e610df5870
Merge branch 'bugfix/esp32s2_panic_handler_iram_v4.2' into 'release/v4.2'
...
esp_common: allow placing panic handler into IRAM on ESP32-S2 (v4.2)
See merge request espressif/esp-idf!10295
2020-09-25 07:40:06 +08:00
Angus Gratton
6a711671c6
Merge branch 'bugfix/spinlock_coredump_regressions_v4.2' into 'release/v4.2'
...
Revert "Merge branch 'feature/gdb_stub_task_state' into 'master'" (backport v4.2)
See merge request espressif/esp-idf!10296
2020-09-25 07:33:05 +08:00
Angus Gratton
3b400767f3
Merge branch 'bugfix/idf_py_disable_cmake_warnings_default_v4.2' into 'release/v4.2'
...
idf.py: disable cmake uninitialized variable warnings by default (v4.2)
See merge request espressif/esp-idf!10201
2020-09-25 07:32:22 +08:00
Angus Gratton
4ffe6c096a
Merge branch 'bugfix/esp32s2_o2_op_v4.2' into 'release/v4.2'
...
freertos: fix build error at -O2 optimization level (v4.2)
See merge request espressif/esp-idf!10301
2020-09-25 07:31:58 +08:00
Angus Gratton
f536db1782
Merge branch 'feature/secure_boot_esp32s2_v4.2' into 'release/v4.2'
...
Feature/secure boot esp32s2 v4.2
See merge request espressif/esp-idf!9958
2020-09-25 07:31:45 +08:00
Jiang Jiang Jian
dd29046e88
Merge branch 'bugfix/can_mmap_after_get_enough_free_mmu_pages_v4.2' into 'release/v4.2'
...
flash_mmap: can mmap after get enough free MMU pages (backport v4.2)
See merge request espressif/esp-idf!10584
2020-09-24 22:36:51 +08:00
Krzysztof
fd2e2ac34f
doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions
2020-09-24 18:32:50 +08:00
Victor Lamoine
0831d06dee
Fix ccache documentation: environment variable is IDF_CCACHE_ENABLE
...
Merges https://github.com/espressif/esp-idf/pull/5753
2020-09-24 05:20:33 +00:00
Angus Gratton
722d67ea36
idf.py: Disable CMake --warn-uninitialized option by default
...
Can still be enabled by passing --cmake-warn-uninitialized on the command line
Prevents CMake warnings printed by default if IDF_PATH is underneath the CMake
project directory.
The reason for this is that CMake --warn-uninitialized only enables checks
inside the project directory (ie top-level CMakeLists.txt directory and
subdirectories), it doesn't enable for files included from other directories.
(The only way to enable warnings in other directories is to pass
--check-system-dirs and this looks like it's only useful for CMake's own
developers as it prints a lot of warnings from inside CMake otherwise - see
https://gitlab.kitware.com/cmake/cmake/-/issues/19645 )
Plan to follow up with a later commit to clean up most of the warnings (which
aren't problems for CMake execution), but we'll also disable this option by
default to avoid this unexpected triggering of IDF warnings.
2020-09-24 05:20:33 +00:00
Jiang Jiang Jian
3c2fd749f0
Merge branch 'bugfix/wifi_create_and_start_ap_v4.2' into 'release/v4.2'
...
Set default AP handlers in wifi_create_and_start_ap() v4.2
See merge request espressif/esp-idf!10458
2020-09-24 12:36:50 +08:00
Jiang Jiang Jian
7b30e467b4
Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj_4.2' into 'release/v4.2'
...
Confirmed bugfix from Baidu project 4.2
See merge request espressif/esp-idf!10544
2020-09-24 12:31:52 +08:00
Jiang Jiang Jian
009956c5a7
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v4.2' into 'release/v4.2'
...
wifi: Fix spin lock allocation in PSRAM bug(v4.2)
See merge request espressif/esp-idf!10553
2020-09-24 12:31:14 +08:00
Jiang Jiang Jian
88faf37a59
Merge branch 'bugfix/ipv6_send_data_error_when_src_ip_miss_for_4.2' into 'release/v4.2'
...
lw-ip:ipv6 send multicast data fail when src address is null (backport 4.2)
See merge request espressif/esp-idf!10558
2020-09-24 12:30:35 +08:00
jiangguangming
03a749a60e
flash_mmap: restore interrupt and cache before err return
2020-09-24 09:49:39 +08:00
jiangguangming
98ce1fa080
flash_mmap: can mmap after get enough free MMU pages
2020-09-24 09:49:39 +08:00
Ivan Grokhotkov
9f0c564de4
Merge branch 'feature/toolchain_2020r3_v4.2' into 'release/v4.2'
...
Update toolchain to esp-2020r3 (backport v4.2)
See merge request espressif/esp-idf!10388
2020-09-23 20:26:24 +08:00
Supreet Deshpande
2d63354ec8
Secure Boot: Fixes the cpp macro in esp32 secure boot rom functions.
...
Closes https://github.com/espressif/esp-idf/issues/5878
2020-09-23 03:01:51 +05:30
xueyunfei
fd083f1e44
ipv6 send multicast data fail when src address is null for 4.2
2020-09-22 17:33:02 +08:00
dongyou
c06f0738c9
Fix spin lock allocation in PSRAM bug
2020-09-22 14:36:36 +08:00
xiehang
311d43d021
eps_wifi: Fix some wifi bugs
...
1. Drop receiving packets from myself
2. scan: Fix scan issue with WPA2-PSK-SHA256 AP
2020-09-22 14:23:43 +08:00
Marius Vikhammer
d12eb31f42
CI: Increase stack size for efuse unit test
...
"Batch mode is thread-safe" case would occasionally cause a stackoverflow.
Increased stack size.
2020-09-22 11:54:08 +08:00
weitianhua
b7d4868a70
Confirmed bugfix from Baidu project
2020-09-22 11:44:09 +08:00
Ivan Grokhotkov
8749c46284
esp_common: allow placing panic handler into IRAM on ESP32-S2
2020-09-18 15:35:48 +00:00
weitianhua
84cda60478
Redesign separating AVRC & A2DP
...
1. Add g_av_with_rc to avrc_tg_init function
2. Remove g_av_open_fail
3. Add comment in API files
4. Add a2dp init & deinit state variable to inidcate a2dp statement
2020-09-18 14:09:27 +08:00
weitianhua
e940e1d72a
Add global header and change declaration position
2020-09-18 14:09:19 +08:00
weitianhua
b16deb4473
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:09:10 +08:00
weitianhua
306c978195
Rewrite a2dp clean_up function
2020-09-18 14:09:02 +08:00
weitianhua
59234501dd
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-18 14:08:53 +08:00
Jakob Hasse
26481c4a9d
toolchain: C++ exception workaround
...
* disable C++ exception FDE sorting (saves RAM)
Closes IDF-1128
2020-09-18 12:32:34 +07:00
Anton Maklakov
88a62e8ae5
Update toolchain to esp-2020r3
...
Fixup more for PSRAM issue;
Allow GDB work correctly with Privileged Registers;
Based on GCC 8.4.0;
Update a fix of C++ exception crashs from the GCC mainline;
Fixup strptime_l() and some locale in libc;
2020-09-18 12:32:34 +07:00
Angus Gratton
83ec35f185
tool: Fix 'idf.py bootloader' error if Secure Boot is enabled
...
If Secure Boot is enabled, there's no bootloader flasher arguments in the
project (to encourage careful manual flashing), so this command would
fail with a KeyError.
2020-09-18 04:05:28 +05:30
Felipe Neves
223f800dd7
expression_with_stack: added a tweak on TCB stackpointers to avoid false trigger of stack overflow
2020-09-17 20:46:02 +00:00
Felipe Neves
3e9637a893
test/shared_stack_printf: improved printf with shared stack function test
2020-09-17 20:46:02 +00:00
Ivan Grokhotkov
a6f0b15d3e
Revert "Merge branch 'feature/gdb_stub_task_state' into 'master'"
...
This reverts commit c41a0c1907
, reversing
changes made to 5c1d317766
.
2020-09-17 17:04:48 +00:00
David Cermak
521eee7384
openssl: made verification mode conversion to mbetls modes more strict
2020-09-17 13:22:36 +02:00
Mahavir Jain
6d37ad39aa
provisioning: use memcpy instead of strncpy for copying SSID
...
Per WiFi library requirement, SSID can be non-null terminated string
if its length goes to 32 bytes (maximum). Use of strncpy in this case,
along with compiler optimization level -O2 results in some warnings
for potential use of non-null terminated strings.
Fix here ensures use of memcpy to copy SSID string upto appropriate
desired length. This helps to avoid compiler specific workaround
flags added earlier.
Closes https://github.com/espressif/esp-idf/issues/5866
Closes IDFGH-3983
2020-09-17 15:51:32 +05:30
Jiang Jiang Jian
dddcc2ede8
Merge branch 'bugfix/add_protection_for_spp_api_4.2' into 'release/v4.2'
...
Bugfix/add protection for spp api 4.2
See merge request espressif/esp-idf!10281
2020-09-16 14:06:28 +08:00
Jiang Jiang Jian
21b02a9302
Merge branch 'bugfix/update_esp32_phy_4390_v4.2' into 'release/v4.2'
...
update esp32 phy 4390.(backport v4.2)
See merge request espressif/esp-idf!10456
2020-09-16 11:57:47 +08:00
Angus Gratton
17525d6035
Merge branch 'bugfix/cxx_flag_operators_v4.2' into 'release/v4.2'
...
esp_eth: moved extern "C" after includes (v4.2)
See merge request espressif/esp-idf!10351
2020-09-15 16:12:42 +08:00
Angus Gratton
a4c3aebc3d
Merge branch 'bugfix/ulp_as_version_v4.2' into 'release/v4.2'
...
ulp: fix ULP assembler version detection for localized systems (v4.2)
See merge request espressif/esp-idf!10393
2020-09-15 15:23:26 +08:00
Angus Gratton
7187a3a1eb
Merge branch 'bugfix/eclipse_make_py3_v4.2' into 'release/v4.2'
...
tools: Fix Python 3 incompatibility for building with Eclipse on Windows (v4.2)
See merge request espressif/esp-idf!10398
2020-09-15 15:08:26 +08:00
Jiang Jiang Jian
86b07ef098
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num_4.2' into 'release/v4.2'
...
lw-ip IPv6 ND6 queue too much pkts(Backport v4.2)
See merge request espressif/esp-idf!10091
2020-09-15 15:07:03 +08:00
Angus Gratton
ac016da8ab
Merge branch 'bugfix/bootloader_skip_verify_jtag_v4.2' into 'release/v4.2'
...
bootloader_support: don't check signature when JTAG is attached, fix signed partition table generation (v4.2)
See merge request espressif/esp-idf!10378
2020-09-15 14:58:01 +08:00
dongyou
ddedf25ca8
Set default AP handlers in wifi_create_and_start_ap() v4.2
2020-09-15 14:54:46 +08:00
Supreet Deshpande
7d57165922
Update to compatible crc & SBv2 enable check api's
2020-09-15 11:29:26 +05:30
Angus Gratton
d72350c0ce
ci: Add test apps for ESP32-S2 Secure Boot
2020-09-15 11:23:51 +05:30
Angus Gratton
1c6c6eceb5
secure boot: Fixes for ESP32-S2 first boot logic
2020-09-15 11:23:51 +05:30
Supreet Deshpande
e7b1640c77
Split unit test configs to fit into ESP32s2's memory
2020-09-15 11:23:51 +05:30
Angus Gratton
762e8d5f84
bootloader esp32s2: Fix return type of ROM function signature verification
2020-09-15 11:23:51 +05:30