]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agomdns: fix leak after _mdns_create_service if we have a malloc error.
Quentin Thérond [Tue, 25 Jul 2017 12:14:35 +0000 (14:14 +0200)]
mdns: fix leak after _mdns_create_service if we have a malloc error.

7 years agovfs: fix double free.
Quentin Thérond [Tue, 25 Jul 2017 12:14:23 +0000 (14:14 +0200)]
vfs: fix double free.

7 years agoi2s: fix leak in i2s_create_dma_queue if we have a malloc issue.
Quentin Thérond [Tue, 25 Jul 2017 12:14:03 +0000 (14:14 +0200)]
i2s: fix leak in i2s_create_dma_queue if we have a malloc issue.

7 years agoMerge branch 'feature/adc_calibration' into 'master'
Jeroen Domburg [Wed, 30 Aug 2017 02:00:19 +0000 (10:00 +0800)]
Merge branch 'feature/adc_calibration' into 'master'

esp_adc_cal component

See merge request !1084

7 years agoMerge branch 'bugfix/docs_updates' into 'master'
Angus Gratton [Wed, 30 Aug 2017 01:43:00 +0000 (09:43 +0800)]
Merge branch 'bugfix/docs_updates' into 'master'

Removed redundant 'Logging to Host' and docs cleaning

See merge request !1158

7 years agoMerge branch 'feature/disable_rom_console' into 'master'
Angus Gratton [Tue, 29 Aug 2017 23:56:00 +0000 (07:56 +0800)]
Merge branch 'feature/disable_rom_console' into 'master'

esp32: Add KConfig option to disable BASIC ROM Console fallback on first boot

See merge request !1134

7 years agoRemoved redundant 'Logging to Host' and docs cleaning
krzychb [Fri, 25 Aug 2017 20:35:33 +0000 (22:35 +0200)]
Removed redundant 'Logging to Host' and docs cleaning

7 years agoesp_adc_cal: Added ADC calibration component
Darian Leung [Mon, 7 Aug 2017 13:33:01 +0000 (21:33 +0800)]
esp_adc_cal: Added ADC calibration component

Added component containg API that is able to correct raw ADC readings
into a voltage in mV. Also provided a helper function that combines
the process of getting the raw ADC1 reading then converting it to a
voltage in mV. In doing so, the adc1_get_voltage() function of the ADC
driver has been deprecated. Instead there is now adc1_get_raw to obtain
the raw ADC1 reading, and adc1_to_voltage() that gets the raw reading
and converts all in one function. Functions using the deprecated
adc1_get_voltage() have also been updated to use adc1_get_raw().

Conversion is based on ADC characteristics. The characteristics are based
on the ADC's v_ref, herefore the appropriate structure and functions have
been provided to obtain the ADC characteristics.

The existing ADC driver has also been modified by adding a function to
route the internal ADC reference voltage to a GPIO allowing users to measure
it manually.

Relevant documentation has also been updated

7 years agoMerge branch 'bugfix/unity_error_codes_as_hex' into 'master'
Ivan Grokhotkov [Tue, 29 Aug 2017 05:32:48 +0000 (13:32 +0800)]
Merge branch 'bugfix/unity_error_codes_as_hex' into 'master'

unity: log error codes as hex

See merge request !1166

7 years agoMerge branch 'bugfix/freertos_xportgetcoreid_iram' into 'master'
Ivan Grokhotkov [Tue, 29 Aug 2017 05:32:37 +0000 (13:32 +0800)]
Merge branch 'bugfix/freertos_xportgetcoreid_iram' into 'master'

freertos: make sure xPortGetCoreID is placed into IRAM

See merge request !1165

7 years agoMerge branch 'bugfix/vfs_uart_read_write_lock' into 'master'
Ivan Grokhotkov [Tue, 29 Aug 2017 05:32:24 +0000 (13:32 +0800)]
Merge branch 'bugfix/vfs_uart_read_write_lock' into 'master'

vfs_uart: fix write operation blocked by a read

See merge request !1164

7 years agoflash encryption: Also always disable ROM BASIC console when enabling flash encryption
Angus Gratton [Tue, 22 Aug 2017 05:40:53 +0000 (15:40 +1000)]
flash encryption: Also always disable ROM BASIC console when enabling flash encryption

