]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agokconfiglib: Allow CONFIG_xxx= to disable booleans
Angus Gratton [Mon, 20 Aug 2018 07:15:36 +0000 (17:15 +1000)]
kconfiglib: Allow CONFIG_xxx= to disable booleans

But replace all sdkconfig.defaults to use the explicit =n (more correct)

6 years agocmake: Fix bt component dependencies
Angus Gratton [Mon, 20 Aug 2018 00:47:55 +0000 (10:47 +1000)]
cmake: Fix bt component dependencies

6 years agocmake: Fix flasher argument generation
Angus Gratton [Mon, 20 Aug 2018 00:47:42 +0000 (10:47 +1000)]
cmake: Fix flasher argument generation

6 years agoMerge branch 'master' into feature/cmake
Angus Gratton [Thu, 16 Aug 2018 05:01:43 +0000 (15:01 +1000)]
Merge branch 'master' into feature/cmake

6 years agoMerge branch 'bugfix/spiram_malloc_reserve_internal_fragments' into 'master'
Angus Gratton [Thu, 16 Aug 2018 03:19:39 +0000 (11:19 +0800)]
Merge branch 'bugfix/spiram_malloc_reserve_internal_fragments' into 'master'

esp32: Allow SPIRAM_MALLOC_RESERVE_INTERNAL to span multiple regions of memory

See merge request idf/esp-idf!2891

6 years agoMerge branch 'feature/rtc_wdt_api' into 'master'
Angus Gratton [Thu, 16 Aug 2018 00:19:12 +0000 (08:19 +0800)]
Merge branch 'feature/rtc_wdt_api' into 'master'

soc/rtc_wdt: Add API functions for rtc_wdt

See merge request idf/esp-idf!2837

6 years agoMerge branch 'feature/what_driver_for_my_board' into 'master'
Ivan Grokhotkov [Wed, 15 Aug 2018 21:24:40 +0000 (05:24 +0800)]
Merge branch 'feature/what_driver_for_my_board' into 'master'

Provided a table with development boards by Espressif together with USB-to-serial driver names

See merge request idf/esp-idf!2792

6 years agoProvided a table with development boards by Espressif together with USB-to-serial...
Krzysztof Budzynski [Wed, 15 Aug 2018 21:24:40 +0000 (05:24 +0800)]
Provided a table with development boards by Espressif together with USB-to-serial driver names

6 years agoMerge branch 'docs/simplified_rtd_theme_configuration' into 'master'
Ivan Grokhotkov [Wed, 15 Aug 2018 21:23:54 +0000 (05:23 +0800)]
Merge branch 'docs/simplified_rtd_theme_configuration' into 'master'

Removed redundant code to configure 'sphinx-rtd-theme' for documentation

See merge request idf/esp-idf!2921

6 years agoMerge branch 'bugfix/tw24588_Android_get_IP_fail' into 'master'
Jiang Jiang Jian [Wed, 15 Aug 2018 03:47:13 +0000 (11:47 +0800)]
Merge branch 'bugfix/tw24588_Android_get_IP_fail' into 'master'

fix the bug for Android phone getting IP fail when STA+AP mode

See merge request idf/esp-idf!3006

6 years agoMerge branch 'doc/unit_test_zh_CN' into 'master'
Angus Gratton [Wed, 15 Aug 2018 01:05:17 +0000 (09:05 +0800)]
Merge branch 'doc/unit_test_zh_CN' into 'master'

doc: translate the unit-tests.rst into Chinese

See merge request idf/esp-idf!2998

6 years agoMerge branch 'bugfix/mdns_any_type_share' into 'master'
Jiang Jiang Jian [Tue, 14 Aug 2018 16:52:21 +0000 (00:52 +0800)]
Merge branch 'bugfix/mdns_any_type_share' into 'master'

mdns: Fix a portion of the queries are issued with the wildcard query type

See merge request idf/esp-idf!2886

6 years agosoc/rtc_wdt: Add API functions for rtc_wdt
Konstantin Kondrashov [Mon, 23 Jul 2018 10:59:37 +0000 (15:59 +0500)]
soc/rtc_wdt: Add API functions for rtc_wdt

