]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoapp_update: Don't double-verify secure boot signature during OTA
Angus Gratton [Mon, 16 Jul 2018 06:38:08 +0000 (16:38 +1000)]
app_update: Don't double-verify secure boot signature during OTA

esp_image_load() already verifies the signature

6 years agosecure boot: Pad to avoid data after the signature mapping into the address space
Angus Gratton [Fri, 13 Jul 2018 01:52:57 +0000 (11:52 +1000)]
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.

6 years agoMerge branch 'bugfix/gcc8_complation_errors_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 17 Jul 2018 06:13:28 +0000 (14:13 +0800)]
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

6 years agoMerge branch 'bugfix/minor_fix_about_ip_route' into 'release/v3.1'
Jiang Jiang Jian [Tue, 17 Jul 2018 06:12:22 +0000 (14:12 +0800)]
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

6 years agolwip: minor fix about ip route
Liu Zhi Fu [Mon, 16 Jul 2018 09:18:23 +0000 (17:18 +0800)]
lwip: minor fix about ip route

Minor fix about ip4_route_src_hook()

6 years agoMerge branch 'bugfix/tw23835_add_source_ip_route_for_unicast_v3.1' into 'release...
Jiang Jiang Jian [Mon, 16 Jul 2018 09:01:31 +0000 (17:01 +0800)]
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

6 years agogcc8_newlib3: Compilation warnings and errors not specific to newlib v3
Alexey Gerenkov [Thu, 14 Jun 2018 16:11:21 +0000 (19:11 +0300)]
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3

6 years agolwip: add source ip based route for unicast packet
Liu Zhi Fu [Thu, 12 Jul 2018 08:49:22 +0000 (16:49 +0800)]
lwip: add source ip based route for unicast packet

Add source IP based route for unicast packets forwarding.

6 years agoMerge branch 'bugfix/btdm_err_data_report_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 13 Jul 2018 11:16:42 +0000 (19:16 +0800)]
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

6 years agoMerge branch 'bugfix/xthal_get_interrupt_volatile_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Thu, 12 Jul 2018 09:18:06 +0000 (17:18 +0800)]
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

6 years agocomponent/bt: bugfix for erroneous data reporting always enabled
wangmengyang [Thu, 5 Jul 2018 07:22:44 +0000 (15:22 +0800)]
component/bt: bugfix for erroneous data reporting always enabled

6 years agoMerge branch 'bugfix/btdm_invalid_sco_handle_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 11 Jul 2018 10:23:47 +0000 (18:23 +0800)]
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

6 years agoMerge branch 'bugfix/rom_libgcc_functions_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 11 Jul 2018 08:45:39 +0000 (16:45 +0800)]
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

6 years agoMerge branch 'doc/eclipse_setup_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 11 Jul 2018 06:31:31 +0000 (14:31 +0800)]
Merge branch 'doc/eclipse_setup_v3.1' into 'release/v3.1'

doc: eclipse setup (v3.1 backport)

See merge request idf/esp-idf!2679

6 years agoMerge branch 'bugfix/disable_lwip_trust_ip_by_default_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 10 Jul 2018 06:42:54 +0000 (14:42 +0800)]
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

6 years agoMerge branch 'bugfix/tw23667_tcp_pcb_purge_assert_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 10 Jul 2018 06:42:47 +0000 (14:42 +0800)]
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

6 years agoMerge branch 'bugfix/wifi_channel_state_information_data_type_v3.1' into 'release...
Jiang Jiang Jian [Tue, 10 Jul 2018 02:02:58 +0000 (10:02 +0800)]
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

6 years agocomponent/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event
wangmengyang [Thu, 5 Jul 2018 04:00:41 +0000 (12:00 +0800)]
component/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event

6 years agolwip: fix the assertion in tcp_pcb_purge()
Liu Zhi Fu [Fri, 29 Jun 2018 05:40:20 +0000 (13:40 +0800)]
lwip: fix the assertion in tcp_pcb_purge()

Fix the assertion in tcp_pcb_purge().

6 years agolwip: disable ETHARP_TRUST_IP_MAC by default
Liu Zhi Fu [Fri, 29 Jun 2018 02:04:55 +0000 (10:04 +0800)]
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

