]> granicus.if.org Git - esp-idf/log
esp-idf
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 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 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 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 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 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 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.

5 years agoMerge branch 'bugfix/cmake_utf_decode_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Wed, 21 Nov 2018 03:44:54 +0000 (11:44 +0800)]
Merge branch 'bugfix/cmake_utf_decode_v3.2' into 'release/v3.2'

tools: Fix Unicode decode error & indentation error (backport v3.2)

See merge request idf/esp-idf!3733

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

5 years agopm: prevent entering light sleep again immediately after wakeup
Ivan Grokhotkov [Thu, 1 Nov 2018 11:38:48 +0000 (19:38 +0800)]
pm: prevent entering light sleep again immediately after wakeup

When light sleep is finished on one CPU, it is possible that the other
CPU will enter light sleep again very soon, before interrupts on the
first CPU get a chance to run. To avoid such situation, set a flag
for the other CPU to skip light sleep attempt.

5 years agopm: fix entering light sleep in single core mode
Ivan Grokhotkov [Tue, 30 Oct 2018 08:05:06 +0000 (16:05 +0800)]
pm: fix entering light sleep in single core mode

Tickless idle/light sleep procedure had a bug in single core mode.
Consider the flow of events:
1. Idle task runs and calls vApplicationIdleHook
2. This calls esp_vApplicationIdleHook, which calls esp_pm_impl_idle_hook, and pm lock for RTOS on the current core is released.
3. Then esp_vApplicationIdleHook calls esp_pm_impl_waiti, which checks that s_entered_light_sleep[core_id]==false and goes into waiti state.
4. Some interrupt happens, calls esp_pm_impl_isr_hook, which takes pm lock for RTOS. PM state goes back to CPU_FREQ_MAX.
5. Once the interrupt is over, vApplicationIdleHook returns, and Idle task continues to run, finally reaching the call to vApplicationSleep.
6. vApplicationSleep does not enter light sleep, because esp_pm_impl_isr_hook has already changed PM state from IDLE to CPU_FREQ_MAX.

This didn’t happen in dual core mode, because waiti state of one CPU was interrupted by CCOMPARE update interrupt from the other CPU, in which case PM lock for FreeRTOS was not taken.

Fix by inverting the meaning of the flag (for convenience) and only setting it to true when vApplicationSleep actually fails to enter light sleep.

5 years agofreertos: fix compilation warning in single core mode
Ivan Grokhotkov [Tue, 30 Oct 2018 08:05:45 +0000 (16:05 +0800)]
freertos: fix compilation warning in single core mode

When tickless idle is enabled

5 years agospiffs: increase timeout in readdir test
Ivan Grokhotkov [Tue, 13 Nov 2018 03:41:19 +0000 (11:41 +0800)]
spiffs: increase timeout in readdir test

Timeout of 15 seconds is not sufficient if SPIFFS partition needs to
be formatted, on some of the boards.

5 years agoMerge branch 'bugfix/mdns_query_failed_after_init_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Wed, 21 Nov 2018 03:41:34 +0000 (11:41 +0800)]
Merge branch 'bugfix/mdns_query_failed_after_init_v3.2' into 'release/v3.2'

Fixed: mdns query failed after init (Backport v3.2)

See merge request idf/esp-idf!3729

5 years agoMerge branch 'bugfix/btdm_controller_disable_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 21 Nov 2018 03:26:14 +0000 (11:26 +0800)]
Merge branch 'bugfix/btdm_controller_disable_v3.2' into 'release/v3.2'

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

See merge request idf/esp-idf!3716

5 years agoMerge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.2' into ...
Jiang Jiang Jian [Tue, 20 Nov 2018 12:02:37 +0000 (20:02 +0800)]
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.2' into 'release/v3.2'

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

See merge request idf/esp-idf!3734

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

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

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

See merge request idf/esp-idf!3718

5 years agoMerge branch 'bugfix/fix_bug_ethernet_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Mon, 19 Nov 2018 09:54:27 +0000 (17:54 +0800)]
Merge branch 'bugfix/fix_bug_ethernet_v3.2' into 'release/v3.2'

ethernet: fix some bugs in phy&mac driver(backport v3.2)

See merge request idf/esp-idf!3640

5 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

