]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'feature/i2s_tx_descriptor_auto_clear_backport_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Mon, 7 Jan 2019 08:34:01 +0000 (16:34 +0800)]
Merge branch 'feature/i2s_tx_descriptor_auto_clear_backport_v3.2' into 'release/v3.2'

i2s: add (optional) support to clear tx descriptor in underflow case (backport v3.2)

See merge request idf/esp-idf!4056

5 years agoexamples: enable option to auto clear I2S tx descriptor on underflow
Mahavir Jain [Fri, 23 Nov 2018 09:09:04 +0000 (14:39 +0530)]
examples: enable option to auto clear I2S tx descriptor on underflow

Closes: https://github.com/espressif/esp-idf/issues/1945
(cherry picked from commit 1751607adfe7078f89a2bd07ea7f0a261cf8421c)

5 years agoi2s: add (optional) support to clear tx descriptor in underflow case
Mahavir Jain [Mon, 14 May 2018 09:03:45 +0000 (14:33 +0530)]
i2s: add (optional) support to clear tx descriptor in underflow case

It has been observed that, in case of underflow (data unavailability) in
I2S transmission, previously filled up tx descriptors continue to get
transmitted on line, causing noise in case of audio use case.

This change adds optional `tx_desc_auto_clear` field during I2S driver intialization
than can zero initialize tx descriptor in case of underflow situation in
interrupt handler itself.

Closes: https://github.com/espressif/esp-idf/issues/1789
(cherry picked from commit 765bf674d0d54b2b871bb2d1e41160bc4025da1a)

5 years agoMerge branch 'feature/freemodbus_move_rs485_mode_control_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sat, 29 Dec 2018 02:28:27 +0000 (10:28 +0800)]
Merge branch 'feature/freemodbus_move_rs485_mode_control_v3.2' into 'release/v3.2'

examples: freemodbus port serial slave move uart mode settings into example (backport v3.2)

See merge request idf/esp-idf!4015

5 years agoMerge branch 'doc/btdm_modem_sleep_EVED_mode_for_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sat, 29 Dec 2018 02:27:52 +0000 (10:27 +0800)]
Merge branch 'doc/btdm_modem_sleep_EVED_mode_for_v3.2' into 'release/v3.2'

doc/btdm_modem_sleep_EVED_mode_for_v3.2(backport v3.2)

See merge request idf/esp-idf!4016

5 years agoMerge branch 'bugfix/ota_magic_byte_issue_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sat, 29 Dec 2018 02:24:24 +0000 (10:24 +0800)]
Merge branch 'bugfix/ota_magic_byte_issue_v3.2' into 'release/v3.2'

Bugfix/ota magic byte issue v3.2(backport v3.2)

See merge request idf/esp-idf!4004

5 years agoMerge branch 'bugfix/lwip_add_hostname_option_in_dhcp_discover_v3.2' into 'release...
Jiang Jiang Jian [Sat, 29 Dec 2018 02:07:50 +0000 (10:07 +0800)]
Merge branch 'bugfix/lwip_add_hostname_option_in_dhcp_discover_v3.2' into 'release/v3.2'

add hostname option in dhcp discover (backport v3.2)

See merge request idf/esp-idf!3938

5 years agoMerge branch 'mesh/bugfix_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 28 Dec 2018 06:02:23 +0000 (14:02 +0800)]
Merge branch 'mesh/bugfix_v3.2' into 'release/v3.2'

mesh: when no parent is found, send probe request

See merge request idf/esp-idf!3940

5 years agoMerge branch 'bugfix/bbpll_wakeup_reset_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Mon, 24 Dec 2018 10:16:47 +0000 (18:16 +0800)]
Merge branch 'bugfix/bbpll_wakeup_reset_v3.2' into 'release/v3.2'

BBPLL reset fixes (backport v3.2)

See merge request idf/esp-idf!4011

5 years agocomponent/bt: add more information and description for bluetooth modem sleep
wangmengyang [Fri, 21 Dec 2018 11:29:47 +0000 (19:29 +0800)]
component/bt: add more information and description for bluetooth modem sleep

Add remark that "EVED" mode for bluetooth modem sleep is only used for internal test

5 years agomesh: when no parent is found, send probe request via broadcast
qiyueixa [Fri, 21 Dec 2018 09:49:58 +0000 (17:49 +0800)]
mesh: when no parent is found, send probe request via broadcast

