]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'feature/fail_build_on_sphinx_warning' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 05:49:11 +0000 (13:49 +0800)]
Merge branch 'feature/fail_build_on_sphinx_warning' into 'master'

Fail CI build on Sphinx warnings

See merge request !1228

6 years agoFail CI build on Sphinx warnings
krzychb [Wed, 6 Sep 2017 19:16:34 +0000 (21:16 +0200)]
Fail CI build on Sphinx warnings

6 years agoMerge branch 'bugfix/btdm_nvs_get_str_or_blob' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 04:20:42 +0000 (12:20 +0800)]
Merge branch 'bugfix/btdm_nvs_get_str_or_blob' into 'master'

fix: Fix bug of function nvs_get_str_or_blob

See merge request !1182

6 years agoMerge branch 'feature/uart_software_flow_control' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 04:11:11 +0000 (12:11 +0800)]
Merge branch 'feature/uart_software_flow_control' into 'master'

uart: Add api call to switch on hardware support for 'software' flow control. (github #890)

See merge request !1215

6 years agoMerge branch 'bugfix/list_node_naming' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 04:10:54 +0000 (12:10 +0800)]
Merge branch 'bugfix/list_node_naming' into 'master'

Fix "list_node" name conflict in bluedroid & dhcp_server

See merge request !1216

6 years agoMerge branch 'bugfix/btdm_disable_gatts' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 04:06:41 +0000 (12:06 +0800)]
Merge branch 'bugfix/btdm_disable_gatts' into 'master'

component/bt: fix build error when GATTS is disabled in menuconfig

See merge request !1232

6 years agoMerge branch 'bugfix/crashed_core_dump' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 03:32:48 +0000 (11:32 +0800)]
Merge branch 'bugfix/crashed_core_dump' into 'master'

esp32: Fixes crash during core dump.

See merge request !1239

6 years agoMerge branch 'bugfix/gatts_example_param' into 'master'
Anton Maklakov [Tue, 12 Sep 2017 02:37:19 +0000 (10:37 +0800)]
Merge branch 'bugfix/gatts_example_param' into 'master'

BT gatts example: using param, which corresponds to handled event

See merge request !1176

6 years agogatts_demo example: Use add_char_descr.attr_handle everywhere
Angus Gratton [Tue, 12 Sep 2017 00:57:45 +0000 (10:57 +1000)]
gatts_demo example: Use add_char_descr.attr_handle everywhere

6 years agousing param, which corresponds to handled event
Siarhei Volkau [Sat, 1 Jul 2017 10:12:22 +0000 (13:12 +0300)]
using param, which corresponds to handled event

In the handlers of ESP_GATTS_ADD_CHAR_DESCR_EVT was used incorrect parameter, which corresponding to ESP_GATTS_ADD_CHAR_EVT.

6 years agoMerge branch 'feature/spiffs2' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 00:22:31 +0000 (08:22 +0800)]
Merge branch 'feature/spiffs2' into 'master'

Add SPIFFS Component to IDF

See merge request !1229

6 years agoAdd SPIFFS Component to IDF
me-no-dev [Thu, 7 Sep 2017 14:37:59 +0000 (17:37 +0300)]
Add SPIFFS Component to IDF

6 years agoesp32: Fixes crash during core dump.
Alexey Gerenkov [Sun, 10 Sep 2017 16:17:46 +0000 (19:17 +0300)]
esp32: Fixes crash during core dump.

Removes piece of debugging code introduced by 8d43859b.

6 years agoMerge branch 'bugfix/make_verbose' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 10:17:43 +0000 (18:17 +0800)]
Merge branch 'bugfix/make_verbose' into 'master'

build system: Fix "make V=1" for verbose builds again

See merge request !1234

6 years agoMerge branch 'feature/http_request_example_receiving_timeout' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 10:17:01 +0000 (18:17 +0800)]
Merge branch 'feature/http_request_example_receiving_timeout' into 'master'

Added socket receiving timeout, ref. TW#14353 / GitHub  issue #844

See merge request !1241