Added functions:
rtc_wdt_protect_off/on
rtc_wdt_set_length_of_reset_signal
rtc_wdt_set_stage
rtc_wdt_set_time
rtc_wdt_feed
rtc_wdt_disable/enable

6 years agodoc/unit-tests:translate the unit-tests into zh_CN
morris [Mon, 13 Aug 2018 12:39:22 +0000 (20:39 +0800)]
doc/unit-tests:translate the unit-tests into zh_CN

6 years agomdns: Fix a portion of the queries are issued with the wildcard query type
Liu Han [Tue, 31 Jul 2018 02:00:02 +0000 (10:00 +0800)]
mdns: Fix a portion of the queries are issued with the wildcard query type

6 years agofix the bug for Android phone getting IP fail when STA+AP mode
zhangyanjiao [Tue, 14 Aug 2018 02:53:26 +0000 (10:53 +0800)]
fix the bug for Android phone getting IP fail when STA+AP mode

6 years agoMerge branch 'bugfix/bt_fix_incorrect_handle_print' into 'master'
Jiang Jiang Jian [Tue, 14 Aug 2018 06:16:53 +0000 (14:16 +0800)]
Merge branch 'bugfix/bt_fix_incorrect_handle_print' into 'master'

examples/bluetooth: Fix incorrect end handle print in the GATT client applications

See merge request idf/esp-idf!2880

6 years agoMerge branch 'feature/ota_get_sha-256_of_partition' into 'master'
Angus Gratton [Tue, 14 Aug 2018 03:32:39 +0000 (11:32 +0800)]
Merge branch 'feature/ota_get_sha-256_of_partition' into 'master'

bootloader_support: Add API for getting sha256_of_partition

See merge request idf/esp-idf!2479

6 years agoMerge branch 'bugfix/ulp_jumps_flags' into 'master'
Ivan Grokhotkov [Mon, 13 Aug 2018 17:14:12 +0000 (01:14 +0800)]
Merge branch 'bugfix/ulp_jumps_flags' into 'master'

ULP: document JUMPS instruction flags, add tests

See merge request idf/esp-idf!2949

6 years agoci: only apply BOT_DOCKER_IMAGE_TAG to esp32-ci-env
Ivan Grokhotkov [Sun, 12 Aug 2018 22:33:18 +0000 (01:33 +0300)]
ci: only apply BOT_DOCKER_IMAGE_TAG to esp32-ci-env

6 years agodocs: update esp32ulp-binutils download link
Ivan Grokhotkov [Sun, 12 Aug 2018 20:36:19 +0000 (23:36 +0300)]
docs: update esp32ulp-binutils download link

6 years agoulp: add documentation for JUMPS instruction conditions
Ivan Grokhotkov [Tue, 7 Aug 2018 13:57:19 +0000 (16:57 +0300)]
ulp: add documentation for JUMPS instruction conditions

Hardware implements conditions LE, LT, GE, and conditions EQ and GT
are implemented in the assembler by emitting two JUMPS instructions
with other conditions.

6 years agoulp: add tests for jumps instruction
Ivan Grokhotkov [Tue, 7 Aug 2018 13:13:26 +0000 (16:13 +0300)]
ulp: add tests for jumps instruction

6 years agoapp_update: Add API for getting sha256_of_partition
Konstantin Kondrashov [Wed, 30 May 2018 09:08:00 +0000 (14:08 +0500)]
app_update: Add API for getting sha256_of_partition

Added bootloader_common_get_sha256_of_partition() and esp_partition_get_sha256() - get or calculate SHA-256
digest for app and data partitions.
Added bootloader_sha256_hex_to_str() - helps to print SHA-256 digest
Added esp_partition_check_identity() - compares two partitions by SHA-256 digest

Refactoring a function esp_image_load() in bootloader space to esp_image_verify() and
bootloader_load_image(). Old name function esp_image_load is deprecated
and will remove in V4.0 version.

spi_flash/sim: Fix error test_host. Add stub for bootloader_common_get_sha256_of_partition in sim/stubs

