]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoesp_https_ota: add config option to (optionally) allow http
Mahavir Jain [Mon, 31 Dec 2018 09:02:35 +0000 (14:32 +0530)]
esp_https_ota: add config option to (optionally) allow http

5 years agoMerge branch 'bugfix/add_missing_links_to_translation' into 'master'
Angus Gratton [Wed, 30 Jan 2019 03:32:15 +0000 (11:32 +0800)]
Merge branch 'bugfix/add_missing_links_to_translation' into 'master'

Included missing links between English and Chinese documentation, where…

See merge request idf/esp-idf!4176

5 years agoMerge branch 'bugfix/doc_updates_from_github' into 'master'
Angus Gratton [Wed, 30 Jan 2019 01:34:28 +0000 (09:34 +0800)]
Merge branch 'bugfix/doc_updates_from_github' into 'master'

Documenation updates from github

See merge request idf/esp-idf!4120

5 years agoMerge branch 'bugfix/mdns_crash_free_strdup' into 'master'
Angus Gratton [Wed, 30 Jan 2019 01:33:12 +0000 (09:33 +0800)]
Merge branch 'bugfix/mdns_crash_free_strdup' into 'master'

mdns: fixed crash on free undefined ptr if strdup is skipped

See merge request idf/esp-idf!4173

5 years agoMerge branch 'bugfix/correct_kconfigs' into 'master'
Angus Gratton [Wed, 30 Jan 2019 01:24:22 +0000 (09:24 +0800)]
Merge branch 'bugfix/correct_kconfigs' into 'master'

Correct Kconfigs according to the coding style

See merge request idf/esp-idf!4172

5 years agoMerge branch 'update/esptool_repo_sync' into 'master'
Angus Gratton [Wed, 30 Jan 2019 01:21:59 +0000 (09:21 +0800)]
Merge branch 'update/esptool_repo_sync' into 'master'

ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo

See merge request idf/esp-idf!4194

5 years agotools: replace absolute URLs in Kconfig docs
Roland Dobai [Tue, 29 Jan 2019 15:27:02 +0000 (16:27 +0100)]
tools: replace absolute URLs in Kconfig docs

5 years agoMerge branch 'bugfix/disable_kconfig_redundant_config_warnings_on_merge' into 'master'
Angus Gratton [Tue, 29 Jan 2019 14:03:05 +0000 (22:03 +0800)]
Merge branch 'bugfix/disable_kconfig_redundant_config_warnings_on_merge' into 'master'

Disable warnings on redundant config merge

See merge request idf/esp-idf!4168

5 years agoCorrect Kconfigs according to the coding style
Roland Dobai [Fri, 25 Jan 2019 16:10:53 +0000 (17:10 +0100)]
Correct Kconfigs according to the coding style

5 years agoMerge branch 'feature/eth_support_ip101g' into 'master'
Ivan Grokhotkov [Tue, 29 Jan 2019 09:50:40 +0000 (17:50 +0800)]
Merge branch 'feature/eth_support_ip101g' into 'master'

support new Ethernet PHY (IP101)

See merge request idf/esp-idf!4187

5 years agoMerge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt' into 'master'
Jiang Jiang Jian [Tue, 29 Jan 2019 09:12:10 +0000 (17:12 +0800)]
Merge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt' into 'master'

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

See merge request idf/esp-idf!4191

5 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

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

5 years agoMerge branch 'feat/spi_slave_timing' into 'master'
Ivan Grokhotkov [Tue, 29 Jan 2019 06:03:55 +0000 (14:03 +0800)]
Merge branch 'feat/spi_slave_timing' into 'master'

feat(spi_slave): fine tune the timing of SPI slave

See merge request idf/esp-idf!3925

5 years agoci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo
Angus Gratton [Tue, 29 Jan 2019 04:06:11 +0000 (15:06 +1100)]
ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo

5 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

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

5 years agoesp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
XiaXiaotian [Tue, 29 Jan 2019 02:55:45 +0000 (10:55 +0800)]
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
the same time and both enable modem sleep

5 years agoMerge branch 'bugfix/backtrace_from_interrupts' into 'master'
Ivan Grokhotkov [Mon, 28 Jan 2019 08:40:12 +0000 (16:40 +0800)]
Merge branch 'bugfix/backtrace_from_interrupts' into 'master'

