]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agoMerge branch 'bugfix/btdm_gattc_refresh_cache_does_not_work_properly' into 'master'
Jiang Jiang Jian [Thu, 15 Jun 2017 03:02:35 +0000 (11:02 +0800)]
Merge branch 'bugfix/btdm_gattc_refresh_cache_does_not_work_properly' into 'master'

component /bt: using esp_ble_gattc_cache_refresh() does not work when open event callback

See merge request !864

7 years agoMerge branch 'bugfix/i2c_delete_interrupt_race' into 'master'
Jiang Jiang Jian [Wed, 14 Jun 2017 09:47:22 +0000 (17:47 +0800)]
Merge branch 'bugfix/i2c_delete_interrupt_race' into 'master'

i2c driver: When deleting, disable interrupts before freeing data structures

See merge request !836

7 years agoComponent /bt: using esp_ble_gattc_cache_refresh() does not work when open event...
zhiweijian [Wed, 14 Jun 2017 08:45:17 +0000 (16:45 +0800)]
Component /bt: using esp_ble_gattc_cache_refresh() does not work when open event callback.

7 years agoMerge branch 'bugfix/btdm_smp_auth_complete_error' into 'master'
Jiang Jiang Jian [Wed, 14 Jun 2017 07:16:38 +0000 (15:16 +0800)]
Merge branch 'bugfix/btdm_smp_auth_complete_error' into 'master'

component/bt: Change the btc layer data copy method.

See merge request !844

7 years agoMerge branch 'bugfix/btdm_master_write_service_change_ccc' into 'master'
Jiang Jiang Jian [Wed, 14 Jun 2017 07:12:45 +0000 (15:12 +0800)]
Merge branch 'bugfix/btdm_master_write_service_change_ccc' into 'master'

component/bt: Fix slave initiate service change ccc discovery procedure bug

See merge request !847

7 years agoMerge branch 'feature/libsodium' into 'master'
Angus Gratton [Wed, 14 Jun 2017 06:58:16 +0000 (14:58 +0800)]
Merge branch 'feature/libsodium' into 'master'

Add libsodium cryptography library component (v1.0.12)

See merge request !852

7 years agoMerge branch 'feature/optimize_task_priority_in_wifi_lib' into 'master'
Jiang Jiang Jian [Wed, 14 Jun 2017 06:01:53 +0000 (14:01 +0800)]
Merge branch 'feature/optimize_task_priority_in_wifi_lib' into 'master'

Optimize priorities of pp, pm, timer, wps and wpa2 tasks.

See merge request !861

7 years agoAdd libsodium v1.0.12
Angus Gratton [Mon, 7 Nov 2016 00:54:44 +0000 (11:54 +1100)]
Add libsodium v1.0.12

Run some unit test cases based (poorly) around sodium's test infrastructure.

Increase in unity test task stack is due to signature tests, load a lot of data onto the stack.

7 years agoMerge branch 'bugfix/abort_in_interrupt_context' into 'master'
Angus Gratton [Wed, 14 Jun 2017 05:45:36 +0000 (13:45 +0800)]
Merge branch 'bugfix/abort_in_interrupt_context' into 'master'

Panic handler backtrace fixes

See merge request !835

7 years agocomponent/bt: Fix bug while writing slave's service change characteristic
island [Sun, 11 Jun 2017 13:59:49 +0000 (21:59 +0800)]
component/bt: Fix bug while writing slave's service change characteristic

- Fix slave initiate service discovery procedure
- Fix master re-discovery every time connection established
- Optimize service discovery char ccc write procedure
- Optimize esp_log_buffer function
- Modify default supervision timeout from 20s to 2s

7 years agoMerge branch 'bugfix/btdm_config_bluedroid_mem_debug_github_#12631' into 'master'
Jiang Jiang Jian [Wed, 14 Jun 2017 03:18:34 +0000 (11:18 +0800)]
Merge branch 'bugfix/btdm_config_bluedroid_mem_debug_github_#12631' into 'master'

component/bt: Change the osi_mem_dbg_init to the esp_bluedroid_init function.

See merge request !860

7 years agoOptimize priorities of pp, pm, timer, wps and wpa2 tasks.
XiaXiaotian [Tue, 13 Jun 2017 13:04:01 +0000 (21:04 +0800)]
Optimize priorities of pp, pm, timer, wps and wpa2 tasks.