6 years agoMerge branch 'feature/cmake_separate_docs' into 'feature/cmake'
Angus Gratton [Mon, 13 Aug 2018 07:47:07 +0000 (15:47 +0800)]
Merge branch 'feature/cmake_separate_docs' into 'feature/cmake'

docs: Copy CMake docs to a separate set of directories

See merge request idf/esp-idf!2959

6 years agoMerge branch 'bugfix/btdm_ecdh_public_key_not_check' into 'master'
Jiang Jiang Jian [Mon, 13 Aug 2018 07:44:13 +0000 (15:44 +0800)]
Merge branch 'bugfix/btdm_ecdh_public_key_not_check' into 'master'

component/bt: Fixed the vulnerability released by Bluetooth org when using…

See merge request idf/esp-idf!2933

6 years agocomponent/bt: Fixed the vulnerability released by Bluetooth org when using public...
yulong [Sun, 5 Aug 2018 13:18:31 +0000 (21:18 +0800)]
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.

1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.

6 years agoMerge branch 'bugfix/doc_generated_sections' into 'master'
Angus Gratton [Mon, 13 Aug 2018 05:57:42 +0000 (13:57 +0800)]
Merge branch 'bugfix/doc_generated_sections' into 'master'

docs: Move version-related includes to run in sphinx-build not make

See merge request idf/esp-idf!2985

6 years agocmake: Only rewrite componend_depends.cmake if it changes
Angus Gratton [Fri, 10 Aug 2018 02:30:32 +0000 (12:30 +1000)]
cmake: Only rewrite componend_depends.cmake if it changes

6 years agocmake: Expand components relative to PROJECT_PATH correctly
Angus Gratton [Fri, 10 Aug 2018 02:18:25 +0000 (12:18 +1000)]
cmake: Expand components relative to PROJECT_PATH correctly

6 years agodocs: Python 3 Sphinx compatibility
Angus Gratton [Wed, 8 Aug 2018 23:48:17 +0000 (09:48 +1000)]
docs: Python 3 Sphinx compatibility

6 years agodocs: Copy CMake docs to a separate set of directories
Angus Gratton [Wed, 8 Aug 2018 07:58:00 +0000 (17:58 +1000)]
docs: Copy CMake docs to a separate set of directories

Required first step before merging back to mainline.

6 years agodocs: Add gen-version-specific-includes.py to executables list
Angus Gratton [Mon, 13 Aug 2018 02:28:54 +0000 (12:28 +1000)]
docs: Add gen-version-specific-includes.py to executables list

6 years agodocs: Move version-related includes to run in sphinx-build not make
Angus Gratton [Mon, 13 Aug 2018 02:24:55 +0000 (12:24 +1000)]
docs: Move version-related includes to run in sphinx-build not make

Means they show up on ReadTheDocs(!)

6 years agoMerge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond' into...
Jiang Jiang Jian [Fri, 10 Aug 2018 12:46:34 +0000 (20:46 +0800)]
Merge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond' into 'master'

Component/bt: fix get bond list error when connection with no bond

See merge request idf/esp-idf!2957

6 years agoMerge branch 'bugfix/gpio_reset_bitmask' into 'master'
Ivan Grokhotkov [Fri, 10 Aug 2018 09:35:26 +0000 (17:35 +0800)]
Merge branch 'bugfix/gpio_reset_bitmask' into 'master'

gpio: Bitmask overflow fix in gpio_reset_pin

See merge request idf/esp-idf!2966

6 years agoMerge branch 'doc/heap_tracing' into 'master'
Angus Gratton [Fri, 10 Aug 2018 08:46:52 +0000 (16:46 +0800)]
Merge branch 'doc/heap_tracing' into 'master'

heap docs: Fix some bad links & errors in the heap docs

See merge request idf/esp-idf!2942

6 years agoheap docs: Fix some bad links & errors in the heap docs
Angus Gratton [Tue, 7 Aug 2018 01:37:57 +0000 (11:37 +1000)]
heap docs: Fix some bad links & errors in the heap docs

Also add a note about printf() sometimes causing on-demand allocations.