7 years agoesp32: Add KConfig option to disable ROM Console fallback on first boot
Angus Gratton [Tue, 22 Aug 2017 04:55:23 +0000 (14:55 +1000)]
esp32: Add KConfig option to disable ROM Console fallback on first boot

7 years agoMerge branch 'bugfix/struct_h_extern_c' into 'master'
Jeroen Domburg [Tue, 29 Aug 2017 03:24:34 +0000 (11:24 +0800)]
Merge branch 'bugfix/struct_h_extern_c' into 'master'

fix(struct_h): add extern "C" protection to *_struct.h header files.

See merge request !1162

7 years agoMerge branch 'bugfix/spi_def_typo_lsbfirst' into 'master'
Jeroen Domburg [Tue, 29 Aug 2017 03:24:31 +0000 (11:24 +0800)]
Merge branch 'bugfix/spi_def_typo_lsbfirst' into 'master'

bugfix(spi_master): fix the definition of ``SPI_DEVICE_BIT_LSBFIRST``.

See merge request !1154

7 years agoMerge branch 'bugfix/ringbuf_fix_assert_0byte_payload' into 'master'
Jeroen Domburg [Tue, 29 Aug 2017 03:15:34 +0000 (11:15 +0800)]
Merge branch 'bugfix/ringbuf_fix_assert_0byte_payload' into 'master'

Fix faulty ringbuffer assert

See merge request !1163

7 years agoMerge branch 'bugfix/secure_boot_enable' into 'master'
Angus Gratton [Tue, 29 Aug 2017 00:44:13 +0000 (08:44 +0800)]
Merge branch 'bugfix/secure_boot_enable' into 'master'

Fix regression when enabling secure boot

See merge request !1120

7 years agounity: log error codes as hex
Ivan Grokhotkov [Mon, 21 Aug 2017 14:31:28 +0000 (22:31 +0800)]
unity: log error codes as hex

Error codes are normally defined as hex numbers in header files, so
changing the assert macro to print them as hex as well.

7 years agofreertos: make sure xPortGetCoreID is placed into IRAM
Ivan Grokhotkov [Tue, 29 Aug 2017 00:25:41 +0000 (08:25 +0800)]
freertos: make sure xPortGetCoreID is placed into IRAM

In some cases, xPortGetCoreID was not inlined, and ended up in flash.
Since this function is used in many situations when cache is disabled,
that caused exceptions. Adding IRAM attribute to fix that.

7 years agovfs_uart: fix write operation blocked by a read
Ivan Grokhotkov [Tue, 29 Aug 2017 00:23:40 +0000 (08:23 +0800)]
vfs_uart: fix write operation blocked by a read

vfs_uart used same locks for read and write operations on a single UART.
If read operation was blocking (i.e. carried out via UART driver), the
lock was held by reading task until it received a line. During this time,
other tasks trying to write to the same UART would get blocked.

This change introduces separate read/write locks, and adds a test.

Another vfs_uart test if fixed (it was disabled since the
CONFIG_NEWLIB_STDOUT_ADDCR option was removed).

7 years agoFix an assert that erroneously triggered when popping a zero-byte payload from the...
Jeroen Domburg [Mon, 28 Aug 2017 11:31:26 +0000 (19:31 +0800)]
Fix an assert that erroneously triggered when popping a zero-byte payload from the end of the ringbuffer

7 years agofix(struct_h): add extern "C" protection to *_struct.h header files.
michael [Mon, 28 Aug 2017 10:10:46 +0000 (18:10 +0800)]
fix(struct_h): add extern "C" protection to *_struct.h header files.

7 years agoMerge branch 'bugfix/spi_hd_rx' into 'master'
Ivan Grokhotkov [Mon, 28 Aug 2017 09:36:58 +0000 (17:36 +0800)]
Merge branch 'bugfix/spi_hd_rx' into 'master'

fix(spi_dma_rx): add check to avoid using SPI half-duplex mode DMA with both MOSI and MISO phases.

See merge request !1111

7 years agoMerge branch 'feature/ets_timer' into 'master'
Ivan Grokhotkov [Mon, 28 Aug 2017 08:38:11 +0000 (16:38 +0800)]
Merge branch 'feature/ets_timer' into 'master'

