]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agombedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
Sagar Bijwe [Wed, 17 Oct 2018 13:53:46 +0000 (19:23 +0530)]
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled

6 years agoMerge branch 'bugfix/fat_lock_log_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Fri, 7 Dec 2018 06:07:16 +0000 (14:07 +0800)]
Merge branch 'bugfix/fat_lock_log_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!3720

6 years agoMerge branch 'bugfix/btdm_assert_ble_32768_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 7 Dec 2018 05:54:18 +0000 (13:54 +0800)]
Merge branch 'bugfix/btdm_assert_ble_32768_v3.1' into 'release/v3.1'

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!3918

6 years agoMerge branch 'fix/spi_callback_in_iram_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 7 Dec 2018 01:11:47 +0000 (09:11 +0800)]
Merge branch 'fix/spi_callback_in_iram_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!3886

6 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

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

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

See merge request idf/esp-idf!3871

6 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.

6 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

6 years agoMerge branch 'ci/combine_unit_test_and_integration_test_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 3 Dec 2018 03:28:49 +0000 (11:28 +0800)]
Merge branch 'ci/combine_unit_test_and_integration_test_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!3844

6 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.

6 years agoMerge branch 'test/enhanced_junit_test_result_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 30 Nov 2018 03:38:26 +0000 (11:38 +0800)]
Merge branch 'test/enhanced_junit_test_result_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!3793

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

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

See merge request idf/esp-idf!3816

6 years agoMerge branch 'bugfix/freertos_idle_tick_count_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Thu, 29 Nov 2018 04:01:56 +0000 (12:01 +0800)]
Merge branch 'bugfix/freertos_idle_tick_count_v3.1' into 'release/v3.1'

freertos: use xTaskQueueMutex to protect tick count (backport v3.1)

See merge request idf/esp-idf!3728

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

6 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

6 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

6 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

6 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.

6 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

6 years agoMerge branch 'bugfix/aes_sha_mpi_shared_regs_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 26 Nov 2018 08:23:41 +0000 (16:23 +0800)]
Merge branch 'bugfix/aes_sha_mpi_shared_regs_v3.1' into 'release/v3.1'

aes/sha/mpi: Bugfix a use of shared registers.  (backport v3.1)

See merge request idf/esp-idf!3637

6 years agoaes/sha/mpi: Bugfix a use of shared registers.
Konstantin Kondrashov [Mon, 29 Oct 2018 15:55:02 +0000 (23:55 +0800)]
aes/sha/mpi: Bugfix a use of shared registers.

This commit resolves a blocking in esp_aes_block function.

Introduce:
The problem was in the fact that AES is switched off at the moment when he should give out the processed data. But because of the disabled, the operation can not be completed successfully, there is an infinite hang. The reason for this behavior is that the registers for controlling the inclusion of AES, SHA, MPI have shared registers and they were not protected from sharing.

Fix some related issue with shared using of AES SHA RSA accelerators.

Closes: https://github.com/espressif/esp-idf/issues/2295#issuecomment-432898137
6 years agoMerge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.1' into ...
Jiang Jiang Jian [Fri, 23 Nov 2018 12:14:15 +0000 (20:14 +0800)]
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.1' into 'release/v3.1'

Component/bt: add check peer addr type in set adv params (backport v3.1)

See merge request idf/esp-idf!3735

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

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

See merge request idf/esp-idf!3761