5 years agotools: Fix UTF decode error
Roland Dobai [Thu, 8 Nov 2018 12:02:03 +0000 (13:02 +0100)]
tools: Fix UTF decode error

5 years agoethernet: multi-call failure in esp_eth_init
morris [Fri, 9 Nov 2018 09:33:44 +0000 (17:33 +0800)]
ethernet: multi-call failure in esp_eth_init

Because of incomplete state machine, ethernet driver will broken if esp_eth_init is called twice.
Detailed information here: https://ezredmine.espressif.cn:8765/issues/27332

5 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.
2. free intr resource in esp_eth_deinit

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

5 years agoethernet: fix some bugs in phy&mac driver
morris [Mon, 15 Oct 2018 12:35:05 +0000 (20:35 +0800)]
ethernet: fix some bugs in phy&mac driver

1. Original register mapping for LAN8720 has some registers that doesn't exist/support.
So just remove them, and fix the power and init function for LAN8720.
2. GPIO16 and GPIO17 is occupied by PSRAM, so only ETH_CLOCK_GPIO_IN mode is supported in that case if using PSRAM.
3. Fix bug of OTA failing with Ethernet
4. Fix bug of multicast with Ethernet
5. Fix potential memory leak

5 years agoMerge branch 'bugfix/btdm_errors_in_comment_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Mon, 19 Nov 2018 06:36:45 +0000 (14:36 +0800)]
Merge branch 'bugfix/btdm_errors_in_comment_v3.2' into 'release/v3.2'

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

See merge request idf/esp-idf!3713

5 years agomdns: sending search packets also in probing and announcing state
David Cermak [Fri, 12 Oct 2018 06:13:55 +0000 (08:13 +0200)]
mdns: sending search packets also in probing and announcing state

mdns queries did not work properly when send imeadiately after set_hostname, which cuased reinit of pcb and therefore restarted probing, so search packets were blocked until probing finished
closes #2507, closes #2593

5 years agowifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the...
zhangyanjiao [Fri, 16 Nov 2018 11:09:31 +0000 (19:09 +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 again.

5 years agoMerge branch 'bugfix/btdm_fuction_in_isr_is_not_in_iram_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 16 Nov 2018 10:15:01 +0000 (18:15 +0800)]
Merge branch 'bugfix/btdm_fuction_in_isr_is_not_in_iram_v3.2' into 'release/v3.2'

components/bt: Put function in isr into iram(backport 3.2)

See merge request idf/esp-idf!3689

5 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

5 years agocomponents/bt: Put function in isr into iram(backport 3.2)
baohongde [Tue, 13 Nov 2018 03:56:14 +0000 (11:56 +0800)]
components/bt: Put function in isr into iram(backport 3.2)

5 years agoMerge branch 'bugfix/app_template_build_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Fri, 16 Nov 2018 07:18:36 +0000 (15:18 +0800)]
Merge branch 'bugfix/app_template_build_v3.2' into 'release/v3.2'

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

See merge request idf/esp-idf!3700

5 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

5 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

5 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

5 years agoMerge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 15 Nov 2018 02:31:46 +0000 (10:31 +0800)]
Merge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash_v3.2' into 'release/v3.2'

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

See merge request idf/esp-idf!3676

5 years agoMerge branch 'bugfix/fix_memory_leak_for_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 14 Nov 2018 07:35:03 +0000 (15:35 +0800)]
Merge branch 'bugfix/fix_memory_leak_for_v3.2' into 'release/v3.2'

Component/bt: fix memory leak in service change(backport v3.2)

See merge request idf/esp-idf!3685

5 years agoComponent/bt: fix memory leak in service change
zhiweijian [Mon, 12 Nov 2018 11:41:19 +0000 (19:41 +0800)]
Component/bt: fix memory leak in service change

5 years agoMerge branch 'bugfix/mesh_start_stop_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Mon, 12 Nov 2018 07:59:14 +0000 (15:59 +0800)]
Merge branch 'bugfix/mesh_start_stop_v3.2' into 'release/v3.2'

mesh: update libs (backport3.2)

See merge request idf/esp-idf!3648

5 years agoMerge branch 'temp/release_v3_2_fastforward' into 'release/v3.2'
Ivan Grokhotkov [Mon, 12 Nov 2018 07:31:58 +0000 (15:31 +0800)]
Merge branch 'temp/release_v3_2_fastforward' into 'release/v3.2'

release v3.2 fastforward

See merge request idf/esp-idf!3678

5 years agolwip: fix crash caused by sys_mbox_free
Liu Zhi Fu [Wed, 7 Nov 2018 02:52:33 +0000 (10:52 +0800)]
lwip: fix crash caused by sys_mbox_free

Fix lwip crashed bug caused by sys_mbox_free()

5 years agomesh: update libs
qiyuexia [Wed, 31 Oct 2018 13:11:57 +0000 (21:11 +0800)]
mesh: update libs

1. fix ap_loss that occurs when the parent turns off the mesh function and becomes a normal WiFi with a different SSID.
2. add an event MESH_EVENT_NETWORK_STATE that contains information about whether there is a root in the current network.
3. modify the mechanism of mesh IE update.
4. fix a problem in the process of re-voting to select the root, the device that does not meet the conditions of being a root votes for itself.
5. fix an issue that occurs in esp_mesh_recv_toDS() when stopping the mesh.
6. when the user specifies a parent for the device, the device will set the authmode and password of its AP mode to the same value as the specified parent.
7. add two disconnected reason codes MESH_REASON_EMPTY_PASSWORD and MESH_REASON_PARENT_UNENCRYPTED.

5 years agoMerge branch 'bugfix/ut_add_job' into 'master'
Ivan Grokhotkov [Tue, 6 Nov 2018 02:45:24 +0000 (10:45 +0800)]
Merge branch 'bugfix/ut_add_job' into 'master'

ci: add unit test job

See merge request idf/esp-idf!3634

5 years agoMerge branch 'doc/partition_tables_zh_CN' into 'master'
Ivan Grokhotkov [Tue, 6 Nov 2018 02:45:11 +0000 (10:45 +0800)]
Merge branch 'doc/partition_tables_zh_CN' into 'master'

translation of partition-tables.rst

See merge request idf/esp-idf!3457

5 years agoci: add unit test job
Ivan Grokhotkov [Mon, 5 Nov 2018 15:19:30 +0000 (23:19 +0800)]
ci: add unit test job

5 years agoMerge branch 'bugfix/py3_ci_enable' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 11:49:32 +0000 (19:49 +0800)]
Merge branch 'bugfix/py3_ci_enable' into 'master'

