]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'feature/wifi_add_internal_api_to_set_fix_rate' into 'master'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:50:15 +0000 (14:50 +0800)]
Merge branch 'feature/wifi_add_internal_api_to_set_fix_rate' into 'master'

esp32: add internal API to enable or disable transmitting WiFi MAC frame with fixed rate

See merge request idf/esp-idf!2835

5 years agoMerge branch 'doc/wifi_update_channel_state_information_document' into 'master'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:49:14 +0000 (14:49 +0800)]
Merge branch 'doc/wifi_update_channel_state_information_document' into 'master'

docs: update channel state information document

See merge request idf/esp-idf!2793

5 years agoMerge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared' into 'master'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:47:29 +0000 (14:47 +0800)]
Merge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared' into 'master'

component/bt: btdm_lmp_transcation_collision_state_uncleared

See merge request idf/esp-idf!2731

5 years agoMerge branch 'bugfix/fix_several_wpa2_issues' into 'master'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:38:15 +0000 (14:38 +0800)]
Merge branch 'bugfix/fix_several_wpa2_issues' into 'master'

esp32: fix several wpa2 enterprise issues

See merge request idf/esp-idf!2825

5 years agoMerge branch 'bugfix/btdm_fix_gattc_count_invalid' into 'master'
Angus Gratton [Wed, 1 Aug 2018 06:06:38 +0000 (14:06 +0800)]
Merge branch 'bugfix/btdm_fix_gattc_count_invalid' into 'master'

Component/bt: fix gattc get count invalid and discover included service error

See merge request idf/esp-idf!2770

5 years agoMerge branch 'bugfix/remove_bt_dependency_on_lwip_header' into 'master'
Angus Gratton [Wed, 1 Aug 2018 05:57:35 +0000 (13:57 +0800)]
Merge branch 'bugfix/remove_bt_dependency_on_lwip_header' into 'master'

Bugfix/remove bt dependency on lwip header

See merge request idf/esp-idf!2882

5 years agoesp32: fix several wpa2 enterprise issues
Liu Zhi Fu [Fri, 20 Jul 2018 03:59:27 +0000 (11:59 +0800)]
esp32: fix several wpa2 enterprise issues

Fix following issues:
1. Fix heap corrupted bug
2. Fix memory leak bug
3. Make wpa2 enterprise thread-safe
Closes https://github.com/espressif/esp-idf/issues/1569

5 years agoesp32: add internal API to enable or disable transmitting WiFi MAC frame with
XiaXiaotian [Mon, 23 Jul 2018 08:39:50 +0000 (16:39 +0800)]
esp32: add internal API to enable or disable transmitting WiFi MAC frame with
fixed rate

5 years agoMerge branch 'feature/update_libexpat' into 'master'
Angus Gratton [Wed, 1 Aug 2018 01:44:38 +0000 (09:44 +0800)]
Merge branch 'feature/update_libexpat' into 'master'

expat: Move libexpat into submodule and update to version 2.2.5

See merge request idf/esp-idf!2868

5 years agoexpat: Move libexpat into submodule and update to version 2.2.5
Roland Dobai [Thu, 26 Jul 2018 10:19:28 +0000 (12:19 +0200)]
expat: Move libexpat into submodule and update to version 2.2.5

5 years agocomponent/bt: bugfix for uncleared LMP transaction collision state after rejecting...
wangmengyang [Mon, 9 Jul 2018 07:40:27 +0000 (15:40 +0800)]
component/bt: bugfix for uncleared LMP transaction collision state after rejecting sniff request from slave

5 years agoMerge branch 'bugfix/spinlock_perf' into 'master'
Angus Gratton [Tue, 31 Jul 2018 07:31:55 +0000 (15:31 +0800)]
Merge branch 'bugfix/spinlock_perf' into 'master'

freertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()

See merge request idf/esp-idf!2873