6 years agoesp32: fix some wifi bugs
Liu Zhi Fu [Wed, 21 Nov 2018 07:24:30 +0000 (15:24 +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

6 years agoMerge branch 'bugfix/btdm_controller_disable_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 20 Nov 2018 09:00:38 +0000 (17:00 +0800)]
Merge branch 'bugfix/btdm_controller_disable_v3.1' into 'release/v3.1'

Fix two bugs when disable bluetooth controller(backport v3.1)

See merge request idf/esp-idf!3693

6 years agoMerge branch 'bugfix/btdm_errors_in_comment_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 20 Nov 2018 06:26:19 +0000 (14:26 +0800)]
Merge branch 'bugfix/btdm_errors_in_comment_v3.1' into 'release/v3.1'

components/bt: Some errors in comment(backport 3.1)

See merge request idf/esp-idf!3714

6 years agoMerge branch 'bugfix/wifi_sta_sniffer_phy_config_bug_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 20 Nov 2018 06:20:34 +0000 (14:20 +0800)]
Merge branch 'bugfix/wifi_sta_sniffer_phy_config_bug_v3.1' into 'release/v3.1'

wifi: fix wifi sta and sniffer phy config bug (backport v3.1)

See merge request idf/esp-idf!3723

6 years agoComponent/bt: add check peer addr type in set adv params
zhiweijian [Mon, 19 Nov 2018 09:04:48 +0000 (17:04 +0800)]
Component/bt: add check peer addr type in set adv params

6 years agofreertos: use xTaskQueueMutex to protect tick count
Ivan Grokhotkov [Fri, 12 Oct 2018 06:18:49 +0000 (14:18 +0800)]
freertos: use xTaskQueueMutex to protect tick count

Having two different spinlocks is problematic due to possibly
different order in which the locks will be taken. Changing the order
would require significant restructuring of kernel code which is
undesirable.

An additional place where taking xTickCountMutex was needed was in
vApplicationSleep function. Not taking xTickCountMutex resulted in
other CPU sometimes possibly advancing tick count while light sleep
entry/exit was happening. Taking xTickCountMutex in addition to
xTaskQueueMutex has shown a problem that in different code paths,
these two spinlocks could be taken in different order, leading to
(unlikely, but possible) deadlocks.

6 years agowifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the...
zhangyanjiao [Fri, 16 Nov 2018 12:18:05 +0000 (20:18 +0800)]
wifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the same time,
when disable sniffer, station will never enable phy and rf againi. (backport v3.1)

6 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

6 years agocomponents/bt: Some errors in comment
baohongde [Fri, 16 Nov 2018 03:27:22 +0000 (11:27 +0800)]
components/bt: Some errors in comment

6 years agoMerge branch 'bugfix/app_template_build_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Thu, 15 Nov 2018 12:14:45 +0000 (20:14 +0800)]
Merge branch 'bugfix/app_template_build_v3.1' into 'release/v3.1'

esp-idf-template app: some fixes for the updated template app (backport v3.1)

See merge request idf/esp-idf!3701

6 years agoMerge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 15 Nov 2018 02:32:06 +0000 (10:32 +0800)]
Merge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash_v3.1' into 'release/v3.1'

fix the crash caused by sys_mbox_free (backport v3.1)

See merge request idf/esp-idf!3620

6 years agotools: fix cmake build script for sdkconfig test
Mahavir Jain [Wed, 14 Nov 2018 12:27:15 +0000 (17:57 +0530)]
tools: fix cmake build script for sdkconfig test

6 years agocmake: fix the creation dummy main to avoid rebuilding
Anton Maklakov [Wed, 14 Nov 2018 11:45:14 +0000 (19:45 +0800)]
cmake: fix the creation dummy main to avoid rebuilding

6 years agoci: If there is no sdkconfig, we have to generate one
Anton Maklakov [Wed, 14 Nov 2018 06:13:28 +0000 (14:13 +0800)]
ci: If there is no sdkconfig, we have to generate one

6 years agoMerge branch 'bugfix/ethernetif_memory_leak_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 14 Nov 2018 06:23:43 +0000 (14:23 +0800)]
Merge branch 'bugfix/ethernetif_memory_leak_v3.1' into 'release/v3.1'

fix potential ethernet memory leak(backport v3.1)

See merge request idf/esp-idf!3688

6 years agoFix two bugs when disable bluetooth controller
Tian Hao [Tue, 13 Nov 2018 09:29:44 +0000 (17:29 +0800)]
Fix two bugs when disable bluetooth controller

1. Fix the bug that disable controller suddenly cause crash when ble is working
2. Fix the bug that when disable controller, it will cause wifi cannot RX, TX timeout, buffer lack and etc.

6 years agoethernetif: fix potential memory leak
morris [Tue, 6 Nov 2018 11:10:01 +0000 (19:10 +0800)]
ethernetif: fix potential memory leak

1. If L2_TO_L3_RX_BUF_MODE is not selected, we must assign l2_owner explictly before we call pbuf_free.

6 years agoMerge branch 'test/fix_bug_of_scan_interval_and_windows_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 09:34:55 +0000 (17:34 +0800)]
Merge branch 'test/fix_bug_of_scan_interval_and_windows_for_v3.1' into 'release/v3.1'

test: fix bug of scan interval and window (backport v3.1)

See merge request idf/esp-idf!3668

6 years agoMerge branch 'bugfix/wifi_do_not_load_phy_data_if_fail_to_open_nvs_v3.1' into 'releas...
Jiang Jiang Jian [Mon, 12 Nov 2018 09:00:14 +0000 (17:00 +0800)]
Merge branch 'bugfix/wifi_do_not_load_phy_data_if_fail_to_open_nvs_v3.1' into 'release/v3.1'

esp32: do not try to load PHY data if fail to open NVS (backport v3.1)

See merge request idf/esp-idf!3649

6 years agoMerge branch 'bugfix/mdns_crash_on_network_change_backport3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 07:30:44 +0000 (15:30 +0800)]
Merge branch 'bugfix/mdns_crash_on_network_change_backport3.1' into 'release/v3.1'

Fixed mdns crashes on network changes (backport v3.1)

See merge request idf/esp-idf!3579

6 years agoMerge branch 'bugfix/iperf_bt_error_when_wifi_connect_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 07:29:30 +0000 (15:29 +0800)]
Merge branch 'bugfix/iperf_bt_error_when_wifi_connect_v3.1' into 'release/v3.1'

components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backport 3.1)