7 years agoMerge branch 'bugfix/wps_receive_m2d_fail_process' into 'master'
Jiang Jiang Jian [Wed, 14 Jun 2017 02:57:59 +0000 (10:57 +0800)]
Merge branch 'bugfix/wps_receive_m2d_fail_process' into 'master'

ESP32: Add error wps fail reason

See merge request !855

7 years agoMerge branch 'bugfix/btdm_task_post' into 'master'
Jiang Jiang Jian [Wed, 14 Jun 2017 02:52:56 +0000 (10:52 +0800)]
Merge branch 'bugfix/btdm_task_post' into 'master'

component/bt : fix task post bug && fix controller init protection

See merge request !856

7 years agocomponent/bt: Added the unhandle log to the btc dm case.
Yulong [Wed, 14 Jun 2017 02:37:44 +0000 (22:37 -0400)]
component/bt: Added the unhandle log to the btc dm case.

7 years agoMerge branch 'bugfix/doc_adding_to_path' into 'master'
Ivan Grokhotkov [Wed, 14 Jun 2017 01:16:58 +0000 (09:16 +0800)]
Merge branch 'bugfix/doc_adding_to_path' into 'master'

Fixed  adding to PATH and setting up IDF_PATH procedures, ref. issue report #656

See merge request !807

7 years agoMerge branch 'bugfix/nvs_max_value_size' into 'master'
Ivan Grokhotkov [Wed, 14 Jun 2017 01:15:59 +0000 (09:15 +0800)]
Merge branch 'bugfix/nvs_max_value_size' into 'master'

nvs: check value size before writing, document limitations

See merge request !796

7 years agoMerge branch 'bugifx/cplusplus_guards' into 'master'
Ivan Grokhotkov [Wed, 14 Jun 2017 01:14:02 +0000 (09:14 +0800)]
Merge branch 'bugifx/cplusplus_guards' into 'master'

add C++ include guards to header files which are missing them

See merge request !799

7 years agoMerge branch 'bugfix/ulp_fixes' into 'master'
Ivan Grokhotkov [Wed, 14 Jun 2017 01:12:55 +0000 (09:12 +0800)]
Merge branch 'bugfix/ulp_fixes' into 'master'

Minor fixes for ULP

See merge request !800

7 years agoMerge branch 'bugfix/esp_event_send_init_check' into 'master'
Ivan Grokhotkov [Wed, 14 Jun 2017 01:11:50 +0000 (09:11 +0800)]
Merge branch 'bugfix/esp_event_send_init_check' into 'master'

esp_event_send: check if the event loop is initialized

See merge request !817

7 years agoMerge branch 'bugfix/rmt_driver_interrupts' into 'master'
Angus Gratton [Wed, 14 Jun 2017 00:35:22 +0000 (08:35 +0800)]
Merge branch 'bugfix/rmt_driver_interrupts' into 'master'

rmt driver: Fix some issues around interrupts

See merge request !837

7 years agoMerge branch 'feature/freertos_get_priority' into 'master'
Angus Gratton [Wed, 14 Jun 2017 00:31:00 +0000 (08:31 +0800)]
Merge branch 'feature/freertos_get_priority' into 'master'

freertos: Mark uxTaskPriorityGet() as tested, add SMP task priority unit tests

See merge request !794

7 years agopanic handler: Print backtraces with calling address not return address
Angus Gratton [Thu, 8 Jun 2017 05:27:50 +0000 (15:27 +1000)]
panic handler: Print backtraces with calling address not return address

This seems to clean up some of the more wrong addr2line output results (not
sure why, something to do with optimisations I think - perhaps the return
address may also be a jump target from some earlier line of the code.)

7 years agoMerge branch bugfix/wps_receive_m2d_fail_process to master
Deng Xin [Tue, 13 Jun 2017 11:37:22 +0000 (19:37 +0800)]
Merge branch bugfix/wps_receive_m2d_fail_process to master
ESP32: Add error wps fail reason enum in esp_event.h
see merge request !226

7 years agoMerge branch 'test/nvs_compatible_test' into 'master'
Ivan Grokhotkov [Tue, 13 Jun 2017 13:32:50 +0000 (21:32 +0800)]
Merge branch 'test/nvs_compatible_test' into 'master'