5 years agofreertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()
Angus Gratton [Mon, 30 Jul 2018 04:24:03 +0000 (14:24 +1000)]
freertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()

Saves a few cycles by only testing the count validity once, and never for the common case where the
mutex was not recursively locked.

5 years agoMerge branch 'feature/unit_tests_command_line' into 'master'
Angus Gratton [Tue, 31 Jul 2018 03:38:22 +0000 (11:38 +0800)]
Merge branch 'feature/unit_tests_command_line' into 'master'

tools: Allow running unit tests from command line

See merge request idf/esp-idf!2589

5 years agoComponent/bt: fix gattc get count invalid
zhiweijian [Fri, 13 Jul 2018 12:58:19 +0000 (20:58 +0800)]
Component/bt: fix gattc get count invalid

5 years agoMerge branch 'bugfix/rmt_struct_bad_addressing' into 'master'
Ivan Grokhotkov [Mon, 30 Jul 2018 20:01:46 +0000 (04:01 +0800)]
Merge branch 'bugfix/rmt_struct_bad_addressing' into 'master'

removed possible uint16 access to 32bit register, noted fifo use not recommended

See merge request idf/esp-idf!2821

5 years agoMerge branch 'feature/cermak_asio_support' into 'master'
Ivan Grokhotkov [Mon, 30 Jul 2018 19:59:28 +0000 (03:59 +0800)]
Merge branch 'feature/cermak_asio_support' into 'master'

asio component and examples in esp-idf

See merge request idf/esp-idf!2509

5 years agoMerge branch 'bugfix/coap_client_parse_url' into 'master'
Ivan Grokhotkov [Mon, 30 Jul 2018 19:58:06 +0000 (03:58 +0800)]
Merge branch 'bugfix/coap_client_parse_url' into 'master'

bugfix: unexpected host item when coap client parse a URL string

See merge request idf/esp-idf!2642

5 years agoMerge branch 'bugfix/btdm_sco_end_crash_on_supv_to' into 'master'
Jiang Jiang Jian [Mon, 30 Jul 2018 14:14:07 +0000 (22:14 +0800)]
Merge branch 'bugfix/btdm_sco_end_crash_on_supv_to' into 'master'

bugfix/btdm_sco_end_crash_on_supv_to

See merge request idf/esp-idf!2737

5 years agotools: Allow running unit tests from command line
Roland Dobai [Thu, 21 Jun 2018 11:32:29 +0000 (13:32 +0200)]
tools: Allow running unit tests from command line

Add argument parsing to unit_test.py to allow running unit tests from
command line.

5 years agoMerge branch 'bugfix/heap_metadata_tests' into 'master'
Angus Gratton [Mon, 30 Jul 2018 06:30:59 +0000 (14:30 +0800)]
Merge branch 'bugfix/heap_metadata_tests' into 'master'

heap: Fix heap metadata test to account for background memory allocations

See merge request idf/esp-idf!2872

5 years agoasio: initial idf port of asio library without ssl
David Cermak [Tue, 29 May 2018 09:25:24 +0000 (11:25 +0200)]
asio: initial idf port of asio library without ssl

5 years agolwip fix for udp receivefrom
David Cermak [Tue, 5 Jun 2018 07:47:16 +0000 (09:47 +0200)]
lwip fix for udp receivefrom

5 years agoMerge branch 'feature/cmd_flash_reset_ota_data' into 'master'
Angus Gratton [Mon, 30 Jul 2018 05:52:43 +0000 (13:52 +0800)]
Merge branch 'feature/cmd_flash_reset_ota_data' into 'master'

make: Add feature to cmd 'make flash' - reset ota_data partition

See merge request idf/esp-idf!2611

5 years agowpa_supplicant: removed unrequired header dir include from component.mk
Mahavir Jain [Mon, 30 Jul 2018 05:47:11 +0000 (11:17 +0530)]
wpa_supplicant: removed unrequired header dir include from component.mk