Make backtrace work across interrupts

See merge request idf/esp-idf!4084

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

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.

5 years agoMerge branch 'mesh/bugfix_0124' into 'master'
Jiang Jiang Jian [Mon, 28 Jan 2019 06:06:00 +0000 (14:06 +0800)]
Merge branch 'mesh/bugfix_0124' into 'master'

mesh: udpate libs

See merge request idf/esp-idf!4155

5 years agoMerge branch 'feature/modem_pppos' into 'master'
Ivan Grokhotkov [Mon, 28 Jan 2019 03:59:41 +0000 (11:59 +0800)]
Merge branch 'feature/modem_pppos' into 'master'

support cellular modem && refactor PPPoS client example

See merge request idf/esp-idf!3778

5 years agodocs: Correct priorities in the PATH string
Anton Maklakov [Thu, 24 Jan 2019 12:03:03 +0000 (20:03 +0800)]
docs: Correct priorities in the PATH string

Fixes https://github.com/espressif/esp-idf/pull/2944

5 years agoIncluded missing links between English and Chinese documentation, where translation...
krzychb [Sun, 27 Jan 2019 18:01:34 +0000 (19:01 +0100)]
Included missing links between English and Chinese documentation, where translation into Chinese is available

5 years agospi: add new test for timing and mode
michael [Fri, 21 Sep 2018 08:48:04 +0000 (16:48 +0800)]
spi: add new test for timing and mode

New unit tests added
------------------------

**Local:** Local test uses the GPIO matrix to connect the master and the
slave on the same board. When the master needs the iomux, the master
uses the GPIOs of its own, the slave connect to the pins by GPIO matrix;
When the slave needs the iomux, the slave uses the GPIOs of its own, the
master connects to the pins by GPIO matrix.

- Provide a new unit test which performs freq scanning in mode 0. It
scans frequency of 1M, 8M, 9M and all frequency steps up to the maximum
frequency allowed.

**M & S**: Master & slave tests performs the test with two boards. The
master and slave use iomux or gpio matrix according to the config.

- Provide a new unit test which performs freq scanning in mode 0. It
scans frequency of 1M, 8M, 9M and all frequency steps up to the maximum
frequency allowed.

- Provide a new unit test which performs mode test with significant
frequencies. It tests mode 0,1,2,3 with low frequency, and the maximum
frequency allowed.

5 years agospi_master: fix the timing a little so that can assign delay half clock manually
Michael (XIAO Xufeng) [Thu, 6 Dec 2018 09:32:48 +0000 (17:32 +0800)]
spi_master: fix the timing a little so that can assign delay half clock manually

5 years agospi_slave: improve the timing configuration
michael [Mon, 25 Jun 2018 04:34:31 +0000 (12:34 +0800)]
spi_slave: improve the timing configuration

SPI Slave
===========

- Correct the configuration of mode 0~3 using new config in the TRM
- Split the workaround for DMA in mode 0/2 out of normal config, to make it clear.
- Update timing and speed document for the SPI slave.

Resolves https://github.com/espressif/esp-idf/issues/1346, https://github.com/espressif/esp-idf/issues/2393

5 years agotest: add new test framework for different configurations
michael [Tue, 26 Jun 2018 08:23:39 +0000 (16:23 +0800)]
test: add new test framework for different configurations

Paremeterized Test Framework
-----------------------------

The SPI has a lot of parameters, which works in the same process.
This framework provides a way to easily test different parameter sets.
The framework can work in two different ways:

- local test: which requires only one board to perform the test - master
& slave test: which generates two sub test items which uses the same
config set to cooperate to perform the test.

The user defines a (pair if master/slave) set of init/deinit/loop
functions. Then the test framework will call init once, then call loop
several times with different configurations, then call deinit.

Then a unit test can be appended by add a parameter group, and pass it into
a macro.

5 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

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

5 years agoMerge branch 'bugfix/ble_active_scan_not_wait_scan_rsp' into 'master'
Jiang Jiang Jian [Fri, 25 Jan 2019 03:53:06 +0000 (11:53 +0800)]
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp' into 'master'

component/bt: add a option to make report adv data and scan response individually

See merge request idf/esp-idf!4131

