]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoci: temp disable http client tests:
He Yin Ling [Fri, 27 Jul 2018 11:45:12 +0000 (19:45 +0800)]
ci: temp disable http client tests:

connection is not stable. need to replace with local test servers.

6 years agotiny-test-fw: support ignore test cases in CI assign test stage
He Yin Ling [Thu, 26 Jul 2018 07:18:52 +0000 (15:18 +0800)]
tiny-test-fw: support ignore test cases in CI assign test stage

6 years agotiny-test-fw: fix exception during print debug info:
He Yin Ling [Thu, 26 Jul 2018 13:17:06 +0000 (21:17 +0800)]
tiny-test-fw: fix exception during print debug info:

DUT log is unicode, might not be able to encode

6 years agoCI: erase nvs partition before test:
He Yin Ling [Thu, 26 Jul 2018 07:07:32 +0000 (15:07 +0800)]
CI: erase nvs partition before test:

Latest NVS partition bin can't be parsed by old IDF revision. Need to erase before test.

6 years agoesp32/test: set 60s timeout for one deep sleep case
He Yin Ling [Thu, 21 Jun 2018 11:58:24 +0000 (19:58 +0800)]
esp32/test: set 60s timeout for one deep sleep case

6 years agotiny-test-fw: save DUT log in different thread:
He Yin Ling [Thu, 21 Jun 2018 09:11:32 +0000 (17:11 +0800)]
tiny-test-fw: save DUT log in different thread:

We found some SD card on Raspberry Pi could have very bad performance.
It could take seconds to save small amount of data.
If the DUT receives data and save it as log, then it stops receiving data until log is saved.
This could lead to expect timeout. As an workaround to this issue,
``BaseDUT`` class will create a thread to save logs.
Then data will be passed to ``expect`` as soon as received.

6 years agotiny-test-fw: fix incorrect wait timeout in expect
He Yin Ling [Thu, 21 Jun 2018 08:38:46 +0000 (16:38 +0800)]
tiny-test-fw: fix incorrect wait timeout in expect

6 years agotiny-test-fw: filter examples with test level
He Yin Ling [Fri, 15 Jun 2018 09:45:24 +0000 (17:45 +0800)]
tiny-test-fw: filter examples with test level

6 years agotiny-test-fw: print expect failure when test fails
He Yin Ling [Fri, 15 Jun 2018 09:33:39 +0000 (17:33 +0800)]
tiny-test-fw: print expect failure when test fails

6 years agoCI: add stage `host_test`:
He Yin Ling [Mon, 25 Jun 2018 02:33:59 +0000 (10:33 +0800)]
CI: add stage `host_test`:

1. Add `host_test` stage for test jobs running on host.
2. Rename stage `test` to `integration_test`.

6 years agoCI: minor optimize of CI config file:
He Yin Ling [Sun, 24 Jun 2018 06:11:57 +0000 (14:11 +0800)]
CI: minor optimize of CI config file:

1. set shorter expire time for artifacts
2. set dependency for example test jobs, to limit the artifacts it downloads

6 years agoCI: remove test report stage:
He Yin Ling [Sun, 24 Jun 2018 05:58:27 +0000 (13:58 +0800)]
CI: remove test report stage:

Test report is not used as expected:

1. we rarely download and use test report
2. current test report method doesn't handle large amount data well,
   need to be replaced by other methods

Test report also make test jobs allow to fail. It breaks the
original flow of Gitlab CI and make user confused.

6 years agotest: add mesh basic function test cases
He Yin Ling [Sat, 28 Apr 2018 09:17:05 +0000 (17:17 +0800)]
test: add mesh basic function test cases

6 years agoMerge branch 'feature/wifi_check_wifi_lib_git_commit_id_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 26 Jul 2018 06:24:52 +0000 (14:24 +0800)]
Merge branch 'feature/wifi_check_wifi_lib_git_commit_id_v3.1' into 'release/v3.1'

check WiFi library git commit id in unit test (backport v3.1)

See merge request idf/esp-idf!2785