1. fix error in checking Wi-Fi commit ID.

5 years agoMerge branch 'bugfix/ext_ram_bss_align_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 21 Dec 2018 09:31:33 +0000 (17:31 +0800)]
Merge branch 'bugfix/ext_ram_bss_align_v3.2' into 'release/v3.2'

Fix ext_ram_bss alignment crash (backport v3.2)

See merge request idf/esp-idf!4014

5 years agoexamples: freemodbus port serial slave move uart mode settings into example
aleks [Mon, 3 Dec 2018 13:16:36 +0000 (14:16 +0100)]
examples: freemodbus port serial slave move uart mode settings into example

Update freemodbus component file esp-idf/components/freemodbus/port/portserial.c to remove UART mode settings;
Move UART mode settings into esp-idf/examples/protocols/modbus_slave/main/freemodbus.c
Move UART pin settings from Component config into example Kconfig.projbuild file
Move setup of UART port pins from freemodbus component into example file

TW#27721
Closes https://github.com/espressif/esp-idf/issues/2784#issuecomment-443600157

5 years agopsram: Use 8-bit type for _ext_ram_bss_start/_ext_ram_bss_end
Angus Gratton [Wed, 19 Dec 2018 22:34:42 +0000 (09:34 +1100)]
psram: Use 8-bit type for _ext_ram_bss_start/_ext_ram_bss_end

Fixes pointer arithmetic when printing size of remaining heap

5 years agomulti_heap: Fix bug when start of heap is unaligned
Angus Gratton [Wed, 19 Dec 2018 22:34:24 +0000 (09:34 +1100)]
multi_heap: Fix bug when start of heap is unaligned

Alignment was accounted for in one place only.

TW27954

5 years agolinker external bss: Align end of ext bss to word boundary
Angus Gratton [Wed, 19 Dec 2018 08:22:47 +0000 (19:22 +1100)]
linker external bss: Align end of ext bss to word boundary

TW27954

5 years agoMerge branch 'bugfix/btdm_fix_crash_adv_scan_coex_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 21 Dec 2018 07:59:53 +0000 (15:59 +0800)]
Merge branch 'bugfix/btdm_fix_crash_adv_scan_coex_v3.2' into 'release/v3.2'

component/bt: fix crash when adv and scan coex and optimize duplicate scan (backport v3.2)

See merge request idf/esp-idf!3994

5 years agoMerge branch 'bugfix/btdm_fix_two_bugs_about_pairing_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 21 Dec 2018 06:26:19 +0000 (14:26 +0800)]
Merge branch 'bugfix/btdm_fix_two_bugs_about_pairing_v3.2' into 'release/v3.2'

components/bt: Fix two bugs about pairing(backport 3.2)

See merge request idf/esp-idf!3995

5 years agoMerge branch 'bugfix/btdm_prevent_light_sleep_for_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 21 Dec 2018 06:25:49 +0000 (14:25 +0800)]
Merge branch 'bugfix/btdm_prevent_light_sleep_for_v3.2' into 'release/v3.2'

bugfix/btdm_prevent_light_sleep_for_v3.2(backport v3.2)

See merge request idf/esp-idf!3986

5 years agosoc/rtc: reset another BBPLL related register
Ivan Grokhotkov [Wed, 12 Dec 2018 04:22:48 +0000 (12:22 +0800)]
soc/rtc: reset another BBPLL related register

Follow-up to b21ffc8a: an additional register needs to be reset.

Ref. https://github.com/espressif/esp-idf/issues/2711

5 years agosoc/rtc: reset BBPLL configuration after enabling it
Ivan Grokhotkov [Thu, 6 Dec 2018 06:43:24 +0000 (14:43 +0800)]
soc/rtc: reset BBPLL configuration after enabling it

A workaround to reset BBPLL configuration after light sleep. Fixes the
issue that Wi-Fi can not receive packets after waking up from light
sleep.

Ref. https://github.com/espressif/esp-idf/issues/2711

5 years agoMerge branch 'bugfix/idf_monitor_without_toolchain_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Fri, 21 Dec 2018 04:01:54 +0000 (12:01 +0800)]
Merge branch 'bugfix/idf_monitor_without_toolchain_v3.2' into 'release/v3.2'