5 years agoupdate translation of establish-serial-connection
suda-morris [Mon, 21 Jan 2019 15:45:31 +0000 (23:45 +0800)]
update translation of establish-serial-connection

5 years agoSmall updates of wording
krzychb [Mon, 21 Jan 2019 05:25:05 +0000 (06:25 +0100)]
Small updates of wording

5 years agodocs(en): dialout-linux added specific command for Arch linux the correct group is...
ShellAddicted [Fri, 11 Jan 2019 17:03:17 +0000 (18:03 +0100)]
docs(en): dialout-linux added specific command for Arch linux the correct group is 'uucp'

Merges https://github.com/espressif/esp-idf/pull/2940

5 years agomesh: udpate libs
qiyueixa [Thu, 24 Jan 2019 07:15:09 +0000 (15:15 +0800)]
mesh: udpate libs

1. during parent selection, when scanning a MAP without ext-assoc IE, it will be handled as it has the same router BSSID as itself.
2. for MAP, when its client leaves, always post SYSTEM_EVENT_AP_STADISCONNECTED to mesh layer regardless of whether the client has passed the encrypted authentication or not.

5 years agoMerge branch 'feature/merge_multiple_github_prs' into 'master'
Ivan Grokhotkov [Thu, 24 Jan 2019 07:14:47 +0000 (15:14 +0800)]
Merge branch 'feature/merge_multiple_github_prs' into 'master'

Multiple Github PRs

See merge request idf/esp-idf!4146

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

5 years agoMerge branch 'doc/add_esp_ble_test_case' into 'master'
Angus Gratton [Thu, 24 Jan 2019 06:29:31 +0000 (14:29 +0800)]
Merge branch 'doc/add_esp_ble_test_case' into 'master'

add esp ble compatibility test case

See merge request idf/esp-idf!3989

5 years agoadd esp ble compatibility test case
Wang Fang [Thu, 24 Jan 2019 06:29:31 +0000 (14:29 +0800)]
add esp ble compatibility test case

5 years agoMerge branch 'bugfix/reduce_nvs_init_time' into 'master'
Angus Gratton [Thu, 24 Jan 2019 06:17:57 +0000 (14:17 +0800)]
Merge branch 'bugfix/reduce_nvs_init_time' into 'master'

nvs_flash: Improve nvs_flash_init_partition() speed

See merge request idf/esp-idf!4097

5 years agoMerge branch 'bugfix/sha_ownership' into 'master'
Jiang Jiang Jian [Thu, 24 Jan 2019 06:07:23 +0000 (14:07 +0800)]
Merge branch 'bugfix/sha_ownership' into 'master'

hwcrypto sha: Allow SHA contexts to be shared between tasks

See merge request idf/esp-idf!4010

5 years agoMerge branch 'feature/efuse_add_voltage_level' into 'master'
Ivan Grokhotkov [Thu, 24 Jan 2019 05:03:25 +0000 (13:03 +0800)]
Merge branch 'feature/efuse_add_voltage_level' into 'master'

feature(efuse): add support for setting core voltage in high performance cases

See merge request idf/esp-idf!4124

5 years agoMerge branch 'bugfix/regenerate_sdkconfig_fails' into 'master'
Angus Gratton [Thu, 24 Jan 2019 03:56:52 +0000 (11:56 +0800)]
Merge branch 'bugfix/regenerate_sdkconfig_fails' into 'master'

Fix issues with regenerating sdkconfig on modification

Closes #58

See merge request idf/esp-idf!4115

5 years agoInitialized some uninitialized variables in rtc_clk.c and ringbuf.c.
Pieter du Preez [Mon, 24 Dec 2018 11:37:09 +0000 (11:37 +0000)]
Initialized some uninitialized variables in rtc_clk.c and ringbuf.c.

The following 2 compiler warnings are only reproducible when setting:
   OPTIMIZATION_FLAGS = -Ofast

esp-idf/components/soc/esp32/rtc_clk.c:
In function 'rtc_clk_cpu_freq_get':
esp-idf/components/soc/esp32/rtc_clk.c:506:12:
error: 'freq' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
return freq;

esp-idf/components/esp_ringbuf/ringbuf.c:
In function 'xRingbufferReceiveSplitFromISR':
esp-idf/components/esp_ringbuf/ringbuf.c:934:26:
error: 'pvTempTailItem' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
*ppvTailItem = pvTempTailItem;