test: add WIFI NVS compatible test case

See merge request !812

7 years agoMerge branch 'bugfix/tw13140_fix_assoc_timeout_bug' into 'master'
Jiang Jiang Jian [Tue, 13 Jun 2017 13:14:33 +0000 (21:14 +0800)]
Merge branch 'bugfix/tw13140_fix_assoc_timeout_bug' into 'master'

esp32: update wifi lib to fix assoc timeout issue

See merge request !854

7 years agoMerge branch 'bugfix/btdm_uuid_convert' into 'master'
Jiang Jiang Jian [Tue, 13 Jun 2017 13:03:55 +0000 (21:03 +0800)]
Merge branch 'bugfix/btdm_uuid_convert' into 'master'

component/bt : fix uuid convert warning

See merge request !857

7 years agocomponent/bt: Change the osi_mem_dbg_init to the esp_bluedroid_init function.
Yulong [Tue, 13 Jun 2017 12:52:26 +0000 (08:52 -0400)]
component/bt: Change the osi_mem_dbg_init to the esp_bluedroid_init function.

7 years agocomponent/bt : fix uuid convert warning
Tian Hao [Tue, 13 Jun 2017 12:21:59 +0000 (20:21 +0800)]
component/bt : fix uuid convert warning

7 years agoesp32: update wifi lib to fix assoc timeout issue
Liu Zhi Fu [Tue, 13 Jun 2017 08:37:56 +0000 (16:37 +0800)]
esp32: update wifi lib to fix assoc timeout issue

Fix assoc timeout thread-safe issue

7 years agoMerge branch 'bugfix/tw13140_fix_throughput_test_crash_issue' into 'master'
Jiang Jiang Jian [Tue, 13 Jun 2017 10:22:39 +0000 (18:22 +0800)]
Merge branch 'bugfix/tw13140_fix_throughput_test_crash_issue' into 'master'

esp32: update wifi lib to fix wifi crash bug

See merge request !840

7 years agoMerge branch 'bugfix/btdm_write_API_to_write_char_get_wrong_status_when_server_respon...
Jiang Jiang Jian [Tue, 13 Jun 2017 10:18:30 +0000 (18:18 +0800)]
Merge branch 'bugfix/btdm_write_API_to_write_char_get_wrong_status_when_server_response_NULL' into 'master'

component /bt: write_API_to_write_char_get_wrong_status_when_server_response_NULL

See merge request !842

7 years agoMerge branch 'bugfix/app_cpu_reset' into 'master'
Ivan Grokhotkov [Tue, 13 Jun 2017 10:15:47 +0000 (18:15 +0800)]
Merge branch 'bugfix/app_cpu_reset' into 'master'

esp32: don’t reset APP CPU if it was already reset by OpenOCD

See merge request !848

7 years agoMerge branch 'bugfix/btdm_auth_val_error_#12962' into 'master'
Jiang Jiang Jian [Tue, 13 Jun 2017 10:14:39 +0000 (18:14 +0800)]
Merge branch 'bugfix/btdm_auth_val_error_#12962' into 'master'

component/bt: correct the security demo pair status code.

See merge request !841

7 years agocomponent/bt : fix task post bug && fix controller init protection
Tian Hao [Tue, 13 Jun 2017 09:14:50 +0000 (17:14 +0800)]
component/bt : fix task post bug && fix controller init protection

1. fix bluedroid task post to blocking.
2. use semphore protect btdm controller task when be called from higher priority task

7 years agoMerge branch 'fix/ci_examples' into 'master'
Anton Maklakov [Tue, 13 Jun 2017 07:18:32 +0000 (15:18 +0800)]
Merge branch 'fix/ci_examples' into 'master'

CI: Improve the build_examples test job

See merge request !826

7 years agoabort handler: Fix abort stack trace when abort() called in ISR
Angus Gratton [Thu, 8 Jun 2017 05:21:03 +0000 (15:21 +1000)]
abort handler: Fix abort stack trace when abort() called in ISR

Previously, this resulted in task stack frames turning up incorrectly in the backtrace, ie

