]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agoMerge branch 'feature/btdm_avrc' into 'master'
Jiang Jiang Jian [Thu, 13 Apr 2017 06:36:58 +0000 (14:36 +0800)]
Merge branch 'feature/btdm_avrc' into 'master'

Feature/btdm avrc

The source branch "feature/btdm_avrc" includes classic Bluetooth profiles A2DP(sink role) and AVRCP(controller role);
Menuconfig options to control whether to enable classic BT is added.

See merge request !591

7 years agoMerge branch 'example/wifi_wps_ps_license' into 'master'
Jiang Jiang Jian [Thu, 13 Apr 2017 06:29:50 +0000 (14:29 +0800)]
Merge branch 'example/wifi_wps_ps_license' into 'master'

wps_ps: add license

Just add license info to the example wifi/wps and wifi/power_save

See merge request !664

7 years agoMerge branch 'feature/update_wifi_lib_for_some_refactors' into 'master'
Jiang Jiang Jian [Thu, 13 Apr 2017 06:22:04 +0000 (14:22 +0800)]
Merge branch 'feature/update_wifi_lib_for_some_refactors' into 'master'

esp32: update wifi lib for some refactor

1. Refactor for wifi ebuf management
2. Refactor for wifi rate control/long rate/tx

See merge request !662

7 years agowps_ps: add license
chenyudong [Thu, 13 Apr 2017 03:43:01 +0000 (11:43 +0800)]
wps_ps: add license

7 years agoesp32: update wifi lib for some refactor
Liu Zhi Fu [Wed, 12 Apr 2017 15:39:18 +0000 (23:39 +0800)]
esp32: update wifi lib for some refactor

1. Refactor for wifi ebuf management
2. Refactor for wifi rate control/long rate/tx

7 years agoMerge branch 'feature/change_ssid_len_to_33' into 'master'
Ivan Grokhotkov [Thu, 13 Apr 2017 03:16:11 +0000 (11:16 +0800)]
Merge branch 'feature/change_ssid_len_to_33' into 'master'

change scanned ap's ssid array len to 33

See merge request !661

7 years agochange scanned ap's ssid array len to 33
XiaXiaotian [Wed, 12 Apr 2017 13:02:28 +0000 (21:02 +0800)]
change scanned ap's ssid array len to 33

7 years agoMerge branch 'bugfix/ota_runtime_check_encrypted_flash' into 'master'
Ivan Grokhotkov [Wed, 12 Apr 2017 13:30:07 +0000 (21:30 +0800)]
Merge branch 'bugfix/ota_runtime_check_encrypted_flash' into 'master'

Enable checks for encrypted flash in OTA

Even if firmware is compiled without CONFIG_FLASH_ENCRYPTION_ENABLED.

Rationale: CONFIG_FLASH_ENCRYPTION_ENABLED controls whether boot loader generates keys for encryption or not, but flash encryption can be configured externally. With this change, it's possible to have boot loader not generate keys but still have encryption working.

Also fix use of it->part

Ref. https://github.com/espressif/esp-idf/pull/453

See merge request !647

7 years agocomponent/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller)
wangmengyang [Wed, 12 Apr 2017 08:42:14 +0000 (16:42 +0800)]
component/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller)

7 years agoMerge branch 'example/wifi_wps_ps' into 'master'
Jiang Jiang Jian [Wed, 12 Apr 2017 07:48:23 +0000 (15:48 +0800)]
Merge branch 'example/wifi_wps_ps' into 'master'

Example/wifi wps ps

Adding two new examples including wps and power save.

See merge request !614

7 years agoMerge branch 'example/wifi_performance' into 'master'
Jiang Jiang Jian [Wed, 12 Apr 2017 07:47:36 +0000 (15:47 +0800)]
Merge branch 'example/wifi_performance' into 'master'

wifi performance: add wifi performance examples including TCP&UDP TX/RX

Add wifi performance examples including TCP and UDP send and receive.

See merge request !577

7 years agoMerge branch 'bugfix/btdm_gatt_memory_leak' into 'master'
Jiang Jiang Jian [Wed, 12 Apr 2017 07:43:32 +0000 (15:43 +0800)]
Merge branch 'bugfix/btdm_gatt_memory_leak' into 'master'

bt component: Fix memory leak while using gatt server

- fix memory leak while creating attribute table
- fix memory leak while deleting service

See merge request !656

7 years agobt component: Fix memory leak while using gatt server
island [Wed, 12 Apr 2017 03:09:55 +0000 (11:09 +0800)]
bt component: Fix memory leak while using gatt server