6 years agoxtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile
Ivan Grokhotkov [Mon, 2 Jul 2018 03:31:19 +0000 (11:31 +0800)]
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

6 years agoesp32: force pure math functions from libgcc to be linked from ROM
Ivan Grokhotkov [Thu, 28 Jun 2018 04:48:31 +0000 (12:48 +0800)]
esp32: force pure math functions from libgcc to be linked from ROM

6 years agoesp32: fix addresses of some libgcc functions in ROM ld script
Ivan Grokhotkov [Thu, 28 Jun 2018 04:25:26 +0000 (12:25 +0800)]
esp32: fix addresses of some libgcc functions in ROM ld script

6 years agoMerge branch 'bugfix/console_performance' into 'release/v3.1'
Angus Gratton [Thu, 5 Jul 2018 03:42:00 +0000 (11:42 +0800)]
Merge branch 'bugfix/console_performance' into 'release/v3.1'

idf_monitor: Fix console performance

See merge request idf/esp-idf!2687

6 years agoesp32: Change channel state information(CSI) data type from unsigned char to singed...
Xia Xiaotian [Wed, 4 Jul 2018 03:47:57 +0000 (11:47 +0800)]
esp32: Change channel state information(CSI) data type from unsigned char to singed char

6 years agoidf_monitor: Fix console performance
Roland Dobai [Mon, 18 Jun 2018 10:49:04 +0000 (12:49 +0200)]
idf_monitor: Fix console performance

https://github.com/espressif/esp-idf/commit/51e42d8e925a20011bb7105da8cc3194d6940a6f
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.

https://github.com/espressif/esp-idf/commit/bb152030a0057c5a9a048782f917c4fa9d7b770e
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

6 years agodoc: Clarify some Eclipse setup steps
Angus Gratton [Tue, 26 Jun 2018 02:45:54 +0000 (12:45 +1000)]
doc: Clarify some Eclipse setup steps

6 years agoMerge branch 'docs/eclipse_regex' into 'master'
Angus Gratton [Mon, 2 Jul 2018 01:18:26 +0000 (09:18 +0800)]
Merge branch 'docs/eclipse_regex' into 'master'

Docs: Fix bugs in Eclipse setup in CN

See merge request idf/esp-idf!2620

6 years agoMerge branch 'bugfix/coex_bug_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 2 Jul 2018 01:40:45 +0000 (09:40 +0800)]
Merge branch 'bugfix/coex_bug_v3.1' into 'release/v3.1'

esp32: fix coex bug(Backport v3.1)

See merge request idf/esp-idf!2675

6 years ago esp32: fix coex bug
Tian Hao [Sun, 24 Jun 2018 08:38:05 +0000 (16:38 +0800)]
esp32: fix coex bug

    1. fix BLE connection missing in coex mode
    2. modify other parameters to make coex priority more reasonable
    3. fix modem sleep procedure trap cause Wifi disable RF when BT is
    working. Such cause that BR/EDR is difficult to be connected, BLE
    connection stability decrease and so on.
    4. modify BR/EDR coexist duration to imrove BR/EDR connect success
    ratio.
    5. Due to the hardware coexist bug, BLE scan interval/window should
    be less than 0x100(about 160ms). Therefore, it will cause BLE cannot
    scan any advertising packet while WiFi have higher priority
    behaviour(such like RX beacon, scan, TX/RX VO packets and etc.).

6 years agoMerge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 30 Jun 2018 03:30:59 +0000 (11:30 +0800)]
Merge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg_v3.1' into 'release/v3.1'

Component/bt: fix register multi service change when register multi gattc for v3.1

See merge request idf/esp-idf!2668

6 years agoMerge branch 'bugfix/btdm_bad_pointer_of_bt_gap_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 14:16:15 +0000 (22:16 +0800)]
Merge branch 'bugfix/btdm_bad_pointer_of_bt_gap_v3.1' into 'release/v3.1'

component/bt: Fix some bad point calculations of BT GAP of v3.1

See merge request idf/esp-idf!2669

6 years agoMerge branch 'bugfix/btdm_bt_remove_device_disconnect_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 14:15:53 +0000 (22:15 +0800)]
Merge branch 'bugfix/btdm_bt_remove_device_disconnect_v3.1' into 'release/v3.1'