Backtrace: 0x400d22a0:0x3ffb0fa0 0x40085a3c:0x3ffb0fc0 0x400f32c4:0x3ffb0fe0 0x40081965:0x3ffb1010
0x400d22a0: esp_vApplicationIdleHook at /home/esp/esp-idf/components/esp32/./freertos_hooks.c:
52
0x40085a3c: prvIdleTask at /home/esp/esp-idf/components/freertos/./tasks.c:4431
0x400f32c4: i2c_isr_handler_default at /home/esp/esp-idf/components/driver/./i2c.c:598
0x40081965: _xt_lowint1 at xtensa_vectors.o:?

Fix is to implement abort() via an unhandled exception rather than a breakpoint, I think
because of relative priority of exception types.

Another approach would be to assign a software-only INUM to abort()ing and defined a
PANIC_RSN_ABORTED, but this is more complex and interrupt numbers are more scarce than RAM!

7 years agoesp32: don’t reset APP CPU if it was already reset by OpenOCD
Ivan Grokhotkov [Mon, 12 Jun 2017 07:16:57 +0000 (15:16 +0800)]
esp32: don’t reset APP CPU if it was already reset by OpenOCD

When ‘reset halt’ command is executed, OpenOCD will take the APP CPU
out of reset and enable the clock. At this point, user can set a
breakpoint on code which will run on APP CPU. Previously, app startup
code would do another reset of APP CPU, thereby removing any breakpoints
which may have been set. This change makes APP CPU reset conditional on
DPORT_APPCPU_CLKGATE_EN bit, which is 0 by default but is set to 1 by
OpenOCD after reset.

7 years agoComponent /bt: write_API_to_write_char_get_wrong_status_when_server_response_NULL
zhiweijian [Fri, 9 Jun 2017 07:08:06 +0000 (15:08 +0800)]
Component /bt: write_API_to_write_char_get_wrong_status_when_server_response_NULL

7 years agoFixed procedures, ref. issue report #656
krzychb [Thu, 1 Jun 2017 20:44:33 +0000 (22:44 +0200)]
Fixed  procedures, ref. issue report #656

7 years agocomponent/bt: delete the bd_addr to avoid the warning.
Yulong [Fri, 9 Jun 2017 09:07:26 +0000 (05:07 -0400)]
component/bt: delete the bd_addr to avoid the warning.

7 years agocomponent/bt: Change the btc ESP_BLE_SM_SET_RSP_KEK to ESP_BLE_SM_SET_RSP_KEY
Yulong [Fri, 9 Jun 2017 08:54:56 +0000 (04:54 -0400)]
component/bt: Change the btc ESP_BLE_SM_SET_RSP_KEK to ESP_BLE_SM_SET_RSP_KEY

7 years agocomponent/bt: Change the btc layer data copy method.
Yulong [Fri, 9 Jun 2017 08:32:01 +0000 (04:32 -0400)]
component/bt: Change the btc layer data copy method.

7 years agocomponent/bt: correct the security demo pair status code.
Yulong [Fri, 9 Jun 2017 06:37:28 +0000 (02:37 -0400)]
component/bt: correct the security demo pair status code.

7 years agoCI: Build examples in parallel
Anton Maklakov [Wed, 7 Jun 2017 08:30:25 +0000 (16:30 +0800)]
CI: Build examples in parallel

    Now you can create several 'build_examples_N' jobs
    in the .gitlab-ci.yaml and get parallel execution.

7 years agormt driver: Manage driver interrupt handler based on which channels are enabled
Angus Gratton [Thu, 8 Jun 2017 06:11:40 +0000 (16:11 +1000)]
rmt driver: Manage driver interrupt handler based on which channels are enabled

Previously the first call to rmt_driver_uninstall() would remove the interrupt handler,
even if other channels still had the driver installed.

Adds an OS-level lock to control concurrent registration/deregistration of channels.

7 years agoCI: Use the environment variable MAKEFLAGS for 'make' instead of the in-place '-j...
Anton Maklakov [Wed, 7 Jun 2017 07:42:36 +0000 (15:42 +0800)]
CI: Use the environment variable MAKEFLAGS for 'make' instead of the in-place '-j' option.

7 years agoCI: Assign a common variable
Anton Maklakov [Wed, 7 Jun 2017 01:58:35 +0000 (09:58 +0800)]
CI: Assign a common variable

7 years agoCI: Fix build_examples to cover the deep hierarchy examples
Anton Maklakov [Tue, 6 Jun 2017 10:26:31 +0000 (18:26 +0800)]
CI: Fix build_examples to cover the deep hierarchy examples

    Now we have 57 building examples against 49 before.

    Also, a short message prints at the end of the job for found warnings.