- fix memory leak while creating attribute table
- fix memory leak while deleting service

7 years agoMerge branch 'feature/btdm_stop_adv_scan_event_rebase' into 'master'
Jiang Jiang Jian [Wed, 12 Apr 2017 06:49:37 +0000 (14:49 +0800)]
Merge branch 'feature/btdm_stop_adv_scan_event_rebase' into 'master'

bt component: Add stop adv/scan completed event

- Add advertising stop completed event
- Add scan stop completed event

See merge request !657

7 years agobt component: Add stop adv/scan completed event
island [Wed, 29 Mar 2017 08:51:21 +0000 (16:51 +0800)]
bt component: Add stop adv/scan completed event

7 years agoMerge branch 'bugfix/build_fix_for_old_git' into 'master'
Ivan Grokhotkov [Wed, 12 Apr 2017 02:39:47 +0000 (10:39 +0800)]
Merge branch 'bugfix/build_fix_for_old_git' into 'master'

Build fix for old version of git

It works good for git version less than 1.8.5 (e.g. on CentOS 7)

See merge request !651

7 years agoMerge branch 'bugfix/doc_update_for_centos' into 'master'
Ivan Grokhotkov [Wed, 12 Apr 2017 02:39:35 +0000 (10:39 +0800)]
Merge branch 'bugfix/doc_update_for_centos' into 'master'

Update manual for CentOS

Actualize information about  dependencies on CentOS 7

See merge request !649

7 years agoMerge branch 'bugfix/uart_rmt_fixes' into 'master'
Ivan Grokhotkov [Wed, 12 Apr 2017 02:39:22 +0000 (10:39 +0800)]
Merge branch 'bugfix/uart_rmt_fixes' into 'master'

Fixes for UART and RMT drivers