6 years agoMerge branch 'bugfix/fix_pcnt_isr_service_register_bug_for_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 26 Jul 2018 00:35:18 +0000 (08:35 +0800)]
Merge branch 'bugfix/fix_pcnt_isr_service_register_bug_for_v3.1' into 'release/v3.1'

driver(pcnt):  Add some comments in pcnt.h for v3.1

See merge request idf/esp-idf!2845

6 years agoMerge branch 'bugfix/fix_touchpad_wakeup_status_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 26 Jul 2018 00:34:55 +0000 (08:34 +0800)]
Merge branch 'bugfix/fix_touchpad_wakeup_status_v3.1' into 'release/v3.1'

fix(sleep): swap touchpad num in wakeup status v3.1

See merge request idf/esp-idf!2848

6 years agoMerge branch 'bugfix/ledc_duty_and_freq_for_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 26 Jul 2018 00:08:12 +0000 (08:08 +0800)]
Merge branch 'bugfix/ledc_duty_and_freq_for_v3.1' into 'release/v3.1'

driver(ledc):  fix bugs reported from unit-test and github for v3.1

See merge request idf/esp-idf!2843

6 years agoMerge branch 'bugfix/secure_boot_padding_v3_1' into 'release/v3.1'
Angus Gratton [Wed, 25 Jul 2018 00:59:31 +0000 (08:59 +0800)]
Merge branch 'bugfix/secure_boot_padding_v3_1' into 'release/v3.1'

secure boot: Fix padding issue (backport v3.1)

See merge request idf/esp-idf!2833

6 years agoMerge branch 'bugfix/bootloader_dev_zero_app_count_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Tue, 24 Jul 2018 16:14:43 +0000 (00:14 +0800)]
Merge branch 'bugfix/bootloader_dev_zero_app_count_v3.1' into 'release/v3.1'

bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry (backport  v3.1)

See merge request idf/esp-idf!2847

6 years agofix(sleep): swap touchpad num in wakeup status
fuzhibo [Thu, 5 Jul 2018 06:37:37 +0000 (14:37 +0800)]
fix(sleep): swap touchpad num in wakeup status

6 years agoMerge branch 'bugfix/fix_uart_timeout_bug_when_enable_reftick_v3.1' into 'release...
Wang Jia Lin [Tue, 24 Jul 2018 09:55:55 +0000 (17:55 +0800)]
Merge branch 'bugfix/fix_uart_timeout_bug_when_enable_reftick_v3.1' into 'release/v3.1'

driver(uart): Fix uart time_out bug when using ref_tick for releasev3.1

See merge request idf/esp-idf!2810

6 years agobootloader: Fix issue - bs->app_count is zero but ota_data have valid entry
Konstantin Kondrashov [Tue, 24 Jul 2018 05:09:32 +0000 (13:09 +0800)]
bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry

If we have the partition table without any ota_apps but in ota_data have
valide entry, in this case we get an error(hang). This commit fix this
case. If bs->app_count is zero when selecting the factory app.

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

6 years agoMerge branch 'bugfix/deep_sleep_flush_uart_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 24 Jul 2018 06:06:59 +0000 (14:06 +0800)]
Merge branch 'bugfix/deep_sleep_flush_uart_v3.1' into 'release/v3.1'

sleep: fix flushing UARTs when entering deep sleep (backport v3.1)

See merge request idf/esp-idf!2816

6 years agobugfix(ledc): fix bugs reported from unit-test and github.
Wangjialin [Mon, 9 Jul 2018 17:25:31 +0000 (01:25 +0800)]
bugfix(ledc): fix bugs reported from unit-test and github.

1. In ledc_set_duty_and_update, return if duty updated. Close https://github.com/espressif/esp-idf/issues/2082
2. fix ledc_set_freq function for low speed mode.

6 years agoAdd some comments in pcnt.h.
kooho [Fri, 25 May 2018 07:37:20 +0000 (15:37 +0800)]
Add some comments in pcnt.h.

6 years agodriver(uart): Fix uart time_out bug when using ref_tick for releasev3.1
hou wen xiang [Fri, 13 Jul 2018 13:55:54 +0000 (21:55 +0800)]
driver(uart): Fix uart time_out bug when using ref_tick for releasev3.1