7 years agoCI: Fix incorrect path to the artifacts in build_examples
Anton Maklakov [Mon, 5 Jun 2017 06:39:11 +0000 (14:39 +0800)]
CI: Fix incorrect path to the artifacts in build_examples

7 years agoMerge branch 'bugfix/btdm_crash_invalid_control_param' into 'master'
Ivan Grokhotkov [Fri, 9 Jun 2017 04:00:18 +0000 (12:00 +0800)]
Merge branch 'bugfix/btdm_crash_invalid_control_param' into 'master'

component/bt: Fix crash problem while using invalid control parameter

See merge request !832

7 years agoMerge branch 'bugfix/resume_task_cpu1_when_scheduler_disabled' into 'master'
Angus Gratton [Thu, 8 Jun 2017 23:10:10 +0000 (07:10 +0800)]
Merge branch 'bugfix/resume_task_cpu1_when_scheduler_disabled' into 'master'

Fix bug waking a task on CPU1 when scheduler is disabled

See merge request !819

7 years agoesp32: update wifi lib to fix wifi crash bug
Liu Zhi Fu [Thu, 8 Jun 2017 12:51:21 +0000 (20:51 +0800)]
esp32: update wifi lib to fix wifi crash bug

Fix a wifi crash bug which happens in throughput test

7 years agormt driver: When deleting, disable interrupt before freeing data structures
Angus Gratton [Thu, 8 Jun 2017 05:58:33 +0000 (15:58 +1000)]
rmt driver: When deleting, disable interrupt before freeing data structures

Fixes potential race if RMT interrupt happens while deregistering (unlikely
due to timing of taking semaphore tx_sem, but still possible.)

7 years agoi2c driver: When deleting, disable interrupts before freeing data structures
Angus Gratton [Thu, 8 Jun 2017 05:57:31 +0000 (15:57 +1000)]
i2c driver: When deleting, disable interrupts before freeing data structures

Fixes a potential race if I2C interrupt occurs while driver is being delted.

7 years agocomponent/bt: Fix crash problem while using invalid control parameter
island [Wed, 7 Jun 2017 12:06:49 +0000 (20:06 +0800)]
component/bt: Fix crash problem while using invalid control parameter

- Fix crash problem while using invalid control parameter to set gatt characteristic or descriptor

7 years agoMerge branch 'bugfix/btdm_task_yield' into 'master'
Jiang Jiang Jian [Wed, 7 Jun 2017 08:16:06 +0000 (16:16 +0800)]
Merge branch 'bugfix/btdm_task_yield' into 'master'

component/bt : fix bug of task schedule delayed.

See merge request !828

7 years agocomponent/bt : fix bug of task schedule delayed.
Tian Hao [Wed, 7 Jun 2017 06:58:17 +0000 (14:58 +0800)]
component/bt : fix bug of task schedule delayed.

1. BLE RX test mode require quick task reaction, so allow higher priority task schedule from ISR.
2. Maybe other scenario also require this.

7 years agoMerge branch 'bugfix/btdm_library' into 'master'
Jiang Jiang Jian [Wed, 7 Jun 2017 06:17:33 +0000 (14:17 +0800)]
Merge branch 'bugfix/btdm_library' into 'master'

component/bt : revert the bluetooth library

See merge request !827

7 years agoMerge branch 'feature/tw10091_add_sniffer_filter' into 'master'
Jiang Jiang Jian [Wed, 7 Jun 2017 05:55:35 +0000 (13:55 +0800)]
Merge branch 'feature/tw10091_add_sniffer_filter' into 'master'

esp32: add sniffer filter api

See merge request !790

7 years agocomponent/bt : revert the bluetooth library
Tian Hao [Wed, 7 Jun 2017 05:52:28 +0000 (13:52 +0800)]
component/bt : revert the bluetooth library

bluetooth library use a old one, so update to the newest.

7 years agoMerge branch 'feature/btdm_add_connect_event_and_disconnect_event_for_gattc' into...
Jiang Jiang Jian [Wed, 7 Jun 2017 05:45:43 +0000 (13:45 +0800)]
Merge branch 'feature/btdm_add_connect_event_and_disconnect_event_for_gattc' into 'master'