- Add const qualifier for config and tx data in RMT (https://github.com/espressif/esp-idf/pull/495)
- Fix rmt_set_tx_thr_intr_en(): check evt_thresh only in enable path (https://github.com/espressif/esp-idf/pull/492)
- Fix impossible check in uart_set_line_inverse (https://github.com/espressif/esp-idf/pull/489)

See merge request !648

7 years agoMerge branch 'feature/rtc_clk_impl' into 'master'
Ivan Grokhotkov [Wed, 12 Apr 2017 02:38:23 +0000 (10:38 +0800)]
Merge branch 'feature/rtc_clk_impl' into 'master'

Introduce soc component, add source of rtc_clk and rtc_pm libraries

This MR adds parts of the RTC library source code (initialization, clock selection functions, sleep functions). WiFi-related power management functions are kept inside the precompiled library. Most of RTC library APIs have been renamed.

Default CPU frequency option in Kconfig is set to 160MHz, pending qualification of 240MHz mode at high temperatures.

Register header files are moved into the new soc component, which will contain chip-specific header files and low-level non-RTOS-aware APIs (such as rtc_ APIs). Some of the files from ESP32 component were also moved: cpu_util.c, brownout.c, and the corresponding header files. Further refactoring of ESP32 component into more meaningful layers (chip-specific low level functions; chip-specific RTOS aware functions; framework-specific RTOS-related functions) will be done in future MRs.

See merge request !633

7 years agoesp32: update libraries
Ivan Grokhotkov [Tue, 11 Apr 2017 08:01:30 +0000 (16:01 +0800)]
esp32: update libraries

This removes librtc_{clk,pm}.a and updates librtc.a to use the new
functions defined in ESP-IDF source code.

7 years agoMerge branch 'bugfix/flash_busy_check_Wait_SPI_Idle' into 'master'
Ivan Grokhotkov [Tue, 11 Apr 2017 12:09:06 +0000 (20:09 +0800)]
Merge branch 'bugfix/flash_busy_check_Wait_SPI_Idle' into 'master'

Bugfix/flash busy check wait spi idle

This branch moves some ROM SPI flash driver to IDF to fix bug in Wait_SPI_Idle() function.
Also it applies code style rules of IDF to integrated ROM driver sources.

See merge request !584

7 years agobuild: Fix for old version of git (< 1.8.5)
Anton Maklakov [Tue, 11 Apr 2017 10:04:18 +0000 (18:04 +0800)]
build: Fix for old version of git (< 1.8.5)

7 years agoEnable checks for encrypted flash in OTA
Deomid Ryabkov [Fri, 24 Mar 2017 16:17:15 +0000 (16:17 +0000)]
Enable checks for encrypted flash in OTA

Even if firmware is compiled without CONFIG_FLASH_ENCRYPTION_ENABLED
Rayionale: CONFIG_FLASH_ENCRYPTION_ENABLED controls whether boot loader
generates keys for encryption or not, but flash encryption can be
configured externally. With this change, it's possible to have boot
loader not generate keys but still have encryption working.

Also fix use of it->part

7 years agocomponents/driver/rmt: Add const qualifier for config and tx data.
devsaurus [Wed, 5 Apr 2017 21:08:55 +0000 (23:08 +0200)]
components/driver/rmt: Add const qualifier for config and tx data.

7 years agofix rmt_set_tx_thr_intr_en(): check evt_thresh only in enable path
devsaurus [Tue, 4 Apr 2017 20:06:44 +0000 (22:06 +0200)]
fix rmt_set_tx_thr_intr_en(): check evt_thresh only in enable path

7 years agoFix impossible check in uart_set_line_inverse
shinyquagsire23 [Tue, 4 Apr 2017 07:24:11 +0000 (00:24 -0700)]
Fix impossible check in uart_set_line_inverse

7 years agoMerge branch 'feature/btdm_add_scan_data_len' into 'master'
Ivan Grokhotkov [Tue, 11 Apr 2017 10:22:46 +0000 (18:22 +0800)]
Merge branch 'feature/btdm_add_scan_data_len' into 'master'

bt component: optimize scan feature

1. Add advertising data length and scan response length in scan result
2. Add scan continuously feature
3. Fix non connectable adv topology error
4. Increase BTC queue size

See merge request !644

7 years agodoc: Update manual for CentOS
Anton Maklakov [Tue, 11 Apr 2017 09:59:47 +0000 (17:59 +0800)]
doc: Update manual for CentOS

7 years agosoc: add source code of rtc_clk, rtc_pm
Ivan Grokhotkov [Tue, 11 Apr 2017 07:44:43 +0000 (15:44 +0800)]
soc: add source code of rtc_clk, rtc_pm

7 years agosoc: convert line endings to unix
Ivan Grokhotkov [Tue, 11 Apr 2017 07:44:22 +0000 (15:44 +0800)]
soc: convert line endings to unix

7 years agobt component: optimize scan feature
island [Tue, 11 Apr 2017 06:20:20 +0000 (14:20 +0800)]
bt component: optimize scan feature

1. Add advertising data length and scan response length in scan result
2. Add scan continuously feature
3. Fix non connectable adv topology error
4. Increase BTC queue size

7 years agosoc: move header files into soc component
Ivan Grokhotkov [Tue, 28 Mar 2017 06:05:27 +0000 (14:05 +0800)]
soc: move header files into soc component

7 years agosoc: add apb_ctrl, struct headers for rtc_cntl and rtc_io
Ivan Grokhotkov [Thu, 23 Mar 2017 07:20:05 +0000 (15:20 +0800)]
soc: add apb_ctrl, struct headers for rtc_cntl and rtc_io

7 years agospi_flash: Fixed bug in SPI flash ROM driver to work with embedded flash chip
Alexey Gerenkov [Thu, 9 Mar 2017 07:29:00 +0000 (10:29 +0300)]
spi_flash: Fixed bug in SPI flash ROM driver to work with embedded flash chip

1) fixed SPI_read_status: added check for flash busy flag in matrix mode
2) fixed SPI_page_program: enable write before writing data to SPI FIFO
3) SPI flash ROM funcs replacement is controlled via menuconfig option

7 years agomodify some text error
chenyudong [Mon, 10 Apr 2017 12:39:04 +0000 (20:39 +0800)]
modify some text error

7 years agocomponent/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller)
wangmengyang [Mon, 10 Apr 2017 08:12:21 +0000 (16:12 +0800)]
component/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller)

7 years agoMerge branch 'bugfix/invalid_filter_for_unit_test_ci_runner_config_file' into 'master'
Ivan Grokhotkov [Mon, 10 Apr 2017 07:57:59 +0000 (15:57 +0800)]
Merge branch 'bugfix/invalid_filter_for_unit_test_ci_runner_config_file' into 'master'

CI: fix bug in generating UT CI runner config

the first case ID in filter is incorrect. Should put test case ID but not test case itself to the filter.

See merge request !643

7 years agoCI: fix bug in generating UT CI runner config:
He Yin Ling [Mon, 10 Apr 2017 07:08:15 +0000 (15:08 +0800)]
CI: fix bug in generating UT CI runner config:

the first case ID in filter is incorrect. Should put test case ID but
not test case itself to the filter.

7 years agoMerge branch 'cherry-pick-6181af2a' into 'master'
Ivan Grokhotkov [Mon, 10 Apr 2017 06:20:01 +0000 (14:20 +0800)]
Merge branch 'cherry-pick-6181af2a' into 'master'

Merge branch 'test/reboot_between_unit_test_cases' into 'release/v2.0'

CI: add reset between running each unit test cases

Unit test is designed to detect bug **within** each test case. Therefore we'll reset between each case to provide a clean context. We will later add stress cases to run unit test cases together to detect potential bugs.

See merge request !636

See merge request !642

7 years agoMerge branch 'test/reboot_between_unit_test_cases' into 'release/v2.0'
Ivan Grokhotkov [Wed, 5 Apr 2017 12:52:13 +0000 (20:52 +0800)]
Merge branch 'test/reboot_between_unit_test_cases' into 'release/v2.0'

CI: add reset between running each unit test cases

Unit test is designed to detect bug **within** each test case. Therefore we'll reset between each case to provide a clean context. We will later add stress cases to run unit test cases together to detect potential bugs.

See merge request !636

7 years agoMerge branch 'feature/parse_unit_test_cases_from_build_files' into 'master'
Ivan Grokhotkov [Mon, 10 Apr 2017 04:20:00 +0000 (12:20 +0800)]
Merge branch 'feature/parse_unit_test_cases_from_build_files' into 'master'

CI: modify unit test parser to get unit test cases from build files

See merge request !545

7 years agoMerge branch 'feature/ci_check_commits' into 'master'
Ivan Grokhotkov [Mon, 10 Apr 2017 04:19:35 +0000 (12:19 +0800)]
Merge branch 'feature/ci_check_commits' into 'master'

CI: check if commit history need revise

Usually we need to cleanup the commit history before MR merged. Sometime we forget to squash before merge.
We can add certain pattern at the beginning of commit message, and add a job in deploy stage to check the patterns.
When we want to push code for review or resolve review comments, we can add this pattern to commit message as a reminder.
This will not block CI tests, checking job will always be put in the last CI stage.

See merge request !629

7 years agoMerge branch 'bugfix/cross_core_int_init_single_core' into 'master'
Ivan Grokhotkov [Mon, 10 Apr 2017 04:19:10 +0000 (12:19 +0800)]
Merge branch 'bugfix/cross_core_int_init_single_core' into 'master'

esp32: initialize cross-core interrupt in single core mode

The software interrupt originally used as the cross-core interrupt is
now also used to yield from a FreeRTOS critical section; therefore it
must be initialized for single core mode as well.

Fixes https://github.com/espressif/esp-idf/issues/496

See merge request !640

7 years agoMerge branch 'bugfix/esp_error_check_release_builds' into 'master'
Ivan Grokhotkov [Mon, 10 Apr 2017 04:18:47 +0000 (12:18 +0800)]
Merge branch 'bugfix/esp_error_check_release_builds' into 'master'

fix warnings generated by ESP_ERROR_CHECK(variable) in release builds

This uses the same pattern as “assert” in release builds to silence the
warning. At the same time, we make sure that if a statement is wrapped
into ESP_ERROR_CHECK, it is executed in release build as well.

Fixes https://github.com/espressif/esp-idf/issues/497

See merge request !641

7 years agoMerge branch 'feature/mdns_afl_fuzz' into 'master'
Ivan Grokhotkov [Mon, 10 Apr 2017 03:55:31 +0000 (11:55 +0800)]
Merge branch 'feature/mdns_afl_fuzz' into 'master'

Feature/mdns afl fuzz

Implement AFL Fuzz for testing MDNS parser stability

See merge request !632

7 years agotcp_udp: remove some unnecessary functions.
chenyudong [Fri, 31 Mar 2017 08:34:12 +0000 (16:34 +0800)]
tcp_udp: remove some unnecessary functions.

7 years agoeg/perf:modify README.
chenyudong [Thu, 23 Mar 2017 08:36:32 +0000 (16:36 +0800)]
eg/perf:modify README.

7 years agoeg/perf:modify udp_perf and some mistakes
chenyudong [Tue, 21 Mar 2017 12:06:32 +0000 (20:06 +0800)]
eg/perf:modify udp_perf and some mistakes

modify udp_perf to be similar with tcp_perf.
change indentation and some mistakes of codes.
edit README.