Closes https://github.com/espressif/esp-idf/pull/2878

5 years agoHandle esp_tls_conn_read disconnection in ssl_read. Fixes #2805
rustyx [Sat, 19 Jan 2019 10:13:22 +0000 (11:13 +0100)]
Handle esp_tls_conn_read disconnection in ssl_read. Fixes #2805

Closes https://github.com/espressif/esp-idf/pull/2967

5 years agofix esp_http_client_open
Damian Reboredo [Sun, 6 Jan 2019 10:01:00 +0000 (07:01 -0300)]
fix esp_http_client_open

client->post_len was not bein set therefore content-length was 0

Closes https://github.com/espressif/esp-idf/pull/2917

5 years agoFix typo in error message in esp_bluedroid_init
Michael Reutman [Fri, 14 Dec 2018 01:23:27 +0000 (17:23 -0800)]
Fix typo in error message in esp_bluedroid_init

Closes https://github.com/espressif/esp-idf/pull/2835

5 years agoAdd static qualifier to s_light_sleep_wakeup variable to prevent it from being global.
Michael Reutman [Wed, 5 Dec 2018 04:22:55 +0000 (20:22 -0800)]
Add static qualifier to s_light_sleep_wakeup variable to prevent it from being global.

Closes https://github.com/espressif/esp-idf/pull/2793

5 years agoesp_http_client: Add support for mutual authentication
Anders Kalør [Sat, 10 Nov 2018 22:51:05 +0000 (23:51 +0100)]
esp_http_client: Add support for mutual authentication

Closes https://github.com/espressif/esp-idf/pull/2688

5 years agomodem: support modem facility and PPPoS
morris [Fri, 23 Nov 2018 03:53:20 +0000 (11:53 +0800)]
modem: support modem facility and PPPoS

1. add support for ESP32 DTE
2. add support for SIM800/BG96 DCE
3. add PPPoS setup procedure
4. add support for SMS
5. add mqtt example after PPP connection established

5 years agoMerge branch 'bugfix/bootloader_map_size' into 'master'
Ivan Grokhotkov [Wed, 23 Jan 2019 08:56:58 +0000 (16:56 +0800)]
Merge branch 'bugfix/bootloader_map_size' into 'master'

bootloader: fix incorrect mapping size

See merge request idf/esp-idf!3175

5 years agoMerge branch 'bugfix/wifi_fix_invalid_csi_data_index' into 'master'
Jiang Jiang Jian [Wed, 23 Jan 2019 06:58:49 +0000 (14:58 +0800)]
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index' into 'master'

esp32: fix invalid channel state information(CSI) data index

See merge request idf/esp-idf!4048

5 years agoMerge branch 'feature/support_global_der_ca_store' into 'master'
Ivan Grokhotkov [Wed, 23 Jan 2019 05:30:49 +0000 (13:30 +0800)]
Merge branch 'feature/support_global_der_ca_store' into 'master'

Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store

See merge request idf/esp-idf!3795

5 years agohwcrypto sha: Use spinlocks instead of semaphores for small state changes
Angus Gratton [Fri, 21 Dec 2018 05:16:16 +0000 (16:16 +1100)]
hwcrypto sha: Use spinlocks instead of semaphores for small state changes

Significant performance improvement and smaller RAM footprint.

5 years agohwcrypto sha: Allow SHA contexts to be shared between tasks
Angus Gratton [Fri, 21 Dec 2018 04:37:57 +0000 (15:37 +1100)]
hwcrypto sha: Allow SHA contexts to be shared between tasks

Previously, hardware SHA engine "locks" were mutex semaphores. This meant that the task which
started a particular SHA session (in hardware) needed to finalise that session, or an invalid
FreeRTOS state was created.

Replace with binary semaphore which can be shared between tasks.

Includes a unit test, but unit test doesn't crash even without this fix
(some other unknown condition is required).

5 years agonvs_flash: Improve nvs_flash_init_partition() speed
Gautier Seidel [Tue, 18 Dec 2018 16:12:35 +0000 (17:12 +0100)]
nvs_flash: Improve nvs_flash_init_partition() speed