See merge request idf/esp-idf!3643

6 years agoesp32: do not try to load PHY data if fail to open NVS
XiaXiaotian [Mon, 22 Oct 2018 12:46:14 +0000 (20:46 +0800)]
esp32: do not try to load PHY data if fail to open NVS

6 years agoMerge branch 'test/change_iperf_test_env_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 03:16:51 +0000 (11:16 +0800)]
Merge branch 'test/change_iperf_test_env_v3.1' into 'release/v3.1'

test: use simplified env to test iperf cases (backport v3.1)

See merge request idf/esp-idf!3568

6 years agolwip: fix crash caused by sys_mbox_free
Liu Zhi Fu [Tue, 30 Oct 2018 14:20:05 +0000 (22:20 +0800)]
lwip: fix crash caused by sys_mbox_free

Fix lwip crashed bug caused by sys_mbox_free()

6 years agotest: fix bug of scan interval and window
chensheng [Thu, 1 Nov 2018 03:54:52 +0000 (11:54 +0800)]
test: fix bug of scan interval and window

6 years agocomponents/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null...
baohongde [Tue, 6 Nov 2018 09:29:06 +0000 (17:29 +0800)]
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backprot 3.1)

1. When WIFI task or other high priority task blocks the Bluetooth task, ACL RX buffer will use up, ACL RX buffer ptr will point to null and will never point to a valid adress. Causing errors in Bluetooth.
2. hcimsgs.h used whether flow control is on or off

6 years agoMerge branch 'test/fixbug_create_service_check_message_change_v3.1' into 'release...
He Yin Ling [Fri, 9 Nov 2018 03:22:05 +0000 (11:22 +0800)]
Merge branch 'test/fixbug_create_service_check_message_change_v3.1' into 'release/v3.1'

test: bugfix create service check message change for v3.1

See merge request idf/esp-idf!3664

6 years agoMerge branch 'bugfix/btdm_add_profile_descriptor_list_for_spp_v3.1' into 'release...
Jiang Jiang Jian [Thu, 8 Nov 2018 09:27:21 +0000 (17:27 +0800)]
Merge branch 'bugfix/btdm_add_profile_descriptor_list_for_spp_v3.1' into 'release/v3.1'