esp_timer: add high-resolution timer api

See merge request !1090

7 years agoPlace uart_tx_wait_idle in IRAM
Jeroen Domburg [Fri, 25 Aug 2017 09:46:28 +0000 (17:46 +0800)]
Place uart_tx_wait_idle in IRAM

7 years agosoc: release interrupts which are not reserved by timers any more
Ivan Grokhotkov [Mon, 21 Aug 2017 14:29:50 +0000 (22:29 +0800)]
soc: release interrupts which are not reserved by timers any more

7 years agonewlib: implement gettimeofday using of esp_timer
Ivan Grokhotkov [Mon, 7 Aug 2017 15:28:36 +0000 (23:28 +0800)]
newlib: implement gettimeofday using of esp_timer

7 years agoesp_timer: add high resolution software timer API
Ivan Grokhotkov [Mon, 7 Aug 2017 20:21:19 +0000 (04:21 +0800)]
esp_timer: add high resolution software timer API

7 years agoMerge branch 'bugfix/sdmmc_test' into 'master'
Ivan Grokhotkov [Mon, 28 Aug 2017 03:32:20 +0000 (11:32 +0800)]
Merge branch 'bugfix/sdmmc_test' into 'master'

sdmmc: don't use high speed mode with SD over SPI

See merge request !1149

7 years agoMerge branch 'bugfix/uart_wait_idle_iram' into 'master'
Jeroen Domburg [Mon, 28 Aug 2017 02:55:58 +0000 (10:55 +0800)]
Merge branch 'bugfix/uart_wait_idle_iram' into 'master'

Place uart_tx_wait_idle in IRAM

See merge request !1157

7 years agoMerge branch 'bugfix/spi_command' into 'master'
Ivan Grokhotkov [Mon, 28 Aug 2017 02:29:56 +0000 (10:29 +0800)]
Merge branch 'bugfix/spi_command' into 'master'

fix(spi_master): fix the command field to make it more intuitive to use.

See merge request !1119

7 years agodoc(spi master): documents updated for several limitations.
michael [Mon, 21 Aug 2017 07:30:24 +0000 (15:30 +0800)]
doc(spi master): documents updated for several limitations.

7 years agofix(spi_dma_rx): add check to avoid using SPI half-duplex mode DMA with both MOSI...
michael [Tue, 15 Aug 2017 03:00:33 +0000 (11:00 +0800)]
fix(spi_dma_rx): add check to avoid using SPI half-duplex mode DMA with both MOSI and MISO phases.

7 years agotypo(spi_master): fix the definition of ``SPI_DEVICE_BIT_LSBFIRST``.
michael [Fri, 25 Aug 2017 07:45:04 +0000 (15:45 +0800)]
typo(spi_master): fix the definition of ``SPI_DEVICE_BIT_LSBFIRST``.

also fix the documentation of spi_device_transmit.

7 years agoPlace uart_tx_wait_idle in IRAM
Jeroen Domburg [Fri, 25 Aug 2017 09:46:28 +0000 (17:46 +0800)]
Place uart_tx_wait_idle in IRAM

7 years agoMerge branch 'bugfix/btdm_controller_hci_fc' into 'master'
Jiang Jiang Jian [Fri, 25 Aug 2017 08:16:47 +0000 (16:16 +0800)]
Merge branch 'bugfix/btdm_controller_hci_fc' into 'master'

component/bt: bugfix for hci acl flow control

See merge request !1151

7 years agosdmmc: don't use high speed mode with SD over SPI
Ivan Grokhotkov [Thu, 24 Aug 2017 08:28:37 +0000 (16:28 +0800)]
sdmmc: don't use high speed mode with SD over SPI

Disabling due to limitation of SPI driver (max 26MHz for full-duplex
mode over GPIO matrix)

7 years agocomponent/bt: bugfix for hci acl flow control
wangmengyang [Thu, 24 Aug 2017 12:59:32 +0000 (20:59 +0800)]
component/bt: bugfix for hci acl flow control

1. trigger hci data transmission upon reception of hci_host_nb_of_cmpl_pkts when hci acl flow control is in effect