- Also fixed license header in rtc driver

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
5 years agobluedroid: remove dependency on `arpa/inet.h` include
Mahavir Jain [Mon, 30 Jul 2018 05:46:38 +0000 (11:16 +0530)]
bluedroid: remove dependency on `arpa/inet.h` include

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
5 years agoMerge branch 'bugfix/ci_github_deploy' into 'master'
Angus Gratton [Mon, 30 Jul 2018 04:57:21 +0000 (12:57 +0800)]
Merge branch 'bugfix/ci_github_deploy' into 'master'

ci: Simplify github deployment

See merge request idf/esp-idf!2862

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

5 years agoMerge branch 'test/workaround_ci_failures' into 'master'
He Yin Ling [Sat, 28 Jul 2018 01:01:36 +0000 (09:01 +0800)]
Merge branch 'test/workaround_ci_failures' into 'master'

test: workaround ci failures

See merge request idf/esp-idf!2859

5 years agoci: temp modify http server tests to get CI pass:
He Yin Ling [Fri, 27 Jul 2018 11:48:36 +0000 (19:48 +0800)]
ci: temp modify http server tests to get CI pass:

1. change the default value of WIFI password
2. disable simple and advanced test cases

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

5 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

5 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

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

5 years agoci: Simplify github deployment
Angus Gratton [Fri, 27 Jul 2018 02:01:58 +0000 (12:01 +1000)]
ci: Simplify github deployment

CI_COMMIT_REF_NAME lets us use a single line to git push

5 years agoMerge branch 'bugfix/add_compatible_to_aes_encryption' into 'master'
Jiang Jiang Jian [Fri, 27 Jul 2018 02:14:33 +0000 (10:14 +0800)]
Merge branch 'bugfix/add_compatible_to_aes_encryption' into 'master'

Wifi: add compatible to ccmp encryption

See merge request idf/esp-idf!2802

5 years agoMerge branch 'doc/esp32_sw_breaks' into 'master'
Angus Gratton [Thu, 26 Jul 2018 23:54:33 +0000 (07:54 +0800)]
Merge branch 'doc/esp32_sw_breaks' into 'master'

docs: Adds ESP32 SW flash breakpoints description

See merge request idf/esp-idf!2838

5 years agoesp32: Adds SW flash breakpoints description
Alexey Gerenkov [Mon, 23 Jul 2018 11:18:41 +0000 (14:18 +0300)]
esp32: Adds SW flash breakpoints description

5 years agocomponent/bt: bugfix on the crash during end of sco link resulted from link supervisi...
wangmengyang [Tue, 10 Jul 2018 04:13:11 +0000 (12:13 +0800)]
component/bt: bugfix on the crash during end of sco link resulted from link supervision timeout

5 years agoMerge branch 'bugfix/tw23404_dhcp_NAK_issue_3' into 'master'
Jiang Jiang Jian [Thu, 26 Jul 2018 06:06:12 +0000 (14:06 +0800)]
Merge branch 'bugfix/tw23404_dhcp_NAK_issue_3' into 'master'

modify the timers

See merge request idf/esp-idf!2798

5 years agoMerge branch 'bugfix/spiffs_readdir_recursion' into 'master'
Angus Gratton [Thu, 26 Jul 2018 00:33:24 +0000 (08:33 +0800)]
Merge branch 'bugfix/spiffs_readdir_recursion' into 'master'

SPIFFS: fix stack overflow in readdir_r due to recursion

See merge request idf/esp-idf!2839

5 years agoMerge branch 'bugfix/btdm_controller_deinit' into 'master'
Jiang Jiang Jian [Wed, 25 Jul 2018 13:00:35 +0000 (21:00 +0800)]
Merge branch 'bugfix/btdm_controller_deinit' into 'master'

bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception

See merge request idf/esp-idf!2800

