Angus Gratton
f2f5a237c0
Merge branch 'bugfix/gpio_intr_enable_bug_v3.3' into 'release/v3.3'
...
bugfix(GPIO): Fixed GPIO interrupt bug for v3.3
See merge request espressif/esp-idf!5650
2019-08-12 13:00:15 +08:00
Angus Gratton
3be1c70d46
Merge branch 'bugfix/cmake_extra_component_dirs_v3.3' into 'release/v3.3'
...
CI: additional CMake build system tests wrt EXTRA_COMPONENT_DIRS (v3.3)
See merge request espressif/esp-idf!5109
2019-08-12 12:44:19 +08:00
Angus Gratton
beb34b5390
Merge branch 'bugfix/hwcrypt_fault_inj_v3.3' into 'release/v3.3'
...
AES & SHA fault injection checks (backport v3.3)
See merge request espressif/esp-idf!5710
2019-08-11 14:04:36 +08:00
Angus Gratton
3991084777
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:18:23 +10:00
Angus Gratton
088439c634
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:18:23 +10:00
Renz Christian Bagaporo
dbd05d8986
cmake: link test components to executable directly
2019-08-09 15:18:06 +08:00
raldone01
02068cf328
newlib: Move _gettimeofday_r call in clock_gettime
...
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3789
2019-08-07 20:37:11 +08:00
Angus Gratton
7c5dd19c83
hwcrypto: Add AES fault injection check
...
Hardware AES-CBC performance changes:
Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec
(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)
2019-08-07 16:04:59 +10:00
Angus Gratton
a6fb161309
Merge branch 'bugfix/sec_boot_ota_fail_v33' into 'release/v3.3'
...
Bugfix: ota fails with secure boot on for image size greater than 3.2MB (backport v3.3)
See merge request espressif/esp-idf!5581
2019-08-06 14:51:06 +08:00
kooho
0929dbbc9b
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
...
but registers interrupt service routines on another core for release/v3.3
2019-08-06 03:20:11 +00:00
Vikram Dattu
4c27f9ced8
Add mmu pages available check in non-secure image hash check path.
...
Made MMU pages available check in `esp_image_format.c`
This now makes it possible to map and process bootoader image as well in chunks when image doesn't fit completely into available free pages.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-08-05 05:34:11 +00:00
Vikram Dattu
b800dfe6f1
Changed log level for spi_master
...
There are lot of prints of `Allocate TX buffer for DMA`
Changed these from `ESP_LOGI` to `ESP_LOGD`
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-08-05 05:34:11 +00:00
Vikram Dattu
caa1ef0cb6
Bugfix: ota fails with secure boot on for image size greater than 3.2MB
...
When an OTA image size is larger than 50 MMU pages (approx. 3.2 MB), secure_boot_generate fails while trying to map it into memory:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp32/secure_boot.c#L72
Instead of trying to map the whole image, secure boot code should split the image into chunks and map them one by one, like it is done in esp_image_format.c:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L371
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-08-05 05:34:11 +00:00
Jiang Jiang Jian
97e7c14f4e
Merge branch 'bugfix/btdm_sleep_twice_v3.3' into 'release/v3.3'
...
bugfix btdm sleep twice after wakeup request
See merge request espressif/esp-idf!5638
2019-08-04 15:51:36 +08:00
Angus Gratton
c157c696e7
Merge branch 'doc/resolve-pdf-building-issues_v3.3' into 'release/v3.3'
...
(backport v3.3) Replace gif images on EN and zh_CN index pages with identical png images for...
See merge request espressif/esp-idf!5655
2019-08-01 14:09:57 +08:00
Angus Gratton
d900cb5a35
Merge branch 'bugfix/libsodium_test_timeouts_v3.3' into 'release/v3.3'
...
test: Set timeout of libsodium ed25519_convert test to 60s (v3.3)
See merge request espressif/esp-idf!5554
2019-07-31 02:18:50 +08:00
Angus Gratton
e8a4e70c42
flash encryption: Add config option to disable any plaintext reflashes
...
Enabled by default when Secure Boot is on, so Flash Encryption protection
is always available in case of a Secure Boot bypass.
2019-07-30 08:35:30 +00:00
Kirill Chalov
4cb729283d
Replace gif images on EN and zh_CN index pages with identical png images for successful building of PDFs on ReadTheDocs.
2019-07-30 15:36:58 +08:00
Angus Gratton
6a3e160aaf
test: Set timeout of libsodium ed25519_convert test to 60s
...
Test takes 28s-29s to run in some configs, can fail in CI.
2019-07-30 07:19:54 +00:00
Angus Gratton
70ecb7ec94
Merge branch 'bugfix/docs_recover_some_build_time_v3.3' into 'release/v3.3'
...
docs: Remove building of zipped HTML docs from build process and consequently...
See merge request espressif/esp-idf!5639
2019-07-29 19:16:46 +08:00
krzychb
21e2c417e8
docs: Remove building of zipped HTML docs from build process and consequently from Downloads as many users don't use that. We are still providing PDF documentation for people who prefer viewing docs off-line. Removal of this build step is expected to save almost 10 minutes of build time and resolve issue of build failures because of hitting 40 min build time limit on Read The Docs.
2019-07-28 01:16:47 +02:00
Tian Hao
3ca82d5923
bugfix btdm sleep twice after wakeup request
...
This problem may cause HCI send command timeout.
When host call VHCI api to do btdm_wakeup_request, then controller
wakeup process will be handled in ISR and controller task context.
As host task priority is lower than controller task and ISR,
it will cause an incorrect behavior that before VHCI take the
rx_flow_on_semaphore, controller sleep again, then VHCI cannot take
the semaphore and has to wait the automatic wakeup.
2019-07-27 18:07:20 +08:00
Angus Gratton
7af04d857f
Merge branch 'bugfix/fix_mcpwm_example_memory_bug_v3.3' into 'release/v3.3'
...
Bugfix(example): Fixed MCPWM example bug for release/v3.3
See merge request espressif/esp-idf!5544
2019-07-27 17:27:41 +08:00
Mahavir Jain
e070e1886f
Merge branch 'bugfix/esp_event_add_missing_include_v3.3' into 'release/v3.3'
...
esp_event: add missing header include (v3.3)
See merge request espressif/esp-idf!5632
2019-07-26 19:44:32 +08:00
Mahavir Jain
6da2bec1e8
esp_event: add missing header include
...
Required header was indirectly getting resolved through lwip includes,
apparently does not work if application is not using lwip networking stack.
2019-07-26 16:36:13 +05:30
Mahavir Jain
73345bae44
Merge branch 'bugfix/tcp_transport_http_client' into 'release/v3.3'
...
Minor bugfixes in esp_http_client and tcp_transport (backport v3.3)
See merge request espressif/esp-idf!5218
2019-07-25 19:43:27 +08:00
baohongde
b9f2531e8c
components/bt: Fix memory leak about rfcomm
2019-07-25 16:51:40 +08:00
xiehang
b6e6a4f4b2
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-25 14:37:20 +08:00
He Yin Ling
9420c5398f
test: handle exception by unit test script:
...
unit test script will detect exception, we don't need to let test fail
when exception happened.
2019-07-23 09:44:28 +00:00
He Yin Ling
31c8be0738
tiny-test-fw: support translate backtrace in IDFDUT
2019-07-23 09:44:28 +00:00
He Yin Ling
cbc438c807
tiny-test-fw: support detect exception in IDFDUT
2019-07-23 09:44:28 +00:00
Jitin George
2d26163019
tcp_transport: Fix case sensitive header comparison
...
Closes https://github.com/espressif/esp-idf/issues/3106
2019-07-21 07:24:11 +00:00
Jitin George
ff2624f09c
esp_http_client: Fix header sent event bug
2019-07-21 07:24:11 +00:00
Angus Gratton
11d141e87d
Merge branch 'bugfix/app_update_tests_v3.3' into 'release/v3.3'
...
app_update: Add [timeout=90] for UTs (v3.3)
See merge request espressif/esp-idf!5564
2019-07-18 18:25:01 +08:00
Jiang Jiang Jian
91f29bef17
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.3' into 'release/v3.3'
...
fix the watchdog bug during WiFi scan and BLE scan(v3.3)
See merge request espressif/esp-idf!5506
2019-07-18 10:44:31 +08:00
KonstantinKondrashov
8ed62223cd
app_update: Add [timeout=90]
2019-07-17 18:52:39 +08:00
Ivan Grokhotkov
de7a50dca0
Merge branch 'bugfix/i2s_apll_clock_fix_v3.3' into 'release/v3.3'
...
driver/i2s: fix apll_clock_rate for different sample rates (v3.3)
See merge request espressif/esp-idf!5448
2019-07-17 14:33:59 +08:00
Angus Gratton
a9eac4a124
Merge branch 'bugfix/spi_flash_mmap_stale_data_issue_v3.3' into 'release/v3.3'
...
spi_flash: fix stale read issue for memory mapped partition (v3.3)
See merge request espressif/esp-idf!5435
2019-07-17 14:26:33 +08:00
Jiang Jiang Jian
3e27184c38
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.3' into 'release/v3.3'
...
bugfix(flash): fix flash read error in DIO/26MHz mode (backport v3.3)
See merge request espressif/esp-idf!5532
2019-07-16 18:41:57 +08:00
Ramesh
5758b739f1
Fixed the bug that the malloc memory size is smaller than the actual required.
2019-07-16 15:09:23 +08:00
zhangyanjiao
2d7124e319
fix the watchdog bug during WiFi scan and BLE scan
2019-07-16 10:31:19 +08:00
chenjianqiang
232408981d
bugfix(flash): improve spi cs timing settings for flash
...
cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)
2019-07-15 14:45:35 +08:00
chenjianqiang
9821e533db
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-15 14:26:53 +08:00
Angus Gratton
6d8990f39b
Merge branch 'bugfix/cmake_project_vars_not_set_by_redefinition_v3.3' into 'release/v3.3'
...
cmake: set variables set by project call (backport v3.3)
See merge request espressif/esp-idf!5487
2019-07-12 15:01:32 +08:00
Angus Gratton
83a9a4dc70
Merge branch 'bugfix/windows_detection_on_make_v3.3' into 'release/v3.3'
...
Windows detection on Makefiles cleanup (backport v3.3)
See merge request espressif/esp-idf!5490
2019-07-12 15:00:30 +08:00
Angus Gratton
630ffde6bb
Merge branch 'bugfix/fix_uart_wait_done_bug_v3.3' into 'release/v3.3'
...
bugfix(UART): fixed two UART issues for release/v3.3
See merge request espressif/esp-idf!5481
2019-07-11 14:56:14 +08:00
Mahavir Jain
6af30250a8
spi_flash: add test case for stale read issue on memory mapped partition
2019-07-11 04:23:51 +00:00
Mahavir Jain
30d2f13358
spi_flash: fix stale read issue for memory mapped partition
...
On flash program operation (either erase or write), if corresponding address has
cache mapping present then cache is explicitly flushed (for both pro and app cpu)
Closes https://github.com/espressif/esp-idf/issues/2146
2019-07-11 04:23:51 +00:00
Renz Christian Bagaporo
d7569b5862
cmake: refactor finding components
2019-07-10 16:50:23 +08:00
Renz Christian Bagaporo
db9979701a
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS
...
Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253
2019-07-10 16:49:44 +08:00