tools: Print useful error message from idf_monitor when toolchain isn't available (backport v3.2)

See merge request idf/esp-idf!3949

5 years agobugfix/ota_magic_byte_issue: Fix indent and replace constant by macro
Supreet Deshpande [Mon, 17 Dec 2018 04:26:18 +0000 (09:56 +0530)]
bugfix/ota_magic_byte_issue: Fix indent and replace constant by macro

Replace 0xE9 by ESP_IMAGE_HEADER_MAGIC.

5 years agobugfix/ota_magic_byte_issue: Fixes OTA magic byte error
Supreet Deshpande [Mon, 10 Dec 2018 11:46:38 +0000 (17:16 +0530)]
bugfix/ota_magic_byte_issue: Fixes OTA magic byte error

On enabling flash encryption, OTA fails with magic byte error in the second chunk
if the http data is split into two or more chunks and first chunk is less than 16.

5 years ago fix crash when adv and scan coex and optimize duplicate scan
zwj [Wed, 19 Dec 2018 11:53:01 +0000 (19:53 +0800)]
 fix crash when adv and scan coex and optimize duplicate scan

5 years agocomponents/bt: Fix two bugs about pairing
baohongde [Wed, 19 Dec 2018 11:42:47 +0000 (19:42 +0800)]
components/bt: Fix two bugs about pairing

1. Fix Legacy Pairing failed without remote device name
2. Fix discovery no device after disabling SSP

5 years agocomponent/bt: use a pm_lock to prevent light sleep when bluetooth is enabled due...
wangmengyang [Mon, 17 Dec 2018 11:54:57 +0000 (19:54 +0800)]
component/bt: use a pm_lock to prevent light sleep when bluetooth is enabled due to current imcompatibility

5 years agoMerge branch 'bugfix/btdm_assert_ble_65536_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 18 Dec 2018 04:03:21 +0000 (12:03 +0800)]
Merge branch 'bugfix/btdm_assert_ble_65536_v3.2' into 'release/v3.2'

fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222

See merge request idf/esp-idf!3968

5 years agoMerge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled_v3.2' into...
Jiang Jiang Jian [Tue, 18 Dec 2018 03:45:28 +0000 (11:45 +0800)]
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled_v3.2' into 'release/v3.2'

Component/bt: fix receive adv pkt when enable duplicate scan (backport v3.2)

See merge request idf/esp-idf!3942

5 years agoMerge branch 'bugfix/tw27963_fix_wifi_stop_bug_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 18 Dec 2018 03:41:03 +0000 (11:41 +0800)]
Merge branch 'bugfix/tw27963_fix_wifi_stop_bug_v3.2' into 'release/v3.2'

esp32: fix WiFi stop bug in WiFi/BT coexist mode (backport v3.2)

See merge request idf/esp-idf!3982

5 years agoesp32: fix WiFi stop bug in WiFi/BT coexist mode
Liu Zhi Fu [Mon, 17 Dec 2018 12:52:40 +0000 (20:52 +0800)]
esp32: fix WiFi stop bug in WiFi/BT coexist mode

This fix includes following changes:
1. Fix the bug that esp_restart()/esp_wifi_stop() sometimes fails in WiFi/BT coexist mode.
2. Add a timer for WiFi stop and stop WiFi forcibly once the timer expires.

5 years agofix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
Tian Hao [Fri, 14 Dec 2018 09:38:52 +0000 (17:38 +0800)]
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222

5 years agoComponent/bt: fix receive adv pkt when enable duplicate scan
zhiweijian [Fri, 23 Nov 2018 12:03:40 +0000 (20:03 +0800)]
Component/bt: fix receive adv pkt when enable duplicate scan

5 years agoMerge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS_for_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 14 Dec 2018 12:28:31 +0000 (20:28 +0800)]
Merge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS_for_v3.2' into 'release/v3.2'

Bugfix/btdm modem sleep cowork with dfs for v3.2(backport v3.2)

See merge request idf/esp-idf!3962

5 years agoMerge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.2' into...
Jiang Jiang Jian [Fri, 14 Dec 2018 10:24:01 +0000 (18:24 +0800)]
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.2' into 'release/v3.2'

Component/bt: fix auth_mode error when reconnection in SMP (backport v3.2)