component/bt: Fix bug of BT and BLE remove bond device of v3.1

See merge request idf/esp-idf!2670

6 years agocomponent/bt: Fix bug of BT and BLE remove bond device of v3.1
baohongde [Fri, 29 Jun 2018 12:09:19 +0000 (20:09 +0800)]
component/bt: Fix bug of BT and BLE remove bond device of v3.1

1. esp_ble_remove_bond_device will only remove BLE bond key and disconnect BLE device.
2. esp_bt_gap_remove_bond_device  will only remove BT bond key and disconnect BT device.

A cherry-pick of MR !2562

6 years agocomponent/bt: Fix some bad point calculations of BT GAP of v3.1
baohongde [Fri, 29 Jun 2018 12:01:51 +0000 (20:01 +0800)]
component/bt: Fix some bad point calculations of BT GAP of v3.1

Closes https://github.com/espressif/esp-idf/issues/2103

A cherry-pick of MR !2655

6 years agoComponent/bt: fix register multi service change when register multi gattc
zhiweijian [Tue, 26 Jun 2018 08:39:30 +0000 (16:39 +0800)]
Component/bt: fix register multi service change when register multi gattc

6 years agoMerge branch 'bugfix/esp_err_name_idf_path_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:23:49 +0000 (19:23 +0800)]
Merge branch 'bugfix/esp_err_name_idf_path_v3.1' into 'release/v3.1'

docs: fix error code reference build issue (v3.1)

See merge request idf/esp-idf!2607

6 years agoMerge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:22:28 +0000 (19:22 +0800)]
Merge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'

component/bt: fix stop adv error in dual core for v3.1

See merge request idf/esp-idf!2661

6 years agoMerge branch 'bugfix/assert_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:20:35 +0000 (19:20 +0800)]
Merge branch 'bugfix/assert_v3.1' into 'release/v3.1'

assert: Fix. Move useful functions from wrapped assert functions (v3.1)

See merge request idf/esp-idf!2605

6 years agoMerge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:18:15 +0000 (19:18 +0800)]
Merge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'

bt : fix read rssi conflict when in dual mode

See merge request idf/esp-idf!2618

6 years agoMerge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request_v3.1' into...
Jiang Jiang Jian [Fri, 29 Jun 2018 11:15:03 +0000 (19:15 +0800)]
Merge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request_v3.1' into 'release/v3.1'

component/bt: Fix bug: Respond with the Error Response when receiving a request…

See merge request idf/esp-idf!2662

6 years agoMerge branch 'bugfix/btdm_some_ble_hid_bugs_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:14:41 +0000 (19:14 +0800)]
Merge branch 'bugfix/btdm_some_ble_hid_bugs_v3.1' into 'release/v3.1'

component/bt: Fix some hid bugs of v3.1

See merge request idf/esp-idf!2663

6 years agoMerge branch 'bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 10:45:47 +0000 (18:45 +0800)]
Merge branch 'bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1' into 'release/v3.1'

bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2660

6 years agoMerge branch 'bugfix/btdm_rm_assert_in_isr_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 10:45:30 +0000 (18:45 +0800)]
Merge branch 'bugfix/btdm_rm_assert_in_isr_for_v3.1' into 'release/v3.1'

bugfix/btdm_rm_assert_in_isr_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2659

6 years agoMerge branch 'bugfix/btdm_singular_sleep_time_corr_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 10:44:20 +0000 (18:44 +0800)]
Merge branch 'bugfix/btdm_singular_sleep_time_corr_for_v3.1' into 'release/v3.1'

bugfix/btdm_singular_sleep_time_correction_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2658

6 years agocomponent/bt: Fix some hid bugs of v3.1
baohongde [Fri, 29 Jun 2018 07:42:46 +0000 (15:42 +0800)]
component/bt: Fix some hid bugs of v3.1

1. Property of HID Information is Read
2. Property of HID Control Point is WriteWithoutResponse

A cherry-pick of MR !2628

6 years agocomponent/bt: Fix bug: Respond with the Error Response when receiving a request that...
baohongde [Fri, 29 Jun 2018 07:19:19 +0000 (15:19 +0800)]
component/bt: Fix bug: Respond with the Error Response when receiving a request that it does not support into v3.1

A cherry-pick of MR !2591