6 years agoMerge branch 'bugfix/warn_on_invalid_xtal_freq' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 10:15:11 +0000 (18:15 +0800)]
Merge branch 'bugfix/warn_on_invalid_xtal_freq' into 'master'

soc/rtc: warn if detected XTAL frequency does not match configured one

See merge request !1242

6 years agoMerge branch 'feature/gpio_channel_macro' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 04:15:08 +0000 (12:15 +0800)]
Merge branch 'feature/gpio_channel_macro' into 'master'

feat(global): add macros for GPIO->channel lookup

See merge request !1170

6 years agosoc/rtc: warn if detected XTAL frequency does not match configured one
Ivan Grokhotkov [Mon, 11 Sep 2017 03:42:26 +0000 (11:42 +0800)]
soc/rtc: warn if detected XTAL frequency does not match configured one

Since 9a8c0392, XTAL frequency is set to 40MHz by default, and users
of 26MHz boards need to select 26MHz manually. Most users are not aware
of this change, and existing getting started guides do not mention that
XTAL frequency needs to be set for some boards. So users are left with
garbage output from UART without any clue what to check.

This change adds a warning in case specific XTAL frequency was set, and
it does not match automatically detected one. This should help users
fix the issue.

6 years agoAdded socket receiving timeout, ref. TW#14353 / GitHub issue #844
krzychb [Mon, 11 Sep 2017 03:15:39 +0000 (05:15 +0200)]
Added socket receiving timeout, ref. TW#14353 / GitHub  issue #844

6 years agobuild system: Restore "make V=1" for verbose builds
Angus Gratton [Fri, 8 Sep 2017 07:34:02 +0000 (17:34 +1000)]
build system: Restore "make V=1" for verbose builds

Fix regression in 5f3cb9f9dc

6 years agoMerge branch 'bugfix/docs_broken_links' into 'master'
Ivan Grokhotkov [Fri, 8 Sep 2017 04:06:43 +0000 (12:06 +0800)]
Merge branch 'bugfix/docs_broken_links' into 'master'

Fixed broken links in documentation

See merge request !1230

6 years agocomponent/bt: fix nvs_get_str_or_blob length output error
baohongde [Thu, 31 Aug 2017 07:52:27 +0000 (15:52 +0800)]
component/bt: fix nvs_get_str_or_blob length output error

6 years agocomponent/bt: fix nvs_get_str_or_blob length output error
baohongde [Thu, 31 Aug 2017 07:12:09 +0000 (15:12 +0800)]
component/bt: fix nvs_get_str_or_blob length output error

6 years agocomponent/bt: fix nvs_get_str_or_blob length output error
baohongde [Wed, 30 Aug 2017 10:01:24 +0000 (18:01 +0800)]
component/bt: fix nvs_get_str_or_blob length output error

6 years agoMerge branch 'feature/docs_touch_pad_api' into 'master'
Ivan Grokhotkov [Fri, 8 Sep 2017 03:55:27 +0000 (11:55 +0800)]
Merge branch 'feature/docs_touch_pad_api' into 'master'

Touch Pad driver overview

See merge request !1195

6 years agoMerge branch 'bugfix/cache_err_int' into 'master'
Ivan Grokhotkov [Fri, 8 Sep 2017 03:55:01 +0000 (11:55 +0800)]
Merge branch 'bugfix/cache_err_int' into 'master'

esp32: fix cache error interrupt handler

See merge request !1231

6 years agocomponent/bt: fix build error when GATTS is disabled in menuconfig
wangmengyang [Fri, 8 Sep 2017 03:34:59 +0000 (11:34 +0800)]
component/bt: fix build error when GATTS is disabled in menuconfig

6 years agoesp32: fix cache error interrupt handler
Ivan Grokhotkov [Thu, 7 Sep 2017 17:29:37 +0000 (01:29 +0800)]
esp32: fix cache error interrupt handler

Cache error interrupt would read DPORT registers, which caused DPORT
access protection to kick in. Disable DPORT protection before doing the
reads.