Enable Python 3 bot tests in master

See merge request idf/esp-idf!3615

5 years agoMerge branch 'doc/storage_example_readme' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 11:33:16 +0000 (19:33 +0800)]
Merge branch 'doc/storage_example_readme' into 'master'

examples/storage: adjust readme files according to standard

See merge request idf/esp-idf!3594

5 years ago(doc)update_CN/EN_partition_tables
liying [Fri, 2 Nov 2018 10:51:20 +0000 (18:51 +0800)]
(doc)update_CN/EN_partition_tables

5 years agodoc/partition-tables: translation of zh_CN
morris [Wed, 10 Oct 2018 01:43:31 +0000 (09:43 +0800)]
doc/partition-tables: translation of zh_CN

1. Translated partition-tables.rst into Chinese.
2. Fixed some error in the English version.

5 years agoMerge branch 'bugfix/xts_compile_err' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 08:58:38 +0000 (16:58 +0800)]
Merge branch 'bugfix/xts_compile_err' into 'master'

mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled

See merge request idf/esp-idf!3506

5 years agoMerge branch 'bugfix/aes_sha_mpi_shared_regs' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 08:31:03 +0000 (16:31 +0800)]
Merge branch 'bugfix/aes_sha_mpi_shared_regs' into 'master'

aes/sha/mpi: Bugfix a use of shared registers.

See merge request idf/esp-idf!3580

5 years agoCI: Update Python 3 ignore list
Roland Dobai [Thu, 25 Oct 2018 09:58:49 +0000 (11:58 +0200)]
CI: Update Python 3 ignore list

5 years agoidf_ext.py: Fix Python 3 compatibility issue
Roland Dobai [Thu, 25 Oct 2018 09:02:58 +0000 (11:02 +0200)]
idf_ext.py: Fix Python 3 compatibility issue

