Angus Gratton
e1e4e08fa8
app_update: Don't double-verify secure boot signature during OTA
...
esp_image_load() already verifies the signature
2018-07-23 13:45:55 +10:00
Angus Gratton
f8b191cfae
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-23 13:45:55 +10:00
Deng Xin
487ae78235
Wifi: bugfix of beacon info don't update after user scan
2018-07-21 10:39:43 +00:00
Jiang Jiang Jian
4314b00289
Merge branch 'bugfix/clear_intr_status_when_enable_intr_v3.1' into 'release/v3.1'
...
driver(gpio): fix the gpio interrupt false triggering issue(backport v3.1)
See merge request idf/esp-idf!2806
2018-07-21 14:36:37 +08:00
Jiang Jiang Jian
650e1f79d1
Merge branch 'bugfix/rmt_mem_num_maximum_limit_is_not_accurate_v3.1' into 'release/v3.1'
...
bugfix(rmt): Modify the rmt_mem_num maximum limit value from 15 to 8.(backport v3.1)
See merge request idf/esp-idf!2808
2018-07-21 14:25:38 +08:00
Angus Gratton
b87c822d59
Merge branch 'bugfix/secure_boot_regression_partitions_v3_1' into 'release/v3.1'
...
Fix secure boot & flash encryption regression, don't verify partitions as part of secure boot (backport)
See merge request idf/esp-idf!2779
2018-07-20 09:12:20 +08:00
negativekelvin
90c6ea59a6
Fix errors in rtc_gpio_desc values
2018-07-19 10:27:31 +03:00
Ivan Grokhotkov
7fbfb0fc9b
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-19 10:27:00 +03:00
Ivan Grokhotkov
447890247a
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-19 10:23:58 +03:00
Ivan Grokhotkov
d360f6d95d
sleep: fix flushing UARTs when entering deep sleep
...
Since 94250e42a0
, UART output is suspended when entering sleep mode
(deep or light sleep). This makes sense for light sleep, where sleep
normally takes small amount of time, and flushing the UART would add
a lot of latency. But this breaks existing behaviour for deep sleep,
where UART output was previously sent out before entering sleep mode.
Closes https://github.com/espressif/esp-idf/issues/2145
2018-07-19 10:21:23 +03:00
XiongYu
7edc392d7c
Modify the rmt_mem_num maximum limit value from 15 to 8.
2018-07-18 16:33:45 +08:00
hou wen xiang
071f7cdb49
driver(gpio) : Fixed the gpio related bug for release v3.1.
2018-07-18 15:36:57 +08:00
Piyush Shah
89b423658a
nvs_partition_generator: Add support for base64 representation of Binary data
2018-07-17 19:24:04 +05:30
Piyush Shah
6d0a9fe95e
nvs_partition_generator: Modifications to enable using the utility as a Python library
...
And also use directly as an executable
2018-07-17 19:24:04 +05:30
Jiang Jiang Jian
afdc73c8ab
Merge branch 'bugfix/mdns_remove_backport' into 'release/v3.1'
...
mdns: Minor fix for mdns_service_remove (backport v3.1)
See merge request idf/esp-idf!2784
2018-07-17 20:50:34 +08:00
Jiang Jiang Jian
1dc9be01c4
Merge branch 'bugfix/autoip_compilation_backportv3.1' into 'release/v3.1'
...
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL(backport v3.1)
See merge request idf/esp-idf!2787
2018-07-17 20:49:31 +08:00
Ivan Grokhotkov
cffd28ad83
Merge branch 'bugfix/bt_os_abstraction_layer_v3.1' into 'release/v3.1'
...
bt: fix OS abstraction layer for correct critical section API usage (backport v3.1)
See merge request idf/esp-idf!2713
2018-07-17 18:53:01 +08:00
XiaXiaotian
f4c57eb764
docs: update channel state information document
...
1. Move channel to the first row of the table.
2. Remove the condition of HT20/HT40 for they are determined by
secondary channel.
3. Clean up the CSI table.
2018-07-17 15:01:12 +08:00
Jiang Jiang Jian
346d6b0eaa
Merge branch 'bugfix/gcc8_complation_errors_v3.1' into 'release/v3.1'
...
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 (backport v3.1)
See merge request idf/esp-idf!2777
2018-07-17 14:13:28 +08:00
Jiang Jiang Jian
0a357a4838
Merge branch 'bugfix/minor_fix_about_ip_route' into 'release/v3.1'
...
lwip: minor fix about ip route
See merge request idf/esp-idf!2782
2018-07-17 14:12:22 +08:00
Piyush Shah
76a46a0f68
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
2018-07-16 15:12:18 +05:30
Piyush Shah
8dbf96a471
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-16 15:07:44 +05:30
Liu Zhi Fu
60080d4893
lwip: minor fix about ip route
...
Minor fix about ip4_route_src_hook()
2018-07-16 17:21:46 +08:00
Jiang Jiang Jian
3716e3e8c4
Merge branch 'bugfix/tw23835_add_source_ip_route_for_unicast_v3.1' into 'release/v3.1'
...
lwip: add source ip based route for unicast packet (backport v3.1)
See merge request idf/esp-idf!2773
2018-07-16 17:01:31 +08:00
Angus Gratton
0b1c461e63
bootloader: Fix warning building reflashable Secure Boot image
2018-07-16 16:59:36 +10:00
Angus Gratton
ec73cebb59
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-16 16:59:36 +10:00
Angus Gratton
ce634ef221
bootloader: Fix secure boot & flash encryption functionality
...
Fixes regression in 3e0ac4db79
.
2018-07-16 16:59:36 +10:00
Alexey Gerenkov
af2a6ee826
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3
2018-07-16 14:19:57 +08:00
Liu Zhi Fu
2a581e3fab
lwip: add source ip based route for unicast packet
...
Add source IP based route for unicast packets forwarding.
2018-07-14 10:01:55 +08:00
Jiang Jiang Jian
7b0a926574
Merge branch 'bugfix/btdm_err_data_report_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_err_data_report_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2751
2018-07-13 19:16:42 +08:00
Mahavir Jain
f2c543785b
bt: fix OS abstraction layer for correct critical section API usage
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-07-13 11:29:40 +08:00
Mahavir Jain
fdfe38a779
wpa_supplicant: add missing source dirs to CMake build
...
Closes: https://github.com/espressif/esp-idf/issues/2168
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-07-12 17:22:47 +05:30
Ivan Grokhotkov
ed27e75f50
Merge branch 'bugfix/xthal_get_interrupt_volatile_v3.1' into 'release/v3.1'
...
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile (backport v3.1)
See merge request idf/esp-idf!2712
2018-07-12 17:18:06 +08:00
wangmengyang
ea30c54cda
component/bt: bugfix for erroneous data reporting always enabled
2018-07-11 20:08:36 +08:00
Jiang Jiang Jian
c71c8aea55
Merge branch 'bugfix/btdm_invalid_sco_handle_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_invalid_sco_handle_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2727
2018-07-11 18:23:47 +08:00
Jiang Jiang Jian
46001bf6d4
Merge branch 'bugfix/rom_libgcc_functions_v3.1' into 'release/v3.1'
...
Fix linking of libgcc math functions to ROM (backport v3.1)
See merge request idf/esp-idf!2711
2018-07-11 16:45:39 +08:00
Angus Gratton
3e5053b778
Merge branch 'doc/eclipse_setup_v3.1' into 'release/v3.1'
...
doc: eclipse setup (v3.1 backport)
See merge request idf/esp-idf!2679
2018-07-11 14:31:31 +08:00
Jiang Jiang Jian
0db9b87d66
Merge branch 'bugfix/disable_lwip_trust_ip_by_default_v3.1' into 'release/v3.1'
...
lwip: disable ETHARP_TRUST_IP_MAC by default (backport v3.1)
See merge request idf/esp-idf!2720
2018-07-10 14:42:54 +08:00
Jiang Jiang Jian
a9aaabae21
Merge branch 'bugfix/tw23667_tcp_pcb_purge_assert_v3.1' into 'release/v3.1'
...
lwip: fix the assertion in tcp_pcb_purge() (backport v3.1)
See merge request idf/esp-idf!2722
2018-07-10 14:42:47 +08:00
Jiang Jiang Jian
f43dd79e11
Merge branch 'bugfix/wifi_channel_state_information_data_type_v3.1' into 'release/v3.1'
...
esp32: Change channel state information(CSI) data type from unsigned char to singed char (backport v3.1)
See merge request idf/esp-idf!2697
2018-07-10 10:02:58 +08:00
wangmengyang
dff911da69
component/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event
2018-07-09 12:14:27 +08:00
Liu Zhi Fu
31ca811240
lwip: fix the assertion in tcp_pcb_purge()
...
Fix the assertion in tcp_pcb_purge().
2018-07-09 10:33:13 +08:00
Liu Zhi Fu
febb0cb3da
lwip: disable ETHARP_TRUST_IP_MAC by default
...
Disable ETHARP_TRUST_IP_MAC by default because:
1. The LAN peer may not be trustful
2. The LAN peer may has problem to update its ARP entry
2018-07-09 10:26:05 +08:00
Ivan Grokhotkov
d128ff3ecd
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile
...
INTERRUPT and CCOUNT registers will change outside of program control.
Making the inline assembly used to read these registers volatile
indicates this fact to the compiler.
Fixes https://github.com/espressif/esp-idf/issues/2127
2018-07-05 17:21:55 +08:00
Ivan Grokhotkov
debe83c3b5
esp32: force pure math functions from libgcc to be linked from ROM
2018-07-05 17:19:01 +08:00
Ivan Grokhotkov
5752e4d588
esp32: fix addresses of some libgcc functions in ROM ld script
2018-07-05 17:18:54 +08:00
Angus Gratton
66dad0c506
Merge branch 'bugfix/console_performance' into 'release/v3.1'
...
idf_monitor: Fix console performance
See merge request idf/esp-idf!2687
2018-07-05 11:42:00 +08:00
Xia Xiaotian
fffbcbb78b
esp32: Change channel state information(CSI) data type from unsigned char to singed char
2018-07-04 11:47:57 +08:00
Roland Dobai
b8937e5522
idf_monitor: Fix console performance
...
51e42d8e92
introduced filtering options which handles the last (unterminated) line
with a delay. This introduced poor performance for console applications
when the user interacts with the ESP32 device in the same line because
there is an artificial delay for each key-press.
bb152030a0
decreased the delay but there are still delays for each key-presses.
The current fix makes only one delay per line instead of each
key-presses. When an unterminated line is detected then no more
"delayed" print is used for the given line.
Fixes https://github.com/espressif/esp-idf/issues/2054
2018-07-03 09:15:46 +02:00
Angus Gratton
0a2e4967ef
doc: Clarify some Eclipse setup steps
2018-07-02 11:42:29 +10:00