7 years agoMerge branch 'bugfix/xtal_freq_40' into 'master'
Wu Jian Gang [Thu, 24 Aug 2017 12:40:22 +0000 (20:40 +0800)]
Merge branch 'bugfix/xtal_freq_40' into 'master'

esp32: by default, set 40MHz crystal frequency

See merge request !1140

7 years agosoc: fix/update definitions related to FRC timers
Ivan Grokhotkov [Mon, 7 Aug 2017 20:27:10 +0000 (04:27 +0800)]
soc: fix/update definitions related to FRC timers

1. BIT(8) of CTRL is actually read-only bit indicating interrupt status

2. BIT(0) or CTRL had inverted meaning: 1 is “level”, 0 is “edge”

3. Add definitions of prescaler values

7 years agoMerge branch 'feature/multipart_nvs_support' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:42:14 +0000 (14:42 +0800)]
Merge branch 'feature/multipart_nvs_support' into 'master'

Multiple partition support in NVS

See merge request !1129

7 years agoMerge branch 'test/UT_SDMMC' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:41:39 +0000 (14:41 +0800)]
Merge branch 'test/UT_SDMMC' into 'master'

Enable SDMMC driver test cases

See merge request !1106

7 years agoMerge branch 'feature/libsodium_use_mbedtls' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:40:52 +0000 (14:40 +0800)]
Merge branch 'feature/libsodium_use_mbedtls' into 'master'

libsodium: Use mbedTLS implementations for SHA256 & SHA512

See merge request !1121

7 years agoMerge branch 'bugfix/mbedtls_config_mismatch' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:40:39 +0000 (14:40 +0800)]
Merge branch 'bugfix/mbedtls_config_mismatch' into 'master'

mbedtls: Add a shim header to account for including "mbedtls/config.h" directly in program

See merge request !1125

7 years agoMerge branch 'bugfix/nghttp2_v124' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:40:24 +0000 (14:40 +0800)]
Merge branch 'bugfix/nghttp2_v124' into 'master'

nghttp: Restore nghttp2 v1.24

See merge request !1132

7 years agoMerge branch 'bugfix/console_cmd_register' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:35:29 +0000 (14:35 +0800)]
Merge branch 'bugfix/console_cmd_register' into 'master'

console: initialize buf_size before calling open_memstream

See merge request !1138

7 years agoMerge branch 'bugfix/dport_stall_in_esp32_component' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:35:16 +0000 (14:35 +0800)]
Merge branch 'bugfix/dport_stall_in_esp32_component' into 'master'

Also do dport stalling in esp32 component

See merge request !1141

7 years agoMerge branch 'bugfix/menuconfig_phy' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:34:56 +0000 (14:34 +0800)]
Merge branch 'bugfix/menuconfig_phy' into 'master'

component/esp32 : move Phy out of Wifi section

See merge request !1145

7 years agoMerge branch 'bugfix/the_esp-wrover-kit_identity' into 'master'
Jeroen Domburg [Thu, 24 Aug 2017 06:33:34 +0000 (14:33 +0800)]
Merge branch 'bugfix/the_esp-wrover-kit_identity' into 'master'

ESP-WROVER-KIT now integrates the ESP32-WROVER module by default.

See merge request !1096

7 years agoMerge branch 'feature/app_trace_to_host_example' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:30:28 +0000 (14:30 +0800)]
Merge branch 'feature/app_trace_to_host_example' into 'master'

Example on using application trace and logging to host

See merge request !1082

7 years agoMerge branch 'feature/docs_esp32-wrover_info' into 'master'
Ivan Grokhotkov [Thu, 24 Aug 2017 06:30:06 +0000 (14:30 +0800)]
Merge branch 'feature/docs_esp32-wrover_info' into 'master'

docs: Included information about ESP32-WROVER module

See merge request !1107

7 years agoMerge branch 'bugfix/tw14823_lwip_assert_err' into 'master'
Jiang Jiang Jian [Thu, 24 Aug 2017 03:29:32 +0000 (11:29 +0800)]
Merge branch 'bugfix/tw14823_lwip_assert_err' into 'master'

assert when close a connecting socket

See merge request !1136

7 years agoMerge branch 'bugfix/ampdu_default_wifi_settings' into 'master'
Jiang Jiang Jian [Thu, 24 Aug 2017 03:02:54 +0000 (11:02 +0800)]
Merge branch 'bugfix/ampdu_default_wifi_settings' into 'master'