5 years agoexamples/storage: adjust readme files according to standard
Ivan Grokhotkov [Wed, 31 Oct 2018 07:57:48 +0000 (15:57 +0800)]
examples/storage: adjust readme files according to standard

5 years agoMerge branch 'bugfix/esp-tls-doc' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 04:30:22 +0000 (12:30 +0800)]
Merge branch 'bugfix/esp-tls-doc' into 'master'

esp-tls: Fix documentaion issue in esp_tls_conn_new_async API

See merge request idf/esp-idf!3545

5 years agoMerge branch 'bugfix/esp_http_client_async_crash' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 04:30:04 +0000 (12:30 +0800)]
Merge branch 'bugfix/esp_http_client_async_crash' into 'master'

esp_http_client: Fix crash in async mode

See merge request idf/esp-idf!3551

5 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
5 years agoMerge branch 'bugfix/unit_test_adjtime' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 04:20:07 +0000 (12:20 +0800)]
Merge branch 'bugfix/unit_test_adjtime' into 'master'

Resolve ""test for thread safety adjtime and gettimeofday functions" fails randomly"

Closes #37

See merge request idf/esp-idf!3613

5 years agoMerge branch 'test/change_iperf_test_env' into 'master'
Jiang Jiang Jian [Mon, 5 Nov 2018 03:05:45 +0000 (11:05 +0800)]
Merge branch 'test/change_iperf_test_env' into 'master'

test: use simplified env to test iperf cases

See merge request idf/esp-idf!3554

5 years agoMerge branch 'test/fix_bug_of_scan_interval_and_windows' into 'master'
He Yin Ling [Mon, 5 Nov 2018 03:00:58 +0000 (11:00 +0800)]
Merge branch 'test/fix_bug_of_scan_interval_and_windows' into 'master'

test: fix bug of scan interval and window

See merge request idf/esp-idf!3606

5 years agoMerge branch 'bugfix/ci_make_html' into 'master'
Ivan Grokhotkov [Fri, 2 Nov 2018 12:38:16 +0000 (20:38 +0800)]
Merge branch 'bugfix/ci_make_html' into 'master'

ci: revert accidental change from f0eb9985b9

See merge request idf/esp-idf!3607

5 years agoMerge branch 'bugfix/iperf_bt_error_when_wifi_connect' into 'master'
Jiang Jiang Jian [Fri, 2 Nov 2018 08:12:31 +0000 (16:12 +0800)]
Merge branch 'bugfix/iperf_bt_error_when_wifi_connect' into 'master'

components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null

See merge request idf/esp-idf!3536

5 years agoMerge branch 'bugfix/event_perf_test_psram' into 'master'
Ivan Grokhotkov [Fri, 2 Nov 2018 06:12:17 +0000 (14:12 +0800)]
Merge branch 'bugfix/event_perf_test_psram' into 'master'

esp_event: lower test performance threshold for PSRAM config

Closes #34

See merge request idf/esp-idf!3603

5 years agoMerge branch 'bugfix/build_example_make' into 'master'
Angus Gratton [Fri, 2 Nov 2018 05:04:40 +0000 (13:04 +0800)]
Merge branch 'bugfix/build_example_make' into 'master'

Better detection failures in built_examples

See merge request idf/esp-idf!3604

5 years agoMerge branch 'test/fix_unit_test_script_cant_process_test_command' into 'master'
Angus Gratton [Fri, 2 Nov 2018 05:02:42 +0000 (13:02 +0800)]
Merge branch 'test/fix_unit_test_script_cant_process_test_command' into 'master'

test: fix UT script can't process cmd after reset

See merge request idf/esp-idf!3372

5 years agoMerge branch 'bugfix/example_tests_trow_readable_errors' into 'master'
Ivan Grokhotkov [Thu, 1 Nov 2018 14:28:31 +0000 (22:28 +0800)]
Merge branch 'bugfix/example_tests_trow_readable_errors' into 'master'

MQTT Example tests cleanup, python 2 and 3 support

See merge request idf/esp-idf!3387

5 years agonewlib: Fix UT adjtime
Konstantin Kondrashov [Thu, 1 Nov 2018 12:34:39 +0000 (20:34 +0800)]
newlib: Fix UT adjtime

5 years agocomponents/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null
baohongde [Thu, 1 Nov 2018 09:33:44 +0000 (17:33 +0800)]
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null

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