6 years agocheck WiFi library git commit id in unit test
XiaXiaotian [Tue, 26 Jun 2018 06:56:58 +0000 (14:56 +0800)]
check WiFi library git commit id in unit test

6 years agoMerge branch 'bugfix/beacon_info_do_not_update_after_user_scan_v3.1' into 'release...
Jiang Jiang Jian [Mon, 23 Jul 2018 12:02:24 +0000 (20:02 +0800)]
Merge branch 'bugfix/beacon_info_do_not_update_after_user_scan_v3.1' into 'release/v3.1'

Wifi: bugfix of beacon info don't update after user scan (backport v3.1)

See merge request idf/esp-idf!2780

6 years agoMerge branch 'feature/nvs_part_gen_improvements_backportv3.1' into 'release/v3.1'
Ivan Grokhotkov [Mon, 23 Jul 2018 05:30:19 +0000 (13:30 +0800)]
Merge branch 'feature/nvs_part_gen_improvements_backportv3.1' into 'release/v3.1'

Feature/nvs part gen improvements (backport v3.1)

See merge request idf/esp-idf!2799

6 years agoapp_update: Don't double-verify secure boot signature during OTA
Angus Gratton [Mon, 16 Jul 2018 06:38:08 +0000 (16:38 +1000)]
app_update: Don't double-verify secure boot signature during OTA

esp_image_load() already verifies the signature

6 years agosecure boot: Pad to avoid data after the signature mapping into the address space
Angus Gratton [Fri, 13 Jul 2018 01:52:57 +0000 (11:52 +1000)]
secure boot: Pad to avoid data after the signature mapping into the address space

Because address space is mapped in 64KB pages, it was possible for unauthenticated data after the
app .bin to become mapped into the flash cache address space.

This problem is solved by 2 changes:

* "esptool elf2image --secure-pad" will pad the image so that the signature block ends close to the
  64KB boundary. Due to alignment constraints it will be 12 bytes too short after signing (but
  with flash encryption, these 12 bytes are still encrypted as part of the last block and can't be
  arbitrarily changed).
* By default, secure boot now requires all app partitions to be a multiple of 64KB in size.

6 years agoWifi: bugfix of beacon info don't update after user scan
Deng Xin [Wed, 11 Jul 2018 08:38:33 +0000 (16:38 +0800)]
Wifi: bugfix of beacon info don't update after user scan

6 years agoMerge branch 'bugfix/clear_intr_status_when_enable_intr_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 21 Jul 2018 06:36:37 +0000 (14:36 +0800)]
Merge branch 'bugfix/clear_intr_status_when_enable_intr_v3.1' into 'release/v3.1'

driver(gpio): fix the gpio interrupt false triggering issue(backport v3.1)

See merge request idf/esp-idf!2806

6 years agoMerge branch 'bugfix/rmt_mem_num_maximum_limit_is_not_accurate_v3.1' into 'release...
Jiang Jiang Jian [Sat, 21 Jul 2018 06:25:38 +0000 (14:25 +0800)]
Merge branch 'bugfix/rmt_mem_num_maximum_limit_is_not_accurate_v3.1' into 'release/v3.1'

bugfix(rmt): Modify the rmt_mem_num maximum limit value from 15 to 8.(backport v3.1)

See merge request idf/esp-idf!2808

6 years agoMerge branch 'bugfix/secure_boot_regression_partitions_v3_1' into 'release/v3.1'
Angus Gratton [Fri, 20 Jul 2018 01:12:20 +0000 (09:12 +0800)]
Merge branch 'bugfix/secure_boot_regression_partitions_v3_1' into 'release/v3.1'

Fix secure boot & flash encryption regression, don't verify partitions as part of secure boot (backport)

See merge request idf/esp-idf!2779

6 years agosleep: fix flushing UARTs when entering deep sleep
Ivan Grokhotkov [Wed, 4 Jul 2018 04:11:07 +0000 (12:11 +0800)]
sleep: fix flushing UARTs when entering deep sleep