wifi: Fix compilation error in WIFI_INIT_CONFIG_DEFAULT() if AMPDU disabled

See merge request !1139

7 years agoMerge branch 'bugfix/btdm_config_local_privacy_func' into 'master'
Jiang Jiang Jian [Thu, 24 Aug 2017 02:48:57 +0000 (10:48 +0800)]
Merge branch 'bugfix/btdm_config_local_privacy_func' into 'master'

component/bt: bugfix config local privacy

See merge request !1137

7 years agoMerge branch 'bugfix/btdm_fix_set_rand_addr_func' into 'master'
Jiang Jiang Jian [Thu, 24 Aug 2017 02:48:20 +0000 (10:48 +0800)]
Merge branch 'bugfix/btdm_fix_set_rand_addr_func' into 'master'

component/bt: fixbug_set_rand_addr()

See merge request !1123

7 years agoMerge branch 'bugfix/touch_pad_driver' into 'master'
Wang Jia Lin [Wed, 23 Aug 2017 11:12:39 +0000 (19:12 +0800)]
Merge branch 'bugfix/touch_pad_driver' into 'master'

driver(touch): fix bug and add more features

See merge request !1056

7 years agoMerge branch 'feature/btdm_remove_gki' into 'master'
Ivan Grokhotkov [Wed, 23 Aug 2017 10:01:54 +0000 (18:01 +0800)]
Merge branch 'feature/btdm_remove_gki' into 'master'

component/bt : remove all GKI reference

See merge request !1122

7 years agocomponent/esp32 : move Phy outof Wifi section
Tian Hao [Wed, 23 Aug 2017 09:51:31 +0000 (17:51 +0800)]
component/esp32 : move Phy outof Wifi section

1. move Phy out of Wifi section
2. lowercase the Ethernet and Phy from 2nd letter.

7 years agoComponent/bt: bugifx config local privacy
zhiweijian [Tue, 22 Aug 2017 12:26:21 +0000 (20:26 +0800)]
Component/bt: bugifx config local privacy

7 years agoAlso do dport stalling in esp32 component
Jeroen Domburg [Wed, 23 Aug 2017 08:43:57 +0000 (16:43 +0800)]
Also do dport stalling in esp32 component

7 years agoesp32: by default, set 40MHz crystal frequency
Ivan Grokhotkov [Wed, 23 Aug 2017 08:33:26 +0000 (16:33 +0800)]
esp32: by default, set 40MHz crystal frequency

7 years agocomponent/bt : remove all GKI reference
Tian Hao [Thu, 17 Aug 2017 13:13:45 +0000 (21:13 +0800)]
component/bt : remove all GKI reference

1. remove GKI(not use osi_free_and_reset)
2. modify mutex/semaphore to individual directory
3. set osi_malloc as malloc(previously use calloc)
4. change osi allocator debug osi_free
5. fix rebase of remove GKI

7 years agosecure boot: Fix enabling secure boot on first bootloader boot
Angus Gratton [Fri, 18 Aug 2017 02:09:41 +0000 (12:09 +1000)]
secure boot: Fix enabling secure boot on first bootloader boot

Bootloader would accidentally check its own image for a secure boot signature,
but bootloader is unsigned (protected by secure boot digest).

7 years agobootloader: Don't unnecessarily test OTA app slots more than once per boot
Angus Gratton [Fri, 18 Aug 2017 02:08:38 +0000 (12:08 +1000)]
bootloader: Don't unnecessarily test OTA app slots more than once per boot

Would loop more than once through each OTA possibility, but really only
needs to try each slot once.

7 years agowifi: Fix compilation error in WIFI_INIT_CONFIG_DEFAULT() if AMPDU disabled
Angus Gratton [Mon, 21 Aug 2017 04:41:31 +0000 (14:41 +1000)]
wifi: Fix compilation error in WIFI_INIT_CONFIG_DEFAULT() if AMPDU disabled

7 years agodocs: Included information about ESP32-WROVER module
krzychb [Fri, 11 Aug 2017 20:59:34 +0000 (22:59 +0200)]
docs: Included information about ESP32-WROVER module

