Jiang Jiang Jian
2e7e05a79a
Merge branch 'bugfix/fix_amsdu_decrypt_bug' into 'master'
...
esp_wifi: fix a WiFi A-MSDU decrypt bug
Closes WIFI-1611
See merge request espressif/esp-idf!7157
2020-01-08 11:15:44 +08:00
Angus Gratton
8421114264
Merge branch 'feat/ut_disabled_for_targets' into 'master'
...
ut: use DISABLED_FOR_TARGETS macro in unit tests
See merge request espressif/esp-idf!7117
2020-01-08 09:22:29 +08:00
Angus Gratton
3b9c8a6677
Merge branch 'bugfix/netif_cpp_issues' into 'master'
...
esp_netif c++ fixes
See merge request espressif/esp-idf!7045
2020-01-07 14:34:57 +08:00
Mahavir Jain
8bfb32735f
Merge branch 'bugfix/use_mbedtls_spiram_strategy' into 'master'
...
Use mbedtls SPIRAM strategy in example_test.py
Closes IDF-1293
See merge request espressif/esp-idf!7132
2020-01-07 11:37:08 +08:00
Angus Gratton
e890137ad3
Merge branch 'bugfix/cmake_reflashable_build_targets' into 'master'
...
secure boot: Fix bootloader build system target for bootloader digest
Closes IDFGH-2396
See merge request espressif/esp-idf!7069
2020-01-07 06:40:33 +08:00
liu zhifu
c54e11537f
esp_wifi: fix WiFi AMSDU decrypt issue
2020-01-06 17:58:03 +08:00
Jiang Jiang Jian
0a8c641e6f
Merge branch 'bugfix/sniffer_crash_issue' into 'master'
...
esp_wifi: wifi stop bug when sniffer enable
Closes WIFI-1563 and WIFI-1137
See merge request espressif/esp-idf!7187
2020-01-06 17:22:01 +08:00
michael
f676a3b190
driver, soc: update multichip support headers
2020-01-06 17:13:54 +08:00
michael
4220752aed
ut: Move tests back from "esp32" subfolder
...
DISABLED_FOR_TARGETS macros are used
Partly revert "ci: disable unavailable tests for esp32s2beta"
This partly reverts commit 76a3a5fb48
.
Partly revert "ci: disable UTs for esp32s2beta without runners"
This partly reverts commit eb158e9a22
.
Partly revert "fix unit test and examples for s2beta"
This partly reverts commit 9baa7826be
.
Partly revert "efuse: Add support for esp32s2beta"
This partly reverts commit db84ba868c
.
2020-01-06 17:13:53 +08:00
Michael (XIAO Xufeng)
bc0eac579c
ut: add DISABLED_FOR_TARGETS macros to control ut building
2020-01-06 17:13:47 +08:00
Shubham Kulkarni
563175d90a
mbedtls: Use SPIRAM strategy in example_test.py
2020-01-03 15:30:03 +05:30
Ivan Grokhotkov
52f8aa2adb
Merge branch 'feature/heap_non_os_build' into 'master'
...
heap: make compatible with non-OS builds, remove target dependence
Closes IDF-1236
See merge request espressif/esp-idf!7051
2020-01-03 17:12:51 +08:00
xiehang
ea1b821a60
Fix wifi stop bug when sniffer enable
2020-01-03 08:52:56 +00:00
Angus Gratton
7dc7557aa9
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
...
In single core mode, APP CPU cache region is added to the available range.
2020-01-03 17:31:40 +11:00
Angus Gratton
e08fc62071
Merge branch 'bugfix/backtrace_rom_fn' into 'master'
...
soc: fix backtraces containing ROM functions
See merge request espressif/esp-idf!6719
2020-01-03 14:30:21 +08:00
Angus Gratton
4132923ebe
Merge branch 'bugfix/ws_user_context' into 'master'
...
websocket: added missing event data
Closes IDF-1271
See merge request espressif/esp-idf!7059
2020-01-03 09:29:41 +08:00
Ivan Grokhotkov
43de2cc84c
test: add a (non-automated) case for backtraces with ROM functions
2020-01-02 18:50:32 +01:00
Ivan Grokhotkov
b4aba189ab
heap: recognize 0x40000000 as an address terminating the backtrace
...
On Xtensa, backtrace can not recover the two most significant bits of
the address, as the window call size is encoded in these bits.
Because of this, __builtin_return_address modifies these MSBs to
match those of the callee, "fixing" the address. An unfortunate side
effect is that the zero return address, which usually terminates the
backtrace, gets converted to 0x40000000. While there is a valid
instruction at this address, its occurrence in the backtrace is
highly unlikely: this is the first instruction of WindowOverflow4
vector, and IDF apps switch VECBASE to an IRAM location very early at
startup.
2020-01-02 18:42:46 +01:00
Ivan Grokhotkov
d9534b3d6a
soc: fix backtraces containing ROM functions
...
esp_ptr_executable would return false for pointers to ROM, which would
interrupt the backtrace. This makes ROM ranges recognized as
executable.
2020-01-02 18:42:46 +01:00
David Cermak
b2c8ce8e2b
esp_netif: fixed initialization order of items in a struct
...
Closes https://github.com/espressif/esp-idf/issues/4389
Closes https://github.com/espressif/esp-idf/issues/4507
2020-01-02 17:16:47 +00:00
David Cermak
ddf59520c6
wifi: fixed missing c++ guards
...
Closes https://github.com/espressif/esp-idf/issues/4497
2020-01-02 17:16:47 +00:00
Mahavir Jain
97c8b90083
Merge branch 'bugfix/advanced_https_ota_example' into 'master'
...
Bugfix for failing OTA example
Closes IDF-1080 and IDFGH-2249
See merge request espressif/esp-idf!6979
2020-01-02 17:29:35 +08:00
Ivan Grokhotkov
f30e920116
Merge branch 'bugfix/esp32s2beta_fix_wifi_init_crash' into 'master'
...
Fix ESP32S2BETA WiFi initialization crash issue
Closes WIFI-1597
See merge request espressif/esp-idf!7154
2019-12-31 17:57:41 +08:00
Shubham Kulkarni
032a041395
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2019-12-31 14:18:16 +05:30
Angus Gratton
17b5df4d72
Merge branch 'feature/function_call_with_stack' into 'master'
...
esp_common: added a macro to allow call functions using user allocated stack
Closes IDF-535
See merge request espressif/esp-idf!6709
2019-12-31 15:08:27 +08:00
Angus Gratton
cf2f732b2c
Merge branch 'bugfix/heap_tests_esp32s2beta' into 'master'
...
bugfix/heap test failure fixing for esp32s2 beta
Closes IDF-1021
See merge request espressif/esp-idf!6659
2019-12-31 15:03:01 +08:00
Angus Gratton
d4366e0e05
Merge branch 'bugfix/pthread_cxx_test_race' into 'master'
...
test: Fix possible race in pthread C++ test
Closes IDF-1270
See merge request espressif/esp-idf!7054
2019-12-31 07:06:54 +08:00
Angus Gratton
4ae9dad9a3
Merge branch 'bugfix/panic_cache_err_dig_reset' into 'master'
...
esp32: panic: do digital reset if cache error interrupt is set
See merge request espressif/esp-idf!7152
2019-12-31 07:04:22 +08:00
Ivan Grokhotkov
4bbfa6e494
Merge branch 'feature/soc_ledc_caps' into 'master'
...
soc: add ledc_caps.h, replace target-based ifdefs with caps-based
See merge request espressif/esp-idf!6858
2019-12-30 18:47:11 +08:00
Ivan Grokhotkov
9e93b619d9
Merge branch 'bugfix/coredump_epc_level' into 'master'
...
core dump: only get EPC/EPS registers up to XCHAL_NUM_INTLEVELS
See merge request espressif/esp-idf!7064
2019-12-30 18:45:59 +08:00
Ivan Grokhotkov
f2f008e167
Merge branch 'bugfix/xt_context_save' into 'master'
...
freertos: save/restore PS and EPC1 around window spilling, fixes setjmp regression
Closes IDFGH-2428
See merge request espressif/esp-idf!7135
2019-12-30 18:05:25 +08:00
Xia Xiaotian
b7e3886bf2
Fix ESP32S2BETA WiFi initialization crash issue
...
ESP32S2BETA does not need to enable WiFi common clock in WiFi library, for
WiFi common clock is not disabled when WiFi is in sleep state.
2019-12-30 16:51:12 +08:00
Ivan Grokhotkov
f52952cb45
esp32: panic: do digital reset if cache error interrupt is set
...
Even if frame->exccause != PANIC_RSN_CACHEERR, it is possible that
the cache error interrupt status is set. For example, this may happen
due to an invalid cache access in the panic handler itself.
Check cache error interrupt status instead of frame->exccause to
decide whether to do CPU reset or digital reset.
Also remove unnecessary esp_dport_access_int_pause from
esp_cache_err_get_cpuid, since the panic handler already calls
esp_dport_access_int_abort on entry.
2019-12-30 09:49:07 +01:00
Angus Gratton
03f6179211
Merge branch 'bugfix/app_partition_sha_values' into 'master'
...
bootloader_support: Fix for app SHA-256 calculation, chip revision log spam
See merge request espressif/esp-idf!6862
2019-12-30 12:45:30 +08:00
Angus Gratton
bc02b128be
Merge branch 'feature/add_eth_download_test' into 'master'
...
ethernet: test download blob && phy addr auto detect
Closes IDF-1238
See merge request espressif/esp-idf!6957
2019-12-30 11:52:40 +08:00
Angus Gratton
ba3f47efd6
bootloader_support: fix crash in image verification is SHA doesn't match
2019-12-30 13:48:11 +11:00
Angus Gratton
b2ed553bbf
bootloader_support: Reduce log spam about chip revisions
...
* Don't bother checking the chip revision if it looks like the partition
doesn't really contain an app
* Don't print the "info" level about the revision & min revision unless
we're in the bootloader (otherwise it gets printed at random times
during the OTA process)
2019-12-30 13:48:11 +11:00
Angus Gratton
5139934767
bootloader_common: Fix esp_partition_get_sha256(), add unit tests
...
Regression in 438d513a95
Reported here: https://esp32.com/viewtopic.php?f=13&t=13250&p=52460
2019-12-30 13:47:47 +11:00
Kirill Chalov
ab6311c548
Reveiw the file api-reference/peripherals/i2s.rst
2019-12-29 21:05:57 +00:00
Jiang Jiang Jian
c8b839b3d5
Merge branch 'bugfix/btdm_revert_changes_of_security_mask' into 'master'
...
components/bt: Revert changes of security mask
See merge request espressif/esp-idf!7118
2019-12-29 14:12:27 +08:00
Ivan Grokhotkov
e4d45608d3
soc: add ledc_caps.h, replace target-based ifdefs with caps-based
2019-12-28 20:33:21 +00:00
Ivan Grokhotkov
3285ed116d
heap: make compatible with non-OS builds, remove target dependence
2019-12-27 12:40:06 +01:00
Ivan Grokhotkov
6c0044cc65
Merge branch 'bugfix/rtc_cntl_h_cpp_guards' into 'master'
...
Add missing extern "C" to rtc_cntl.h
Closes IDFGH-2419
See merge request espressif/esp-idf!7093
2019-12-27 19:21:06 +08:00
Ivan Grokhotkov
acca61c714
Merge branch 'bugfix/spiffs_partition_label_usage' into 'master'
...
spiffs: clarify the usage of partition_label, fix the example
Closes IDFGH-2313
See merge request espressif/esp-idf!7092
2019-12-27 19:20:46 +08:00
Ivan Grokhotkov
83d63b4673
unity: re-enable test case exit by longjmp
2019-12-27 11:27:01 +01:00
Ivan Grokhotkov
891eb3b020
freertos: save/restore PS and EPC1 around window spilling
...
Since in b0491307
, which has introduced the optimized window spill
procedure, _xt_context_save did not work correctly when called from
_xt_syscall_exc. This was because unlike _xt_lowint1, _xt_syscall_exc
does not save PS and EPC1. The new version of _xt_context_save
modified PS (on purpose) and EPC1 (accidentally, due to window
overflow exceptions), which resulted in a crash upon 'rfi' from the
syscall.
This commit adds restoring of PS and EPC1 in _xt_context_save. It also
slightly reduces the number of instructions used to prepare PS for
window spill.
Unit test for setjmp/longjmp (which were broken by this regression)
is added.
Closes https://github.com/espressif/esp-idf/issues/4541
2019-12-27 11:27:01 +01:00
Mahavir Jain
e0b667804f
Merge branch 'fix/test_flash_timeout_sdio_throughput' into 'master'
...
Fix several CI issues
See merge request espressif/esp-idf!7101
2019-12-26 20:25:31 +08:00
Mahavir Jain
3be94b6952
Merge branch 'bugfix/can_critical_section_logs' into 'master'
...
can: Fix critical section ESP_LOG functions
Closes IDFGH-2270 and IDF-1067
See merge request espressif/esp-idf!7081
2019-12-26 16:22:17 +08:00
Mahavir Jain
9738bc58ed
Merge branch 'bugfix/can_semaphore_take_in_critical' into 'master'
...
can: Fix semaphore take in critical section
Closes IDFGH-2115
See merge request espressif/esp-idf!7083
2019-12-26 16:15:07 +08:00
baohongde
3977ba7bc6
components/bt: Revert changes of security mask
2019-12-25 20:03:16 +08:00