See merge request idf/esp-idf!3955

5 years agocomponent/bt: add DRAM_ATTR attribute to global variables(mostly in bss segment)...
wangmengyang [Fri, 14 Dec 2018 06:59:41 +0000 (14:59 +0800)]
component/bt: add DRAM_ATTR attribute to global variables(mostly in bss segment) in bt.c which can be accessed in ISR

5 years agoMerge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond_v3.2' into 'release...
Jiang Jiang Jian [Fri, 14 Dec 2018 06:59:24 +0000 (14:59 +0800)]
Merge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond_v3.2' into 'release/v3.2'

Component/bt: fix save keys when auth mode without bond (backport V3.2)

See merge request idf/esp-idf!3957

5 years agocomponent/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic...
wangmengyang [Fri, 14 Dec 2018 06:56:29 +0000 (14:56 +0800)]
component/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic Frequency Scaling

1. start an esp_timer on entering sleep to acquire pm_lock before wake up from modem sleep
2. decrease the clock division of XTAL fed to bluetooth low power clock from 32us to 2us period to allow to work under 240MHz Max CPU frequency
3. decrease the minimum sleep duration threshold to allow shorter bluetooth modem sleep period, especially for BLE with short connection interval
4. reconfigure bluetooth baseband(BT-BB) settings after PHY/RF init upon waking up from modem sleep to avoid packet RX/TX performance degradation

5 years agotools: Print useful error message from idf_monitor when toolchain isn't available
Roland Dobai [Sat, 1 Dec 2018 15:16:49 +0000 (16:16 +0100)]
tools: Print useful error message from idf_monitor when toolchain isn't available

5 years agoComponent/bt: fix save keys when auth mode without bond
zhiweijian [Fri, 23 Nov 2018 10:06:02 +0000 (18:06 +0800)]
Component/bt: fix save keys when auth mode without bond

5 years agoComponent/bt: fix auth_mode error when reconnection in SMP
zhiweijian [Fri, 30 Nov 2018 13:47:17 +0000 (21:47 +0800)]
Component/bt: fix auth_mode error when reconnection in SMP

5 years agoMerge branch 'test/add_case_to_detect_ds2ds_issue_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 13 Dec 2018 06:52:58 +0000 (14:52 +0800)]
Merge branch 'test/add_case_to_detect_ds2ds_issue_v3.2' into 'release/v3.2'

test: add case to detect ds2ds issue (backport v3.2)

See merge request idf/esp-idf!3851

5 years agoMerge branch 'bugfix/btdm_fix_accept_specified_sec_auth_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 13 Dec 2018 03:20:02 +0000 (11:20 +0800)]
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth_v3.2' into 'release/v3.2'

Component/bt: fix accept specified sec auth error(backport v3.2)

See merge request idf/esp-idf!3836

5 years agoMerge branch 'feature/illegal_instruction_panic_info_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 12 Dec 2018 07:58:22 +0000 (15:58 +0800)]
Merge branch 'feature/illegal_instruction_panic_info_v3.2' into 'release/v3.2'

panic: dump some instruction memory on IllegalInstruction exception (backport v3.2)

See merge request idf/esp-idf!3946

5 years agopanic: dump some instruction memory on IllegalInstruction exception
Ivan Grokhotkov [Sun, 2 Dec 2018 22:57:26 +0000 (06:57 +0800)]
panic: dump some instruction memory on IllegalInstruction exception

5 years agoadd hostname option in dhcp discover
Xia Xiaotian [Mon, 10 Dec 2018 13:26:24 +0000 (21:26 +0800)]
add hostname option in dhcp discover

    Hostname option has been removed from dhcp discover since IDFv3.2.
But it remains in dhcp request due to which ESP32 can not get IPv4 address
from some APs. Re-add hostname option to dhcp discover to solve this issue.

5 years agoMerge branch 'bugfix/btdm_assert_ble_32768_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Mon, 10 Dec 2018 07:04:44 +0000 (15:04 +0800)]
Merge branch 'bugfix/btdm_assert_ble_32768_v3.2' into 'release/v3.2'

fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222

See merge request idf/esp-idf!3919

5 years agoMerge branch 'fix/spi_callback_in_iram_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 7 Dec 2018 02:37:07 +0000 (10:37 +0800)]
Merge branch 'fix/spi_callback_in_iram_v3.2' into 'release/v3.2'

