]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'revert-00d10688' into 'release/v3.2'
Angus Gratton [Wed, 20 Feb 2019 07:09:59 +0000 (15:09 +0800)]
Merge branch 'revert-00d10688' into 'release/v3.2'

Revert "Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'"

See merge request idf/esp-idf!4293

5 years agoMerge branch 'bugfix/spiram_linker_wildcards_v3.2' into 'release/v3.2'
Angus Gratton [Wed, 20 Feb 2019 06:17:52 +0000 (14:17 +0800)]
Merge branch 'bugfix/spiram_linker_wildcards_v3.2' into 'release/v3.2'

esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds (backport v3.2)

See merge request idf/esp-idf!4153

5 years agoMerge branch 'bugfix/coex_lc_protect_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 20 Feb 2019 03:14:22 +0000 (11:14 +0800)]
Merge branch 'bugfix/coex_lc_protect_v3.2' into 'release/v3.2'

component/esp32 : fix coexist lc protect cause memory corrupted

See merge request idf/esp-idf!4267

5 years agoesp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds
Angus Gratton [Tue, 22 Jan 2019 03:49:17 +0000 (11:49 +0800)]
esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds

Fixes bug reported on forums where any source file ending in *lock.c or *creat.c
was being linked to IRAM.

https://esp32.com/viewtopic.php?f=13&t=8909&p=37362#p37362

5 years agoMerge branch 'bugfix/wdt_compability_app_with_old_bootloader_v3.2' into 'release...
Jiang Jiang Jian [Tue, 19 Feb 2019 18:17:09 +0000 (02:17 +0800)]
Merge branch 'bugfix/wdt_compability_app_with_old_bootloader_v3.2' into 'release/v3.2'

esp32: Fix wdt settings in esp_restart_noos (backport v3.2)

See merge request idf/esp-idf!4294

5 years agoMerge branch 'bugfix/fix_psram_eid_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 19 Feb 2019 18:13:47 +0000 (02:13 +0800)]
Merge branch 'bugfix/fix_psram_eid_v3.2' into 'release/v3.2'

bugfix(psram): fix psram size acquisition method, support esp32-pico chips (backport v3.2)

See merge request idf/esp-idf!4254

5 years agoMerge branch 'bugfix/btdm_crash_when_inquiry_cancel_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 19 Feb 2019 09:57:00 +0000 (17:57 +0800)]
Merge branch 'bugfix/btdm_crash_when_inquiry_cancel_v3.2' into 'release/v3.2'

Bugfix/btdm crash when inquiry cancel v3.2

See merge request idf/esp-idf!4277

5 years agoRevert "Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'"
Ivan Grokhotkov [Tue, 19 Feb 2019 04:47:44 +0000 (12:47 +0800)]
Revert "Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'"

This reverts merge request !4272

5 years agoesp32: Fix wdt settings in esp_restart_noos
Konstantin Kondrashov [Thu, 10 Jan 2019 12:17:04 +0000 (20:17 +0800)]
esp32: Fix wdt settings in esp_restart_noos

Fixed compatibility the new apps with the old bootloaders.

Closes: https://github.com/espressif/esp-idf/issues/2927
5 years agoMerge branch 'bugfix/aws_iot_backport_few_fixes_for_v3.2' into 'release/v3.2'
Angus Gratton [Tue, 19 Feb 2019 03:36:18 +0000 (11:36 +0800)]
Merge branch 'bugfix/aws_iot_backport_few_fixes_for_v3.2' into 'release/v3.2'

Bugfix/aws iot backport few fixes for v3.2 (backport_v3.2)

See merge request idf/esp-idf!4247

5 years agocomponent/esp32 : fix coexist lc protect cause memory corrupted
Tian Hao [Thu, 14 Feb 2019 08:52:17 +0000 (16:52 +0800)]
component/esp32 : fix coexist lc protect cause memory corrupted

The bug will cause memory corrupted (the largest range is from 0x3ffc0000 ~ 0x3ffc8000),
some strange error will happen, like IllegalInstruction, LoadProhibited and .etc.

5 years agoMerge branch 'feature/provisioning_backport_api_changes' into 'release/v3.2'
Angus Gratton [Tue, 19 Feb 2019 02:47:47 +0000 (10:47 +0800)]
Merge branch 'feature/provisioning_backport_api_changes' into 'release/v3.2'