6 years agoMerge branch 'bugfix/http_client_null_auth_header' into 'master'
Angus Gratton [Fri, 10 Aug 2018 05:44:55 +0000 (13:44 +0800)]
Merge branch 'bugfix/http_client_null_auth_header' into 'master'

esp_http_client: Fixed exception on 401 without Www-Authenticate header

See merge request idf/esp-idf!2900

6 years agoMerge branch 'mesh/bugfix_parent_switch' into 'master'
Jiang Jiang Jian [Fri, 10 Aug 2018 03:31:50 +0000 (11:31 +0800)]
Merge branch 'mesh/bugfix_parent_switch' into 'master'

mesh: modify parent switch mechanism

See merge request idf/esp-idf!2803

6 years agoMerge branch 'doc/versions' into 'master'
Angus Gratton [Fri, 10 Aug 2018 00:08:10 +0000 (08:08 +0800)]
Merge branch 'doc/versions' into 'master'

docs: Add version-specific include files, version documentation

See merge request idf/esp-idf!2858

6 years agoMerge branch 'bugfix/nvs_mem_leak' into 'master'
Ivan Grokhotkov [Thu, 9 Aug 2018 12:48:31 +0000 (20:48 +0800)]
Merge branch 'bugfix/nvs_mem_leak' into 'master'

nvs: fix memory leak when writing a blob

See merge request idf/esp-idf!2969

6 years agonvs: fix memory leak when writing a blob
Ivan Grokhotkov [Thu, 9 Aug 2018 07:35:19 +0000 (10:35 +0300)]
nvs: fix memory leak when writing a blob

Introduced in 5a27a63.
Clear usedPages list in all exit conditions, add test.

6 years agodocs: Combine the common en/zh_CN Makefiles to one common file
Angus Gratton [Mon, 6 Aug 2018 05:18:59 +0000 (15:18 +1000)]
docs: Combine the common en/zh_CN Makefiles to one common file

6 years agodocs: translate the version include script to Chinese
Michael (XIAO Xufeng) [Tue, 31 Jul 2018 04:34:10 +0000 (12:34 +0800)]
docs: translate the version include script to Chinese

6 years agoREADME: Add version-specific links
Angus Gratton [Fri, 27 Jul 2018 07:21:38 +0000 (17:21 +1000)]
README: Add version-specific links

Make it clearer how the README fits in with the docs.

6 years agoMerge branch 'feature/http_client_head' into 'master'
Ivan Grokhotkov [Wed, 8 Aug 2018 12:58:39 +0000 (20:58 +0800)]
Merge branch 'feature/http_client_head' into 'master'

esp_http_client: add head method support

See merge request idf/esp-idf!2895

6 years agogpio: Bitmask overflow fix in gpio_reset_pin
Taavi Hein [Wed, 8 Aug 2018 12:31:17 +0000 (15:31 +0300)]
gpio: Bitmask overflow fix in gpio_reset_pin

For pins 32 and up the BIT(nr) macro used here overflowed,
causing undetermined GPIO pins to be reset.
Example: freeing SPI device/bus where CS is on pin 33
caused debug UART to cease communication, TXD0 was
disabled.

Fixed as BIT64(nr) macro, to be used elsewhere as needed.
For example in definitions like GPIO_SEL_32..GPIO_SEL_39.

6 years agoMerge branch 'bugfix/add_mutex_for_some_touchpad_apis' into 'master'
Angus Gratton [Wed, 8 Aug 2018 08:28:28 +0000 (16:28 +0800)]
Merge branch 'bugfix/add_mutex_for_some_touchpad_apis' into 'master'

fix(touch): add_mutex_for_some_touchpad_apis

See merge request idf/esp-idf!2714

6 years agoMerge branch 'bugfix/ulp_fixes' into 'master'
Ivan Grokhotkov [Wed, 8 Aug 2018 07:37:25 +0000 (15:37 +0800)]
Merge branch 'bugfix/ulp_fixes' into 'master'

ULP fixes

See merge request idf/esp-idf!2948

6 years agoComponent/bt: fix get bond list error when connection with no bond
zhiweijian [Wed, 8 Aug 2018 06:44:22 +0000 (14:44 +0800)]
Component/bt: fix get bond list error when connection with no bond