Since 94250e42a0, UART output is suspended when entering sleep mode
(deep or light sleep). This makes sense for light sleep, where sleep
normally takes small amount of time, and flushing the UART would add
a lot of latency. But this breaks existing behaviour for deep sleep,
where UART output was previously sent out before entering sleep mode.

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

6 years agoModify the rmt_mem_num maximum limit value from 15 to 8.
XiongYu [Mon, 9 Jul 2018 11:22:31 +0000 (19:22 +0800)]
Modify the rmt_mem_num maximum limit value from 15 to 8.

6 years agodriver(gpio) : Fixed the gpio related bug for release v3.1.
hou wen xiang [Mon, 4 Jun 2018 02:34:23 +0000 (10:34 +0800)]
driver(gpio) : Fixed the gpio related bug for release v3.1.

6 years agonvs_partition_generator: Add support for base64 representation of Binary data
Piyush Shah [Thu, 14 Jun 2018 10:57:37 +0000 (16:27 +0530)]
nvs_partition_generator: Add support for base64 representation of Binary data

6 years agonvs_partition_generator: Modifications to enable using the utility as a Python library
Piyush Shah [Thu, 14 Jun 2018 10:37:26 +0000 (16:07 +0530)]
nvs_partition_generator: Modifications to enable using the utility as a Python library

And also use directly as an executable

6 years agoMerge branch 'bugfix/mdns_remove_backport' into 'release/v3.1'
Jiang Jiang Jian [Tue, 17 Jul 2018 12:50:34 +0000 (20:50 +0800)]
Merge branch 'bugfix/mdns_remove_backport' into 'release/v3.1'

mdns: Minor fix for mdns_service_remove (backport v3.1)

See merge request idf/esp-idf!2784

6 years agoMerge branch 'bugfix/autoip_compilation_backportv3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 17 Jul 2018 12:49:31 +0000 (20:49 +0800)]
Merge branch 'bugfix/autoip_compilation_backportv3.1' into 'release/v3.1'

LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL(backport v3.1)

See merge request idf/esp-idf!2787

6 years agoMerge branch 'bugfix/bt_os_abstraction_layer_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Tue, 17 Jul 2018 10:53:01 +0000 (18:53 +0800)]
Merge branch 'bugfix/bt_os_abstraction_layer_v3.1' into 'release/v3.1'

bt: fix OS abstraction layer for correct critical section API usage (backport v3.1)

See merge request idf/esp-idf!2713

6 years agoMerge branch 'bugfix/gcc8_complation_errors_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 17 Jul 2018 06:13:28 +0000 (14:13 +0800)]
Merge branch 'bugfix/gcc8_complation_errors_v3.1' into 'release/v3.1'

gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 (backport v3.1)

See merge request idf/esp-idf!2777

6 years agoMerge branch 'bugfix/minor_fix_about_ip_route' into 'release/v3.1'
Jiang Jiang Jian [Tue, 17 Jul 2018 06:12:22 +0000 (14:12 +0800)]
Merge branch 'bugfix/minor_fix_about_ip_route' into 'release/v3.1'

lwip: minor fix about ip route

See merge request idf/esp-idf!2782

6 years agoLWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
Piyush Shah [Thu, 12 Jul 2018 09:48:51 +0000 (15:18 +0530)]
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()

6 years agomdns: Minor fix for mdns_service_remove()
Piyush Shah [Thu, 12 Jul 2018 13:45:02 +0000 (19:15 +0530)]
mdns: Minor fix for mdns_service_remove()

Send the Goodbye packet while removing an mDNS service as an "Authoritative" packet so
that the listeners remove the service from their records immediately.

6 years agolwip: minor fix about ip route
Liu Zhi Fu [Mon, 16 Jul 2018 09:18:23 +0000 (17:18 +0800)]
lwip: minor fix about ip route

Minor fix about ip4_route_src_hook()

6 years agoMerge branch 'bugfix/tw23835_add_source_ip_route_for_unicast_v3.1' into 'release...
Jiang Jiang Jian [Mon, 16 Jul 2018 09:01:31 +0000 (17:01 +0800)]
Merge branch 'bugfix/tw23835_add_source_ip_route_for_unicast_v3.1' into 'release/v3.1'