(backport v3.2)  Provisioning Framework API changes

See merge request idf/esp-idf!4249

5 years agoprovisioning examples : typos fixed and minor change in timer callback execution
Anurag Kar [Fri, 8 Feb 2019 10:28:57 +0000 (15:58 +0530)]
provisioning examples : typos fixed and minor change in timer callback execution

Note : Examples have been updated to prevent invocation of bluedroid/wifi APIs from inside timer callback when stopping provisioning. Workaround is to spawn new task from inside the timer callback.

5 years agoprotocomm : typos fixed and descriptions corrected
Anurag Kar [Fri, 8 Feb 2019 09:51:33 +0000 (15:21 +0530)]
protocomm : typos fixed and descriptions corrected

5 years agoprotocomm unit_tests : test cases updated
Anurag Kar [Fri, 8 Feb 2019 09:21:19 +0000 (14:51 +0530)]
protocomm unit_tests : test cases updated

Changes:
* Version endpoint test added
* Memory leak test updated to include corner case exceptions in protocomm

5 years agoprotocomm security : memory leaks fixed
Anurag Kar [Fri, 8 Feb 2019 09:12:49 +0000 (14:42 +0530)]
protocomm security : memory leaks fixed

List of changes:
* Corner case exceptions are properly handled to ensure release of memory occupied by security infrastructure
* fixed erroneous cleanup of security instance by protocomm_console

5 years agoprotocomm : version endpoint behavior simplified
Anurag Kar [Fri, 8 Feb 2019 06:36:23 +0000 (12:06 +0530)]
protocomm : version endpoint behavior simplified

List of changes:
* Version endpoint now sends the set version string instead of verifying the incoming version string. This simplifies fetching version info from the provisioning application.
* esp_prov script updated to expect version string as response.

5 years agowifi_provisioning : context pointer added to wifi_config_t structure and related...
Anurag Kar [Mon, 28 Jan 2019 09:51:28 +0000 (15:21 +0530)]
wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated

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

5 years agoprovisioning framework : 'extern C' directives added for C++ support
Anurag Kar [Mon, 28 Jan 2019 09:48:47 +0000 (15:18 +0530)]
provisioning framework : 'extern C' directives added for C++ support

5 years agosoftap_prov: Changes in the example code as per changes to protocomm_httpd
Piyush Shah [Fri, 1 Feb 2019 12:51:46 +0000 (18:21 +0530)]
softap_prov: Changes in the example code as per changes to protocomm_httpd

Signed-off-by: Piyush Shah <piyush@espressif.com>
5 years agoprotocomm_httpd: Allow applications to pass HTTPD handle
Piyush Shah [Fri, 1 Feb 2019 12:50:37 +0000 (18:20 +0530)]
protocomm_httpd: Allow applications to pass HTTPD handle

This will be useful if a webserver is already running and the application
does not want protocomm to start a new instance.

Signed-off-by: Piyush Shah <piyush@espressif.com>
5 years agocomponents/bt: Add precautions for esp_vhci_host_send_packet (backport 3.2)
baohongde [Fri, 15 Feb 2019 09:27:24 +0000 (17:27 +0800)]
components/bt: Add precautions for esp_vhci_host_send_packet (backport 3.2)

5 years agocomponents/bt: Fix crash when inquiry stop (backport v3.2)
baohongde [Thu, 31 Jan 2019 03:47:41 +0000 (11:47 +0800)]
components/bt: Fix crash when inquiry stop (backport v3.2)

5 years agoMerge branch 'test/disable_sdio_example_ci_v3.2' into 'release/v3.2'
He Yin Ling [Mon, 18 Feb 2019 08:14:01 +0000 (16:14 +0800)]
Merge branch 'test/disable_sdio_example_ci_v3.2' into 'release/v3.2'

sdio: temporarily disable the sdio example ci

See merge request idf/esp-idf!4284

5 years agosdio: temporarily disable the sdio example ci, since the runners have
Michael (XIAO Xufeng) [Thu, 14 Feb 2019 07:51:21 +0000 (15:51 +0800)]
sdio: temporarily disable the sdio example ci, since the runners have
some power issue

5 years agoMerge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'
Ivan Grokhotkov [Fri, 15 Feb 2019 09:51:49 +0000 (17:51 +0800)]
Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'