spi: fix the crash when callbacks are not in the IRAM (Backports v3.2)

See merge request idf/esp-idf!3884

5 years agoMerge branch 'bugfix/win_path_print_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 7 Dec 2018 02:36:31 +0000 (10:36 +0800)]
Merge branch 'bugfix/win_path_print_v3.2' into 'release/v3.2'

tools: correct printed path on MS Win (backport v3.2)

See merge request idf/esp-idf!3913

5 years agoMerge branch 'ci/combine_unit_test_and_integration_test_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 7 Dec 2018 02:36:00 +0000 (10:36 +0800)]
Merge branch 'ci/combine_unit_test_and_integration_test_v3.2' into 'release/v3.2'

ci: combine unit_test and integration_test stage (backport v3.2)

See merge request idf/esp-idf!3845

5 years agoMerge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 7 Dec 2018 02:35:17 +0000 (10:35 +0800)]
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.2' into 'release/v3.2'

driver(uart): fixed uart read error bug when using dual core (backport v3.2)

See merge request idf/esp-idf!3813

5 years agoMerge branch 'bugfix/idfpy_monitor_msys_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 7 Dec 2018 02:34:44 +0000 (10:34 +0800)]
Merge branch 'bugfix/idfpy_monitor_msys_v3.2' into 'release/v3.2'

tools: fix idf.py monitor for MSYS (backport v3.2)

See merge request idf/esp-idf!3898

5 years agounit-test-app: fix the RegEx to detect test case:
He Yin Ling [Thu, 29 Nov 2018 06:36:34 +0000 (14:36 +0800)]
unit-test-app: fix the RegEx to detect test case:

tags are not correctly parsed if eol do not contain `\r`

5 years agotiny-test-fw: fix exception when expect RegEx:
He Yin Ling [Thu, 29 Nov 2018 06:33:36 +0000 (14:33 +0800)]
tiny-test-fw: fix exception when expect RegEx:

match.groups() could return None. We can't do decode on None object.

5 years agotest: add test case to receive ds2ds packet
He Yin Ling [Wed, 28 Nov 2018 13:53:06 +0000 (21:53 +0800)]
test: add test case to receive ds2ds packet

5 years agofix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
Tian Hao [Thu, 6 Dec 2018 08:54:14 +0000 (16:54 +0800)]
fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222

5 years agotools: correct the coding style of check_python_dependencies.py
Roland Dobai [Fri, 30 Nov 2018 12:31:44 +0000 (13:31 +0100)]
tools: correct the coding style of check_python_dependencies.py

5 years agotools: correct printed path on MS Win
Roland Dobai [Fri, 30 Nov 2018 12:22:31 +0000 (13:22 +0100)]
tools: correct printed path on MS Win

5 years agoMerge branch 'bugfix/ethernet_enable_second_failure_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Thu, 6 Dec 2018 07:22:32 +0000 (15:22 +0800)]
Merge branch 'bugfix/ethernet_enable_second_failure_v3.2' into 'release/v3.2'

fix phy init timeout(backport v3.2)

See merge request idf/esp-idf!3896

5 years agotools: fix idf.py monitor for MSYS
Roland Dobai [Thu, 29 Nov 2018 14:52:09 +0000 (15:52 +0100)]
tools: fix idf.py monitor for MSYS

5 years agoethernet: phy init timeout
morris [Tue, 4 Dec 2018 09:13:48 +0000 (17:13 +0800)]
ethernet: phy init timeout

When ethernet enable again after disable it before, phy init will report timeout.
The cause of this problem is that the enabling of emac clock is too late, and should be placed before phy init.

5 years agoMerge branch 'bugfix/btdm_bugs_caused_by_coex_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 5 Dec 2018 06:17:25 +0000 (14:17 +0800)]
Merge branch 'bugfix/btdm_bugs_caused_by_coex_v3.2' into 'release/v3.2'

component/bt and esp32:  fix two bluetooth bugs that caused by coexist module

See merge request idf/esp-idf!3861

5 years agoMerge branch 'doc/security_features_small_fixes_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Wed, 5 Dec 2018 03:07:41 +0000 (11:07 +0800)]
Merge branch 'doc/security_features_small_fixes_v3.2' into 'release/v3.2'