component/bt: Add disconnect & connect func and event

See merge request !806

7 years agoMerge branch 'bugfix/bt_ble_separation' into 'master'
Jiang Jiang Jian [Tue, 6 Jun 2017 12:56:05 +0000 (20:56 +0800)]
Merge branch 'bugfix/bt_ble_separation' into 'master'

component/bt: fix the build error when using classic BT, with GATTC, GATTS and SMP disabled

See merge request !822

7 years agoMerge branch 'bugfix/btdm_rebase_update_param_#9626' into 'master'
Jiang Jiang Jian [Tue, 6 Jun 2017 12:55:23 +0000 (20:55 +0800)]
Merge branch 'bugfix/btdm_rebase_update_param_#9626' into 'master'

component/bt: rebase the btdm_updata_param_bug_#9626 to the new master.

See merge request !808

7 years agoMerge branch 'bugfix/btdm_cherrypick_no_doc_for_value_type_github_#118659' into ...
Jiang Jiang Jian [Tue, 6 Jun 2017 12:53:31 +0000 (20:53 +0800)]
Merge branch 'bugfix/btdm_cherrypick_no_doc_for_value_type_github_#118659' into 'master'

component/bt: Cherry-pick the btdm_no_doc_for_value_type_github_#118659 to this …

See merge request !825

7 years agoesp32: add sniffer filter api
Liu Zhi Fu [Fri, 26 May 2017 06:11:16 +0000 (14:11 +0800)]
esp32: add sniffer filter api

Add sniffer filter to filter specified packets

7 years agocomponent/bt: rebase the btdm_updata_param_bug_#9626 to the new master.
Yulong [Fri, 2 Jun 2017 05:09:23 +0000 (01:09 -0400)]
component/bt: rebase the btdm_updata_param_bug_#9626 to the new master.

- Added the error code for the time out status.

7 years agocomponent/bt: Cherry-pick the btdm_no_doc_for_value_type_github_#118659 to this branc...
Yulong [Tue, 6 Jun 2017 09:22:17 +0000 (05:22 -0400)]
component/bt: Cherry-pick the btdm_no_doc_for_value_type_github_#118659 to this branch to avoid conflict.

7 years agocomponent/bt: Add disconnect & connect func and event
zhiweijian [Thu, 1 Jun 2017 07:56:36 +0000 (15:56 +0800)]
component/bt: Add disconnect & connect func and event
- Add disconnect func for gap
- Add connect event and disconnect event for gattc

7 years agoMerge branch 'bugfix/i2s_channel_setting' into 'master'
Angus Gratton [Tue, 6 Jun 2017 06:40:43 +0000 (14:40 +0800)]
Merge branch 'bugfix/i2s_channel_setting' into 'master'

bugfix(i2s): fix error when changing channel number in i2s_set_clk function

See merge request !784

7 years agoMerge branch 'feature/nghttp2_v1_22' into 'master'
Angus Gratton [Tue, 6 Jun 2017 06:38:41 +0000 (14:38 +0800)]
Merge branch 'feature/nghttp2_v1_22' into 'master'

nghttp module: Update to v1.22, use submodule instead of in-tree source

See merge request !763

7 years agoMerge branch 'bugfix/make_srcdirs_order' into 'master'
Angus Gratton [Tue, 6 Jun 2017 06:37:21 +0000 (14:37 +0800)]
Merge branch 'bugfix/make_srcdirs_order' into 'master'

build system: Fix bug where component src subdirs needed listing before parent source dirs

See merge request !778

7 years agoMerge branch 'feature/doc_note_about_component_search_order' into 'master'
Angus Gratton [Tue, 6 Jun 2017 06:36:33 +0000 (14:36 +0800)]
Merge branch 'feature/doc_note_about_component_search_order' into 'master'

Add a note about handling of same-named components in different component search paths

See merge request !788

7 years agoMerge branch 'bugfix/btdm_ble_scan_5min_stop_github_#12723' into 'master'
Jiang Jiang Jian [Tue, 6 Jun 2017 06:11:05 +0000 (14:11 +0800)]
Merge branch 'bugfix/btdm_ble_scan_5min_stop_github_#12723' into 'master'

component/bt: Change the duration type from UINT8 to UINT32

See merge request !815