7 years agoconsole: initialize buf_size before calling open_memstream
Ivan Grokhotkov [Tue, 22 Aug 2017 17:07:03 +0000 (01:07 +0800)]
console: initialize buf_size before calling open_memstream

POSIX open_memstream documentation [1] does not mention that it may use
the  value supplied in buf_size before the call.
newlib implementation of open_memstream does use it as a hint of the
buffer size [2]. To avoid using potential garbage in this variable,
newlib caps the size to 64kB (!).

If the allocation of this initial buffer fails, NULL file pointer is
returned. Previous code did not check returned file pointer and crashed
when it was used.

Initialize size to zero (in which case newlib allocates a 64 byte
buffer), and check the returned file pointer.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/open_memstream.html
[2] https://github.com/espressif/newlib-esp32/blob/23c0f21/newlib/libc/stdio/open_memstream.c#L26-L29
    https://github.com/espressif/newlib-esp32/blob/23c0f21/newlib/libc/stdio/open_memstream.c#L324-L336

7 years agoMerge branch 'bugfix/spi_dma_align' into 'master'
Ivan Grokhotkov [Tue, 22 Aug 2017 15:39:53 +0000 (23:39 +0800)]
Merge branch 'bugfix/spi_dma_align' into 'master'

fix(spi_dma): fix the receive error with RX DMA start with non-aligned address.

See merge request !1112

7 years agodriver(touch): fix bug and add more features
Wangjialin [Tue, 18 Jul 2017 11:57:28 +0000 (19:57 +0800)]
driver(touch): fix bug and add more features

1. add sens_struct.h
2. add definition of RTCCNTL and RTCIO
3. modify touch pad examples
4. update example code.
5. add comments add option in menuconfig
6. fix issue that pad index 8 and 9 are mismatched
7. add touch_pad_read_filtered() api to get value filtered by iir filter
8. modify touch pad isr func
9. Make the items in perihperal.ld in the sequence of address
10. delete Kconfig for touch pad
11. add touchpad filter APIs to adjust the filter
12. add touch_pad into index.rst
13. add touch_pad in Doxyfile
14. add touch_pad.rst

7 years agounit test: add sd env and spi env for sdmmc
houchenyao [Fri, 11 Aug 2017 07:25:55 +0000 (15:25 +0800)]
unit test: add sd env and spi env for sdmmc

7 years agoassert when close a connecting socket
zhangyanjiao [Mon, 21 Aug 2017 08:32:50 +0000 (16:32 +0800)]
assert when close a connecting socket

7 years agoMerge branch 'bugfix/ci_fix_getting_sources' into 'master'
Ivan Grokhotkov [Tue, 22 Aug 2017 12:03:12 +0000 (20:03 +0800)]
Merge branch 'bugfix/ci_fix_getting_sources' into 'master'

CI: Fix the spell for more reliable getting the sources

See merge request !1127

7 years agoMerge branch 'feature/sdmmc_highspeed_mode' into 'master'
Ivan Grokhotkov [Tue, 22 Aug 2017 11:31:10 +0000 (19:31 +0800)]
Merge branch 'feature/sdmmc_highspeed_mode' into 'master'

SDMMC: add support for high-speed mode

See merge request !1108

7 years agoMerge branch 'feature/esptool-v2.1' into 'master'
Ivan Grokhotkov [Tue, 22 Aug 2017 11:30:48 +0000 (19:30 +0800)]
Merge branch 'feature/esptool-v2.1' into 'master'

esptool: Update to v2.1 final release

See merge request !1131

7 years agoMerge branch 'feature/kconfig_options_doc' into 'master'
Ivan Grokhotkov [Tue, 22 Aug 2017 11:30:31 +0000 (19:30 +0800)]
Merge branch 'feature/kconfig_options_doc' into 'master'

Generate documentation for Kconfig options

See merge request !1128

7 years agoMerge branch 'bugfix/btdm_optimize_gatt_server_demo' into 'master'
Jiang Jiang Jian [Tue, 22 Aug 2017 08:30:08 +0000 (16:30 +0800)]
Merge branch 'bugfix/btdm_optimize_gatt_server_demo' into 'master'

component/bt: optimize gatt server demo

See merge request !1040