Bugfix/external rtc start fail (backport 3.2)

See merge request idf/esp-idf!4272

5 years agoMerge branch 'bugfix/bugfix/mdns_notask_timer_crash_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 15 Feb 2019 05:49:29 +0000 (13:49 +0800)]
Merge branch 'bugfix/bugfix/mdns_notask_timer_crash_v3.2' into 'release/v3.2'

mdns: fix crash after init if no memory for task (Backport 3.2)

See merge request idf/esp-idf!4237

5 years agoMerge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.2' into 'release...
Jiang Jiang Jian [Fri, 15 Feb 2019 05:42:39 +0000 (13:42 +0800)]
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.2' into 'release/v3.2'

bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.2(backport v3.2)

See merge request idf/esp-idf!4260

5 years agoMerge branch 'bugfix/fix_some_wifi_bugs_0131_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 15 Feb 2019 04:14:54 +0000 (12:14 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_0131_v3.2' into 'release/v3.2'

esp32: fix some WiFi bugs (backport v3.2)

See merge request idf/esp-idf!4217

5 years agosoc/rtc: fix RTC_TOUCH_TRIG_EN or RTC_ULP_TRIG_EN should keep RTC_PERIPH power on
maojianxin [Sat, 22 Dec 2018 06:19:46 +0000 (14:19 +0800)]
soc/rtc: fix RTC_TOUCH_TRIG_EN or RTC_ULP_TRIG_EN should keep RTC_PERIPH power on

5 years agosoc/rtc: Bypass touchpad current to external 32k crystal oscillator
Zhang Jun Yi [Wed, 23 May 2018 07:24:09 +0000 (15:24 +0800)]
soc/rtc: Bypass touchpad current to external 32k crystal oscillator

5 years agoMerge branch 'update/nvs_partition_utility_v3.2' into 'release/v3.2'
Angus Gratton [Fri, 15 Feb 2019 00:51:17 +0000 (08:51 +0800)]
Merge branch 'update/nvs_partition_utility_v3.2' into 'release/v3.2'

Update/nvs partition utility v3.2 (backport v3.2)

See merge request idf/esp-idf!4258

5 years agonvs_util: Fix to support write of multiple singlepage big blob data
Shivani Tipnis [Thu, 14 Feb 2019 09:47:57 +0000 (15:17 +0530)]
nvs_util: Fix to support write of multiple singlepage big blob data

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

(cherry picked from commit ce4944edf01b2a4c997eafe36b66d71f98f2fe29)

5 years agonvs_util: Fix to support write of multiple singlepage big blob data Closes https...
Shivani Tipnis [Thu, 14 Feb 2019 09:47:57 +0000 (15:17 +0530)]
nvs_util: Fix to support write of multiple singlepage big blob data Closes https://github.com/espressif/esp-idf/issues/3011

(cherry picked from commit 21688e3bffee80ddfbef5364a44dd1821e28c776)

5 years agoUpdate minimum version for cryptography package required
Shivani Tipnis [Fri, 16 Nov 2018 05:57:00 +0000 (11:27 +0530)]
Update minimum version for cryptography package required

(cherry picked from commit e1774cb6f90416c7cbbe7b50323d3154dba7de21)

5 years agonvs_util: update test case
Shivani Tipnis [Wed, 21 Nov 2018 08:10:24 +0000 (13:40 +0530)]
nvs_util: update test case

(cherry picked from commit 0c72b08872ddb598de10997d67a8c146a8671f00)

5 years agoUpdate README
Shivani Tipnis [Mon, 19 Nov 2018 06:19:54 +0000 (11:49 +0530)]
Update README

(cherry picked from commit 582c54719112944068b5483c9bf744b81ceafb99)

5 years agoCloses https://github.com/espressif/esp-idf/issues/2472
Shivani Tipnis [Tue, 13 Nov 2018 11:37:14 +0000 (17:07 +0530)]
Closes https://github.com/espressif/esp-idf/issues/2472

(cherry picked from commit c44f15441fed6a5b3fec24fd99923b402df108eb)

5 years agonvs_util: Add changes to nvs part gen util
Shivani Tipnis [Wed, 17 Oct 2018 11:38:32 +0000 (17:08 +0530)]
nvs_util: Add changes to nvs part gen util

nvs_util: Add changes to nvs part gen util

