]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoPosition save included.
Dmitry [Wed, 11 Jul 2018 05:58:58 +0000 (08:58 +0300)]
Position save included.

6 years agoUsless read removed.
Dmitry [Wed, 11 Jul 2018 05:55:35 +0000 (08:55 +0300)]
Usless read removed.

6 years agoErase flash before the first use added.
Dmitry [Wed, 11 Jul 2018 04:47:41 +0000 (07:47 +0300)]
Erase flash before the first use added.

 Пожалуйста, введите сообщение коммита для ваших изменений. Строки,

6 years agoAdditional sector position should not be changed at update.
Dmitry [Tue, 10 Jul 2018 07:17:35 +0000 (10:17 +0300)]
Additional sector position should not be changed at update.

6 years agoAdded check for version after write.
Dmitry [Tue, 10 Jul 2018 05:25:43 +0000 (08:25 +0300)]
Added check for version after write.

6 years agoAdditional info about version update included.
Dmitry [Mon, 9 Jul 2018 10:47:09 +0000 (13:47 +0300)]
Additional info about version update included.

6 years agoCRC check improved.
Dmitry [Mon, 9 Jul 2018 05:59:50 +0000 (08:59 +0300)]
CRC check improved.

6 years agoCalculation for heap usage corrected with workaround.
Dmitry [Tue, 12 Jun 2018 08:06:13 +0000 (11:06 +0300)]
Calculation for heap usage corrected with workaround.
Fixed problem with multiple mount/unmount for different devices.
Additional check for structure length included into the code.
Remove useless spaces.
Added initialization for reserved memory.

6 years agoAdded test for version update from V1 to V2. Problems for tests on host are fixed...
Dmitry [Thu, 7 Jun 2018 10:32:37 +0000 (13:32 +0300)]
Added test for version update from V1 to V2. Problems for tests on host are fixed. Random function changed to esp_random()

6 years agoThe version of WL component changed from 1 to 2.
Dmitry [Thu, 7 Jun 2018 06:58:06 +0000 (09:58 +0300)]
The version of WL component changed from 1 to 2.
WL version 2 mark used sectors as 16 bytes block of bytes with CRC.
This changes required because old version did not worked with encryption.
Additional unit tests are implemented.

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

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

6 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

6 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

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/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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

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

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

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

6 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>
6 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

6 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

6 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

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

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

6 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

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

ulp example: fix for RTC IOs

See merge request idf/esp-idf!2768

6 years agobootloader: Ensure bootloader never returns to caller
Angus Gratton [Thu, 19 Jul 2018 05:27:35 +0000 (15:27 +1000)]
bootloader: Ensure bootloader never returns to caller

* Fixes some "noreturn" functions in bootloader utils which did return (causing fatal CPU
  exceptions).
* Marks bootloader entry as "noreturn", preventing "user code done" from stalling boot
  Partial fix for https://github.com/espressif/esp-idf/issues/1814 TW20016
  (Comprehensive fix for this issue will be enabling WDT during bootloader, coming shortly.)

6 years agoMerge branch 'feature/esp32-pico-kit_v4.1' into 'master'
Angus Gratton [Thu, 19 Jul 2018 00:05:00 +0000 (08:05 +0800)]
Merge branch 'feature/esp32-pico-kit_v4.1' into 'master'

Added description of ESP32-PICO-KIT V4.1 board

See merge request idf/esp-idf!2762

6 years agoAdded description of ESP32-PICO-KIT V4.1 board
krzychb [Thu, 12 Jul 2018 19:12:17 +0000 (21:12 +0200)]
Added description of ESP32-PICO-KIT V4.1 board

6 years agoMerge branch 'bugfix/rmt_mem_num_maximum_limit_is_not_accurate' into 'master'
Wang Jia Lin [Wed, 18 Jul 2018 08:15:14 +0000 (16:15 +0800)]
Merge branch 'bugfix/rmt_mem_num_maximum_limit_is_not_accurate' into 'master'

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

See merge request idf/esp-idf!2734

6 years agoMerge branch 'bugfix/sdmmc_auto_stop_cmd' into 'master'
Ivan Grokhotkov [Wed, 18 Jul 2018 06:55:45 +0000 (14:55 +0800)]
Merge branch 'bugfix/sdmmc_auto_stop_cmd' into 'master'

sdmmc: enable host auto_stop only for certain commands

See merge request idf/esp-idf!2710