lwip: add source ip based route for unicast packet (backport v3.1)

See merge request idf/esp-idf!2773

6 years agobootloader: Fix warning building reflashable Secure Boot image
Angus Gratton [Fri, 13 Jul 2018 05:24:11 +0000 (15:24 +1000)]
bootloader: Fix warning building reflashable Secure Boot image

6 years agobootloader: Don't verify Partition Table as part of Secure Boot
Angus Gratton [Fri, 13 Jul 2018 05:23:04 +0000 (15:23 +1000)]
bootloader: Don't verify Partition Table as part of Secure Boot

Partition Tables are still signed for backwards compatibility, but signature is no longer checked as
part of bootloader.

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

6 years agobootloader: Fix secure boot & flash encryption functionality
Angus Gratton [Fri, 13 Jul 2018 05:21:07 +0000 (15:21 +1000)]
bootloader: Fix secure boot & flash encryption functionality

Fixes regression in 3e0ac4db79.

6 years agogcc8_newlib3: Compilation warnings and errors not specific to newlib v3
Alexey Gerenkov [Thu, 14 Jun 2018 16:11:21 +0000 (19:11 +0300)]
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3

6 years agolwip: add source ip based route for unicast packet
Liu Zhi Fu [Thu, 12 Jul 2018 08:49:22 +0000 (16:49 +0800)]
lwip: add source ip based route for unicast packet

Add source IP based route for unicast packets forwarding.

6 years agoMerge branch 'bugfix/btdm_err_data_report_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 13 Jul 2018 11:16:42 +0000 (19:16 +0800)]
Merge branch 'bugfix/btdm_err_data_report_for_v3.1' into 'release/v3.1'

bugfix/btdm_err_data_report_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2751

6 years agobt: fix OS abstraction layer for correct critical section API usage
Mahavir Jain [Sun, 1 Jul 2018 13:35:00 +0000 (19:05 +0530)]
bt: fix OS abstraction layer for correct critical section API usage

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/xthal_get_interrupt_volatile_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Thu, 12 Jul 2018 09:18:06 +0000 (17:18 +0800)]
Merge branch 'bugfix/xthal_get_interrupt_volatile_v3.1' into 'release/v3.1'

xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile (backport v3.1)

See merge request idf/esp-idf!2712

6 years agocomponent/bt: bugfix for erroneous data reporting always enabled
wangmengyang [Thu, 5 Jul 2018 07:22:44 +0000 (15:22 +0800)]
component/bt: bugfix for erroneous data reporting always enabled

6 years agoMerge branch 'bugfix/btdm_invalid_sco_handle_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 11 Jul 2018 10:23:47 +0000 (18:23 +0800)]
Merge branch 'bugfix/btdm_invalid_sco_handle_for_v3.1' into 'release/v3.1'

bugfix/btdm_invalid_sco_handle_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2727

6 years agoMerge branch 'bugfix/rom_libgcc_functions_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 11 Jul 2018 08:45:39 +0000 (16:45 +0800)]
Merge branch 'bugfix/rom_libgcc_functions_v3.1' into 'release/v3.1'

Fix linking of libgcc math functions to ROM (backport v3.1)

See merge request idf/esp-idf!2711

6 years agoMerge branch 'doc/eclipse_setup_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 11 Jul 2018 06:31:31 +0000 (14:31 +0800)]
Merge branch 'doc/eclipse_setup_v3.1' into 'release/v3.1'

doc: eclipse setup (v3.1 backport)

See merge request idf/esp-idf!2679

6 years agoMerge branch 'bugfix/disable_lwip_trust_ip_by_default_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 10 Jul 2018 06:42:54 +0000 (14:42 +0800)]
Merge branch 'bugfix/disable_lwip_trust_ip_by_default_v3.1' into 'release/v3.1'

lwip: disable ETHARP_TRUST_IP_MAC by default (backport v3.1)

See merge request idf/esp-idf!2720

6 years agoMerge branch 'bugfix/tw23667_tcp_pcb_purge_assert_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 10 Jul 2018 06:42:47 +0000 (14:42 +0800)]
Merge branch 'bugfix/tw23667_tcp_pcb_purge_assert_v3.1' into 'release/v3.1'