nvs_host_test: Add test case for keygen and keyfile paratmeters

(cherry picked from commit 9db19878927233d8d15a3a7fd568bfcc380a41d3)

5 years agocomponent/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP...
wangmengyang [Wed, 31 Oct 2018 08:22:12 +0000 (16:22 +0800)]
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM

5 years agobugfix(psram): made some modifcations to support the psram driver backport
chenjianqiang [Wed, 13 Feb 2019 08:06:10 +0000 (16:06 +0800)]
bugfix(psram): made some modifcations to support the psram driver backport

5 years agofeature(psram): add psram support for esp32-pico chip
chenjianqiang [Tue, 25 Dec 2018 13:15:15 +0000 (21:15 +0800)]
feature(psram): add psram support for esp32-pico chip

1. esp32-pico use standard spi driver to access psram
2. for esp32-pico, flash and psram share the clock
3. for esp32-pico, psram cs io can be overwrite via menuconfig

5 years agobugfix(psram): fix psram size acquisition method
chenjianqiang [Tue, 20 Nov 2018 12:39:47 +0000 (20:39 +0800)]
bugfix(psram): fix psram size acquisition method

1. Use BIT[7:5] of EID to determine psram size
2. Add ID support for 16Mbit psram
3. Remove module reset on SPI1
4. Confirmed with the vendor that only the old 32Mbit psram need special clock timing. For other psram chips, we should use standard QPI mode.

5 years agoMerge branch 'bugfix/esp-http-client-fixes' into 'release/v3.2'
Angus Gratton [Tue, 12 Feb 2019 23:10:34 +0000 (07:10 +0800)]
Merge branch 'bugfix/esp-http-client-fixes' into 'release/v3.2'

Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example. (backport v3.2)

See merge request idf/esp-idf!4248

5 years agoexamples/simple_ota_example: Fix incorrect component reference in README
Jitin George [Mon, 24 Dec 2018 05:30:45 +0000 (11:00 +0530)]
examples/simple_ota_example: Fix incorrect component reference in README

5 years agotcp_transport: Fix incorrect error logging in ssl_read and ssl_write APIs
Jitin George [Mon, 24 Dec 2018 05:26:08 +0000 (10:56 +0530)]
tcp_transport: Fix incorrect error logging in ssl_read and ssl_write APIs

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

5 years agoesp_http_client: Fix for setting incorrect post header length
Jitin George [Mon, 24 Dec 2018 05:22:38 +0000 (10:52 +0530)]
esp_http_client: Fix for setting incorrect post header length

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

5 years agoci: remove `IDF_CI_BUILD` variable, no active users
Mahavir Jain [Mon, 28 Jan 2019 09:09:36 +0000 (14:39 +0530)]
ci: remove `IDF_CI_BUILD` variable, no active users

5 years agoexamples: aws_iot: fix cmake build issue which used to pick dummy certificates
Mahavir Jain [Fri, 25 Jan 2019 10:07:44 +0000 (15:37 +0530)]
examples: aws_iot: fix cmake build issue which used to pick dummy certificates

For CI build now `sdkconfig.ci` file is used which builds examples assuming certificate
stored on SDCard.

5 years agoMerge branch 'bugfix/eth_gpio0_output_v3.2' into 'release/v3.2'
Angus Gratton [Mon, 11 Feb 2019 23:54:57 +0000 (07:54 +0800)]
Merge branch 'bugfix/eth_gpio0_output_v3.2' into 'release/v3.2'

ethernet cleanup && support GPIO0 output mode && support IP101(backport v3.2)

See merge request idf/esp-idf!4214

5 years agoexamples: update default root-ca for aws_iot demos
Mahavir Jain [Sun, 9 Dec 2018 14:44:41 +0000 (20:14 +0530)]
examples: update default root-ca for aws_iot demos

5 years agoMerge branch 'feature/http_server_backport_api_changes' into 'release/v3.2'
Angus Gratton [Fri, 8 Feb 2019 03:43:33 +0000 (11:43 +0800)]
Merge branch 'feature/http_server_backport_api_changes' into 'release/v3.2'

(backport v3.2) HTTP Server API changes

See merge request idf/esp-idf!4232

6 years agomdns: fix crash after init if no memory for task
David Cermak [Fri, 25 Jan 2019 15:17:07 +0000 (16:17 +0100)]
mdns: fix crash after init if no memory for task