7 years agoMerge branch 'bugfix/btdm_modify_gatt_client_demo' into 'master'
Jiang Jiang Jian [Tue, 22 Aug 2017 08:29:48 +0000 (16:29 +0800)]
Merge branch 'bugfix/btdm_modify_gatt_client_demo' into 'master'

component/bt: optimize gatt_client demo

See merge request !1039

7 years agonvs: Support for handling multiple NVS partitions
Amey Inamdar [Mon, 21 Aug 2017 09:56:16 +0000 (15:26 +0530)]
nvs: Support for handling multiple NVS partitions

This commit adds support for multiple NVS partitions. This provides application a flexibility to have multiple NVS
partitions such as separate partition with read-only manufacturing data and read-write partition with configuration.
Application can also use this to separate out application's configuration storage from system configuration.

This feature does not change any of the basic property of NVS subsystem. The same-named namespaces across partitions are
considered to be different namespaces. The original NVS API available for the applications remains unchanged. The only
difference is that instead of first NVS partition in the partition table, it now operates on the partition with label
"nvs" (which is default in the IDF provided partition table files). Additional APIs are provided to open a handle and
erase NVS with partition name as a parameter.

A test case is added in the host tests and it is made sure that all the host tests pass. nvs_rw_value app is also tested
with multiple partitions.

Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>
7 years agonvs_flash: Reduced visibility of handle counter
Amey Inamdar [Wed, 16 Aug 2017 04:16:34 +0000 (09:46 +0530)]
nvs_flash: Reduced visibility of handle counter

Monotonically increasing handle counter need not be visible outside the HandleEntry class.

Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>
7 years agodocs: wifi: use list instead of nested table
Ivan Grokhotkov [Tue, 22 Aug 2017 06:20:19 +0000 (14:20 +0800)]
docs: wifi: use list instead of nested table

Latex backend does not support nested tables, which caused documentation
build to fail on readthedocs.

7 years agombedtls: remove duplicate Kconfig options
Ivan Grokhotkov [Mon, 21 Aug 2017 07:52:00 +0000 (15:52 +0800)]
mbedtls: remove duplicate Kconfig options

7 years agodocs: link to Kconfig options documentation
Ivan Grokhotkov [Sun, 20 Aug 2017 16:23:50 +0000 (00:23 +0800)]
docs: link to Kconfig options documentation

7 years agodocs: generate documentation for Kconfig options
Ivan Grokhotkov [Sun, 20 Aug 2017 16:09:12 +0000 (00:09 +0800)]
docs: generate documentation for Kconfig options

This adds a simple script which parses Kconfig files using Kconfiglib
and emits ReST document with the list of all options. For each option
a link target is generated, to make it possible to link to any Kconfig
option from the rest of the documentation.
Since Kconfiglib is not on PyPI, the latest version (45f87b9d) is
bundled into the docs directory.

7 years agoComponent/bt: optimize gatt server demo
zhiweijian [Thu, 20 Jul 2017 13:33:03 +0000 (21:33 +0800)]
Component/bt: optimize gatt server demo

7 years agoComponent/bt: optimize gatt_client demo
zhiweijian [Fri, 21 Jul 2017 03:03:20 +0000 (11:03 +0800)]
Component/bt: optimize gatt_client demo

7 years agoUpdate several Kconfig files to make help texts compatible with ReST
Ivan Grokhotkov [Sun, 20 Aug 2017 16:01:03 +0000 (00:01 +0800)]
Update several Kconfig files to make help texts compatible with ReST

7 years agoComponent/bt: fixbug_set_rand_addr()
zhiweijian [Sun, 20 Aug 2017 09:52:57 +0000 (17:52 +0800)]
Component/bt: fixbug_set_rand_addr()
- The two most significant bits of the address shall be equal to 1
- All bits of the random part of the address shall not be equal to 1
- All bits of the random part of the address shall not be equal to 0

7 years agoMerge branch 'bugfix/memory_leak_when_run_wpa2' into 'master'
Jiang Jiang Jian [Tue, 22 Aug 2017 06:18:17 +0000 (14:18 +0800)]
Merge branch 'bugfix/memory_leak_when_run_wpa2' into 'master'

wpa2: fix memory leak when run wpa2

See merge request !1126