6 years agoFixed broken links in documentation
krzychb [Thu, 7 Sep 2017 16:48:15 +0000 (18:48 +0200)]
Fixed broken links in documentation

6 years agoMerge branch 'bugfix/rmt' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 10:03:08 +0000 (18:03 +0800)]
Merge branch 'bugfix/rmt' into 'master'

RMT 2 fixes: Rename one API and specify wait_time in another API

See merge request !896

6 years agoMerge branch 'feature/pthread_api' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:49:42 +0000 (17:49 +0800)]
Merge branch 'feature/pthread_api' into 'master'

esp32: pthread API

See merge request !1146

6 years agoMerge branch 'feature/multi_heap_poisoning' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:47:51 +0000 (17:47 +0800)]
Merge branch 'feature/multi_heap_poisoning' into 'master'

Heap tracing & poisoning features

See merge request !749

6 years agoMerge branch 'bugfix/tcpip_adapter_ethernet' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:47:20 +0000 (17:47 +0800)]
Merge branch 'bugfix/tcpip_adapter_ethernet' into 'master'

tcpip_adapter: Fix bug which prevents setting a static IP address for Ethernet interface (github #657)

See merge request !1178

6 years agoMerge branch 'feature/spi_lcd_autodetect' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:47:00 +0000 (17:47 +0800)]
Merge branch 'feature/spi_lcd_autodetect' into 'master'

example(spi_master): add menuconfig to enable the auto detect of LCD type.

See merge request !1185

6 years agoMerge branch 'feature/mbedtls2_6_0' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:45:45 +0000 (17:45 +0800)]
Merge branch 'feature/mbedtls2_6_0' into 'master'

Update mbedTLS to version 2.6.0

See merge request !1224

6 years agoMerge branch 'bugfix/intr_free' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:45:18 +0000 (17:45 +0800)]
Merge branch 'bugfix/intr_free' into 'master'

fix(intr): fix the logic for allocating and freeing interrupts.

See merge request !1124

6 years agombedtls: Rename net to net_sockets (in line with 2.4.0 API change)
Angus Gratton [Wed, 6 Sep 2017 05:45:56 +0000 (15:45 +1000)]
mbedtls: Rename net to net_sockets (in line with 2.4.0 API change)

6 years agombedtls: Re-apply: MBEDTLS_SHA512_ALT also replaces mbedtls_sha512_process()
Angus Gratton [Wed, 6 Sep 2017 05:31:52 +0000 (15:31 +1000)]
mbedtls: Re-apply: MBEDTLS_SHA512_ALT also replaces mbedtls_sha512_process()

IDF-specific patch.

6 years agombedtls: Re-apply ECP memory leak fix
Angus Gratton [Wed, 6 Sep 2017 05:07:17 +0000 (15:07 +1000)]
mbedtls: Re-apply ECP memory leak fix

Fix not yet submitted upstream.

(Previously applied in ffefeef5ea271735884d656afac7a4155a57c87f)

6 years agombedtls: Re-apply MBEDTLS_BIGNUM_ALT & related macros for custom bignum functions
Angus Gratton [Wed, 6 Sep 2017 05:06:57 +0000 (15:06 +1000)]
mbedtls: Re-apply MBEDTLS_BIGNUM_ALT & related macros for custom bignum functions

(IDF-specific patch.)

6 years agombedtls: Update to 2.6.0 release (without IDF-specific patches)
Angus Gratton [Wed, 6 Sep 2017 05:05:55 +0000 (15:05 +1000)]
mbedtls: Update to 2.6.0 release (without IDF-specific patches)

6 years agonewlib: Avoid deprecation warning calling system_get_time() from system_relative_time()
Angus Gratton [Thu, 20 Jul 2017 00:14:07 +0000 (10:14 +1000)]
newlib: Avoid deprecation warning calling system_get_time() from system_relative_time()

6 years agolwip: Use hardware RNG for LWIP_RAND(), use LWIP_RAND() for random port assignment
Angus Gratton [Thu, 20 Jul 2017 00:04:20 +0000 (10:04 +1000)]
lwip: Use hardware RNG for LWIP_RAND(), use LWIP_RAND() for random port assignment