5 years agomake: Add feature to cmd 'make flash' - reset ota_data partition
Konstantin Kondrashov [Mon, 25 Jun 2018 06:53:10 +0000 (11:53 +0500)]
make: Add feature to cmd 'make flash' - reset ota_data partition

Add a command `make erase_ota` - erases otadata if it there is in the
partition table otherwise error 'Partition table does not have ota_data partition'.

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

5 years agoMerge branch 'bugfix/heap_test_alloc_iram' into 'master'
Ivan Grokhotkov [Wed, 25 Jul 2018 08:20:16 +0000 (16:20 +0800)]
Merge branch 'bugfix/heap_test_alloc_iram' into 'master'

heap/tests: make IRAM allocation size divisible by 4

See merge request idf/esp-idf!2853

5 years agoheap/tests: make IRAM allocation size divisible by 4
Ivan Grokhotkov [Wed, 25 Jul 2018 06:45:39 +0000 (09:45 +0300)]
heap/tests: make IRAM allocation size divisible by 4

heap_caps_malloc will fail to poison a block in IRAM with size not
divisible by 4. The proper fix will be to make poisoning code
smarter, or to disallow allocations from IRAM with size not aligned
by 4.

5 years agoMerge branch 'feature/idf-fs-profile-modifications' into 'master'
Angus Gratton [Wed, 25 Jul 2018 00:56:04 +0000 (08:56 +0800)]
Merge branch 'feature/idf-fs-profile-modifications' into 'master'

IDF fs profiling tool modifications

See merge request idf/esp-idf!2705

5 years agoMerge branch 'bugfix/host_tools_warnings' into 'master'
Angus Gratton [Wed, 25 Jul 2018 00:55:29 +0000 (08:55 +0800)]
Merge branch 'bugfix/host_tools_warnings' into 'master'

Fix host tools warnings

See merge request idf/esp-idf!2729

5 years agoMerge branch 'bugfix/src_encoding' into 'master'
Ivan Grokhotkov [Tue, 24 Jul 2018 14:03:46 +0000 (22:03 +0800)]
Merge branch 'bugfix/src_encoding' into 'master'

Correct source code encoding

See merge request idf/esp-idf!2820

5 years agoMerge branch 'bugfix/unit-test-build-fix' into 'master'
Ivan Grokhotkov [Tue, 24 Jul 2018 12:48:12 +0000 (20:48 +0800)]
Merge branch 'bugfix/unit-test-build-fix' into 'master'

unit-test-app: don’t include project.mk for ut- targets

See merge request idf/esp-idf!2619

5 years agotest/uart: fix compilation warning
Ivan Grokhotkov [Tue, 17 Jul 2018 11:10:33 +0000 (14:10 +0300)]
test/uart: fix compilation warning

5 years agoheap: move get_all_caps to IRAM, used in unit test
Ivan Grokhotkov [Wed, 27 Jun 2018 09:16:38 +0000 (17:16 +0800)]
heap: move get_all_caps to IRAM, used in unit test

5 years agofreertos: bump limit for spinlock performance test to 300 cycles
Ivan Grokhotkov [Wed, 27 Jun 2018 06:47:31 +0000 (14:47 +0800)]
freertos: bump limit for spinlock performance test to 300 cycles

5 years agonewlib: fix unit test for psram config
Ivan Grokhotkov [Wed, 27 Jun 2018 06:47:05 +0000 (14:47 +0800)]
newlib: fix unit test for psram config

5 years agoheap: fix unit test for the case when less than 10k of IRAM is available
Ivan Grokhotkov [Wed, 27 Jun 2018 06:46:20 +0000 (14:46 +0800)]
heap: fix unit test for the case when less than 10k of IRAM is available

5 years agospi_master, ulp: fix aliasing errors in unit tests
Ivan Grokhotkov [Tue, 26 Jun 2018 06:37:36 +0000 (14:37 +0800)]
spi_master, ulp: fix aliasing errors in unit tests