component/bt: Add profile descriptor list for SPP(backport 3.1)

See merge request idf/esp-idf!3602

6 years agoMerge branch 'bugfix/btdm_name_buffer_allocation_size_differs_v3.1' into 'release...
Jiang Jiang Jian [Thu, 8 Nov 2018 09:24:53 +0000 (17:24 +0800)]
Merge branch 'bugfix/btdm_name_buffer_allocation_size_differs_v3.1' into 'release/v3.1'

components/bt: Fix the different size of name buffer allocation size(backport 3.1)

See merge request idf/esp-idf!3588

6 years agotest: bugfix create service check message change for v3.1
chensheng [Thu, 8 Nov 2018 03:23:59 +0000 (11:23 +0800)]
test: bugfix create service check message change for v3.1

6 years agoMerge branch 'bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1' into 'releas...
Jiang Jiang Jian [Tue, 6 Nov 2018 09:12:39 +0000 (17:12 +0800)]
Merge branch 'bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1' into 'release/v3.1'

bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3614

6 years agocomponent/bt: bugfix of two issues of sniff mode in classic bluetooth
wangmengyang [Tue, 6 Nov 2018 04:02:18 +0000 (12:02 +0800)]
component/bt: bugfix of two issues of sniff mode in classic bluetooth

1. resolve the error in calculating sniff anchor point that result in connection supervision timeout
2. resolve the issue of user case that requires sniff attempt is larger than 0xff

6 years agoMerge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1' into 'release...
Jiang Jiang Jian [Tue, 6 Nov 2018 03:57:04 +0000 (11:57 +0800)]
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1' into 'release/v3.1'

bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3600

6 years agoMerge branch 'bugfix/btdm_add_static_passkey_and_accept_specified_sec_aut' into ...
Jiang Jiang Jian [Mon, 5 Nov 2018 03:02:18 +0000 (11:02 +0800)]
Merge branch 'bugfix/btdm_add_static_passkey_and_accept_specified_sec_aut' into 'release/v3.1'

component/bt:  add static passkey and accept specified sec auth (backport v3.1)

See merge request idf/esp-idf!3559

6 years agoMerge branch 'bugfix/fix_some_wifi_bugs_1022_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 2 Nov 2018 07:36:46 +0000 (15:36 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_1022_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!3540

6 years agoMerge branch 'docs/wifi_correct_mistake_in_csi_doc_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 2 Nov 2018 07:36:12 +0000 (15:36 +0800)]
Merge branch 'docs/wifi_correct_mistake_in_csi_doc_v3.1' into 'release/v3.1'

esp32: correct a mistake about secondary channel of CSI in wifi.rst (backport v3.1)

See merge request idf/esp-idf!3406

6 years agoMerge branch 'bugfix/fix_psram_eid_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Thu, 1 Nov 2018 14:15:04 +0000 (22:15 +0800)]
Merge branch 'bugfix/fix_psram_eid_v3.1' into 'release/v3.1'

psram: fix psram eid (backport v3.1)

See merge request idf/esp-idf!3467

6 years agoMerge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core_v3.1' into...
Ivan Grokhotkov [Thu, 1 Nov 2018 14:14:52 +0000 (22:14 +0800)]
Merge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core_v3.1' into 'release/v3.1'

driver(interrupt): fix the issue that interrupt might be allocated and freed on different core for release/v3.1

See merge request idf/esp-idf!3436

6 years agoMerge branch 'bugfix/bootloader_iram_overlap_check_v3.1' into 'release/v3.1' v3.1.1
Ivan Grokhotkov [Thu, 1 Nov 2018 08:40:26 +0000 (16:40 +0800)]
Merge branch 'bugfix/bootloader_iram_overlap_check_v3.1' into 'release/v3.1'

bootloader: verify that loaded image does not overlap bootloader code (backport v3.1)

See merge request idf/esp-idf!3526

6 years agobootloader: Fix crash enabling flash encryption
Angus Gratton [Wed, 26 Sep 2018 07:48:50 +0000 (17:48 +1000)]
bootloader: Fix crash enabling flash encryption