mdns init first starts timer task, then starts service task. if service task failed to be created, timer task needs to be stopped too.
fixed https://ezredmine.espressif.cn:8765/issues/28466

6 years agoMerge branch 'bugfix/event_loop_library_memory_leak_v3.2' into 'release/v3.2'
Angus Gratton [Mon, 4 Feb 2019 08:35:17 +0000 (16:35 +0800)]
Merge branch 'bugfix/event_loop_library_memory_leak_v3.2' into 'release/v3.2'

Fix event loop library memory leak (backport v3.2)

See merge request idf/esp-idf!4221

6 years agoesp_http_server : APIs renamed and context get/set implementations fixed
Anurag Kar [Fri, 2 Nov 2018 18:25:40 +0000 (23:55 +0530)]
esp_http_server : APIs renamed and context get/set implementations fixed

* http_sess_set_*_override APIs are now the only ones available to set custom recv/send/pending functions
* Fixed side effects to using http_sess_set/get_context inside URI handlers

6 years agoesp_http_server example tests : updated advanced_tests as per API changes
Anurag Kar [Fri, 2 Nov 2018 18:05:38 +0000 (23:35 +0530)]
esp_http_server example tests : updated advanced_tests as per API changes

6 years agoesp_http_server improvements to allow adding transport layer encryption
Ondřej Hruška [Wed, 31 Oct 2018 21:59:57 +0000 (22:59 +0100)]
esp_http_server improvements to allow adding transport layer encryption

Changes:
- renamed `httpd_free_sess_ctx_fn_t` to `httpd_free_ctx_fn_t`
- added a `httpd_handle_t` argument to `httpd_send_func_t` and `httpd_recv_func_t`
- internal function `httpd_sess_get()` is no longer static, as it's used in other
  files besides httpd_sess.c

Bug fixes:
- removed a trailing semicolon from `HTTPD_DEFAULT_CONFIG()`
- fixed issue with failed `select()`, now it automatically closes invalid sockets
  instead of shutting down the entire server

New features:
- `httpd_resp_send()` and `httpd_resp_send_chunk()` now accept -1 as length to use
  `strlen()` internally
- added `httpd_sess_set_ctx()` to accompany `httpd_sess_get_ctx()`
- added a "transport context" to the session structure (next to user context)
- added `httpd_sess_{get,set}_transport_ctx()` to work with this transport context
- added "global user context" and "global transport context" stored in the server
  config (and then the handle); supports a user-provided free_fn
- added a "pending func" to e.g. check for data in the transport layer receive
  buffer
- added functions `httpd_set_sess_{send,recv,pending}_override()` that target
  a session by ID (i.e. not using a request object)
- added `httpd_set_pending_override()`
- added a "open_fn" and "close_fn" - functions called when creating and closing
  a session. These may be used to set up transport layer encryption or some other
  session-wide feature

6 years agoMerge branch 'bugfix/btdm_add_handle_in_gatts_conf_event_for_indication_v3.2' into...
Jiang Jiang Jian [Fri, 1 Feb 2019 13:34:05 +0000 (21:34 +0800)]
Merge branch 'bugfix/btdm_add_handle_in_gatts_conf_event_for_indication_v3.2' into 'release/v3.2'

Component/bt: add handle in gatts conf event for indication (backport v3.2)

See merge request idf/esp-idf!4222

6 years agoMerge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection_v3.2' into 'releas...
Jiang Jiang Jian [Fri, 1 Feb 2019 13:28:29 +0000 (21:28 +0800)]
Merge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection_v3.2' into 'release/v3.2'

Component/bt: fix write char crash after disconnection (backport v3.2)

See merge request idf/esp-idf!4210

6 years agoesp32: fix some WiFi bugs
Liu Zhi Fu [Fri, 1 Feb 2019 03:52:40 +0000 (11:52 +0800)]
esp32: fix some WiFi bugs

Fix following WiFi bugs:
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
   after reset.

6 years agoesp_event: detect leaks in unit test
Renz Christian Bagaporo [Wed, 30 Jan 2019 09:14:01 +0000 (17:14 +0800)]
esp_event: detect leaks in unit test