6 years agomesh: modify parent switch mechanism
qiyuexia [Wed, 8 Aug 2018 05:08:41 +0000 (13:08 +0800)]
mesh: modify parent switch mechanism

1. modify parent switch mechanism.
2. fix non-root doesn't clear the layer value in nvs.
3. fix retransmit the remove announcement packets.
4. add API esp_mesh_flush_upstream_packets().
5. automatically adjust passsive scan time based on the change of beacon interval.

6 years agoMerge branch 'bugfix/remove_check_for_reason_assoc_expire' into 'master'
He Yin Ling [Wed, 8 Aug 2018 04:58:20 +0000 (12:58 +0800)]
Merge branch 'bugfix/remove_check_for_reason_assoc_expire' into 'master'

test: remove check for REASON_ASSOC_EXPIRE:

See merge request idf/esp-idf!2904

6 years agoMerge branch 'feature/http_firmware_upgrade' into 'master'
Angus Gratton [Wed, 8 Aug 2018 04:27:05 +0000 (12:27 +0800)]
Merge branch 'feature/http_firmware_upgrade' into 'master'

esp_https_ota: Add esp_https_ota component

See merge request idf/esp-idf!2771

6 years agoMerge branch 'feature/aws-iot-update-3.0.1' into 'master'
Angus Gratton [Tue, 7 Aug 2018 23:14:58 +0000 (07:14 +0800)]
Merge branch 'feature/aws-iot-update-3.0.1' into 'master'

Feature/aws iot update 3.0.1

See merge request idf/esp-idf!2936

6 years agoMerge branch 'bugfix/asio_test_socket_timeout' into 'master'
Ivan Grokhotkov [Tue, 7 Aug 2018 13:49:09 +0000 (21:49 +0800)]
Merge branch 'bugfix/asio_test_socket_timeout' into 'master'

asio: added socket timeout for example tests

See merge request idf/esp-idf!2931

6 years agoulp: fix ULP binary format documentation
Ivan Grokhotkov [Tue, 7 Aug 2018 13:09:54 +0000 (16:09 +0300)]
ulp: fix ULP binary format documentation

Fix incorrect offset value (4+2+2+2+2=12) of arbitrary data in ULP
binary format.

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

6 years agoulp: use += instead of := when setting component vars
Ivan Grokhotkov [Tue, 7 Aug 2018 13:08:13 +0000 (16:08 +0300)]
ulp: use += instead of := when setting component vars

Component which includes component_ulp_common.mk may also need to set
some of the same COMPONENT_XXX variables. Logically, we should combine
the lists of files to embed, ldflags, extra include dirs, etc.

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

6 years agoulp: fix missing include in esp32/ulp.h header
Ivan Grokhotkov [Tue, 7 Aug 2018 13:04:00 +0000 (16:04 +0300)]
ulp: fix missing include in esp32/ulp.h header

ulp.h uses some register base addresses, so needs to include soc.h

6 years agoulp: fix calculation or ulp_run argument
Ivan Grokhotkov [Tue, 7 Aug 2018 13:03:23 +0000 (16:03 +0300)]
ulp: fix calculation or ulp_run argument

The argument to ulp_run should be expressed in 32-bit words. Both the
address of ulp_entry and RTC_SLOW_MEM already are uint32_t*, so their
difference is the difference in addresses divided by sizeof(uint32_t).
Therefore the extra division by sizeof(uint32_t) is not needed.

6 years agotest: update Wi-Fi test cases:
He Yin Ling [Mon, 30 Jul 2018 07:35:53 +0000 (15:35 +0800)]
test: update Wi-Fi test cases:

1. The test step for error code REASON_ASSOC_EXPIRE is not reliable. SoftAP
could also send error code WIFI_REASON_NOT_AUTHED
2. STA will be disconnected now if softAP restart DHCP server

6 years agoMerge branch 'bugfix/wrong_connect_in_all_channel_scan' into 'master'
Jiang Jiang Jian [Tue, 7 Aug 2018 10:31:31 +0000 (18:31 +0800)]
Merge branch 'bugfix/wrong_connect_in_all_channel_scan' into 'master'