7 years agoMerge branch 'bugfix/btdm_security_section_remove_bug' into 'master'
Jiang Jiang Jian [Tue, 22 Aug 2017 06:13:29 +0000 (14:13 +0800)]
Merge branch 'bugfix/btdm_security_section_remove_bug' into 'master'

component/bt: Change the remove section error &&  SMP_INCLUDE marco

See merge request !1133

7 years agoMerge branch 'feature/btdm_add_multiple_connections_demo' into 'master'
Jiang Jiang Jian [Tue, 22 Aug 2017 06:12:33 +0000 (14:12 +0800)]
Merge branch 'feature/btdm_add_multiple_connections_demo' into 'master'

component/bt : add gattc multiple connect demo

See merge request !1027

7 years agoMerge branch 'feature/btdm_add_gatt_security_client_demo' into 'master'
Jiang Jiang Jian [Tue, 22 Aug 2017 03:59:42 +0000 (11:59 +0800)]
Merge branch 'feature/btdm_add_gatt_security_client_demo' into 'master'

component/bt: add gatt_security_client demo

See merge request !1049

7 years agoMerge branch 'bugfix/btdm_add_check_value_length_for_gatts_get_attribute_value' into...
Jiang Jiang Jian [Tue, 22 Aug 2017 03:37:56 +0000 (11:37 +0800)]
Merge branch 'bugfix/btdm_add_check_value_length_for_gatts_get_attribute_value' into 'master'

component/bt: add check value and length for esp_ble_gatts_get_attr_value(uint16…

See merge request !1110

7 years agocomponent/bt: Change the remove section error.
Yulong [Tue, 22 Aug 2017 03:28:45 +0000 (23:28 -0400)]
component/bt: Change the remove section error.

7 years agonghttp: Restore nghttp2 v1.24
Angus Gratton [Tue, 22 Aug 2017 03:01:36 +0000 (13:01 +1000)]
nghttp: Restore nghttp2 v1.24

We had already updated to v1.24 months ago, but the submodule commit was accidentally
reverted in 1fb85b494c5f381e00f856c4422563c4274fbe98.

Fixes (again) error when compiling with assertions disabled.

As reported on forum: https://esp32.com/viewtopic.php?f=13&t=2750&p=13069

7 years agoWPA2:Fix the issue memory leak when run wifi enterprise
Deng Xin [Mon, 21 Aug 2017 02:52:02 +0000 (10:52 +0800)]
WPA2:Fix the issue memory leak when run wifi enterprise

fix the issue memory leak when run wpa2

7 years agoesptool: Update to v2.1 final release
Angus Gratton [Tue, 22 Aug 2017 01:49:07 +0000 (11:49 +1000)]
esptool: Update to v2.1 final release

Replaces v2.1-beta1 release.

Compared to beta, fixes issues with espefuse.py not prompting correctly on Windows (TW11139).

7 years agofix(spi_master): fix the command field to make it more intuitive to use.
michael [Thu, 17 Aug 2017 11:41:53 +0000 (19:41 +0800)]
fix(spi_master): fix the command field to make it more intuitive to use.

7 years agoMerge branch 'feature/wifi_and_ip_event_process_refactor' into 'master'
Jiang Jiang Jian [Mon, 21 Aug 2017 11:49:30 +0000 (19:49 +0800)]
Merge branch 'feature/wifi_and_ip_event_process_refactor' into 'master'

Feature/wifi and ip event process refactor

See merge request !986

7 years agoMerge branch 'bugfix/btdm_smp_invalid_key_size' into 'master'
Jiang Jiang Jian [Mon, 21 Aug 2017 11:38:15 +0000 (19:38 +0800)]
Merge branch 'bugfix/btdm_smp_invalid_key_size' into 'master'

component/bt: Change the SMP key size analyzing conditions.

See merge request !958

7 years agoMerge branch 'bugfix/btdm_cherry_pick_api_manage_pair_info_#13119' into 'master'
Jiang Jiang Jian [Mon, 21 Aug 2017 11:37:15 +0000 (19:37 +0800)]
Merge branch 'bugfix/btdm_cherry_pick_api_manage_pair_info_#13119' into 'master'

component/bt: cherry-pick the bugfix/btdm_api_manage_pair_info_#13119 to this branch.

See merge request !1095