6 years agoesp_event: fix post data type inconsistency
Renz Christian Bagaporo [Tue, 29 Jan 2019 02:53:26 +0000 (10:53 +0800)]
esp_event: fix post data type inconsistency

6 years agoesp_event: fix memory leaks
Renz Christian Bagaporo [Tue, 29 Jan 2019 02:52:53 +0000 (10:52 +0800)]
esp_event: fix memory leaks

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

6 years agoMerge branch 'mesh/malloc_routing_table_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 1 Feb 2019 02:02:24 +0000 (10:02 +0800)]
Merge branch 'mesh/malloc_routing_table_v3.2' into 'release/v3.2'

mesh: modify to malloc routing table (backport v3.2)

See merge request idf/esp-idf!4178

6 years agoComponent/bt: add handle in gatts conf event for indication
zhiweijian [Mon, 24 Dec 2018 06:35:24 +0000 (14:35 +0800)]
Component/bt: add handle in gatts conf event for indication

6 years agoComponent/bt: fix write char crash after disconnection
zhiweijian [Thu, 31 Jan 2019 03:28:55 +0000 (11:28 +0800)]
Component/bt: fix write char crash after disconnection

6 years agoethernet: support new PHY (IP101)
morris [Mon, 28 Jan 2019 12:29:58 +0000 (20:29 +0800)]
ethernet: support new PHY (IP101)

1. Add support for new PHY IP101.
2. Re-enable GPIO0 output mode.
3. Clean up some docs.

6 years agoMerge branch 'feature/add_ipv6_related_change_v3.2' into 'release/v3.2'
He Yin Ling [Thu, 31 Jan 2019 06:31:44 +0000 (14:31 +0800)]
Merge branch 'feature/add_ipv6_related_change_v3.2' into 'release/v3.2'

modify test case to support ipv6 (backport v3.2)

See merge request idf/esp-idf!4074

6 years agomesh: modify to malloc routing table
qiyuexia [Thu, 31 Jan 2019 05:46:50 +0000 (13:46 +0800)]
mesh: modify to malloc routing table

6 years agoMerge branch 'bugfix/tw28445_wps_thread_safe_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 30 Jan 2019 09:50:33 +0000 (17:50 +0800)]
Merge branch 'bugfix/tw28445_wps_thread_safe_v3.2' into 'release/v3.2'

esp32: fix WPS thread-safe (backport v3.2)

See merge request idf/esp-idf!4195

6 years agoMerge branch 'bugfix/mdns_crash_free_strdup_3.2_fix' into 'release/v3.2'
Ivan Grokhotkov [Wed, 30 Jan 2019 06:24:12 +0000 (14:24 +0800)]
Merge branch 'bugfix/mdns_crash_free_strdup_3.2_fix' into 'release/v3.2'

mdns: fixed crash on free undefined ptr if strdup is skipped (Backport 3.2 FIX)

See merge request idf/esp-idf!4197

6 years agoMerge branch 'bugfix/backtrace_from_interrupts_backport_v3.2' into 'release/v3.2'
Angus Gratton [Wed, 30 Jan 2019 05:11:29 +0000 (13:11 +0800)]
Merge branch 'bugfix/backtrace_from_interrupts_backport_v3.2' into 'release/v3.2'

Make backtrace work across interrupts (backport v3.2)

See merge request idf/esp-idf!4183

6 years agoMerge branch 'bugfix/regenerate_sdkconfig_fails_v3.2' into 'release/v3.2'
Angus Gratton [Wed, 30 Jan 2019 01:27:47 +0000 (09:27 +0800)]
Merge branch 'bugfix/regenerate_sdkconfig_fails_v3.2' into 'release/v3.2'

Fix issues with regenerating sdkconfig on modification (backport v3.2)

See merge request idf/esp-idf!4169

6 years agoconfgen: disable config override warnings
Renz Christian Bagaporo [Tue, 29 Jan 2019 03:17:02 +0000 (11:17 +0800)]
confgen: disable config override warnings

6 years agokconfiglib: allow disabling of config override warnings
Renz Christian Bagaporo [Tue, 29 Jan 2019 03:16:25 +0000 (11:16 +0800)]
kconfiglib: allow disabling of config override warnings

Patches ESP-IDF copy of kconfiglib.py with modifications in commit
b65baa47f69ae4c3993876a7edf0da0075aa70ff from kconfiglib repository.