Wifi: bug fix of may connect to wrong AP in all channel scan

See merge request idf/esp-idf!2829

6 years agoaws-iot: Update to 3.0.1 release
Anuj Deshpande [Tue, 7 Aug 2018 05:55:44 +0000 (11:25 +0530)]
aws-iot: Update to 3.0.1 release

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

6 years agoaws-iot: Make thing shadow example compatible with v3 of aws iot sdk
Anuj Deshpande [Mon, 6 Aug 2018 08:44:52 +0000 (14:14 +0530)]
aws-iot: Make thing shadow example compatible with v3 of aws iot sdk

6 years agoMerge branch 'feature/nvs_version_check' into 'master'
Angus Gratton [Tue, 7 Aug 2018 05:31:49 +0000 (13:31 +0800)]
Merge branch 'feature/nvs_version_check' into 'master'

nvs_flash: Version compatibility check for nvs storage

See merge request idf/esp-idf!2855

6 years agoasio: added socket timeout for example tests
David Cermak [Sat, 4 Aug 2018 20:09:34 +0000 (22:09 +0200)]
asio: added socket timeout for example tests

6 years agoMerge branch 'bugfix/fix_crash_for_http2_request' into 'master'
Jiang Jiang Jian [Mon, 6 Aug 2018 12:41:40 +0000 (20:41 +0800)]
Merge branch 'bugfix/fix_crash_for_http2_request' into 'master'

fix the crash when http2_request example send/recv fail

See merge request idf/esp-idf!2916

6 years agoWifi: bug fix of may connect to wrong AP in all channel scan
Deng Xin [Fri, 20 Jul 2018 12:30:29 +0000 (20:30 +0800)]
Wifi: bug fix of may connect to wrong AP in all channel scan
1. enable threshold in all channel scan
2. bug fix of may connect to an open AP even set password in all channel scan

6 years agofix the crash when http2_request example send/recv fail
zhangyanjiao [Thu, 2 Aug 2018 05:11:50 +0000 (13:11 +0800)]
fix the crash when http2_request example send/recv fail

6 years agoMerge branch 'bugfix/station_state_machine_change_and_ap_loss_happen' into 'master'
Jiang Jiang Jian [Mon, 6 Aug 2018 10:49:31 +0000 (18:49 +0800)]
Merge branch 'bugfix/station_state_machine_change_and_ap_loss_happen' into 'master'

Wifi: station state machine change and fix ap loss

See merge request idf/esp-idf!2911

6 years agoMerge branch 'bugfix/btdm_spp_crash_on_reset' into 'master'
Jiang Jiang Jian [Mon, 6 Aug 2018 10:39:21 +0000 (18:39 +0800)]
Merge branch 'bugfix/btdm_spp_crash_on_reset' into 'master'

component/bt: Fix bug of SPP crash on reset

See merge request idf/esp-idf!2801

6 years agoMerge branch 'bugfix/btdm_hfp_invalid_sco_param' into 'master'
Jiang Jiang Jian [Mon, 6 Aug 2018 07:35:27 +0000 (15:35 +0800)]
Merge branch 'bugfix/btdm_hfp_invalid_sco_param' into 'master'

bugfix/btdm_hfp_invalid_sco_param

See merge request idf/esp-idf!2915

6 years agoMerge branch 'feature/component_memory_reservation' into 'master'
Angus Gratton [Mon, 6 Aug 2018 07:32:44 +0000 (15:32 +0800)]
Merge branch 'feature/component_memory_reservation' into 'master'

soc: Allow components to reserve fixed memory ranges that they need

See merge request idf/esp-idf!2596

6 years agocomponent/bt: modify the invalid retransmission setting for SCO link in HFP
wangmengyang [Wed, 1 Aug 2018 11:39:18 +0000 (19:39 +0800)]
component/bt: modify the invalid retransmission setting for SCO link in HFP

6 years agodocs: Add version-specific include files, version documentation
Angus Gratton [Wed, 25 Jul 2018 04:30:15 +0000 (14:30 +1000)]
docs: Add version-specific include files, version documentation