5 years agounit-test-app: don’t include project.mk for ut- targets
Ivan Grokhotkov [Tue, 26 Jun 2018 04:39:27 +0000 (12:39 +0800)]
unit-test-app: don’t include project.mk for ut- targets

If project.mk is included twice in recursive invocation of Make, some
variables defined on the first pass will not be redefined on the
second pass. Rather than cleaning up these variables before calling
Make recursively, don’t include IDF project.mk at all, if one of the
ut- targets is requested.

5 years agoMerge branch 'bugfix/bootloader_dev_zero_app_count' into 'master'
Angus Gratton [Tue, 24 Jul 2018 06:41:05 +0000 (14:41 +0800)]
Merge branch 'bugfix/bootloader_dev_zero_app_count' into 'master'

bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry

See merge request idf/esp-idf!2842

5 years agoconsole: Suppress unused warning asprintf result
Renz Bagaporo [Fri, 20 Jul 2018 05:25:45 +0000 (13:25 +0800)]
console: Suppress unused warning asprintf result

5 years agoconsole: Ignore var cloberred warning for argtable
Renz Bagaporo [Thu, 12 Jul 2018 00:48:27 +0000 (08:48 +0800)]
console: Ignore var cloberred warning for argtable

5 years agospiffs: Explicitly indicate unused value
Renz Bagaporo [Wed, 27 Jun 2018 12:47:30 +0000 (20:47 +0800)]
spiffs: Explicitly indicate unused value

5 years agoMerge branch 'bugfix/fix_pcnt_isr_service_register_bug' into 'master'
Angus Gratton [Tue, 24 Jul 2018 05:49:45 +0000 (13:49 +0800)]
Merge branch 'bugfix/fix_pcnt_isr_service_register_bug' into 'master'

driver(pcnt): fix the  pcnt isr service can not be re registered bug.

See merge request idf/esp-idf!2439

5 years agoMerge branch 'bugfix/unit_test_thread_local_storage' into 'master'
Angus Gratton [Tue, 24 Jul 2018 05:43:41 +0000 (13:43 +0800)]
Merge branch 'bugfix/unit_test_thread_local_storage' into 'master'

ci/esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes

See merge request idf/esp-idf!2794

5 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

5 years agoMerge branch 'bugfix/ci_use_mirror_for_public' into 'master'
Angus Gratton [Tue, 24 Jul 2018 04:19:24 +0000 (12:19 +0800)]
Merge branch 'bugfix/ci_use_mirror_for_public' into 'master'

ci: Use local mirrors on the public branches too

See merge request idf/esp-idf!2836

5 years agoMerge branch 'bugfix/udp_multicast_example_leak' into 'master'
Angus Gratton [Tue, 24 Jul 2018 04:12:53 +0000 (12:12 +0800)]
Merge branch 'bugfix/udp_multicast_example_leak' into 'master'

udp multicast example: Fix leak, change default port (and log UDP port in use)

See merge request idf/esp-idf!2834

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

5 years agoMerge branch 'bugfix/fix_touchpad_wakeup_status' into 'master'
Ivan Grokhotkov [Mon, 23 Jul 2018 20:08:43 +0000 (04:08 +0800)]
Merge branch 'bugfix/fix_touchpad_wakeup_status' into 'master'

fix(sleep): swap touchpad num in wakeup status

See merge request idf/esp-idf!2708

5 years agospiffs: add test case for readdir_r with large number of files
Ivan Grokhotkov [Mon, 23 Jul 2018 12:34:18 +0000 (15:34 +0300)]
spiffs: add test case for readdir_r with large number of files

Ref. https://esp32.com/viewtopic.php?f=13&t=6486

5 years agoMerge branch 'bugfix/bootloader_include_priv' into 'master'
Angus Gratton [Mon, 23 Jul 2018 10:50:35 +0000 (18:50 +0800)]
Merge branch 'bugfix/bootloader_include_priv' into 'master'