6 years agoesp32: fix WPS thread-safe
Liu Zhi Fu [Tue, 29 Jan 2019 11:44:24 +0000 (19:44 +0800)]
esp32: fix WPS thread-safe

Fix WPS thread-safe bug

6 years agoMerge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 29 Jan 2019 11:41:36 +0000 (19:41 +0800)]
Merge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt_v3.2' into 'release/v3.2'

esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at the same time and both enable modem sleep (backport v3.2)

See merge request idf/esp-idf!4192

6 years agomdns: fixed crash on free undefined ptr after skipped strdup
David Cermak [Tue, 29 Jan 2019 09:32:12 +0000 (10:32 +0100)]
mdns: fixed crash on free undefined ptr after skipped strdup

Shortcircuit evaluation may cause skip of _mdns_strdup_check of any further question field, which after clear_rx_packet freed undefined memory.
Fixes https://ezredmine.espressif.cn:8765/issues/28465

6 years agoesp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
XiaXiaotian [Tue, 29 Jan 2019 03:05:15 +0000 (11:05 +0800)]
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
the same time and both enable modem sleep

6 years agoMerge branch 'bugfix/mdns_crash_free_strdup_3.2' into 'release/v3.2'
Ivan Grokhotkov [Tue, 29 Jan 2019 02:37:25 +0000 (10:37 +0800)]
Merge branch 'bugfix/mdns_crash_free_strdup_3.2' into 'release/v3.2'

mdns: fixed crash on free undefined ptr if strdup is skipped (Backport 3.2)

See merge request idf/esp-idf!4190

6 years agomdns: fixed crash on free undefined ptr after skipped strdup
David Cermak [Fri, 25 Jan 2019 16:19:13 +0000 (17:19 +0100)]
mdns: fixed crash on free undefined ptr after skipped strdup

Shortcircuit evaluation may cause skip of _mdns_strdup_check of any further question field, which after clear_rx_packet freed undefined memory.
Fixes https://ezredmine.espressif.cn:8765/issues/28465

6 years agofreertos: Make backtrace work across interrupts (backport v3.2)
Darian Leung [Fri, 4 Jan 2019 12:38:33 +0000 (20:38 +0800)]
freertos: Make backtrace work across interrupts (backport v3.2)

This commit adds the ability for backtracing to trace from the itnerrupt to the
task stack, and across nested interrupts. Test cases have also been added.

See MR !4084

6 years agoMerge branch 'mesh/bugfix_backport_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Mon, 28 Jan 2019 06:05:51 +0000 (14:05 +0800)]
Merge branch 'mesh/bugfix_backport_v3.2' into 'release/v3.2'

Mesh/bugfix backport v3.2

See merge request idf/esp-idf!4117

6 years agomodify test case to support ipv6
huchaoru [Tue, 17 Apr 2018 08:28:00 +0000 (16:28 +0800)]
modify test case to support ipv6

6 years agoconfgen: disable redundant assignment warning
Renz Christian Bagaporo [Fri, 25 Jan 2019 10:24:53 +0000 (18:24 +0800)]
confgen: disable redundant assignment warning

6 years agokconfiglib: allow disabling of redundant definition warnings
Renz Christian Bagaporo [Fri, 25 Jan 2019 09:42:25 +0000 (17:42 +0800)]
kconfiglib: allow disabling of redundant definition warnings

Patches ESP-IDF copy of kconfiglib.py with modifications in commit
94c63de77c7a3422347e59e168b05174d0b9e84d from kconfiglib repository.

6 years agotool: Add unit test for Kconfig gen
KonstantinKondrashov [Mon, 14 Jan 2019 11:41:29 +0000 (19:41 +0800)]
tool: Add unit test for Kconfig gen

6 years agodocs: remove invalid arg in confgen invocation on docs generation
Renz Christian Bagaporo [Tue, 15 Jan 2019 15:37:48 +0000 (23:37 +0800)]
docs: remove invalid arg in confgen invocation on docs generation

6 years agocmake: only generate sdkconfig on top level project
Renz Christian Bagaporo [Tue, 15 Jan 2019 15:07:17 +0000 (23:07 +0800)]
cmake: only generate sdkconfig on top level project

6 years agoconfgen: base config creation on output type args
Renz Christian Bagaporo [Tue, 15 Jan 2019 15:06:50 +0000 (23:06 +0800)]
confgen: base config creation on output type args