doc: Small secure boot & flash encryption corrections (v3.2)

See merge request idf/esp-idf!3888

5 years agodocs: flash encryption: Fix description of behaviour when all bits of FLASH_CRYPT_CNT...
Angus Gratton [Tue, 4 Dec 2018 01:38:28 +0000 (12:38 +1100)]
docs: flash encryption: Fix description of behaviour when all bits of FLASH_CRYPT_CNT are set

Correct behaviour is described in section 25.3.3 Flash Decryption Block of the ESP32 TRM

5 years agodoc: secure boot: Explain output of digest_secure_bootloader command
Angus Gratton [Tue, 4 Dec 2018 01:34:59 +0000 (12:34 +1100)]
doc: secure boot: Explain output of digest_secure_bootloader command

Mentioned on forum https://esp32.com/viewtopic.php?f=13&t=8162&start=10#p34714

5 years agodoc: security: Use less ambiguous language about using bot flash encryption & secure...
Angus Gratton [Tue, 4 Dec 2018 01:34:38 +0000 (12:34 +1100)]
doc: security: Use less ambiguous language about using bot flash encryption & secure boot together

5 years agospi: fix the crash when callbacks are not in the IRAM
Michael (XIAO Xufeng) [Tue, 23 Oct 2018 08:57:32 +0000 (16:57 +0800)]
spi: fix the crash when callbacks are not in the IRAM

Introduced in 9c23b8e5 and 4f87a62f. To get higher speed, menuconfig
options are added to put ISR and other functions into the IRAM.  The
interrupt flag ESP_INTR_FLAG_IRAM is also mistakenly set when the ISR is
put into the IRAM. However callbacks, which are wrote by the user, are
called in the master and slave ISR. The user may not be aware of that
these callbacks are not disabled during flash operations. Any cache miss
during flash operation will cause panic.