Signed-off-by: Sagar Bijwe <sagar@espressif.com>
5 years agoMerge branch 'bugfix/examples_http_file_server_readme' into 'master'
Angus Gratton [Wed, 23 Jan 2019 01:06:46 +0000 (09:06 +0800)]
Merge branch 'bugfix/examples_http_file_server_readme' into 'master'

HTTP File Server : Fix README of example

See merge request idf/esp-idf!4112

5 years agoesp32: fix invalid channel state information(CSI) data index
XiaXiaotian [Thu, 27 Dec 2018 13:06:58 +0000 (21:06 +0800)]
esp32: fix invalid channel state information(CSI) data index

    Due to a hardware limitation in ESP32, the first four bytes of some
    CSI data is invalid, not the last four bytes.

    Correct a mistake of CSI sub-carrier index in documentation.

5 years agotinyfw: update to support new esptool argument
Ivan Grokhotkov [Tue, 22 Jan 2019 10:40:25 +0000 (18:40 +0800)]
tinyfw: update to support new esptool argument

5 years agofeature: add support for setting core voltage in high performance cases.
Wangjialin [Mon, 21 Jan 2019 10:14:49 +0000 (18:14 +0800)]
feature: add support for setting core voltage in high performance cases.

1. add definitions of EFUSE_RD_VOL_LEVEL_HP_INV in efuse_reg.h
2. modify the core voltage according to the record in efuse in high performance cases.

5 years agoMerge branch 'bugfix/http_server_uri_template' into 'master'
Ivan Grokhotkov [Tue, 22 Jan 2019 03:45:45 +0000 (11:45 +0800)]
Merge branch 'bugfix/http_server_uri_template' into 'master'

esp_http_server : Remove casual use of 'template' keyword

See merge request idf/esp-idf!4123

5 years agoMerge branch 'bugfix/cmake_env_var_for_kconfig' into 'master'
Angus Gratton [Tue, 22 Jan 2019 03:11:18 +0000 (11:11 +0800)]
Merge branch 'bugfix/cmake_env_var_for_kconfig' into 'master'

CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.

See merge request idf/esp-idf!4100

5 years agoCMake: Make IDF_PATH available to Kconfiglib when not explicitly set.
Sagar Bijwe [Fri, 11 Jan 2019 06:29:59 +0000 (11:59 +0530)]
CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.

When IDF_PATH is not set by the user, cmake infers the same through
other means and sets it as an environment variable. However, some
sub-invocation of cmake may not see this variable as it is not set
in the parent. This change adds a custom command for exporting IDF_PATH
just before invoking ldgen so that IDF_PATH can be used in Kconfig
without any errors.

5 years agoMerge branch 'bugfix/esp-http-client-incorrect-path' into 'master'
Ivan Grokhotkov [Mon, 21 Jan 2019 11:08:24 +0000 (19:08 +0800)]
Merge branch 'bugfix/esp-http-client-incorrect-path' into 'master'

esp_http_client: Fix config member path's incorrect setting issue

See merge request idf/esp-idf!4078

5 years agoesp_http_client: Fix config member path's incorrect setting issue
Jitin George [Mon, 21 Jan 2019 11:08:24 +0000 (19:08 +0800)]
esp_http_client: Fix config member path's incorrect setting issue

5 years agoesp_http_server : Remove casual use of 'template' keyword
Anurag Kar [Mon, 21 Jan 2019 10:38:03 +0000 (16:08 +0530)]
esp_http_server : Remove casual use of 'template' keyword

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

5 years agoUpdate esptool.py to v2.6
Angus Gratton [Wed, 9 Jan 2019 07:11:41 +0000 (23:11 -0800)]
Update esptool.py to v2.6

5 years agobootloader: account for load address when mapping cache pages
Ivan Grokhotkov [Mon, 3 Sep 2018 10:15:20 +0000 (18:15 +0800)]
bootloader: account for load address when mapping cache pages

Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.

Reported in https://esp32.com/viewtopic.php?f=13&t=6952.

5 years agobootloader: fix IROM and DROM swapped in log messages
Ivan Grokhotkov [Mon, 3 Sep 2018 10:10:46 +0000 (18:10 +0800)]
bootloader: fix IROM and DROM swapped in log messages