Regression in 9c715d7946a9595bad53307cf0a141d4226d0a5a

6 years agobootloader: keep bootloader_common code to retention region
Mahavir Jain [Fri, 24 Aug 2018 12:26:38 +0000 (17:56 +0530)]
bootloader: keep bootloader_common code to retention region

It is possible to utilize some of the routines related to otadata
partition validation, after firmware image is downloaded to RAM. Hence
these routines should be part of app cpu cache, so that they do not
get overwritten by firmware.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agocomponent/bt: Add profile descriptor list for SPP(backport 3.1)
baohongde [Thu, 1 Nov 2018 02:36:11 +0000 (10:36 +0800)]
component/bt: Add profile descriptor list for SPP(backport 3.1)

A cherry-pick of MR !2691

6 years agocomponent/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP...
wangmengyang [Wed, 31 Oct 2018 08:22:12 +0000 (16:22 +0800)]
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM

6 years agoMerge branch 'bugfix/ci_cmake_examples_v31' into 'release/v3.1'
Angus Gratton [Wed, 31 Oct 2018 05:21:42 +0000 (13:21 +0800)]
Merge branch 'bugfix/ci_cmake_examples_v31' into 'release/v3.1'

Fix cmake example build failures, gcov (backport 3.1)

See merge request idf/esp-idf!3326

6 years agocomponents/bt: Fix the different size of name buffer allocation size(backport 3.1)
baohongde [Wed, 31 Oct 2018 02:56:16 +0000 (10:56 +0800)]
components/bt: Fix the different size of name buffer allocation size(backport 3.1)

A cherry-pick of MR !3587
Close https://github.com/espressif/esp-idf/issues/2615