Essentially IRAM functions and intrrupt flag ESP_INTR_FLAG_IRAM are
different, the latter means not disabling the ISR during flash
operations.  New bus_config flag intr_flags is offered to help set the
interrupt attribute, including priority level, SHARED, IRAM (not
disabled during flash operations).  It introduced a small BREAK to
IDFv3.1 (but the same as IDFv3.0) that the user has to manually set IRAM
flag now (therefore he's aware of the IRAM thing) to void the ISR being
disabled during flash operations.

5 years ago component/bt and esp32: fix two bluetooth bugs that caused by coexist module
Tian Hao [Sat, 1 Dec 2018 10:10:19 +0000 (18:10 +0800)]
 component/bt and esp32:  fix two bluetooth bugs that caused by coexist module

    1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
    2. Fix BLE assert(512) or assert(1536)  in rwble.c at line 222
    3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222

    The #1 and #2 occurs random.
    The #3 bug occurs in certain scenario:
     1. If Wifi start softap and BLE is working
     2. If wifi start station, but do not use normal station operation, such
     as just use espnow, while BLE is working
     3. Any other scenario, that wifi works without use software coexist
     operation, while BLE is working(such as do advertising and ...)

    4. update libcoexist.a version to v1.1.2

5 years agoci: combine unit_test and integration_test stage:
He Yin Ling [Mon, 26 Nov 2018 08:40:32 +0000 (16:40 +0800)]
ci: combine unit_test and integration_test stage:

The number of runners of integration test is not bottleneck to CI
pipeline performance now. Combine these 2 stages will make integration
test executed even unit test fails. This could help us to collect more
info about test history.

5 years agoMerge branch 'test/enhanced_junit_test_result_v3.2' into 'release/v3.2'
Angus Gratton [Fri, 30 Nov 2018 03:39:31 +0000 (11:39 +0800)]
Merge branch 'test/enhanced_junit_test_result_v3.2' into 'release/v3.2'

test: enhanced junit test result (backport v3.2)

See merge request idf/esp-idf!3794

5 years agoMerge branch 'bugfix/fat_lock_log_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Thu, 29 Nov 2018 15:00:55 +0000 (23:00 +0800)]
Merge branch 'bugfix/fat_lock_log_v3.2' into 'release/v3.2'

fatfs: Do not log from critical sections (backport v3.2)

See merge request idf/esp-idf!3721

5 years agoMerge branch 'bugfix/uart_select_buffer_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Thu, 29 Nov 2018 15:00:17 +0000 (23:00 +0800)]
Merge branch 'bugfix/uart_select_buffer_v3.2' into 'release/v3.2'

VFS: select() on UART should return immediately when data is buffered (backport v3.2)

See merge request idf/esp-idf!3829

5 years agoComponent/bt: fix accept specified sec auth error
zhiweijian [Fri, 23 Nov 2018 12:14:03 +0000 (20:14 +0800)]
Component/bt: fix accept specified sec auth error

5 years agoMerge branch 'bugfix/i2c_hardware_filter_default_enable_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Thu, 29 Nov 2018 11:28:32 +0000 (19:28 +0800)]
Merge branch 'bugfix/i2c_hardware_filter_default_enable_v3.2' into 'release/v3.2'

driver(i2c): enable I2C master hardware filter by default for release/v3.2

See merge request idf/esp-idf!3815

5 years agoVFS: select() on UART should return immediately when data is buffered
Roland Dobai [Tue, 27 Nov 2018 11:53:19 +0000 (12:53 +0100)]
VFS: select() on UART should return immediately when data is buffered

5 years agoMerge branch 'bugfix/btdm_rf_reg_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 28 Nov 2018 13:20:05 +0000 (21:20 +0800)]
Merge branch 'bugfix/btdm_rf_reg_v3.2' into 'release/v3.2'

fix bug to unsupport rf reg access from hci cmd

See merge request idf/esp-idf!3786

5 years agodriver(i2c): enable I2C master hardware filter by default for release/v3.2
kooho [Thu, 15 Nov 2018 12:21:49 +0000 (20:21 +0800)]
driver(i2c): enable I2C master hardware filter by default for release/v3.2

5 years agodriver(uart): fixed uart read error bug when using dual core for release/v3.2.
kooho [Fri, 19 Oct 2018 06:51:28 +0000 (14:51 +0800)]
driver(uart): fixed uart read error bug when using dual core for release/v3.2.

5 years agoci: split build unit test job:
He Yin Ling [Wed, 21 Nov 2018 02:21:20 +0000 (10:21 +0800)]
ci: split build unit test job:

it takes long time to build with both make and cmake

5 years agoci: use artifacts:reports feature of Gitlab CI
He Yin Ling [Tue, 13 Nov 2018 13:26:58 +0000 (21:26 +0800)]
ci: use artifacts:reports feature of Gitlab CI

5 years agoci: assign unit test cases in sequence of config and name
He Yin Ling [Mon, 16 Jul 2018 09:44:38 +0000 (17:44 +0800)]
ci: assign unit test cases in sequence of config and name

5 years agotest: fix unit test script code style warnings
He Yin Ling [Tue, 20 Nov 2018 14:18:04 +0000 (22:18 +0800)]
test: fix unit test script code style warnings

5 years agotest: generate junit test report according to executed cases
He Yin Ling [Fri, 13 Jul 2018 08:48:43 +0000 (16:48 +0800)]
test: generate junit test report according to executed cases

5 years agotiny-test-fw: support capture raw data in DUT:
He Yin Ling [Tue, 20 Nov 2018 15:11:04 +0000 (23:11 +0800)]
tiny-test-fw: support capture raw data in DUT:

test cases might want to use `expect` and get raw data from DUT at the same time. New added capture method provides a way to do that.

5 years agotiny-test-fw: enhanced junit test report support:
He Yin Ling [Fri, 13 Jul 2018 08:47:42 +0000 (16:47 +0800)]
tiny-test-fw: enhanced junit test report support:

1. replace xunitgen with junit_xml, which can log more info
2. allow test cases to handle junit test report by them own
3. allow test cases to log some info into report via `sysout` tag

5 years agofatfs: Do not log from critical sections
Roland Dobai [Fri, 9 Nov 2018 13:15:00 +0000 (14:15 +0100)]
fatfs: Do not log from critical sections

Logging in the critical section can result in a deadlock when the logger
is redirected to FATFS.

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

5 years agoMerge branch 'bugfix/adjtime_test2_v3.2' into 'release/v3.2'
Angus Gratton [Mon, 26 Nov 2018 08:17:05 +0000 (16:17 +0800)]
Merge branch 'bugfix/adjtime_test2_v3.2' into 'release/v3.2'

Resolve ""test for thread safety adjtime and gettimeofday functions" fails randomly"  (backport v3.2)

See merge request idf/esp-idf!3791

5 years agonewlib: Fix UT adjtime
Konstantin Kondrashov [Wed, 7 Nov 2018 11:47:51 +0000 (19:47 +0800)]
newlib: Fix UT adjtime

5 years agoMerge branch 'bugfix/fix_cmake_args_issue_backport_3.2' into 'release/v3.2'
Angus Gratton [Mon, 26 Nov 2018 01:53:38 +0000 (09:53 +0800)]
Merge branch 'bugfix/fix_cmake_args_issue_backport_3.2' into 'release/v3.2'

Fix cmake args issue (backport 3.2)

See merge request idf/esp-idf!3789

5 years agofix bug to unsupport rf reg access from hci cmd
Tian Hao [Sat, 24 Nov 2018 06:21:25 +0000 (14:21 +0800)]
fix bug to unsupport rf reg access from hci cmd

Always return 0 when read rf register and do nothing when write rf register

5 years agoMerge branch 'bugfix/fix_some_wifi_bugs_1121_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 23 Nov 2018 09:08:31 +0000 (17:08 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_1121_v3.2' into 'release/v3.2'

esp32: fix some wifi bugs (backport v3.2)

See merge request idf/esp-idf!3762

5 years agocmake: remove unecessary info passed to bootloader build
Renz Christian Bagaporo [Thu, 22 Nov 2018 10:46:44 +0000 (18:46 +0800)]
cmake: remove unecessary info passed to bootloader build

5 years agoulp: fix passing ulp srcs due to cmake_args bug
Renz Christian Bagaporo [Fri, 23 Nov 2018 08:08:41 +0000 (16:08 +0800)]
ulp: fix passing ulp srcs due to cmake_args bug

5 years agoMerge branch 'bugfix/backports_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 23 Nov 2018 05:43:24 +0000 (13:43 +0800)]
Merge branch 'bugfix/backports_v3.2' into 'release/v3.2'

Multiple v3.2 backports

See merge request idf/esp-idf!3727

5 years agoMerge branch 'bugfix/btdm_move_func_into_iram_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 23 Nov 2018 05:39:27 +0000 (13:39 +0800)]
Merge branch 'bugfix/btdm_move_func_into_iram_v3.2' into 'release/v3.2'

components/bt: Move function in interrupt into IRAM(backport 3.2)

See merge request idf/esp-idf!3758

5 years agoesp32: fix some wifi bugs
Liu Zhi Fu [Wed, 21 Nov 2018 07:29:43 +0000 (15:29 +0800)]
esp32: fix some wifi bugs

Fix some Wifi bugs:
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID

5 years agocomponents/bt: Move function in interrupt into IRAM
baohongde [Thu, 22 Nov 2018 08:19:21 +0000 (16:19 +0800)]
components/bt: Move function in interrupt into IRAM

1. Move function in interrupt into IRAM
2. Delete unused code, saving 240B DRAM and some code size

5 years agoMerge branch 'mesh/bugfix_v3.2_backport' into 'release/v3.2'
Jiang Jiang Jian [Thu, 22 Nov 2018 02:22:12 +0000 (10:22 +0800)]
Merge branch 'mesh/bugfix_v3.2_backport' into 'release/v3.2'

mesh: bugfix (backport3.2)

See merge request idf/esp-idf!3771

5 years agoutest: increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME to 50000
qiyueixa [Wed, 21 Nov 2018 07:46:25 +0000 (15:46 +0800)]
utest: increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME to 50000

5 years agomesh: bugfix
qiyueixa [Wed, 21 Nov 2018 03:59:36 +0000 (11:59 +0800)]
mesh: bugfix

1. fix failture of mesh stop caused by block-sending.
2. fix when FIXED_ROOT is set, 2nd layer devices can not receive mesh event ESP_ERR_MESH_NO_PARENT_FOUND.
3. fix when FIXED_ROOT is set and the root turns off mesh function, 2nd layer devices do not look for new parents.
4. add APIs esp_mesh_disconnect() and esp_mesh_connect().
5. disconnect from parent/router when the DSSS channel in received beacon is different from the home channel.
6. remove nvs task to release 3k bytes memory.