6 years agodoc: Add docs for heap trace & poisoning
Angus Gratton [Tue, 18 Jul 2017 23:07:17 +0000 (09:07 +1000)]
doc: Add docs for heap trace & poisoning

6 years agolibgcc: Place assembly functions (including __xtensa_libgcc_window_spill) in IRAM
Angus Gratton [Tue, 16 May 2017 06:53:45 +0000 (16:53 +1000)]
libgcc: Place assembly functions (including __xtensa_libgcc_window_spill) in IRAM

6 years agoHeap tracing support
Angus Gratton [Thu, 11 May 2017 07:56:17 +0000 (17:56 +1000)]
Heap tracing support

6 years agoUnit tests: enable comprehensive heap poisoning checks
Angus Gratton [Thu, 11 May 2017 00:55:40 +0000 (10:55 +1000)]
Unit tests: enable comprehensive heap poisoning checks

6 years agomulti_heap: Add heap poisoning features
Angus Gratton [Mon, 8 May 2017 05:25:30 +0000 (15:25 +1000)]
multi_heap: Add heap poisoning features

6 years agounit tests: Check heap integrity after each test, check for obvious leaks
Angus Gratton [Wed, 10 May 2017 07:19:00 +0000 (17:19 +1000)]
unit tests: Check heap integrity after each test, check for obvious leaks

6 years agoheap_caps: Add heap_caps_check_integrity() function
Angus Gratton [Wed, 10 May 2017 07:17:52 +0000 (17:17 +1000)]
heap_caps: Add heap_caps_check_integrity() function

6 years agoMerge branch 'test/modify_mtu_cases' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 06:27:41 +0000 (14:27 +0800)]
Merge branch 'test/modify_mtu_cases' into 'master'

test: update BLE GATT MTU cases

See merge request !1223

6 years agotest:update BLE GATT MTU cases
chensheng [Wed, 6 Sep 2017 03:19:10 +0000 (11:19 +0800)]
test:update BLE GATT MTU cases

6 years agoMerge branch 'feature/update_wifi_lib_for_some_feature_and_bugfix' into 'master'
Jiang Jiang Jian [Thu, 7 Sep 2017 05:24:24 +0000 (13:24 +0800)]
Merge branch 'feature/update_wifi_lib_for_some_feature_and_bugfix' into 'master'

esp32: update wifi lib for a bunch of small feature and bugfix

See merge request !1222

6 years agoMerge branch 'bugfix/spi_cache_disable_adjustments_iram' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 03:02:21 +0000 (11:02 +0800)]
Merge branch 'bugfix/spi_cache_disable_adjustments_iram' into 'master'

Make sure cache is disabled/enabled when *both* CPUs are running inside the iram guard code

See merge request !1208

6 years agoesp32: update wifi lib for a bunch of small feature and bugfix
Liu Zhi Fu [Wed, 6 Sep 2017 03:24:42 +0000 (11:24 +0800)]
esp32: update wifi lib for a bunch of small feature and bugfix

1. Update RTC V229: add BT AGC saturation protection
2. Update PHY V359: (1). esp_init_data_v2.bin -- modify WIFI and BT RX gain table Setting
                    (2). modify phy_close_rf()
                    (3). noisefloor add limit and no print
3. WiFi supports modem sleep dynamic frequency switch
4. Fix disabling AMPDU cause esp_wifi_init fail issue
5. Fix sniffer mode cause WiFi can't connect issue
6. Optimize an internal rx buffer full issue
7. Rollback the internal wifi init flag when wifi init fail

6 years agofeat(global): add macros for GPIO->channel lookup
michael [Tue, 29 Aug 2017 07:52:04 +0000 (15:52 +0800)]
feat(global): add macros for GPIO->channel lookup

including: macros for dac, adc, touch, rtc_gpio, uart and clk_out.

TW#13970

6 years agoMerge branch 'feature/register_heaps_runtime' into 'master'
Angus Gratton [Thu, 7 Sep 2017 02:18:21 +0000 (10:18 +0800)]
Merge branch 'feature/register_heaps_runtime' into 'master'