7 years agoMerge branch 'bugfix/ut_crlf_fix' into 'master'
Ivan Grokhotkov [Tue, 6 Jun 2017 06:08:46 +0000 (14:08 +0800)]
Merge branch 'bugfix/ut_crlf_fix' into 'master'

unit-test-app: Fix incorrect CR+LF sequence

See merge request !816

7 years agoMerge branch 'bugfix/wdt_reset_info_for_cpu1_not_correct' into 'master'
Jiang Jiang Jian [Tue, 6 Jun 2017 06:02:41 +0000 (14:02 +0800)]
Merge branch 'bugfix/wdt_reset_info_for_cpu1_not_correct' into 'master'

bugfix:Fix bug that wdt reset information for CPU1 was not correct

See merge request !823

7 years agocomponent/bt: fix the build error when using classic BT, with GATTC, GATTS and SMP...
wangmengyang [Fri, 2 Jun 2017 12:43:03 +0000 (20:43 +0800)]
component/bt: fix the build error when using classic BT, with GATTC, GATTS and SMP disabled

7 years agobugfix:Fix bug that wdt reset information for CPU1 was not correct
jack [Mon, 5 Jun 2017 10:26:14 +0000 (18:26 +0800)]
bugfix:Fix bug that wdt reset information for CPU1 was not correct

7 years agofreertos: Fix crash when waking task on CPU1 with scheduler disabled
Angus Gratton [Mon, 5 Jun 2017 06:08:46 +0000 (16:08 +1000)]
freertos: Fix crash when waking task on CPU1 with scheduler disabled

xPendingReadyList[1] was never initialised correctly, so if a task is added to this list (ie by xSemaphoreGiveFromISR()
or similar) while scheduler is disabled, then it causes a null pointer dereference.

Bug produces stack traces similar to:
0x40086e87: vListInsertEnd at /home/gus/esp/32/idf/components/freertos/./list.c:130
0x40084ba3: xTaskRemoveFromEventList at /home/gus/esp/32/idf/components/freertos/./tasks.c:3439
0x40083c54: xQueueGiveFromISR at /home/gus/esp/32/idf/components/freertos/./queue.c:2034
0x400f50a0: timer_group0_isr at /home/gus/esp/32/idf/components/freertos/test/./test_suspend_scheduler.c:27
0x40081d7d: _xt_lowint1 at xtensa_vectors.o:?

7 years agofreertos: add test case for ISRs waking tasks when scheduler disabled
Angus Gratton [Mon, 5 Jun 2017 06:08:23 +0000 (16:08 +1000)]
freertos: add test case for ISRs waking tasks when scheduler disabled

7 years agoesp_event_send: check if the event loop is initialized
Ivan Grokhotkov [Mon, 5 Jun 2017 03:01:26 +0000 (11:01 +0800)]
esp_event_send: check if the event loop is initialized

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

7 years agounit-test-app: Fix incorrect CR+LF sequence.
Anton Maklakov [Mon, 5 Jun 2017 02:43:13 +0000 (10:43 +0800)]
unit-test-app: Fix incorrect CR+LF sequence.

This caused problems with handling output by grep, sed, etc

7 years agotest: add NVS compatible test case and CI job
He Yin Ling [Fri, 2 Jun 2017 07:03:56 +0000 (15:03 +0800)]
test: add NVS compatible test case and CI job

7 years agoMerge branch 'bugfix/duplicate_unit_test_case_id' into 'master'
Ivan Grokhotkov [Sat, 3 Jun 2017 16:51:12 +0000 (00:51 +0800)]
Merge branch 'bugfix/duplicate_unit_test_case_id' into 'master'

CI: fix bug that generates duplicate unit test case ID

See merge request !813

7 years agocomponent/bt: Change the duration type from UINT8 to UINT32
Yulong [Sat, 3 Jun 2017 05:00:10 +0000 (01:00 -0400)]
component/bt: Change the duration type from UINT8 to UINT32

7 years agoCI: add one more UT runner
He Yin Ling [Sat, 3 Jun 2017 01:56:13 +0000 (09:56 +0800)]
CI: add one more UT runner

7 years agoCI: fix bug of duplicated unit test case ID:
He Yin Ling [Sat, 3 Jun 2017 01:34:53 +0000 (09:34 +0800)]
CI: fix bug of duplicated unit test case ID:

need to compare if different file names has the same hash value.
use relative path to IDF to keep test case ID consist.

7 years agoMerge branch 'bugfix/add_dport_protect_in_libphy' into 'master'
Jiang Jiang Jian [Fri, 2 Jun 2017 11:13:18 +0000 (19:13 +0800)]
Merge branch 'bugfix/add_dport_protect_in_libphy' into 'master'

Add dport protect in libphy.a

See merge request !803

7 years agoMerge branch 'bugfix/tw12798_dhcp_server_crash' into 'master'
Jiang Jiang Jian [Fri, 2 Jun 2017 11:09:43 +0000 (19:09 +0800)]
Merge branch 'bugfix/tw12798_dhcp_server_crash' into 'master'

lwip: fix dhcp server crash issue

See merge request !797

7 years agoMerge branch 'bugfix/btdm_bit_against_enums_github_#12289' into 'master'
Jiang Jiang Jian [Fri, 2 Jun 2017 07:41:01 +0000 (15:41 +0800)]
Merge branch 'bugfix/btdm_bit_against_enums_github_#12289' into 'master'

component/bt: Change the esp_gatt_perm_t & esp_gatt_char_prop_t type from enum t…

See merge request !809

7 years agolwip: fix dhcp server crash issue
Liu Zhi Fu [Wed, 31 May 2017 06:48:21 +0000 (14:48 +0800)]
lwip: fix dhcp server crash issue

Fix long dhcp request packet cause dhcp server crash issue

7 years agoMerge branch 'bugfix/btdm_add_open_and_close_event_for_gatts' into 'master'
Jiang Jiang Jian [Fri, 2 Jun 2017 05:53:03 +0000 (13:53 +0800)]
Merge branch 'bugfix/btdm_add_open_and_close_event_for_gatts' into 'master'

component/bt: add open and close event for gatts

See merge request !786

7 years agocomponent/bt: Change the esp_gatt_perm_t & esp_gatt_char_prop_t type from enum to...
Yulong [Fri, 2 Jun 2017 05:48:56 +0000 (01:48 -0400)]
component/bt: Change the esp_gatt_perm_t & esp_gatt_char_prop_t type from enum to uint16_t & uint8_t.

7 years agoMerge branch 'example/smartconfig' into 'master'
Jiang Jiang Jian [Fri, 2 Jun 2017 05:11:12 +0000 (13:11 +0800)]
Merge branch 'example/smartconfig' into 'master'

feat: add smartconfig example

See merge request !716

7 years agoAdd dport protect in libphy.a
XiaXiaotian [Wed, 31 May 2017 12:46:02 +0000 (20:46 +0800)]
Add dport protect in libphy.a

7 years agoMerge branch 'bugfix/tw12174_connect_ap_fail' into 'master'
Jiang Jiang Jian [Thu, 1 Jun 2017 11:40:02 +0000 (19:40 +0800)]
Merge branch 'bugfix/tw12174_connect_ap_fail' into 'master'

Fix the bug that station fails to connect to AP sometimes.

See merge request !802

7 years agocomponent/bt: add open and close event for gatts
zhiweijian [Thu, 1 Jun 2017 06:16:24 +0000 (14:16 +0800)]
component/bt: add open and close event for gatts
1.added open event and close event for gatts.
2.used esp_log_buffer_char/hex for gattc scan result.

7 years agoMerge branch 'bugfix/ut_inverse_filter' into 'master'
Anton Maklakov [Thu, 1 Jun 2017 06:26:36 +0000 (14:26 +0800)]
Merge branch 'bugfix/ut_inverse_filter' into 'master'

unit-test-app: Fix capability to use !<filter> to inverse that filter

See merge request !805

7 years agounit-test-app: Fix capability to use !<filter> to inverse that filter
Anton Maklakov [Thu, 1 Jun 2017 04:11:45 +0000 (12:11 +0800)]
unit-test-app: Fix capability to use !<filter> to inverse that filter

7 years agoMerge branch 'bugfix/wrong_merge_of_MR773' into 'master'
Jiang Jiang Jian [Wed, 31 May 2017 12:39:59 +0000 (20:39 +0800)]
Merge branch 'bugfix/wrong_merge_of_MR773' into 'master'

fix bug that files missing commit in MR 773

See merge request !801