7 years agotcp_perf:modify tcp_perf with some new options.
chenyudong [Mon, 20 Mar 2017 05:43:04 +0000 (13:43 +0800)]
tcp_perf:modify tcp_perf with some new options.

You can set esp32 as AP/STA, client/sever, sender/recever in menuconfig.
You can set whether to display delay time info in menuconfig.
Now you can transfer data between esp and esp.

7 years agocustomization parameters in menuconfig,combine codes to two project.
yudongchen95 [Thu, 16 Mar 2017 07:04:44 +0000 (15:04 +0800)]
customization parameters in menuconfig,combine codes to two project.

7 years agowifi performance: add wifi performance examples including TCP&UDP TX/RX
yudongchen95 [Mon, 13 Mar 2017 11:29:24 +0000 (19:29 +0800)]
wifi performance: add wifi performance examples including TCP&UDP TX/RX

7 years agoCI: check if commit history need revise
He Yin Ling [Fri, 31 Mar 2017 10:52:59 +0000 (18:52 +0800)]
CI: check if commit history need revise

7 years agofix warnings generated by ESP_ERROR_CHECK(variable) in release builds
Ivan Grokhotkov [Fri, 7 Apr 2017 07:24:58 +0000 (15:24 +0800)]
fix warnings generated by ESP_ERROR_CHECK(variable) in release builds

This uses the same pattern as “assert” in release builds to silence the
warning. At the same time, we make sure that if a statement is wrapped
into ESP_ERROR_CHECK, it is executed in release build as well.

7 years agoMerge branch 'bugfix/btdm_task_priority' into 'master'
Ivan Grokhotkov [Fri, 7 Apr 2017 06:56:31 +0000 (14:56 +0800)]
Merge branch 'bugfix/btdm_task_priority' into 'master'

component/bt : modify bluetooth task priority

modify bluetooth task priority to lower than IPC task priority.

See merge request !631

7 years agoesp32: initialize cross-core interrupt in single core mode
Ivan Grokhotkov [Fri, 7 Apr 2017 06:48:08 +0000 (14:48 +0800)]
esp32: initialize cross-core interrupt in single core mode

The software interrupt originally used as the cross-core interrupt is
now also used to yield from a FreeRTOS critical section; therefore it
must be initialized for single core mode as well.

Fixes https://github.com/espressif/esp-idf/issues/496

7 years agoMerge branch 'feature/panic_wdt' into 'master'
Ivan Grokhotkov [Fri, 7 Apr 2017 04:14:30 +0000 (12:14 +0800)]
Merge branch 'feature/panic_wdt' into 'master'

esp32: RWDT is used to reboot system in case of panic handler crash

This branch uses RWDT to reboot system in case of panic handler crash.

See merge request !625

7 years agoMerge branch 'feature/btdm_uart_hci' into 'master'
Ivan Grokhotkov [Fri, 7 Apr 2017 04:13:42 +0000 (12:13 +0800)]
Merge branch 'feature/btdm_uart_hci' into 'master'

Feature/btdm uart hci

    1. support UART HCI, devolper need not to make a bridge between VHCI and UART.
    2. fix bug of rand/srand called in ISR.
    3. fix bug of BLE rx packets may cause assert.

See merge request !626

7 years agoesp32: RWDT is used to reboot system in case of panic handler crash
Alexey Gerenkov [Wed, 29 Mar 2017 18:09:47 +0000 (21:09 +0300)]
esp32: RWDT is used to reboot system in case of panic handler crash

also fixes TG1WDG protection bug in panic handler

7 years agoCI: revise unit test parser
He Yin Ling [Fri, 24 Mar 2017 10:38:06 +0000 (18:38 +0800)]
CI: revise unit test parser

7 years agoCI: modify unit test parser to parse unit test cases from build files
antti [Thu, 2 Mar 2017 09:51:25 +0000 (17:51 +0800)]
CI: modify unit test parser to parse unit test cases from build files

Previously test cases were parsed from test files

7 years agocomponent/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller)
wangmengyang [Thu, 6 Apr 2017 08:56:18 +0000 (16:56 +0800)]
component/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller)

7 years agoMerge branch 'master' into feature/btdm_avrc
wangmengyang [Thu, 6 Apr 2017 06:59:58 +0000 (14:59 +0800)]
Merge branch 'master' into feature/btdm_avrc

7 years agocomponent/bt : modify bluetooth config style
Tian Hao [Wed, 5 Apr 2017 13:19:15 +0000 (21:19 +0800)]
component/bt : modify bluetooth config style