lwip: fix the assertion in tcp_pcb_purge() (backport v3.1)

See merge request idf/esp-idf!2722

6 years agoMerge branch 'bugfix/wifi_channel_state_information_data_type_v3.1' into 'release...
Jiang Jiang Jian [Tue, 10 Jul 2018 02:02:58 +0000 (10:02 +0800)]
Merge branch 'bugfix/wifi_channel_state_information_data_type_v3.1' into 'release/v3.1'

esp32: Change channel state information(CSI) data type from unsigned char to singed char (backport v3.1)

See merge request idf/esp-idf!2697

6 years agocomponent/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event
wangmengyang [Thu, 5 Jul 2018 04:00:41 +0000 (12:00 +0800)]
component/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event

6 years agolwip: fix the assertion in tcp_pcb_purge()
Liu Zhi Fu [Fri, 29 Jun 2018 05:40:20 +0000 (13:40 +0800)]
lwip: fix the assertion in tcp_pcb_purge()

Fix the assertion in tcp_pcb_purge().

6 years agolwip: disable ETHARP_TRUST_IP_MAC by default
Liu Zhi Fu [Fri, 29 Jun 2018 02:04:55 +0000 (10:04 +0800)]
lwip: disable ETHARP_TRUST_IP_MAC by default

Disable ETHARP_TRUST_IP_MAC by default because:
1. The LAN peer may not be trustful
2. The LAN peer may has problem to update its ARP entry

6 years agoxtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile
Ivan Grokhotkov [Mon, 2 Jul 2018 03:31:19 +0000 (11:31 +0800)]
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile

INTERRUPT and CCOUNT registers will change outside of program control.
Making the inline assembly used to read these registers volatile
indicates this fact to the compiler.

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

6 years agoesp32: force pure math functions from libgcc to be linked from ROM
Ivan Grokhotkov [Thu, 28 Jun 2018 04:48:31 +0000 (12:48 +0800)]
esp32: force pure math functions from libgcc to be linked from ROM

6 years agoesp32: fix addresses of some libgcc functions in ROM ld script
Ivan Grokhotkov [Thu, 28 Jun 2018 04:25:26 +0000 (12:25 +0800)]
esp32: fix addresses of some libgcc functions in ROM ld script

6 years agoMerge branch 'bugfix/console_performance' into 'release/v3.1'
Angus Gratton [Thu, 5 Jul 2018 03:42:00 +0000 (11:42 +0800)]
Merge branch 'bugfix/console_performance' into 'release/v3.1'

idf_monitor: Fix console performance

See merge request idf/esp-idf!2687

6 years agoesp32: Change channel state information(CSI) data type from unsigned char to singed...
Xia Xiaotian [Wed, 4 Jul 2018 03:47:57 +0000 (11:47 +0800)]
esp32: Change channel state information(CSI) data type from unsigned char to singed char

6 years agoidf_monitor: Fix console performance
Roland Dobai [Mon, 18 Jun 2018 10:49:04 +0000 (12:49 +0200)]
idf_monitor: Fix console performance

https://github.com/espressif/esp-idf/commit/51e42d8e925a20011bb7105da8cc3194d6940a6f
introduced filtering options which handles the last (unterminated) line
with a delay. This introduced poor performance for console applications
when the user interacts with the ESP32 device in the same line because
there is an artificial delay for each key-press.

https://github.com/espressif/esp-idf/commit/bb152030a0057c5a9a048782f917c4fa9d7b770e
decreased the delay but there are still delays for each key-presses.

The current fix makes only one delay per line instead of each
key-presses. When an unterminated line is detected then no more
"delayed" print is used for the given line.

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

6 years agodoc: Clarify some Eclipse setup steps
Angus Gratton [Tue, 26 Jun 2018 02:45:54 +0000 (12:45 +1000)]
doc: Clarify some Eclipse setup steps

6 years agoMerge branch 'docs/eclipse_regex' into 'master'
Angus Gratton [Mon, 2 Jul 2018 01:18:26 +0000 (09:18 +0800)]
Merge branch 'docs/eclipse_regex' into 'master'