5 years agoMerge branch 'bugfix/phy_rtc_cache_disabled' into 'master'
Jiang Jiang Jian [Fri, 18 Jan 2019 02:53:52 +0000 (10:53 +0800)]
Merge branch 'bugfix/phy_rtc_cache_disabled' into 'master'

Fix PHY/RTC functions called in ISR, but stored in flash

See merge request idf/esp-idf!4108

5 years agoFix some bugs in phy
Tian Hao [Sun, 13 Jan 2019 08:05:12 +0000 (16:05 +0800)]
Fix some bugs in phy

1. fix bug PHY/RTC functions called in ISR (update phy to v4007)
2. add UnitTest to test it
3. disable/enable agc to mac deinit/init

5 years agoMerge branch 'mesh/cs_root_conflict' into 'master'
Jiang Jiang Jian [Wed, 16 Jan 2019 13:16:56 +0000 (21:16 +0800)]
Merge branch 'mesh/cs_root_conflict' into 'master'

detect and fix root conflicts when router BSSID is not set

See merge request idf/esp-idf!3869

5 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

5 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

5 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

5 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

5 years agotest: modify the reason code from 204 to 15 in WIFI_CONN_0904
qiyueixa [Tue, 15 Jan 2019 08:34:26 +0000 (16:34 +0800)]
test: modify the reason code from 204 to 15 in WIFI_CONN_0904

1. remove the step of testing station connect using a wrong password.

5 years agoMerge branch 'bugfix/fix_psram_eid' into 'master'
Wang Jia Lin [Tue, 15 Jan 2019 09:44:51 +0000 (17:44 +0800)]
Merge branch 'bugfix/fix_psram_eid' into 'master'

bugfix(psram): fix psram size acquisition method, support esp32-pico chips

See merge request idf/esp-idf!3750

5 years agohttp file_server : Fix README of example
Anurag Kar [Tue, 15 Jan 2019 07:15:48 +0000 (12:45 +0530)]
http file_server : Fix README of example

5 years agomesh: update libs
qiyuexia [Tue, 8 Jan 2019 14:14:36 +0000 (22:14 +0800)]
mesh: update libs

1. detect and fix root conflicts when router BSSID is not set.
2. 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.
3. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
4. fix routing table redundant issue.
5. modify the max routes limitation from 300 to 1000.
6. wifi: fix ap does not deauth sta which has not completed the 4-way handshake.

5 years agoMerge branch 'bugfix/examples_http_file_server_kconfig' into 'master'
Angus Gratton [Tue, 15 Jan 2019 03:59:35 +0000 (11:59 +0800)]
Merge branch 'bugfix/examples_http_file_server_kconfig' into 'master'

HTTP File Server : Fix kconfig of example

See merge request idf/esp-idf!4110

5 years agohttp_file_server : fix kconfig of example
Anurag Kar [Tue, 15 Jan 2019 01:57:22 +0000 (07:27 +0530)]
http_file_server : fix kconfig of example

5 years agoMerge branch 'feature/http_server_wildcard_uri' into 'master'
Ivan Grokhotkov [Mon, 14 Jan 2019 11:44:54 +0000 (19:44 +0800)]
Merge branch 'feature/http_server_wildcard_uri' into 'master'

Wildcard URI matching for http_server

See merge request idf/esp-idf!3973

5 years agoMerge branch 'bugfix/mqtt_tests_local_broker' into 'master'
Ivan Grokhotkov [Mon, 14 Jan 2019 08:29:43 +0000 (16:29 +0800)]
Merge branch 'bugfix/mqtt_tests_local_broker' into 'master'

MQTT tests: connect to local broker when running in CI to make the tests more reliable

See merge request idf/esp-idf!3926

5 years agoAdd esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_...
Paul Reimer [Thu, 1 Nov 2018 18:11:16 +0000 (11:11 -0700)]
Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store

Signed-off-by: Chirag Atal <chirag.atal@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/2654

5 years agoHTTP Server : File server example added
Anurag Kar [Sun, 16 Dec 2018 18:10:24 +0000 (23:40 +0530)]
HTTP Server : File server example added

This example demonstrates the capability of wildcard URI matching
allowing for a full fledged file server to be created using esp_http_server.

5 years agoHTTP Server : Unit test added for httpd_uri_match_wildcard() function as given in...
Anurag Kar [Wed, 9 Jan 2019 21:29:23 +0000 (02:59 +0530)]
HTTP Server : Unit test added for httpd_uri_match_wildcard() function as given in https://github.com/espressif/esp-idf/pull/2581#issuecomment-430788473