7 years agoMerge branch 'bugfix/btdm_alarm' into 'master'
Ivan Grokhotkov [Wed, 5 Apr 2017 23:46:01 +0000 (07:46 +0800)]
Merge branch 'bugfix/btdm_alarm' into 'master'

component/bt : modify alarm APIs to be safely accessible from multiple tasks

Improve the osi_alarm module to make the alarm APIs become thread safe.

See merge request !570

7 years agoMerge branch 'bugfix/yield_after_critical_section' into 'master'
Angus Gratton [Wed, 5 Apr 2017 23:17:35 +0000 (07:17 +0800)]
Merge branch 'bugfix/yield_after_critical_section' into 'master'

freertos: Delay context switch from queue/task APIs until exiting critical section

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

See merge request !610

7 years agocomponent/bt : support UART HCI and fix some bugs
Tian Hao [Fri, 24 Mar 2017 06:57:07 +0000 (14:57 +0800)]
component/bt : support UART HCI and fix some bugs

1. support UART HCI, devolper need not to make a bridge between VHCI and UART.
2. fix bug of rand/srand called in ISR.
3. fix bug of BLE rx packets may cause assert.

7 years agocomponent/bt : add uart(1/2) as HCI IO directly
Tian Hao [Thu, 16 Mar 2017 09:14:20 +0000 (17:14 +0800)]
component/bt : add uart(1/2) as HCI IO directly

7 years agoMerge branch 'bugfix/doc_windows_shell' into 'master'
Ivan Grokhotkov [Wed, 5 Apr 2017 10:25:48 +0000 (18:25 +0800)]
Merge branch 'bugfix/doc_windows_shell' into 'master'

docs: Fix Windows shell path in Windows Setup Guide

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

See merge request !634

7 years agocomponent/bt : modify alarm APIs to be safely accessible from multiple tasks
Tian Hao [Thu, 9 Mar 2017 12:46:19 +0000 (20:46 +0800)]
component/bt : modify alarm APIs to be safely accessible from multiple tasks

7 years agoAdd AFL fuzz test
me-no-dev [Mon, 3 Apr 2017 13:50:12 +0000 (16:50 +0300)]
Add AFL fuzz test

7 years agodocs: Fix Windows shell path in Step 4
Angus Gratton [Wed, 5 Apr 2017 00:58:34 +0000 (10:58 +1000)]
docs: Fix Windows shell path in Step 4

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

7 years agofreertos tests: Extend preemption test cases to cross-core wakeup
Angus Gratton [Mon, 3 Apr 2017 01:59:30 +0000 (11:59 +1000)]
freertos tests: Extend preemption test cases to cross-core wakeup

7 years agofreertos tests: Fix accidental "0 delay" in event group tests
Angus Gratton [Tue, 28 Mar 2017 03:16:53 +0000 (14:16 +1100)]
freertos tests: Fix accidental "0 delay" in event group tests

Was a slight race condition where tasks on other CPU may not have finished waking up on BIT_CALL when the unity task
polled the event group state.

7 years agofreertos: Delay context switch from queue/task APIs until exiting critical section
Angus Gratton [Thu, 16 Mar 2017 03:07:50 +0000 (11:07 +0800)]
freertos: Delay context switch from queue/task APIs until exiting critical section

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

7 years agoimplement fixes for issues found while fuzz testing
me-no-dev [Mon, 3 Apr 2017 13:45:59 +0000 (16:45 +0300)]
implement fixes for issues found while fuzz testing

7 years agoMerge branch 'feature/implement_lwip_critical_protect_with_mutex' into 'master'
Jiang Jiang Jian [Sat, 1 Apr 2017 09:27:20 +0000 (17:27 +0800)]
Merge branch 'feature/implement_lwip_critical_protect_with_mutex' into 'master'

lwip: implement lwip critical session with mutex

Currently lwip critical session is based on interrupt, now replace it with mutex

See merge request !595

7 years agoMerge branch 'feature/tw11250_optimize_tcpip_adapter_layer' into 'master'
Jiang Jiang Jian [Sat, 1 Apr 2017 09:26:34 +0000 (17:26 +0800)]
Merge branch 'feature/tw11250_optimize_tcpip_adapter_layer' into 'master'

optimize tcpip adapter layer

Support thread-safe tcpip adapter layer

See merge request !621

7 years agocomponent/bt : modify bluetooth task priority
Tian Hao [Sat, 1 Apr 2017 09:17:57 +0000 (17:17 +0800)]
component/bt : modify bluetooth task priority