6 years agomdns: fixed crashes on network change (not properly locked sending packets to queue...
David Cermak [Mon, 22 Oct 2018 14:45:42 +0000 (16:45 +0200)]
mdns: fixed crashes on network change (not properly locked sending packets to queue from timer task), backport 3.1

6 years agoexamples: Copy ca_cert.pem into both example project dirs
Angus Gratton [Wed, 19 Sep 2018 01:25:24 +0000 (11:25 +1000)]
examples: Copy ca_cert.pem into both example project dirs

Keeps projects all-in-one under a single directory.

6 years agocmake: Fix some failing example builds, fix gcov
Angus Gratton [Tue, 18 Sep 2018 04:23:56 +0000 (14:23 +1000)]
cmake: Fix some failing example builds, fix gcov

6 years agoci: Split build_examples jobs into make & cmake
Angus Gratton [Thu, 13 Sep 2018 04:32:41 +0000 (14:32 +1000)]
ci: Split build_examples jobs into make & cmake

Fix problem where failures in make were being ignored.

6 years agoMerge branch 'doc/nvs_encr_doc_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 29 Oct 2018 09:21:50 +0000 (17:21 +0800)]
Merge branch 'doc/nvs_encr_doc_v3.1' into 'release/v3.1'

nvs_flash: Update documentation at different places to indicate NVS encryotion is supported

See merge request idf/esp-idf!3479

6 years agonvs_flash: Update documentation at different places to indicate NVS encryption is...
Sagar Bijwe [Thu, 4 Oct 2018 07:36:23 +0000 (13:06 +0530)]
nvs_flash: Update documentation at different places to indicate NVS encryption is supported

6 years agoMerge branch 'ci/only_create_required_jobs_in_pipeline_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 28 Oct 2018 13:58:06 +0000 (21:58 +0800)]
Merge branch 'ci/only_create_required_jobs_in_pipeline_v3.1' into 'release/v3.1'

CI: only create required jobs in pipeline (backport v3.1)

See merge request idf/esp-idf!3565

6 years agotest: use simplified env to test iperf cases
He Yin Ling [Wed, 24 Oct 2018 05:34:05 +0000 (13:34 +0800)]
test: use simplified env to test iperf cases

6 years agoCI: only create required jobs when use bot to trigger test:
He Yin Ling [Sat, 29 Sep 2018 06:51:43 +0000 (14:51 +0800)]
CI: only create required jobs when use bot to trigger test:

Gitlab CI now allow us to define if a job need to be created by
varialbes. This commit add label to CI jobs, so we can make some jobs
not created in certain scenarios when we trigger pipeline with @bot.

6 years agoComponent/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
zhiweijian [Thu, 11 Oct 2018 03:25:45 +0000 (11:25 +0800)]
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed

6 years agobootloader: verify that loaded image does not overlap bootloader code
Ivan Grokhotkov [Sat, 29 Sep 2018 09:29:23 +0000 (17:29 +0800)]
bootloader: verify that loaded image does not overlap bootloader code

Fixes CVE-2018-18558

6 years agoComponent/bt: add only accept sepecified Authentication
zhiweijian [Thu, 27 Sep 2018 08:22:31 +0000 (16:22 +0800)]
Component/bt: add only accept sepecified Authentication

6 years agoComponent/bt: add set default passkey function
zhiweijian [Wed, 29 Aug 2018 04:03:55 +0000 (12:03 +0800)]
Component/bt: add set default passkey function

6 years agoMerge branch 'feature/34_coding_scheme_v3.1' into 'release/v3.1' v3.1.1-rc2
Angus Gratton [Fri, 26 Oct 2018 00:40:51 +0000 (08:40 +0800)]
Merge branch 'feature/34_coding_scheme_v3.1' into 'release/v3.1'

Secure Boot & Flash encryption: Support 3/4 Coding Scheme

See merge request idf/esp-idf!3510

6 years agoMerge branch 'bugfix/btdm_fix_remove_bond_list_failed_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 25 Oct 2018 10:50:44 +0000 (18:50 +0800)]
Merge branch 'bugfix/btdm_fix_remove_bond_list_failed_v3.1' into 'release/v3.1'

component/bt: fix remove bond list failed (backport v3.1)

See merge request idf/esp-idf!3516

6 years agocomponent/bt: fix remove bond list failed
zwj [Fri, 12 Oct 2018 02:48:46 +0000 (10:48 +0800)]
component/bt: fix remove bond list failed

6 years agoesp32: fix some wifi bugs
Liu Zhi Fu [Mon, 22 Oct 2018 15:02:40 +0000 (23:02 +0800)]
esp32: fix some wifi bugs

Fix following WiFi bugs:
1. Fix the bug that MIC verification fails on soft-AP mode
2. Modify mesh root to have same behavior as normal WiFi STA in state change
3. Fix the bug that sniffer can't catch control packets
4. Fix crash bug in soft-AP mode
5. Fix ACM(Admission Control Management) bug

6 years agoSecure Boot & Flash encryption: Support 3/4 Coding Scheme
Angus Gratton [Tue, 2 Oct 2018 05:15:32 +0000 (15:15 +1000)]
Secure Boot & Flash encryption: Support 3/4 Coding Scheme

Includes esptool update to v2.6-beta1

6 years agoMerge branch 'feature/ci_multi_python_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 24 Oct 2018 23:20:12 +0000 (07:20 +0800)]
Merge branch 'feature/ci_multi_python_v3.1' into 'release/v3.1'

CI: Support switching between various versions of Python (backport v3.1)

See merge request idf/esp-idf!3534

6 years agoMerge branch 'bugfix/tw26711_fix_wifi_memory_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 22 Oct 2018 13:20:20 +0000 (21:20 +0800)]
Merge branch 'bugfix/tw26711_fix_wifi_memory_v3.1' into 'release/v3.1'

esp32: fix wifi memory leak (backport v3.1)

See merge request idf/esp-idf!3524

6 years agoCI: Support switching between various versions of Python
Roland Dobai [Tue, 25 Sep 2018 12:43:07 +0000 (14:43 +0200)]
CI: Support switching between various versions of Python

6 years agoesp32: fix wifi memory leak
Liu Zhi Fu [Sun, 21 Oct 2018 12:43:48 +0000 (20:43 +0800)]
esp32: fix wifi memory leak

Fix a WiFi memory leak bug

6 years agoesp32: correct a mistake about secondary channel of CSI in wifi.rst
XiaXiaotian [Sat, 29 Sep 2018 07:32:09 +0000 (15:32 +0800)]
esp32: correct a mistake about secondary channel of CSI in wifi.rst

6 years agoMerge branch 'bugfix/coex_hw_blocking_2nd_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 18 Oct 2018 13:25:33 +0000 (21:25 +0800)]
Merge branch 'bugfix/coex_hw_blocking_2nd_v3.1' into 'release/v3.1'

coexist : fix coexist bugs related to coex hw blocking

See merge request idf/esp-idf!3415

6 years agocoexist : fix coexist bugs related to coex hw blocking
Tian Hao [Sun, 30 Sep 2018 09:26:04 +0000 (17:26 +0800)]
coexist : fix coexist bugs related to coex hw blocking

1. fix some bugs by previous coex hw blocking bugfix,
   such like, rwble.c (64, 0) line 222
2. fix bug that ble scan performance is very low when software coexist
   is working.
3. update libcoexist version to v1.1.0

6 years agoMerge branch 'bugfix/tw26696_fix_wifi_timer_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 17 Oct 2018 09:30:46 +0000 (17:30 +0800)]
Merge branch 'bugfix/tw26696_fix_wifi_timer_v3.1' into 'release/v3.1'

Bugfix/tw26696 fix wifi timer v3.1 (backport v3.1)

See merge request idf/esp-idf!3494

6 years agoBugfix/tw26696 fix wifi timer v3.1 (backport v3.1)
Liu Zhi Fu [Wed, 17 Oct 2018 09:30:46 +0000 (17:30 +0800)]
Bugfix/tw26696 fix wifi timer v3.1 (backport v3.1)

6 years agoMerge branch 'bugfix/fix_random_failure_with_ota_updates_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Tue, 16 Oct 2018 02:58:24 +0000 (10:58 +0800)]
Merge branch 'bugfix/fix_random_failure_with_ota_updates_v3.1' into 'release/v3.1'

app_update: fix intermittent failure with firmware updates (backport v3.1)

See merge request idf/esp-idf!3419

6 years agoheap: Fix heap metadata test to account for background memory allocations
Angus Gratton [Mon, 30 Jul 2018 01:41:30 +0000 (11:41 +1000)]
heap: Fix heap metadata test to account for background memory allocations

6 years agobugfix(psram): fix psram driver
chenjianqiang [Thu, 27 Sep 2018 09:00:48 +0000 (17:00 +0800)]
bugfix(psram): fix psram driver

1. remove use EID to distinguish psram voltage
2. 1V8 64Mbit psram and 3V3 64Mbit psram use the same psram driver(standard spi interface)
3. set cs hold time register as 1

6 years agofeature(psram): add support for 64MBit psram of 1.8v and 3.3v.
Wangjialin [Wed, 4 Jul 2018 03:43:30 +0000 (11:43 +0800)]
feature(psram): add support for 64MBit psram of 1.8v and 3.3v.

1. Add reading psram EID.
2. Configure different clock mode for different EID.
3. add API to get psram size and voltage.
4. Remove unnecessary VSPI claim.

For 32MBit@1.8V and 64MBit@3.3V psram, there should be 2 extra clock cycles after CS get high level.
For 64MBit@1.8 psram, we can just use standard SPI protocol to drive the psram. We also need to increase the HOLD time for CS in this case.

EID for psram:
32MBit 1.8v: 0x20
64MBit 1.8v: 0x26
64MBit 3.3v: 0x46

6 years agoMerge branch 'bugfix/several_bugfix_about_ba_session_setup_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 11 Oct 2018 03:42:15 +0000 (11:42 +0800)]
Merge branch 'bugfix/several_bugfix_about_ba_session_setup_v3.1' into 'release/v3.1'

esp32: several fixes about BA session setup (backport v3.1)

See merge request idf/esp-idf!3456