heap: Support adding new heap regions at runtime

See merge request !1159

6 years agoMerge branch 'bugfix/http_to_https_url_changes' into 'master'
Angus Gratton [Thu, 7 Sep 2017 02:16:43 +0000 (10:16 +0800)]
Merge branch 'bugfix/http_to_https_url_changes' into 'master'

Mass replacement of http with https urls, fixed broken urls

See merge request !1221

6 years agoMerge branch 'bugfix/btdm_unloaded_memory' into 'master'
Angus Gratton [Thu, 7 Sep 2017 02:12:44 +0000 (10:12 +0800)]
Merge branch 'bugfix/btdm_unloaded_memory' into 'master'

component/bt : fix unloaded memory(0x3fff0000 overwrite) bug

See merge request !1227

6 years agocomponent/bt : fix unloaded memory(0x3fff0000 overwrite) bug
Tian Hao [Wed, 6 Sep 2017 13:45:18 +0000 (21:45 +0800)]
component/bt : fix unloaded memory(0x3fff0000 overwrite) bug

6 years agoMake sure cache is disabled/enabled when *both* CPUs are running inside the iram...
Jeroen Domburg [Mon, 4 Sep 2017 12:11:15 +0000 (20:11 +0800)]
Make sure cache is disabled/enabled when *both* CPUs are running inside the iram guard code

6 years agorefactor(intr): remove useless tags in the debug log.
michael [Thu, 24 Aug 2017 03:46:19 +0000 (11:46 +0800)]
refactor(intr): remove useless tags in the debug log.

6 years agofix(intr): always assign the same intr to a same source, disable the source only...
michael [Fri, 18 Aug 2017 07:15:47 +0000 (15:15 +0800)]
fix(intr): always assign the same intr to a same source, disable the source only when all the handlers disabled.

also document handlers sharing a same source.

TW#13454, https://github.com/nodemcu/nodemcu-firmware/issues/1874

Breaking change: handles assigned to a same source should have the same flag now.

6 years agoMass replacement of http with https urls, fixed broken urls
krzychb [Tue, 5 Sep 2017 19:58:31 +0000 (21:58 +0200)]
Mass replacement of http with https urls, fixed broken urls

6 years agoexample(spi_master): add menuconfig to enable the auto detect of LCD type.
michael [Thu, 31 Aug 2017 07:03:19 +0000 (15:03 +0800)]
example(spi_master): add menuconfig to enable the auto detect of LCD type.

6 years agoesp_pthread_init constructor attr was removed
Alexey Gerenkov [Tue, 5 Sep 2017 17:37:31 +0000 (20:37 +0300)]
esp_pthread_init constructor attr was removed

6 years agoAccording to comments
Alexey Gerenkov [Mon, 4 Sep 2017 18:46:16 +0000 (21:46 +0300)]
According to comments

6 years agopthread: handle statically initialized mutexes
Ivan Grokhotkov [Fri, 1 Sep 2017 04:31:04 +0000 (12:31 +0800)]
pthread: handle statically initialized mutexes

6 years agoAccording to review comments
Alexey Gerenkov [Thu, 31 Aug 2017 23:18:14 +0000 (02:18 +0300)]
According to review comments

6 years agoCleanup
Alexey Gerenkov [Mon, 28 Aug 2017 15:41:32 +0000 (18:41 +0300)]
Cleanup

6 years ago1) Thread detach functionality added
Alexey Gerenkov [Fri, 25 Aug 2017 18:24:17 +0000 (21:24 +0300)]
1) Thread detach functionality added
2) Recursive mutexes support
3) C++ test updated

6 years ago1) Mux API was added
Alexey Gerenkov [Thu, 24 Aug 2017 19:52:49 +0000 (22:52 +0300)]
1) Mux API was added
2) C++ test for threading and mux functions

6 years agopthread: Initial version of thread API
Alexey Gerenkov [Wed, 23 Aug 2017 23:53:20 +0000 (02:53 +0300)]
pthread: Initial version of thread API