7 years agooptimize tcpip adapter layer
Liu Zhi Fu [Wed, 29 Mar 2017 03:07:41 +0000 (11:07 +0800)]
optimize tcpip adapter layer

7 years agolwip: implement lwip critical session with mutex
Liu Zhi Fu [Mon, 20 Mar 2017 08:30:35 +0000 (16:30 +0800)]
lwip: implement lwip critical session with mutex

Currently lwip critical session is based on interrupt, now replace it with mutex

7 years agoMerge branch 'feature/tw10169_optimize_dhcp_renew_rebind_timer' into 'master'
Jiang Jiang Jian [Sat, 1 Apr 2017 08:04:13 +0000 (16:04 +0800)]
Merge branch 'feature/tw10169_optimize_dhcp_renew_rebind_timer' into 'master'

lwip: optimize dhcp renew/rebind timer

This MR is used to replace MR581 since MR581 use a bad branch name.

See merge request !585

7 years agowps_ps: Add new options to menuconfig, modify README and some explainations.
chenyudong [Wed, 29 Mar 2017 07:33:05 +0000 (15:33 +0800)]
wps_ps: Add new options to menuconfig, modify README and some explainations.

7 years agoexample: adding wifi example wps and power save.
chenyudong [Mon, 27 Mar 2017 09:52:46 +0000 (17:52 +0800)]
example: adding wifi example wps and power save.

7 years agoMerge branch 'bugfix/flash_op_deadlock' into 'master'
Ivan Grokhotkov [Fri, 31 Mar 2017 08:02:26 +0000 (16:02 +0800)]
Merge branch 'bugfix/flash_op_deadlock' into 'master'

spi_flash: fix race condition in s_flash_op_complete access

Flash operation complete flag was cleared by the CPU initiating flash operation. If the other core was running an ISR, then IPC task could be late to enter the loop to check `s_flash_op_complete` by the time next flash operation started. This would cause a deadlock, as the IPC task would still be waiting for `s_flash_op_complete` to be set (which was already cleared by the next flash operation), while the flash operation task would be blocked waiting for IPC task to set `s_flash_op_can_start`.

If the flag is cleared on the CPU waiting on this flag, then the race condition can not happen.

See merge request !615

7 years agoMerge branch 'master' into feature/btdm_avrc
wangmengyang [Fri, 31 Mar 2017 04:51:45 +0000 (12:51 +0800)]
Merge branch 'master' into feature/btdm_avrc

7 years agoMerge branch 'bugfix/spi_timing_issues' into 'master'
Jeroen Domburg [Fri, 31 Mar 2017 02:44:37 +0000 (10:44 +0800)]
Merge branch 'bugfix/spi_timing_issues' into 'master'

Fix timing adjustment needed for higher speeds of SPI master bus.

Ref https://github.com/espressif/esp-idf/issues/363 . It was found out the master SPI driver didn't exactly calculate the delay compensation needed, breaking 20 and 26MHz full-duplex mode. This fixes these use cases. We also found out 40MHz full-duplex routed over the GPIO matrix does not work because of a hardware quirk; this MR adds a check/error for that case until we find a workaround.

See merge request !547

7 years agoMerge branch 'feature/static_tx_buffer_if_psram' into 'master'
Jiang Jiang Jian [Thu, 30 Mar 2017 13:45:39 +0000 (21:45 +0800)]
Merge branch 'feature/static_tx_buffer_if_psram' into 'master'

Add WiFi static and dynamic tx buffer choice

If static tx buffer is selected, WiFi tx buffers are allocated when WiFi is initialized and released

    when WiFi is de-initialized. If dynamic tx buffer is selected, WiFi tx buffer is allocated when tx

    data is delivered from LWIP to WiFi and released when tx data is sent out by WiFi.

    The size of each static tx buffers is fixed to about 1.6KB and the size of dynamic tx buffers is

    depend on the length of the data delivered from LWIP.

    If PSRAM is enabled, "STATIC" should be selected to guarantee enough WiFi tx buffers.

    If PSRAM is disabled, "DYNAMIC" should be selected to improve the utilization of RAM.

See merge request !580