Docs: Fix bugs in Eclipse setup in CN

See merge request idf/esp-idf!2620

6 years agoMerge branch 'bugfix/coex_bug_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 2 Jul 2018 01:40:45 +0000 (09:40 +0800)]
Merge branch 'bugfix/coex_bug_v3.1' into 'release/v3.1'

esp32: fix coex bug(Backport v3.1)

See merge request idf/esp-idf!2675

6 years ago esp32: fix coex bug
Tian Hao [Sun, 24 Jun 2018 08:38:05 +0000 (16:38 +0800)]
esp32: fix coex bug

    1. fix BLE connection missing in coex mode
    2. modify other parameters to make coex priority more reasonable
    3. fix modem sleep procedure trap cause Wifi disable RF when BT is
    working. Such cause that BR/EDR is difficult to be connected, BLE
    connection stability decrease and so on.
    4. modify BR/EDR coexist duration to imrove BR/EDR connect success
    ratio.
    5. Due to the hardware coexist bug, BLE scan interval/window should
    be less than 0x100(about 160ms). Therefore, it will cause BLE cannot
    scan any advertising packet while WiFi have higher priority
    behaviour(such like RX beacon, scan, TX/RX VO packets and etc.).

6 years agoMerge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 30 Jun 2018 03:30:59 +0000 (11:30 +0800)]
Merge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg_v3.1' into 'release/v3.1'

Component/bt: fix register multi service change when register multi gattc for v3.1

See merge request idf/esp-idf!2668

6 years agoMerge branch 'bugfix/btdm_bad_pointer_of_bt_gap_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 14:16:15 +0000 (22:16 +0800)]
Merge branch 'bugfix/btdm_bad_pointer_of_bt_gap_v3.1' into 'release/v3.1'

component/bt: Fix some bad point calculations of BT GAP of v3.1

See merge request idf/esp-idf!2669

6 years agoMerge branch 'bugfix/btdm_bt_remove_device_disconnect_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 14:15:53 +0000 (22:15 +0800)]
Merge branch 'bugfix/btdm_bt_remove_device_disconnect_v3.1' into 'release/v3.1'

component/bt: Fix bug of BT and BLE remove bond device of v3.1

See merge request idf/esp-idf!2670

6 years agocomponent/bt: Fix bug of BT and BLE remove bond device of v3.1
baohongde [Fri, 29 Jun 2018 12:09:19 +0000 (20:09 +0800)]
component/bt: Fix bug of BT and BLE remove bond device of v3.1

1. esp_ble_remove_bond_device will only remove BLE bond key and disconnect BLE device.
2. esp_bt_gap_remove_bond_device  will only remove BT bond key and disconnect BT device.

A cherry-pick of MR !2562

6 years agocomponent/bt: Fix some bad point calculations of BT GAP of v3.1
baohongde [Fri, 29 Jun 2018 12:01:51 +0000 (20:01 +0800)]
component/bt: Fix some bad point calculations of BT GAP of v3.1

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

A cherry-pick of MR !2655

6 years agoComponent/bt: fix register multi service change when register multi gattc
zhiweijian [Tue, 26 Jun 2018 08:39:30 +0000 (16:39 +0800)]
Component/bt: fix register multi service change when register multi gattc

6 years agoMerge branch 'bugfix/esp_err_name_idf_path_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:23:49 +0000 (19:23 +0800)]
Merge branch 'bugfix/esp_err_name_idf_path_v3.1' into 'release/v3.1'

docs: fix error code reference build issue (v3.1)

See merge request idf/esp-idf!2607

6 years agoMerge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:22:28 +0000 (19:22 +0800)]
Merge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'

component/bt: fix stop adv error in dual core for v3.1

See merge request idf/esp-idf!2661

6 years agoMerge branch 'bugfix/assert_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:20:35 +0000 (19:20 +0800)]
Merge branch 'bugfix/assert_v3.1' into 'release/v3.1'

assert: Fix. Move useful functions from wrapped assert functions (v3.1)