6 years agoMerge branch 'bugfix/unit_test_build' into 'master'
Ivan Grokhotkov [Wed, 6 Sep 2017 00:48:44 +0000 (08:48 +0800)]
Merge branch 'bugfix/unit_test_build' into 'master'

build system: fix building tests specified via TEST_COMPONENTS

See merge request !1219

6 years agoSeparate section on touch detection
krzychb [Tue, 5 Sep 2017 18:22:21 +0000 (20:22 +0200)]
Separate section on touch detection

6 years agobuild system: fix building tests specified via TEST_COMPONENTS
Ivan Grokhotkov [Tue, 5 Sep 2017 10:07:00 +0000 (18:07 +0800)]
build system: fix building tests specified via TEST_COMPONENTS

6 years agoMerge branch 'bugfix/soft_reboot_psram' into 'master'
Jeroen Domburg [Tue, 5 Sep 2017 07:43:30 +0000 (15:43 +0800)]
Merge branch 'bugfix/soft_reboot_psram' into 'master'

Fix rebooting when external RAM is active

See merge request !1207

6 years agoMerge branch 'feature/build_warn_undefined_vars' into 'master'
Angus Gratton [Tue, 5 Sep 2017 07:39:48 +0000 (15:39 +0800)]
Merge branch 'feature/build_warn_undefined_vars' into 'master'

Add --warn-undefined-variables to MAKEFLAGS (github #138)

See merge request !1214

6 years agodhcpserver: Move DHCP option names to a separate header
Angus Gratton [Tue, 5 Sep 2017 07:26:08 +0000 (17:26 +1000)]
dhcpserver: Move DHCP option names to a separate header

Avoids naming conflicts. Resolves TW13826.

6 years agobluedroid: Move fixed_queue.h to implementation of hci_layer.c
Angus Gratton [Tue, 5 Sep 2017 07:11:32 +0000 (17:11 +1000)]
bluedroid: Move fixed_queue.h to implementation of hci_layer.c

Avoids pulling types like list_node into the public interface.

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

6 years agodhcpserver: Move list_node to implementation not public interface
Angus Gratton [Tue, 5 Sep 2017 07:11:11 +0000 (17:11 +1000)]
dhcpserver: Move list_node to implementation not public interface

Was unused in the public interface.

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

6 years agouart: Add api call to switch on hardware support for 'software' flow control.
Alex Burr [Tue, 1 Aug 2017 15:02:44 +0000 (16:02 +0100)]
uart: Add api call to switch on hardware support for 'software' flow control.

Cherry-picks https://github.com/espressif/esp-idf/pull/890

6 years agoImplemented 2 of 3 review comments
krzychb [Tue, 5 Sep 2017 06:27:32 +0000 (08:27 +0200)]
Implemented 2 of 3 review comments

6 years agoTouch Pad driver overview
krzychb [Fri, 1 Sep 2017 21:39:27 +0000 (23:39 +0200)]
Touch Pad driver overview

6 years agobuild system: Remove obsolete GenerateBuildDirTarget macro eval
Angus Gratton [Tue, 5 Sep 2017 06:28:42 +0000 (16:28 +1000)]
build system: Remove obsolete GenerateBuildDirTarget macro eval

6 years agoMerge branch 'feature/tcp_msl_menuconfig' into 'master'
Angus Gratton [Tue, 5 Sep 2017 06:18:36 +0000 (14:18 +0800)]
Merge branch 'feature/tcp_msl_menuconfig' into 'master'

components/lwip: Expose TCP_MSL in menuconfig. (github #783)

See merge request !1175

6 years agobuild system: Document --warn-undefined-variables and add a config item for it
Angus Gratton [Tue, 5 Sep 2017 06:10:00 +0000 (16:10 +1000)]
build system: Document --warn-undefined-variables and add a config item for it

6 years agobuild system: Restore ifdef/ifndef in Makefiles, clean up examples build
Angus Gratton [Tue, 5 Sep 2017 05:50:31 +0000 (15:50 +1000)]
build system: Restore ifdef/ifndef in Makefiles, clean up examples build

6 years agoAdd --warn-undefined-variables to MAKEFLAGS
Deomid Ryabkov [Sat, 3 Dec 2016 22:11:22 +0000 (22:11 +0000)]
Add --warn-undefined-variables to MAKEFLAGS

Fix warnings where undefined vars are used.

Make Kconfig emit "FOO=" for unset bool options
To ensure make variables are always defined, even if empty.

When writing auto.conf, include symbols disabled by dependency to make sure all make variables are always defined.

Fixes espressif/esp-idf#137

Cherry-picked from https://github.com/espressif/esp-idf/pull/138

6 years agoMerge branch 'bugfix/nvs_item_crc_check' into 'master'
Angus Gratton [Tue, 5 Sep 2017 04:09:40 +0000 (12:09 +0800)]
Merge branch 'bugfix/nvs_item_crc_check' into 'master'

nvs: check CRC of items on full pages

See merge request !1200

6 years agoheap: Support adding new heap regions at runtime
Angus Gratton [Mon, 28 Aug 2017 07:12:29 +0000 (17:12 +1000)]
heap: Support adding new heap regions at runtime

To facilitate this, the list of registered heap regions is now a linked list
(allowing entries to be appended at runtime.)

6 years agoMerge branch 'bugfix/core_dump_loop' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 03:40:31 +0000 (11:40 +0800)]
Merge branch 'bugfix/core_dump_loop' into 'master'

esp32: Fixes infinite loop caused by exception during core dumping

See merge request !1210

6 years agoMerge branch 'bugfix/mbedtls_net_failures' into 'master'
Angus Gratton [Tue, 5 Sep 2017 03:28:43 +0000 (11:28 +0800)]
Merge branch 'bugfix/mbedtls_net_failures' into 'master'

mbedtls: Don't assign ctx->fd until connect() or bind() has succeeded

See merge request !1211

6 years agoMerge branch 'feature/adc_calibration' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 03:23:05 +0000 (11:23 +0800)]
Merge branch 'feature/adc_calibration' into 'master'

