Angus Gratton
5cbc4e976b
app_update: Don't double-verify secure boot signature during OTA
...
esp_image_load() already verifies the signature
2018-07-17 15:33:47 +10:00
Angus Gratton
57b601ab7f
secure boot: Pad to avoid data after the signature mapping into the address space
...
Because address space is mapped in 64KB pages, it was possible for unauthenticated data after the
app .bin to become mapped into the flash cache address space.
This problem is solved by 2 changes:
* "esptool elf2image --secure-pad" will pad the image so that the signature block ends close to the
64KB boundary. Due to alignment constraints it will be 12 bytes too short after signing (but
with flash encryption, these 12 bytes are still encrypted as part of the last block and can't be
arbitrarily changed).
* By default, secure boot now requires all app partitions to be a multiple of 64KB in size.
2018-07-17 15:33:47 +10:00
baohongde
cf061a01b7
component/bt: Fix some misspell
...
Using CONFIG_BT_SSP_ENABLE instead if BT_SPP_INCLUDED
2018-07-16 20:56:45 +08:00
XiongYu
6d57757840
Modify the rmt_mem_num maximum limit value from 15 to 8.
2018-07-16 19:10:42 +08:00
Konstantin Kondrashov
4df7145564
esp32/test: Reduces a unit test execution time
2018-07-16 14:14:40 +05:00
chenyudong
936b8e1967
wifi: fix ampdu duplicate issue
...
fix ampdu duplicate issue
2018-07-16 17:10:58 +08:00
Jiang Jiang Jian
70f3933db1
Merge branch 'bugfix/tw23835_add_source_ip_route_for_unicast' into 'master'
...
lwip: add source ip based route for unicast packet
See merge request idf/esp-idf!2757
2018-07-16 17:01:16 +08:00
hou wen xiang
e2b9b70800
driver(uart): Fix uart time_out bug when using ref_tick
2018-07-16 16:56:14 +08:00
Angus Gratton
e5d2406b1d
Merge branch 'bugfix/spi_cs_setup_fulldup' into 'master'
...
fix(spi_master): allow to use cs_ena_pretrans in full duplex mode without…
See merge request idf/esp-idf!2576
2018-07-16 16:30:36 +08:00
Angus Gratton
fe1ffb3d1c
Merge branch 'bugfix/mdns_remove' into 'master'
...
mdns: Minor fix for mdns_service_remove()
See merge request idf/esp-idf!2760
2018-07-16 16:29:20 +08:00
Angus Gratton
f2f925de78
Merge branch 'bugfix/sh2lib_send_bug' into 'master'
...
sh2lib: Fix a bug in send
See merge request idf/esp-idf!2656
2018-07-16 16:29:03 +08:00
Angus Gratton
e90a920ea8
Merge branch 'bugfix/add_queueset_critical_sections' into 'master'
...
freertos: Add critical sections to queue sets.
See merge request idf/esp-idf!2761
2018-07-16 15:57:35 +08:00
baohongde
11ca056320
component/bt: Fix bug of remove bond device fail when BLE and BT are connectd at the same time
2018-07-16 15:46:27 +08:00
Jiang Jiang Jian
7f382f461c
Merge branch 'feature/support_for_XM25QU64A' into 'master'
...
feature(flash): set QIO mode for XM25QU64A(1V8_64M_flash)
See merge request idf/esp-idf!2753
2018-07-16 12:16:13 +08:00
Jiang Jiang Jian
8809fabcd5
Merge branch 'bugfix/ledc_duty_and_freq' into 'master'
...
bugfix(ledc): fix bugs reported from unit-test and github.
See merge request idf/esp-idf!2735
2018-07-16 12:12:48 +08:00
Angus Gratton
68e01045f1
Merge branch 'bugfix/secure_boot_regression_partitions' into 'master'
...
Fix secure boot & flash encryption regression, don't verify partitions as part of secure boot
See merge request idf/esp-idf!2764
2018-07-16 12:07:56 +08:00
Jiang Jiang Jian
3b19269fcb
Merge branch 'feature/wifi_check_wifi_lib_git_commit_id' into 'master'
...
check WiFi library git commit id in unit test
See merge request idf/esp-idf!2621
2018-07-16 11:45:59 +08:00
Angus Gratton
cee6d7d5a9
docs: Add more ReST-isms in secure boot & flash encryption docs
...
(Original version of these docs were in Markdown.)
2018-07-16 11:52:52 +10:00
Angus Gratton
6a498bfe2b
docs: Add note about bootloader size for flash encryption & secure boot
2018-07-16 11:52:52 +10:00
Angus Gratton
2ae758ebcb
Merge branch 'bugfix/spi_sdio_sdkconfig_include' into 'master'
...
sdio_example/spi: fix sdkconfig include issue
See merge request idf/esp-idf!2756
2018-07-16 08:00:15 +08:00
Jiang Jiang Jian
394eabdeec
Merge branch 'docs/btdm_refactor_ble_spp_readme' into 'master'
...
component/bt_refactor_ble_spp_readme
See merge request idf/esp-idf!2717
2018-07-15 15:38:40 +08:00
Jiang Jiang Jian
a22d6607f8
Merge branch 'bugfix/autoip_compilation' into 'master'
...
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
See merge request idf/esp-idf!2758
2018-07-15 15:19:11 +08:00
Hou Wen Xiang
733f73067c
Update README.md
2018-07-15 12:56:23 +08:00
Hou Wen Xiang
fe238af249
Update README.md
2018-07-15 12:52:55 +08:00
chenwu
7cbd18ec4e
doc: add CoAP README.md
2018-07-14 16:15:03 +08:00
He Yin Ling
be81d2c16d
Merge branch 'test/print_debug_info_when_test_failed' into 'master'
...
tiny-test-fw: print debug info when test failed
See merge request idf/esp-idf!2564
2018-07-13 21:22:29 +08:00
Jiang Jiang Jian
6554bdcbb6
Merge branch 'bugfix/btdm_add_profile_descriptor_list_for_spp' into 'master'
...
component/bt: Add profile descriptor list for SPP
See merge request idf/esp-idf!2691
2018-07-13 19:20:03 +08:00
Jiang Jiang Jian
8571170abe
Merge branch 'feature/btdm_bt_ssp' into 'master'
...
component/bt: Add Secure Simple Pairing
See merge request idf/esp-idf!2453
2018-07-13 19:19:53 +08:00
Ivan Grokhotkov
4b97a1edb2
ulp example: fix for RTC IOs
...
- call rtc_gpio_init for pins which aren't configured as RTC by default
- for RTC IOs 16 and 17, read higher part of the input register
- automatically convert GPIO number into RTC IO number
- use ulp_set_wakeup_period instead of writing to register
2018-07-13 17:48:15 +08:00
Piyush Shah
fd8a7666c8
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
2018-07-13 15:04:39 +05:30
He Yin Ling
f348076920
esp32/test: set 60s timeout for one deep sleep case
2018-07-13 07:04:05 +00:00
He Yin Ling
4f971619fa
tiny-test-fw: save DUT log in different thread:
...
We found some SD card on Raspberry Pi could have very bad performance.
It could take seconds to save small amount of data.
If the DUT receives data and save it as log, then it stops receiving data until log is saved.
This could lead to expect timeout. As an workaround to this issue,
``BaseDUT`` class will create a thread to save logs.
Then data will be passed to ``expect`` as soon as received.
2018-07-13 07:04:05 +00:00
He Yin Ling
b452cea04e
tiny-test-fw: fix incorrect wait timeout in expect
2018-07-13 07:04:05 +00:00
He Yin Ling
5f26b36f0f
tiny-test-fw: filter examples with test level
2018-07-13 07:04:05 +00:00
He Yin Ling
23d98aa358
tiny-test-fw: print expect failure when test fails
2018-07-13 07:04:05 +00:00
Ivan Grokhotkov
b354770f42
Merge branch 'bugfix/fixes_from_github' into 'master'
...
Fixes from Github
See merge request idf/esp-idf!2730
2018-07-13 15:03:50 +08:00
Angus Gratton
8b5a2ccb8d
docs: Update Flash Encryption docs to clarify reflashing options
2018-07-13 16:18:07 +10:00
negativekelvin
8a9e3875ed
Fix errors in rtc_gpio_desc values
2018-07-12 23:16:15 -07:00
Darian Leung
21ccecc802
freertos: Add critical sections to queue sets.
...
Queue sets are not SMP safe. This commit adds
critical sections to queue sets. Unit tests for
queue sets have also been added.
2018-07-13 13:58:54 +08:00
Angus Gratton
6fd6e024fc
bootloader: Fix warning building reflashable Secure Boot image
2018-07-13 15:45:15 +10:00
Angus Gratton
fb439e48f5
bootloader: Don't verify Partition Table as part of Secure Boot
...
Partition Tables are still signed for backwards compatibility, but signature is no longer checked as
part of bootloader.
Closes https://github.com/espressif/esp-idf/issues/1641
2018-07-13 15:45:15 +10:00
Angus Gratton
7b9009ca5c
bootloader: Fix secure boot & flash encryption functionality
...
Fixes regression in 3e0ac4db79
.
2018-07-13 15:26:18 +10:00
Liu Zhi Fu
2e1427a239
lwip: add source ip based route for unicast packet
...
Add source IP based route for unicast packets forwarding.
2018-07-13 12:35:17 +08:00
Ivan Grokhotkov
46639bab85
Merge branch 'bugfix/crlf_auto_conversion' into 'master'
...
Convert CRLF (Windows line endings) to LF (Unix style), add CI check
See merge request idf/esp-idf!2119
2018-07-13 11:44:57 +08:00
Ivan Grokhotkov
6d46eed8e4
sdmmc: enable host auto_stop only for certain commands
...
Perviously host send_auto_stop flag would be set for every data
transfer over 1 block long. This caused stop commands to be sent
after CMD53, which shouldn't be done. Fix by adding an explicit list
of commands for which send_auto_stop should be set.
2018-07-13 03:28:10 +00:00
Angus Gratton
ffaf08e851
Merge branch 'fix/bootloader_typedef_enum' into 'master'
...
bootloader: fix missing typedef on enum defintion
See merge request idf/esp-idf!2718
2018-07-13 08:24:28 +08:00
Piyush Shah
5c7eb7e27b
mdns: Minor fix for mdns_service_remove()
...
Send the Goodbye packet while removing an mDNS service as an "Authoritative" packet so
that the listeners remove the service from their records immediately.
2018-07-12 19:18:54 +05:30
hou wen xiang
5402ace528
driver(gpio) : Fixed the gpio related bug for release v3.1.
2018-07-12 20:19:02 +08:00
He Yin Ling
01efe9a300
Merge branch 'feature/ci_support_test_one_case_multiple_times' into 'master'
...
CI: support test one case multiple times by @bot
See merge request idf/esp-idf!2692
2018-07-12 19:57:21 +08:00
He Yin Ling
05d74d532e
Merge branch 'bugfix/tiny_test_fw_filter_invalid_serial_port' into 'master'
...
tiny-test-fw: filter out invalid IDF ports
See merge request idf/esp-idf!2745
2018-07-12 19:56:48 +08:00