See merge request idf/esp-idf!2605

6 years agoMerge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:18:15 +0000 (19:18 +0800)]
Merge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'

bt : fix read rssi conflict when in dual mode

See merge request idf/esp-idf!2618

6 years agoMerge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request_v3.1' into...
Jiang Jiang Jian [Fri, 29 Jun 2018 11:15:03 +0000 (19:15 +0800)]
Merge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request_v3.1' into 'release/v3.1'

component/bt: Fix bug: Respond with the Error Response when receiving a request…

See merge request idf/esp-idf!2662

6 years agoMerge branch 'bugfix/btdm_some_ble_hid_bugs_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:14:41 +0000 (19:14 +0800)]
Merge branch 'bugfix/btdm_some_ble_hid_bugs_v3.1' into 'release/v3.1'

component/bt: Fix some hid bugs of v3.1

See merge request idf/esp-idf!2663

6 years agoMerge branch 'bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 10:45:47 +0000 (18:45 +0800)]
Merge branch 'bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1' into 'release/v3.1'

bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2660

6 years agoMerge branch 'bugfix/btdm_rm_assert_in_isr_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 10:45:30 +0000 (18:45 +0800)]
Merge branch 'bugfix/btdm_rm_assert_in_isr_for_v3.1' into 'release/v3.1'

bugfix/btdm_rm_assert_in_isr_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2659

6 years agoMerge branch 'bugfix/btdm_singular_sleep_time_corr_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 10:44:20 +0000 (18:44 +0800)]
Merge branch 'bugfix/btdm_singular_sleep_time_corr_for_v3.1' into 'release/v3.1'

bugfix/btdm_singular_sleep_time_correction_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2658

6 years agocomponent/bt: Fix some hid bugs of v3.1
baohongde [Fri, 29 Jun 2018 07:42:46 +0000 (15:42 +0800)]
component/bt: Fix some hid bugs of v3.1

1. Property of HID Information is Read
2. Property of HID Control Point is WriteWithoutResponse

A cherry-pick of MR !2628

6 years agocomponent/bt: Fix bug: Respond with the Error Response when receiving a request that...
baohongde [Fri, 29 Jun 2018 07:19:19 +0000 (15:19 +0800)]
component/bt: Fix bug: Respond with the Error Response when receiving a request that it does not support into v3.1

A cherry-pick of MR !2591

6 years agoMerge branch 'feature/optimize_wifi_memory_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 07:13:00 +0000 (15:13 +0800)]
Merge branch 'feature/optimize_wifi_memory_v3.1' into 'release/v3.1'

Optimize WiFi memory (backport v3.1)

See merge request idf/esp-idf!2651

6 years agocomponent/bt: fix stop adv error in dual core
zwj [Fri, 15 Jun 2018 08:25:35 +0000 (16:25 +0800)]
component/bt: fix stop adv error in dual core

6 years agoMerge branch 'bugfix/btdm_fix_no_adv_packet_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 06:59:10 +0000 (14:59 +0800)]
Merge branch 'bugfix/btdm_fix_no_adv_packet_v3.1' into 'release/v3.1'

component/bt: fix no adv packets for v3.1

See merge request idf/esp-idf!2653

6 years agoprevent Dynamic Frequency Scaling when using bluetooth modem sleep
wangmengyang [Thu, 28 Jun 2018 10:08:18 +0000 (18:08 +0800)]
prevent Dynamic Frequency Scaling when using bluetooth modem sleep

This constraint will be elimiated after the issue is fixed

6 years agocomponent/bt: remove the call of assert in time conversion functions which can be...
wangmengyang [Wed, 27 Jun 2018 09:23:23 +0000 (17:23 +0800)]
component/bt: remove the call of assert in time conversion functions which can be caused in ISR

6 years agocomponent/bt: fix the cornered case caused by singular finetime correction value...
wangmengyang [Wed, 27 Jun 2018 11:00:20 +0000 (19:00 +0800)]
component/bt: fix the cornered case caused by singular finetime correction value upon waking up from sleep

1. revert previous changes that adds 1-slot margin for first master Tx event, since this bugfix can handle that case