* "git clone" command and a small version header are generated
  depending on git properties.
* Add Versions page with details about each version
* Make it clear using master branch is living on the "bleeding
  edge"

6 years agolinker: Don't link all of 'soc' into IRAM
Angus Gratton [Mon, 25 Jun 2018 07:28:56 +0000 (17:28 +1000)]
linker: Don't link all of 'soc' into IRAM

Moves any code in *_perpih.c, memory_layout_utils.c to flash

6 years agosoc: Allow components to reserve fixed memory ranges that they need
Angus Gratton [Fri, 22 Jun 2018 07:32:58 +0000 (17:32 +1000)]
soc: Allow components to reserve fixed memory ranges that they need

No longer necessary to keep all reserved addresses in 'soc'.

Means 'soc' does not need to know about 'bt', for example.

Also means that Bluetooth can be enabled in config without any memory being reserved for BT
controller. Only if code calling the BT controller is linked in, will this memory be reserved...

6 years agoMerge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer' into 'master'
Jiang Jiang Jian [Sun, 5 Aug 2018 15:49:40 +0000 (23:49 +0800)]
Merge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer' into 'master'

driver(uart): Fixed uart tx_empty interrupt wdt timeout bug

See merge request idf/esp-idf!2823

6 years agoMerge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones' into 'master'
Jiang Jiang Jian [Sun, 5 Aug 2018 15:48:23 +0000 (23:48 +0800)]
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones' into 'master'

Component/bt:  fix SC_MITM_BOND failed in smp for iphones

See merge request idf/esp-idf!2863

6 years agodriver(uart): Fixed uart tx_empty interrupt wdt timeout bug.
kooho [Thu, 19 Jul 2018 13:41:35 +0000 (21:41 +0800)]
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug.

6 years agoesp_http_client: Fixed exception on 401 without Www-Authenticate header
Tuan PM [Tue, 31 Jul 2018 16:25:11 +0000 (23:25 +0700)]
esp_http_client: Fixed exception on 401 without Www-Authenticate header
Closes https://github.com/espressif/esp-idf/issues/2246

6 years agoWifi: station state machine change and fix ap loss
Deng Xin [Wed, 1 Aug 2018 08:27:01 +0000 (16:27 +0800)]
Wifi: station state machine change and fix ap loss

1. fix ap loss issue
2. change station behavior when receive disassoc and deauth after connect
3. format state machine reason code

6 years agocomponent/bt: Fix bug of SPP crash on reset
baohongde [Wed, 1 Aug 2018 07:41:50 +0000 (15:41 +0800)]
component/bt: Fix bug of SPP crash on reset

In response to: https://github.com/espressif/esp-idf/issues/1998

6 years agonvs_flash: Version compatibility check for nvs storage
Sagar Bijwe [Wed, 25 Jul 2018 15:11:09 +0000 (20:41 +0530)]
nvs_flash: Version compatibility check for nvs storage

This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.

6 years agonvs_flash: Bump up nvs version
Sagar Bijwe [Wed, 25 Jul 2018 13:25:05 +0000 (18:55 +0530)]
nvs_flash: Bump up nvs version

6 years agoMerge branch 'bugfix/update_libphy_to_fix_some_issues' into 'master'
Jiang Jiang Jian [Sat, 4 Aug 2018 23:36:02 +0000 (07:36 +0800)]
Merge branch 'bugfix/update_libphy_to_fix_some_issues' into 'master'

esp32: update libphy.a to v3960

See merge request idf/esp-idf!2908

6 years agoComponent/bt: fix SC_MITM_BOND failed in smp for iphones
zhiweijian [Fri, 27 Jul 2018 03:18:52 +0000 (11:18 +0800)]
Component/bt:  fix SC_MITM_BOND failed in smp for iphones

6 years agoesp32: update libphy.a to v3960
Liu Zhi Fu [Fri, 3 Aug 2018 08:18:11 +0000 (16:18 +0800)]
esp32: update libphy.a to v3960

Update libphy.a to v3960:
1. Decrease  phy_init time from 900us to 347us in sleep wakeup
2. Fix RX STBC initialization
3. Modify set_chan function to fix interrupt watchdog issue