bootloader_support: Rename include_priv directory to include_bootloader

See merge request idf/esp-idf!2686

5 years agoMerge branch 'bugfix/http_client_enhanced' into 'master'
Angus Gratton [Mon, 23 Jul 2018 09:55:49 +0000 (17:55 +0800)]
Merge branch 'bugfix/http_client_enhanced' into 'master'

esp_http_client: Resolve some bugs from the github community

See merge request idf/esp-idf!2831

5 years agoci: Use local mirrors on the public branches (master, release-) too
Anton Maklakov [Mon, 23 Jul 2018 09:03:05 +0000 (17:03 +0800)]
ci: Use local mirrors on the public branches (master, release-) too

    Use DONT_USE_MIRROR=1 to force using the original repositories if you need

5 years agoudp_multicast example: Change port to 3333 to match README, log port from example
Angus Gratton [Mon, 23 Jul 2018 06:15:30 +0000 (16:15 +1000)]
udp_multicast example: Change port to 3333 to match README, log port from example

5 years agoudp_multicast example: Fix memory leak from getaddrinfo() calls
Angus Gratton [Mon, 23 Jul 2018 06:15:02 +0000 (16:15 +1000)]
udp_multicast example: Fix memory leak from getaddrinfo() calls

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

5 years agobootloader_support: Rename include_priv directory to include_bootloader
Angus Gratton [Tue, 3 Jul 2018 02:18:20 +0000 (12:18 +1000)]
bootloader_support: Rename include_priv directory to include_bootloader

Old rationale for "priv" no longer applies.

As reported here: https://esp32.com/viewtopic.php?f=13&t=6155&p=27151#p26601

5 years agoremoved possible uint16 access to 32bit register, noted fifo use not recommended
David Cermak [Thu, 19 Jul 2018 12:54:38 +0000 (14:54 +0200)]
removed possible uint16 access to 32bit register, noted fifo use not recommended

5 years agoModifications for fs profiling tool
Renz Bagaporo [Thu, 21 Jun 2018 08:51:44 +0000 (16:51 +0800)]
Modifications for fs profiling tool

5 years agoesp_http_client: Resolve some bugs from the github community
Tuan PM [Mon, 23 Jul 2018 01:59:49 +0000 (08:59 +0700)]
esp_http_client: Resolve some bugs from the github community
- Closes https://github.com/espressif/esp-idf/issues/2135
- Closes https://github.com/espressif/esp-idf/issues/2208
- Closes https://github.com/espressif/esp-idf/issues/2213

5 years agoMerge branch 'feature/http_server_finalize' into 'master'
Angus Gratton [Mon, 23 Jul 2018 05:11:04 +0000 (13:11 +0800)]
Merge branch 'feature/http_server_finalize' into 'master'

Feature add HTTP Web Server component

See merge request idf/esp-idf!2606

5 years agoMerge branch 'feature/tools_mass_mfg' into 'master'
Angus Gratton [Mon, 23 Jul 2018 05:10:17 +0000 (13:10 +0800)]
Merge branch 'feature/tools_mass_mfg' into 'master'

Add files for mass manufacturing tool

See merge request idf/esp-idf!2716

5 years agoMerge branch 'bugfix/reclaim_bt_ble_bss' into 'master'
Angus Gratton [Mon, 23 Jul 2018 04:48:13 +0000 (12:48 +0800)]
Merge branch 'bugfix/reclaim_bt_ble_bss' into 'master'

components/bt: Reclaim BT/BTDM BSS in bluetooth memory release function

See merge request idf/esp-idf!2750

5 years agoMerge branch 'bugfix/bootloader_noreturn_always' into 'master'
Angus Gratton [Mon, 23 Jul 2018 03:56:14 +0000 (11:56 +0800)]
Merge branch 'bugfix/bootloader_noreturn_always' into 'master'

bootloader: Ensure bootloader never returns to caller