6 years agoMerge branch 'feature/optimize_wifi_memory_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 07:13:00 +0000 (15:13 +0800)]
Merge branch 'feature/optimize_wifi_memory_v3.1' into 'release/v3.1'

Optimize WiFi memory (backport v3.1)

See merge request idf/esp-idf!2651

6 years agocomponent/bt: fix stop adv error in dual core
zwj [Fri, 15 Jun 2018 08:25:35 +0000 (16:25 +0800)]
component/bt: fix stop adv error in dual core

6 years agoMerge branch 'bugfix/btdm_fix_no_adv_packet_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 06:59:10 +0000 (14:59 +0800)]
Merge branch 'bugfix/btdm_fix_no_adv_packet_v3.1' into 'release/v3.1'

component/bt: fix no adv packets for v3.1

See merge request idf/esp-idf!2653

6 years agoprevent Dynamic Frequency Scaling when using bluetooth modem sleep
wangmengyang [Thu, 28 Jun 2018 10:08:18 +0000 (18:08 +0800)]
prevent Dynamic Frequency Scaling when using bluetooth modem sleep

This constraint will be elimiated after the issue is fixed

6 years agocomponent/bt: remove the call of assert in time conversion functions which can be...
wangmengyang [Wed, 27 Jun 2018 09:23:23 +0000 (17:23 +0800)]
component/bt: remove the call of assert in time conversion functions which can be caused in ISR

6 years agocomponent/bt: fix the cornered case caused by singular finetime correction value...
wangmengyang [Wed, 27 Jun 2018 11:00:20 +0000 (19:00 +0800)]
component/bt: fix the cornered case caused by singular finetime correction value upon waking up from sleep

1. revert previous changes that adds 1-slot margin for first master Tx event, since this bugfix can handle that case

6 years agocomponent/bt: fix no adv packets
zwj [Thu, 28 Jun 2018 09:49:41 +0000 (17:49 +0800)]
component/bt: fix no adv packets

6 years agoOptimize WiFi memory
Liu Zhi Fu [Thu, 28 Jun 2018 13:24:44 +0000 (21:24 +0800)]
Optimize WiFi memory

Optimize wifi memory (b987c01d)
1. Decrease WiFi task stack size by 512 Bytes
2. Modify WiFi NVS configuration array from static to dynamic
3. Move interrupt/RX relating variables from .bss segment to .data segment
4. Modify WiFi management short buffer from static to dynamic
5. Remove some useless WiFi buffer space

6 years agoMerge branch 'mesh/update_libs_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 28 Jun 2018 08:09:29 +0000 (16:09 +0800)]
Merge branch 'mesh/update_libs_v3.1' into 'release/v3.1'

mesh: update libs(backport3.1)

See merge request idf/esp-idf!2630

6 years agoMerge branch 'bugfix/btdm_conn_stress_test_assert_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 28 Jun 2018 06:23:39 +0000 (14:23 +0800)]
Merge branch 'bugfix/btdm_conn_stress_test_assert_for_v3.1' into 'release/v3.1'

bugfix/btdm_conn_stress_test_assert_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2632

6 years agocomponent/bt: add 1 slot margin to program the 1st master Tx event during BLE connection
wangmengyang [Wed, 27 Jun 2018 07:44:32 +0000 (15:44 +0800)]
component/bt: add 1 slot margin to program the 1st master Tx event during BLE connection

this will resolve the issue of failure of BLE connection stress test with sleep enabled

6 years agoMerge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp_v3.1' into 'relea...
Jiang Jiang Jian [Wed, 27 Jun 2018 10:10:24 +0000 (18:10 +0800)]
Merge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp_v3.1' into 'release/v3.1'

Component/bt: fix slave can not receive long packets in smp for v3.1

See merge request idf/esp-idf!2626

6 years agoMerge branch 'feature/move_to_soc_rtc_gpio_desc_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Wed, 27 Jun 2018 07:55:46 +0000 (15:55 +0800)]
Merge branch 'feature/move_to_soc_rtc_gpio_desc_v3.1' into 'release/v3.1'

soc: Fix check_long_hold_gpio and move def to soc (v3.1 backport)

See merge request idf/esp-idf!2622