7 years agoAdd WiFi static and dynamic tx buffer choice
XiaXiaotian [Tue, 14 Mar 2017 13:03:41 +0000 (21:03 +0800)]
Add WiFi static and dynamic tx buffer choice

    If static tx buffer is selected, WiFi tx buffers are allocated when WiFi is initialized and released

    when WiFi is de-initialized. If dynamic tx buffer is selected, WiFi tx buffer is allocated when tx

    data is delivered from LWIP to WiFi and released when tx data is sent out by WiFi.

    The size of each static tx buffers is fixed to about 1.6KB and the size of dynamic tx buffers is

    depend on the length of the data delivered from LWIP.

    If PSRAM is enabled, "STATIC" should be selected to guarantee enough WiFi tx buffers.

    If PSRAM is disabled, "DYNAMIC" should be selected to improve the utilization of RAM.

7 years agocomponent/bt: fix the dependence issue in Kconfig
wangmengyang [Thu, 30 Mar 2017 13:16:11 +0000 (21:16 +0800)]
component/bt: fix the dependence issue in Kconfig

7 years agoMerge branch 'feature/add_scan_time_config' into 'master'
Jiang Jiang Jian [Thu, 30 Mar 2017 12:56:30 +0000 (20:56 +0800)]
Merge branch 'feature/add_scan_time_config' into 'master'

wifi scan: add wifi scan type and time config

See merge request !586

7 years agowifi scan: add wifi scan type and time config
XiaXiaotian [Thu, 16 Mar 2017 08:20:19 +0000 (16:20 +0800)]
wifi scan: add wifi scan type and time config

7 years agoMerge branch 'bugfix/windows_install_paths' into 'master'
Angus Gratton [Thu, 30 Mar 2017 02:51:01 +0000 (10:51 +0800)]
Merge branch 'bugfix/windows_install_paths' into 'master'

Fix expansion of PATH on Windows setup

Was accidentally expanding in context of setup script, not at runtime.

See merge request !624

7 years agodoc: Fix some Windows Setup Guide links
Angus Gratton [Thu, 30 Mar 2017 00:29:03 +0000 (11:29 +1100)]
doc: Fix some Windows Setup Guide links

7 years agowindows: Don't expand PATH when generating setup
Angus Gratton [Wed, 29 Mar 2017 23:58:58 +0000 (10:58 +1100)]
windows: Don't expand PATH when generating setup

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

7 years agoMerge branch 'bugfix/git_porcelain_arg' into 'master'
Ivan Grokhotkov [Wed, 29 Mar 2017 09:37:34 +0000 (17:37 +0800)]
Merge branch 'bugfix/git_porcelain_arg' into 'master'

make: remove version parameter from git status porcelain option

Version parameter was added in git 2.11, while default git on macOS is
currently 2.10. According to the latest git docs, if the version
parameter is not provided, it defaults to ‘v1’, so removing it doesn’t
change the format.

See merge request !616

7 years agoMerge branch 'bugfix/cpu1_isr_stack_location' into 'master'
Ivan Grokhotkov [Wed, 29 Mar 2017 04:05:31 +0000 (12:05 +0800)]
Merge branch 'bugfix/cpu1_isr_stack_location' into 'master'

Fix finding location of ISR stack space for CPU1

Up to now, the CPU1 interrupts erroneously used the area *after* the ISR stack region, leading to bugs in BT Classic. This fixes that.

See merge request !618

7 years agoMerge branch 'feature/mdns_dnssd_metaquery' into 'master'
Angus Gratton [Wed, 29 Mar 2017 01:29:31 +0000 (09:29 +0800)]
Merge branch 'feature/mdns_dnssd_metaquery' into 'master'

mdns: add simple dns-sd meta query support

Merges PR #340 https://github.com/espressif/esp-idf/pull/340

See merge request !619

7 years agoMerge branch 'bugfix/example_naming' into 'master'
Angus Gratton [Wed, 29 Mar 2017 00:50:49 +0000 (08:50 +0800)]
Merge branch 'bugfix/example_naming' into 'master'

examples: Standardise naming of files, symbols, etc. in examples

* Use "example" in all example function & variable names,
  ie use i2c_example_xxx instead of i2c_xxx for example functions.
  Closes #198 https://github.com/espressif/esp-idf/issues/198
* Mark example functions, etc. static
* Replace uses of "test" & "demo" with "example"
* Split the UART example into two
* Rename "main" example files to end with "_main.c" for disambiguation

See merge request !601

7 years agomdns: add simple dns-sd meta query support
negativekelvin [Tue, 14 Feb 2017 04:53:46 +0000 (21:53 -0700)]
mdns: add simple dns-sd meta query support

tabs to spaces

match domain

7 years agoFix finding location of ISR stack space for CPU1
Jeroen Domburg [Tue, 28 Mar 2017 07:50:10 +0000 (15:50 +0800)]
Fix finding location of ISR stack space for CPU1