See merge request idf/esp-idf!2815

5 years agoesp32 tests: TLS test: use same size stack for static & non-static task
Angus Gratton [Tue, 17 Jul 2018 05:39:40 +0000 (15:39 +1000)]
esp32 tests: TLS test: use same size stack for static & non-static task

Use constant instead of magic number of task priorities.

5 years agoesp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes
Angus Gratton [Tue, 17 Jul 2018 05:12:44 +0000 (15:12 +1000)]
esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes

Probable cause for CI failures of "LoadStoreError" after this task finishes running.

5 years agoMerge branch 'bugfix/secure_boot_padding' into 'master'
Angus Gratton [Mon, 23 Jul 2018 03:44:50 +0000 (11:44 +0800)]
Merge branch 'bugfix/secure_boot_padding' into 'master'

secure boot: Fix padding issue allowing unverified data to be mapped into the address space

See merge request idf/esp-idf!2778

5 years agoMerge branch 'cermak_fuzzer_ci_job' into 'master'
Anton Maklakov [Mon, 23 Jul 2018 01:41:10 +0000 (09:41 +0800)]
Merge branch 'cermak_fuzzer_ci_job' into 'master'

added CI job for AFL fuzzer tests

See merge request idf/esp-idf!2537

5 years agoWifi: add compatible to ccmp encryption
Deng Xin [Tue, 17 Jul 2018 13:34:50 +0000 (21:34 +0800)]
Wifi: add compatible to ccmp encryption

5 years agoMerge branch 'bugfix/coex_pause' into 'master'
Jiang Jiang Jian [Sat, 21 Jul 2018 06:22:09 +0000 (14:22 +0800)]
Merge branch 'bugfix/coex_pause' into 'master'

fix coex pause cause bluetooth performance decrease

See merge request idf/esp-idf!2741

5 years agoFix stackoverflow due to recursion in vfs_spiffs_readdir_r
Konstantin Klitenik [Fri, 20 Jul 2018 14:27:53 +0000 (10:27 -0400)]
Fix stackoverflow due to recursion in vfs_spiffs_readdir_r

5 years agoMerge branch 'feature/test_exclude_components' into 'master'
Ivan Grokhotkov [Fri, 20 Jul 2018 11:43:46 +0000 (19:43 +0800)]
Merge branch 'feature/test_exclude_components' into 'master'

build: Add TEST_EXCLUDE_COMPONENTS

See merge request idf/esp-idf!2648

5 years agoMerge branch 'feature/freertos_vtasklist_xcoreid' into 'master'
Ivan Grokhotkov [Fri, 20 Jul 2018 10:46:41 +0000 (18:46 +0800)]
Merge branch 'feature/freertos_vtasklist_xcoreid' into 'master'

freertos: Add option to display xCoreID in vTaskList

See merge request idf/esp-idf!2728

5 years agoHttp Server : Add a simple light weight HTTP Server Component.
Anurg Kar [Tue, 3 Jul 2018 10:57:41 +0000 (16:27 +0530)]
Http Server : Add a simple light weight HTTP Server Component.
Also add examples, docs and test apps for the HTTP Server.

5 years agoadded CI job for AFL fuzzer tests
David Cermak [Mon, 11 Jun 2018 06:32:40 +0000 (08:32 +0200)]
added CI job for AFL fuzzer tests

5 years agobt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
Tian Hao [Tue, 17 Jul 2018 07:46:56 +0000 (15:46 +0800)]
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception

1. when one task do deinit/init/disable/enable, especially different cpu
core, it may cause controller crash in ISR handler
2. fix while BLE is scanning, bluetooth controller is disabled cause BLE
scan is not abort.

5 years agoReclaim BT/BTDM BSS and Data in bluetooth memory release function
Hrishikesh Dhayagude [Wed, 11 Jul 2018 06:22:32 +0000 (11:52 +0530)]
Reclaim BT/BTDM BSS and Data in bluetooth memory release function