6 years agomesh: update libs
qiyueixa [Tue, 19 Jun 2018 10:23:56 +0000 (18:23 +0800)]
mesh: update libs

1. add APIs to set/get announce interval values.
2. add API to enable/disable the min rate to 6Mbps for data packages.
3. add APIs to set/get RSSI threshold values.
4. fix ap_loss.

6 years agoMerge branch 'feature/btdm_controller_to_host_flow_control_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 26 Jun 2018 09:07:18 +0000 (17:07 +0800)]
Merge branch 'feature/btdm_controller_to_host_flow_control_v3.1' into 'release/v3.1'

component/bt: Add Controller to Host Flow Control into v3.1

See merge request idf/esp-idf!2613

6 years agoComponent/bt: fix slave can not receive long packets in smp
zhiweijian [Thu, 21 Jun 2018 07:16:01 +0000 (15:16 +0800)]
Component/bt: fix slave can not receive long packets in smp

6 years agosoc: Fix check_long_hold_gpio and move def to soc
Konstantin Kondrashov [Wed, 13 Jun 2018 04:52:44 +0000 (09:52 +0500)]
soc: Fix check_long_hold_gpio and move def to soc

Fix factory_reset_pin init as input
Move definition a structure rtc_gpio_desc to soc

Closes https://github.com/espressif/esp-idf/issues/2030

6 years agobt : fix read rssi conflict when in dual mode
Tian Hao [Thu, 21 Jun 2018 13:43:46 +0000 (21:43 +0800)]
bt : fix read rssi conflict when in dual mode

6 years agocomponent/bt: Add Controller to Host Flow Control into v3.1
baohongde [Mon, 25 Jun 2018 12:38:21 +0000 (20:38 +0800)]
component/bt: Add Controller to Host Flow Control into v3.1

A cherry-pick of MR !2493

6 years agoMerge branch 'bugfix/app_partition_fallback_v31' into 'release/v3.1'
Ivan Grokhotkov [Mon, 25 Jun 2018 06:59:03 +0000 (14:59 +0800)]
Merge branch 'bugfix/app_partition_fallback_v31' into 'release/v3.1'

partition_table: Support same fallback logic as bootloader for default boot partition (v3.1 backport)

See merge request idf/esp-idf!2597

6 years agoMerge branch 'bugfix/wifi_support_null_mode_again_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 25 Jun 2018 06:54:40 +0000 (14:54 +0800)]
Merge branch 'bugfix/wifi_support_null_mode_again_v3.1' into 'release/v3.1'

support WiFi null mode again

See merge request idf/esp-idf!2578

6 years agodocs: conf.py: check return code when calling os.system
Ivan Grokhotkov [Thu, 21 Jun 2018 07:22:47 +0000 (15:22 +0800)]
docs: conf.py: check return code when calling os.system

Several calls were made but results were not checked, obfuscating the
errors.

6 years agoesp_err_to_name.py: guess IDF_PATH if not set in environement
Ivan Grokhotkov [Thu, 21 Jun 2018 07:21:45 +0000 (15:21 +0800)]
esp_err_to_name.py: guess IDF_PATH if not set in environement

Fixes the issue that esp_err_to_name.py would fail when called in
documentation build process, when there was no IDF_PATH set.

6 years agopartition_table: Support same fallback logic as bootloader for default boot partition
Angus Gratton [Fri, 22 Jun 2018 01:14:22 +0000 (11:14 +1000)]
partition_table: Support same fallback logic as bootloader for default boot partition

Generates correct "make flash" command even when partition table has no factory partition.

Also adds unit tests for parttool.py

Closes https://github.com/espressif/esp-idf/issues/2086

6 years agoassert: Fix. Move useful functions from wrapped assert functions
Konstantin Kondrashov [Fri, 22 Jun 2018 10:17:55 +0000 (15:17 +0500)]
assert: Fix. Move useful functions from wrapped assert functions

Moved useful functions from wrapped assert functions, because option `CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=y` will remove this functions.

Closes https://github.com/espressif/esp-idf/issues/2068

6 years agoMerge branch 'bugfix/btdm_modify_throught_demo_default_config_v3.1' into 'release...
Jiang Jiang Jian [Sun, 24 Jun 2018 02:52:44 +0000 (10:52 +0800)]
Merge branch 'bugfix/btdm_modify_throught_demo_default_config_v3.1' into 'release/v3.1'