Bugfix/ added esp_adc_cal include guards

See merge request !1192

6 years agoMerge branch 'bugfix/deep_sleep_wakeup_stub' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 03:22:52 +0000 (11:22 +0800)]
Merge branch 'bugfix/deep_sleep_wakeup_stub' into 'master'

deep sleep: don't use protected DPORT access in wake stub

See merge request !1194

6 years agoMerge branch 'bugfix/openssl_client_example' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 03:15:55 +0000 (11:15 +0800)]
Merge branch 'bugfix/openssl_client_example' into 'master'

example/openssl_client: Fix http string "printf" error without end character '\0'

See merge request !1201

6 years agoesp32: Fixes infinite loop caused by exception during core dumping
Alexey Gerenkov [Mon, 4 Sep 2017 17:05:36 +0000 (20:05 +0300)]
esp32: Fixes infinite loop caused by exception during core dumping

6 years agoMerge branch 'bugfix/cpu_clk_disable_spi' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 02:41:51 +0000 (10:41 +0800)]
Merge branch 'bugfix/cpu_clk_disable_spi' into 'master'

spi_master, sdmmc: fix regressions due to peripherals being disabled by default

See merge request !1193

6 years agoMerge branch 'bugfix/spinlock_performance' into 'master'
Angus Gratton [Tue, 5 Sep 2017 01:16:10 +0000 (09:16 +0800)]
Merge branch 'bugfix/spinlock_performance' into 'master'

freertos: Reduce CPU spinlock (portmux) overhead

See merge request !497

6 years agombedtls: Don't assign ctx->fd until connect() or bind() has succeeded
Angus Gratton [Tue, 5 Sep 2017 00:37:58 +0000 (10:37 +1000)]
mbedtls: Don't assign ctx->fd until connect() or bind() has succeeded

Avoid leaking closed file descriptors via ctx->fd

Reported: https://esp32.com/viewtopic.php?f=13&t=2910&sid=8568b1fd93a4c8d5760628a638efc48b#p13620