6 years agoMerge branch 'bugfix/i2c_master_clear_bus_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 25 Jan 2019 05:52:48 +0000 (13:52 +0800)]
Merge branch 'bugfix/i2c_master_clear_bus_v3.2' into 'release/v3.2'

i2c/fix i2c_master_clear_bus (backport v3.2)

See merge request idf/esp-idf!4127

6 years agoMerge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 25 Jan 2019 05:52:16 +0000 (13:52 +0800)]
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.2' into 'release/v3.2'

component/bt: add a option to make report adv data and scan response individually (backport v3.2)

See merge request idf/esp-idf!4157

6 years agoMerge branch 'bugfix/mqtt_tests_local_broker_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Thu, 24 Jan 2019 14:00:26 +0000 (22:00 +0800)]
Merge branch 'bugfix/mqtt_tests_local_broker_v3.2' into 'release/v3.2'

MQTT tests: connect to local broker in CI (Backport 3.2)

See merge request idf/esp-idf!4119

6 years agocomponent/bt: add a option to make report adv data and scan response individually
Tian Hao [Wed, 23 Jan 2019 06:11:56 +0000 (14:11 +0800)]
component/bt: add a option to make report adv data and scan response individually

Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.

6 years agoMerge branch 'bugfix/bootloader_map_size_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 24 Jan 2019 06:09:35 +0000 (14:09 +0800)]
Merge branch 'bugfix/bootloader_map_size_v3.2' into 'release/v3.2'

bootloader: fix incorrect mapping size (backport v3.2)

See merge request idf/esp-idf!4138

6 years agoMerge branch 'bugfix/sha_ownership_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 24 Jan 2019 06:08:35 +0000 (14:08 +0800)]
Merge branch 'bugfix/sha_ownership_v3.2' into 'release/v3.2'

hwcrypto sha: Allow SHA contexts to be shared between tasks (backport v3.2)

See merge request idf/esp-idf!4143

6 years agotest: modify the reason code from 204 to 15 in WIFI_CONN_0904
qiyueixa [Mon, 21 Jan 2019 03:33:58 +0000 (11:33 +0800)]
test: modify the reason code from 204 to 15 in WIFI_CONN_0904

6 years agomesh: bugfix
qiyueixa [Mon, 21 Jan 2019 03:06:17 +0000 (11:06 +0800)]
mesh: bugfix

1. fix network channel switch function.
2. support not configuring the network channel.
3. support not configuring the router BSSID even if the router is hidden.
4. add allow_channel_switch to mesh configuration.
5. add allow_router_switch to mesh router configuration.
6. support handling beacon without IE of DS Parameter Set.
7. fix Wi-Fi RX fails in a specific scenario (update libphy.a).
8. fix STAs can not detect disconnection from AP when encrypt transmission is used.
9. fix can not find hidden APs.
10. for root, modify the active scan time to 120ms.
11. remove all rc when clear parent Wi-Fi configuration.
12. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
13. fix modify IE encrypt after mesh is started.
14. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
15. fix reason is cleared before vote is done.
16. fix issues in the example of manual_networking when mesh network is encrypted.
17. detect and fix root conflicts when router BSSID is not set.
18. when root can not connect to the router due to NO_MORE_STAS(reason code:5), root will stop re-connection and perform MESH_NWK_LOOK_FOR_NETWORK.
19. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
20. fix routing table redundant issue due to the remove announcement is not 100% reliable.
21. modify the max routes limitation from 300 to 1000.
22. wifi: fix ap does not deauth the sta which has not yet completed the 4-way handshake but the max replay count is reached.

6 years agoMerge branch 'bugfix/wifi_fix_invalid_csi_data_index_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 23 Jan 2019 14:14:04 +0000 (22:14 +0800)]
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index_v3.2' into 'release/v3.2'

esp32: fix invalid channel state information(CSI) data index (backort v3.2)

See merge request idf/esp-idf!4129

6 years agoMerge branch 'bugfix/vfs_unregister_nested_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 23 Jan 2019 13:54:50 +0000 (21:54 +0800)]
Merge branch 'bugfix/vfs_unregister_nested_v3.2' into 'release/v3.2'

vfs: fix unregister removing top level VFS instead of nested (backport v3.2)

See merge request idf/esp-idf!4137