5 years agoHTTP Server : Add uri_match_fn field in config structure which accepts custom URI...
Anurag Kar [Sun, 6 Jan 2019 14:20:20 +0000 (19:50 +0530)]
HTTP Server : Add uri_match_fn field in config structure which accepts custom URI matching functions of type httpd_uri_match_func_t and defaults to basic string compare when set to NULL.

Move static uri_matches() function to httpd_uri_match_wildcard() under esp_http_server.h and make it optional.

5 years agoHTTP Server : Add helper APIs for sending string content
Anurag Kar [Sat, 5 Jan 2019 21:14:45 +0000 (02:44 +0530)]
HTTP Server : Add helper APIs for sending string content

Note : In future consider deprecating usage of -1 for setting
buffer length equal to string length in APIs httpd_resp_send()
and httpd_resp_send_chunk()

5 years agoMerge branch 'bugfix/wifi_fix_incorrect_tx_complete_state' into 'master'
Jiang Jiang Jian [Sat, 12 Jan 2019 11:54:51 +0000 (19:54 +0800)]
Merge branch 'bugfix/wifi_fix_incorrect_tx_complete_state' into 'master'

esp32: fix the incorrect tx complete state issue

See merge request idf/esp-idf!4083

5 years agoesp32: fix the incorrect tx complete state issue
Liu Zhi Fu [Fri, 11 Jan 2019 17:55:25 +0000 (01:55 +0800)]
esp32: fix the incorrect tx complete state issue

5 years agoMerge branch 'bugfix/fix_ba_hardware_index_deleting_issue' into 'master'
Jiang Jiang Jian [Sat, 12 Jan 2019 01:37:03 +0000 (09:37 +0800)]
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue' into 'master'

esp32: fix wrongly deleting hardware BA index bug

See merge request idf/esp-idf!4101

5 years agomqtt tests: connect to local broker when running in CI to make the tests more reliable
David Cermak [Fri, 7 Dec 2018 14:15:34 +0000 (15:15 +0100)]
mqtt tests: connect to local broker when running in CI to make the tests more reliable

5 years agoMerge branch 'feature/check_kconfig' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 13:14:27 +0000 (21:14 +0800)]
Merge branch 'feature/check_kconfig' into 'master'

Check the style of Kconfig files

See merge request idf/esp-idf!3971

5 years agoMerge branch 'feature/freemodbus_mb_inst_config' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 12:14:46 +0000 (20:14 +0800)]
Merge branch 'feature/freemodbus_mb_inst_config' into 'master'

examples: freemodbus port serial slave increase MB_INST_MAX_SIZE

See merge request idf/esp-idf!4080

5 years agoCheck & correct Kconfig files
Roland Dobai [Thu, 6 Dec 2018 14:08:18 +0000 (15:08 +0100)]
Check & correct Kconfig files

5 years agoexamples: change max register area size to maximum value
aleks [Mon, 7 Jan 2019 10:33:20 +0000 (11:33 +0100)]
examples: change max register area size to maximum value

esp-idf/components/freemodbus/modbus_controller/modbus_controller.c: The MB_INST_MAX_SIZE is changed to max value=(65535*2);
Update support for coils read into freemodbus.c;

TW#28143
Closes https://github.com/espressif/esp-idf/issues/2884

5 years agoesp32: fix wrongly deleting hardware BA index bug
Liu Zhi Fu [Fri, 11 Jan 2019 08:31:01 +0000 (16:31 +0800)]
esp32: fix wrongly deleting hardware BA index bug

Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.

5 years agoMerge branch 'bugfix/unix_makefile_build_on_windows' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 08:09:28 +0000 (16:09 +0800)]
Merge branch 'bugfix/unix_makefile_build_on_windows' into 'master'

CMake: Fix build error when using Windows command line and MinGW generator

See merge request idf/esp-idf!3997

5 years agoMerge branch 'feature/mqtt_before_connect_event' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 07:38:23 +0000 (15:38 +0800)]
Merge branch 'feature/mqtt_before_connect_event' into 'master'

MQTT support for fragmented and packed messages

See merge request idf/esp-idf!3743