1. Modify esp_bt_controller_mem_release() to release BTDM BSS and Data to heap if
ESP_BT_MODE_BTDM mode is passed to it
2. Add a new API esp_bt_mem_release() which internally calls
esp_bt_controller_mem_release() with the provided mode and then if mode
is ESP_BT_MODE_BTDM, releases BT BSS and Data to heap.

Background:
For Wi-Fi and BT/BLE applications, for e.g. the usecase is like when
Bluetooth is used for provisioning and once the device is connected to the Wi-Fi
AP, we can turn off Bluetooth completely. In such scenarios, it should be possible to
reclaim all the memory of Bluetooth. Although, currently this does not
happen.

Experiment:
Made the following modifications to examples/bluetooth/gatt_server :
1. Added support of simple_wifi to it
2. Moved all the bluetooth related code under CONFIG_BT_ENABLED config
option
3. Calculated the free heap in 2 similar scenarios:
   i. Disabled BT (CONFIG_BT_ENABLED undefined) and checked the free
heap after STA connected
   ii. Kept BT enabled and disabled it after STA connected and checked
the free heap
Ideally, the numbers for i., ii. above should have been similar. But
there was a delta of almost 30-31K. (i. > ii.)
4. Through make size-components checked the common BSS for libbta.a and libbtdm_app.a
and found it to be almost 30K. Data is around 1K

Solution:
1. Modified the linker script to mark the BSS and Data for these libraries and
free it when ESP_BT_MODE_BTDM mode is passed to mem release APIs.
2. Verified that the free heap is comparable for i. and ii. above.

Note: It is known that once this is done, Bluetooth can only be used
again post reboot.

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
5 years agoAdd files and docs for mass mfg
Shivani Tipnis [Tue, 17 Jul 2018 08:44:30 +0000 (14:14 +0530)]
Add files and docs for mass mfg

5 years agoMerge branch 'bugfix/btdm_bt_remove_device_fail_when_ble_connected' into 'master'
Jiang Jiang Jian [Fri, 20 Jul 2018 02:46:31 +0000 (10:46 +0800)]
Merge branch 'bugfix/btdm_bt_remove_device_fail_when_ble_connected' into 'master'

component/bt: Fix bug of remove bond device fail when BLE and BT are connectd at the same time

See merge request idf/esp-idf!2767

5 years agoMerge branch 'feature/nvs_multipage_blob' into 'master'
Angus Gratton [Fri, 20 Jul 2018 01:13:34 +0000 (09:13 +0800)]
Merge branch 'feature/nvs_multipage_blob' into 'master'

nvs-flash: Support for blobs larger than half of SPI Flash sector size

See merge request idf/esp-idf!2182

5 years agonvs-flash: Support for blobs larger than half of SPI Flash sector size
Sagar Bijwe [Mon, 2 Apr 2018 10:44:59 +0000 (16:14 +0530)]
nvs-flash: Support for blobs larger than half of SPI Flash sector size

This change removes the earlier limitation of 1984 bytes for storing data-blobs.
Blobs larger than the sector size are split and stored on multiple sectors.
For this purpose, two new datatypes (multi-page index and multi-page data) are
added for entries stored in the sectors. The underlying read, write, erase and find
operations are modified to support these large blobs. The change is transparent
to users of the library and no special APIs need to be used to store these large
blobs.

5 years agoCorrect source code encoding
Roland Dobai [Thu, 19 Jul 2018 11:58:57 +0000 (13:58 +0200)]
Correct source code encoding

5 years agoMerge branch 'bugfix/rtc_io_hold_regs' into 'master'
Ivan Grokhotkov [Thu, 19 Jul 2018 07:04:42 +0000 (15:04 +0800)]
Merge branch 'bugfix/rtc_io_hold_regs' into 'master'

Fix errors in rtc_gpio_desc values

See merge request idf/esp-idf!2765