Component/bt: modify throughput demo default config for v3.1

See merge request idf/esp-idf!2600

6 years agoComponent/bt: modify throughput demo default config
zhiweijian [Thu, 21 Jun 2018 12:13:05 +0000 (20:13 +0800)]
Component/bt: modify throughput demo default config

6 years agosupport WiFi null mode again
XiaXiaotian [Wed, 20 Jun 2018 09:21:56 +0000 (17:21 +0800)]
support WiFi null mode again

6 years agoMerge branch 'bugfix/btdm_k_mem_assert_bug_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 21 Jun 2018 07:23:24 +0000 (15:23 +0800)]
Merge branch 'bugfix/btdm_k_mem_assert_bug_v3.1' into 'release/v3.1'

component/bt: Fix the bug of when operating the list on interrupt function,…

See merge request idf/esp-idf!2584

6 years agocomponent/bt: Fix the bug of when operating the list on interrupt function, there...
yulong [Tue, 19 Jun 2018 13:01:50 +0000 (21:01 +0800)]
component/bt: Fix the bug of when operating the list on interrupt function, there is no lock protection.

6 years agoMerge branch 'bugfix/fix_touch_pad_can_not_wake_up' into 'master' v3.1-beta1
Angus Gratton [Wed, 20 Jun 2018 03:51:46 +0000 (11:51 +0800)]
Merge branch 'bugfix/fix_touch_pad_can_not_wake_up' into 'master'

bugfix(touch pad): modify deep-sleep example and add note for sleep api

See merge request idf/esp-idf!2553

6 years agobugfix(touch pad): modify deep-sleep example and add note for sleep api.
fuzhibo [Thu, 14 Jun 2018 08:33:46 +0000 (16:33 +0800)]
bugfix(touch pad): modify deep-sleep example and add note for sleep api.
Closes https://github.com/espressif/esp-idf/issues/2052

6 years agoMerge branch 'doc/use_docs_espressif_com' into 'master'
Angus Gratton [Tue, 19 Jun 2018 23:32:11 +0000 (07:32 +0800)]
Merge branch 'doc/use_docs_espressif_com' into 'master'

docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com

See merge request idf/esp-idf!2569

6 years agodocs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com
Angus Gratton [Mon, 18 Jun 2018 07:07:16 +0000 (17:07 +1000)]
docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com

6 years agoMerge branch 'bugfix/ESP_PARTITION_TABLE_OFFSET' into 'master'
Ivan Grokhotkov [Tue, 19 Jun 2018 11:13:30 +0000 (19:13 +0800)]
Merge branch 'bugfix/ESP_PARTITION_TABLE_OFFSET' into 'master'

spi_flash: Fix error unit tests on host

See merge request idf/esp-idf!2573

6 years agospi_flash: Fix error unit tests on host
Konstantin Kondrashov [Tue, 19 Jun 2018 03:23:01 +0000 (08:23 +0500)]
spi_flash: Fix error unit tests on host

IDF had two defines ESP_PARTITION_TABLE_OFFSET and ESP_PARTITION_TABLE_ADDR. They were the same and equal by 0x8000.
A define ESP_PARTITION_TABLE_ADDR was removed from IDF.
A define ESP_PARTITION_TABLE_OFFSET depends on option CONFIG_PARTITION_TABLE_OFFSET in Kconfig.

Now using only #define ESP_PARTITION_TABLE_OFFSET CONFIG_PARTITION_TABLE_OFFSET

6 years agoMerge branch 'test/driver_ledc' into 'master'
He Yin Ling [Tue, 19 Jun 2018 07:14:16 +0000 (15:14 +0800)]
Merge branch 'test/driver_ledc' into 'master'

test: add ledc test cases

See merge request idf/esp-idf!1782

6 years agoMerge branch 'feature/spi_functions_in_iram' into 'master'
Angus Gratton [Mon, 18 Jun 2018 23:25:12 +0000 (07:25 +0800)]
Merge branch 'feature/spi_functions_in_iram' into 'master'

feature(spi_master): allow to place functions into IRAM to get higher efficiency

See merge request idf/esp-idf!2538