6 years agoMerge branch 'bugfix/asio_test_timeout' into 'master'
Jiang Jiang Jian [Sat, 4 Aug 2018 16:20:48 +0000 (00:20 +0800)]
Merge branch 'bugfix/asio_test_timeout' into 'master'

tiny-test-fw: Increase default expect timeout, increase asio example test timeouts

See merge request idf/esp-idf!2925

6 years agoesp_http_client: Add support for getting transport type
Jitin George [Wed, 25 Jul 2018 05:58:17 +0000 (11:28 +0530)]
esp_http_client: Add support for getting transport type

6 years agoesp_https_ota: Add support for HTTPS based ota feature
Jitin George [Thu, 12 Jul 2018 12:15:44 +0000 (17:45 +0530)]
esp_https_ota: Add support for HTTPS based ota feature

6 years agoMerge branch 'feature/support_64mbit_psram' into 'master'
Jiang Jiang Jian [Fri, 3 Aug 2018 09:59:36 +0000 (17:59 +0800)]
Merge branch 'feature/support_64mbit_psram' into 'master'

feature(psram): add support for 64MBit psram of 1.8v and 3.3v.

See merge request idf/esp-idf!2696

6 years agoMerge branch 'bugfix/btdm_a2dp_disconnect_reason' into 'master'
Jiang Jiang Jian [Fri, 3 Aug 2018 07:30:30 +0000 (15:30 +0800)]
Merge branch 'bugfix/btdm_a2dp_disconnect_reason' into 'master'

bugfix/btdm_a2dp_disconnect_reason

See merge request idf/esp-idf!2914

6 years agoMerge branch 'bugfix/btdm_fix_ble_HIDD_demo_error' into 'master'
Jiang Jiang Jian [Fri, 3 Aug 2018 07:26:40 +0000 (15:26 +0800)]
Merge branch 'bugfix/btdm_fix_ble_HIDD_demo_error' into 'master'

Component/bt: fix ble HID demo error

See merge request idf/esp-idf!2892

6 years agoMerge branch 'bugfix/coex_wifi_pm' into 'master'
Jiang Jiang Jian [Fri, 3 Aug 2018 07:22:13 +0000 (15:22 +0800)]
Merge branch 'bugfix/coex_wifi_pm' into 'master'

Bugfix/coex wifi pm

See merge request idf/esp-idf!2883

6 years agoasio example tests: Increase timeout for DHCP lease to 30s
Angus Gratton [Fri, 3 Aug 2018 06:59:23 +0000 (16:59 +1000)]
asio example tests: Increase timeout for DHCP lease to 30s

Covers time to connect to WiFi and negotiate lease,
may be more than 5-10s on some busy APs

6 years agotiny-test-fw: Increase default expect timeout to 10 seconds
Angus Gratton [Fri, 3 Aug 2018 06:55:50 +0000 (16:55 +1000)]
tiny-test-fw: Increase default expect timeout to 10 seconds

Fix CI failures due to (for example) DHCP lease taking more than 5s to be negotiated.

6 years agoMerge branch 'bugfix/hard_error_partition_offset' into 'master'
Angus Gratton [Fri, 3 Aug 2018 06:52:43 +0000 (14:52 +0800)]
Merge branch 'bugfix/hard_error_partition_offset' into 'master'

partition_table: Hard error if CSV contains invalid/overlapping offsets

See merge request idf/esp-idf!2755

6 years agofix bug that wifi sleep before receive beacon
Tian Hao [Mon, 30 Jul 2018 11:44:59 +0000 (19:44 +0800)]
fix bug that wifi sleep before receive beacon

        it will resolve the problem:
        1. when bluetooth is running (For example: a2dp sink), wifi station cannot connect to AP easily
        2. improve wifi connection success ratio when coexist is working

6 years agoMerge branch 'bugfix/btdm_fix_queue_block_when_scanning' into 'master'
Angus Gratton [Thu, 2 Aug 2018 23:24:08 +0000 (07:24 +0800)]
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning' into 'master'

Component/bt: fix queue blocking when scanning

See merge request idf/esp-idf!2706