6 years agotest: components/driver: ledc case
houchenyao [Sun, 17 Dec 2017 02:22:22 +0000 (10:22 +0800)]
test: components/driver: ledc case

6 years agoMerge branch 'feature/expansion_space_for_bootloader' into 'master'
Angus Gratton [Mon, 18 Jun 2018 04:34:53 +0000 (12:34 +0800)]
Merge branch 'feature/expansion_space_for_bootloader' into 'master'

partition_table: Moving to custom offset

See merge request idf/esp-idf!2263

6 years agoMerge branch 'feature/fatfs_without_wl' into 'master'
Angus Gratton [Mon, 18 Jun 2018 04:26:02 +0000 (12:26 +0800)]
Merge branch 'feature/fatfs_without_wl' into 'master'

FATFS support without wear levelling

See merge request idf/esp-idf!2526

6 years agoMerge branch 'docs/spi_timing_wavedrom' into 'master'
Angus Gratton [Mon, 18 Jun 2018 04:13:31 +0000 (12:13 +0800)]
Merge branch 'docs/spi_timing_wavedrom' into 'master'

docs(spi_master): fix wavedrom image and comment mistake

See merge request idf/esp-idf!2563

6 years agoMerge branch 'mesh/bugfix_osi' into 'master'
Jiang Jiang Jian [Sun, 17 Jun 2018 10:56:52 +0000 (18:56 +0800)]
Merge branch 'mesh/bugfix_osi' into 'master'

mesh: update mesh libs

See merge request idf/esp-idf!2524

6 years agoFATFS support without wear levelling
Sagar Bijwe [Fri, 8 Jun 2018 12:09:00 +0000 (17:39 +0530)]
FATFS support without wear levelling

This change allows readonly FATFS to be mounted without wear levelling
support. This will provide the customers a simple way to mount FATFS images
generated on host and flashed onto the chip during factory provisioning.
Since NVS encryption is not supported yet and NVS entry size is limited,
the change will provide an easy alternative for securing the provisioning data
by just marking FATFS parition as encrypted.

6 years agomesh: update mesh libs
qiyueixa [Thu, 14 Jun 2018 10:33:35 +0000 (18:33 +0800)]
mesh: update mesh libs

1. rename example internal_transceiver to internal_communication
2. bugfix
3. Closes https://github.com/espressif/esp-idf/issues/2014

6 years agodocs(spi_master): fix wavedrom image and comment mistake
Michael (XIAO Xufeng) [Fri, 15 Jun 2018 09:37:12 +0000 (17:37 +0800)]
docs(spi_master): fix wavedrom image and comment mistake

6 years agoMerge branch 'bugfix/https_redirect_example_test' into 'master'
Ivan Grokhotkov [Fri, 15 Jun 2018 09:18:26 +0000 (17:18 +0800)]
Merge branch 'bugfix/https_redirect_example_test' into 'master'

esp_http_client example test: Increase timeout when redirecting to HTTPS

See merge request idf/esp-idf!2558

6 years agoMerge branch 'doc/error_handling' into 'master'
Ivan Grokhotkov [Fri, 15 Jun 2018 08:55:33 +0000 (16:55 +0800)]
Merge branch 'doc/error_handling' into 'master'

docs: add information on error handling

See merge request idf/esp-idf!2539

6 years agodocs: add pages about error handling
Ivan Grokhotkov [Mon, 11 Jun 2018 12:49:35 +0000 (20:49 +0800)]
docs: add pages about error handling

6 years agodocs: add error codes reference
Ivan Grokhotkov [Wed, 13 Jun 2018 08:07:26 +0000 (16:07 +0800)]
docs: add error codes reference

6 years agoKconfig: split out compiler options, add them to reference
Ivan Grokhotkov [Wed, 13 Jun 2018 08:09:05 +0000 (16:09 +0800)]
Kconfig: split out compiler options, add them to reference

6 years agopanic: remove extra newline
Ivan Grokhotkov [Tue, 12 Jun 2018 10:50:59 +0000 (18:50 +0800)]
panic: remove extra newline

6 years agoesp32: esp_err_to_name_r: print error code as hex and decimal
Ivan Grokhotkov [Mon, 11 Jun 2018 12:52:30 +0000 (20:52 +0800)]
esp32: esp_err_to_name_r: print error code as hex and decimal