]> granicus.if.org Git - esp-idf/log
esp-idf
5 years ago fix the bug in auto Ip memory leak
xiehang [Wed, 6 Mar 2019 06:44:06 +0000 (14:44 +0800)]
 fix the bug in auto Ip memory leak

Closes https://jira.espressif.com:8443/browse/WIFI-266

5 years agoMerge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID' into 'master'
Jiang Jiang Jian [Wed, 6 Mar 2019 06:11:38 +0000 (14:11 +0800)]
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID' into 'master'

Component/bt: fix iOS and win10 compatibility error  for HID

See merge request idf/esp-idf!4396

5 years agoMerge branch 'bugfix/level5_intr_alloc' into 'master'
Ivan Grokhotkov [Wed, 6 Mar 2019 03:18:36 +0000 (11:18 +0800)]
Merge branch 'bugfix/level5_intr_alloc' into 'master'

esp32: esp_intr_alloc: Fixed issue with level 5 not being called

Closes IDFGH-616

See merge request idf/esp-idf!4405

5 years agoMerge branch 'feature/gdbstub_task_list' into 'master'
Ivan Grokhotkov [Wed, 6 Mar 2019 03:12:46 +0000 (11:12 +0800)]
Merge branch 'feature/gdbstub_task_list' into 'master'

Add support for listing tasks to gdb in gdbstub

Closes IDFGH-498

See merge request idf/esp-idf!4357

5 years agoMerge branch 'docs/correct_typos_in_interrupt_handling_docs' into 'master'
Ivan Grokhotkov [Wed, 6 Mar 2019 03:11:43 +0000 (11:11 +0800)]
Merge branch 'docs/correct_typos_in_interrupt_handling_docs' into 'master'

docs: fix typo and link in high level interrupt documentation

See merge request idf/esp-idf!4419

5 years agoMerge branch 'bugfix/coex_decouple_wifi_and_bt_code_with_coexist' into 'master'
Jiang Jiang Jian [Tue, 5 Mar 2019 07:14:16 +0000 (15:14 +0800)]
Merge branch 'bugfix/coex_decouple_wifi_and_bt_code_with_coexist' into 'master'

Decouple WiFi and BT with coexist to reduce bin size

Closes IDF-469

See merge request idf/esp-idf!4363

5 years agoMerge branch 'doc/add_build_system_cmake_translation' into 'master'
Ivan Grokhotkov [Tue, 5 Mar 2019 07:02:48 +0000 (15:02 +0800)]
Merge branch 'doc/add_build_system_cmake_translation' into 'master'

zh_CN translation of build system (cmake version)

See merge request idf/esp-idf!4122

5 years agozh_CN translation of build system (cmake version)
Wang Fang [Tue, 5 Mar 2019 07:02:48 +0000 (15:02 +0800)]
zh_CN translation of build system (cmake version)

5 years agoMerge branch 'bugfix/simple_ota_example' into 'master'
Angus Gratton [Tue, 5 Mar 2019 05:05:53 +0000 (13:05 +0800)]
Merge branch 'bugfix/simple_ota_example' into 'master'

bugfix(simple_ota_example): Compatible with V3.1 and V3.2,because the NVS format is different

See merge request idf/esp-idf!3983

5 years agodocs: fix typo and link in high level interrupt documentation
Mahavir Jain [Tue, 5 Mar 2019 04:56:40 +0000 (10:26 +0530)]
docs: fix typo and link in high level interrupt documentation

5 years agogdbstub: minor cleanup
Ivan Grokhotkov [Wed, 27 Feb 2019 04:23:56 +0000 (12:23 +0800)]
gdbstub: minor cleanup

1. Add Kconfig options to control task listing support.
2. Convert magic values (-1, -2) to named constants.
3. Convert spaces to tabs to match the rest of the file.
4. Rename getAllTasksHandle to getTaskInfo to reflect its purpose.
5. Add some curly braces for single line statements.

5 years agoAdd support for listing tasks to gdb in gdbstub
X-Ryl669 [Tue, 11 Dec 2018 22:14:15 +0000 (23:14 +0100)]
Add support for listing tasks to gdb in gdbstub

…and changing the active task and fetching each task's stack

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

5 years agoMerge branch 'doc/linker_script_generation_zh_CN' into 'master'
Angus Gratton [Tue, 5 Mar 2019 03:02:31 +0000 (11:02 +0800)]
Merge branch 'doc/linker_script_generation_zh_CN' into 'master'

zh_CN translation of linker script generation

See merge request idf/esp-idf!4226

5 years agoDecouple WiFi and BT with coexist to reduce bin size
XiaXiaotian [Wed, 20 Feb 2019 13:01:27 +0000 (21:01 +0800)]
Decouple WiFi and BT with coexist to reduce bin size

1. Do not link WiFi code when only BT or BLE is used and WiFi is not
used.

2. Do not link coexist code when CONFIG_SW_COEXIST_ENABLE is disabled.

5 years agoMerge branch 'bugfix/fix_some_wifi_bugs_0301' into 'master'
Jiang Jiang Jian [Tue, 5 Mar 2019 02:35:22 +0000 (10:35 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_0301' into 'master'

esp32: fix some WiFi bugs

See merge request idf/esp-idf!4399

5 years agoMerge branch 'feature/upgrade_sphinx_and_breathe' into 'master'
Krzysztof Budzynski [Mon, 4 Mar 2019 19:42:34 +0000 (03:42 +0800)]
Merge branch 'feature/upgrade_sphinx_and_breathe' into 'master'

docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4 and 4.11.1. Updated check of Sphinx warnings to account for the filename instead of the whole path, that for the same errors may be different between English and Chinese docs.

See merge request idf/esp-idf!4282

5 years agoMerge branch 'bugfix/uart_fix_critical_section_api_from_isr' into 'master'
Ivan Grokhotkov [Mon, 4 Mar 2019 08:24:22 +0000 (16:24 +0800)]
Merge branch 'bugfix/uart_fix_critical_section_api_from_isr' into 'master'

uart: use correct critical section API from ISR context

See merge request idf/esp-idf!4301

5 years agoMerge branch 'feature/esp_http_client_global_ca_store' into 'master'
Ivan Grokhotkov [Mon, 4 Mar 2019 08:24:07 +0000 (16:24 +0800)]
Merge branch 'feature/esp_http_client_global_ca_store' into 'master'

esp_http_client: add support for using certs from global ca store

See merge request idf/esp-idf!4302

5 years agoesp32: esp_intr_alloc: Fixed issue with level 5 not being called
Christian Hoene [Sat, 9 Feb 2019 11:21:41 +0000 (12:21 +0100)]
esp32: esp_intr_alloc: Fixed issue with level 5 not being called

Closes https://github.com/espressif/esp-idf/issues/3039
Merges https://github.com/espressif/esp-idf/issues/3040

5 years agoesp32: fix some WiFi bugs
Liu Zhi Fu [Fri, 1 Mar 2019 03:23:54 +0000 (11:23 +0800)]
esp32: fix some WiFi bugs

Fix following WiFi bugs:
1. Fix the bug that STA incorrectly deletes BA when receiving DelBA request
2. Add out of memory check
3. Fix the bug that STA incorrectly receives packets when scanning in connected status

5 years agoMerge branch 'doc/crc_apis_usage' into 'master'
Jiang Jiang Jian [Fri, 1 Mar 2019 02:03:03 +0000 (10:03 +0800)]
Merge branch 'doc/crc_apis_usage' into 'master'

Add CRC APIs usage

See merge request idf/esp-idf!4351

5 years agoMerge branch 'test/spi_param_wiring_doc' into 'master' v3.3-beta2
Ivan Grokhotkov [Thu, 28 Feb 2019 13:00:41 +0000 (21:00 +0800)]
Merge branch 'test/spi_param_wiring_doc' into 'master'

spi test: describe the wiring of param test in the comments

See merge request idf/esp-idf!4394

5 years agoComponent/bt: fix iOS and win10 compatibility error for HID
zhiweijian [Thu, 28 Feb 2019 12:39:12 +0000 (20:39 +0800)]
Component/bt: fix iOS and win10 compatibility error  for HID

5 years agospi test: describe the wiring of param test in the comments
michael [Thu, 28 Feb 2019 11:37:17 +0000 (19:37 +0800)]
spi test: describe the wiring of param test in the comments

5 years agoMerge branch 'bugfix/wifi_modify_wifi_kconfig' into 'master'
Jiang Jiang Jian [Thu, 28 Feb 2019 10:21:16 +0000 (18:21 +0800)]
Merge branch 'bugfix/wifi_modify_wifi_kconfig' into 'master'

esp32: modify WiFi Kconfig in order to achieve better compatility and performance

See merge request idf/esp-idf!4164

5 years agoMerge branch 'feature/efuse_manager' into 'master'
Angus Gratton [Thu, 28 Feb 2019 09:47:22 +0000 (17:47 +0800)]
Merge branch 'feature/efuse_manager' into 'master'

Feature/efuse manager

See merge request idf/esp-idf!2819

5 years agoesp32: modify WiFi Kconfig in order to achieve better compatility
XiaXiaotian [Fri, 25 Jan 2019 09:26:49 +0000 (17:26 +0800)]
esp32: modify WiFi Kconfig in order to achieve better compatility
and performance

5 years agoefuse: Fix to pass CI tests
Konstantin Kondrashov [Tue, 18 Dec 2018 14:42:10 +0000 (22:42 +0800)]
efuse: Fix to pass CI tests

5 years agoefuse: Reduce the size of esp_efuse_desc_t to 4 bytes
Konstantin Kondrashov [Fri, 14 Dec 2018 06:00:59 +0000 (14:00 +0800)]
efuse: Reduce the size of esp_efuse_desc_t to 4 bytes

5 years agoefuse: Add MAX_BLK_LEN define for changing len of field
Konstantin Kondrashov [Wed, 12 Dec 2018 07:50:31 +0000 (15:50 +0800)]
efuse: Add MAX_BLK_LEN define for changing len of field

Added docs, improved efuse_table_gen.py, and minor fixes

Checking the generated files for compliance with the coding scheme.

5 years agoefuse: Fix docs and script
Konstantin Kondrashov [Tue, 11 Dec 2018 06:39:32 +0000 (14:39 +0800)]
efuse: Fix docs and script

5 years agoefuse: Fix python coding style
Konstantin Kondrashov [Fri, 7 Dec 2018 12:32:58 +0000 (20:32 +0800)]
efuse: Fix python coding style

Set python's scripts attribute chmod
Add compatibility with Python3 for efuse_table_gen.py

5 years agoCI: Add host tests
Konstantin Kondrashov [Fri, 7 Dec 2018 11:28:57 +0000 (19:28 +0800)]
CI: Add host tests

5 years agoefuse: Add a write/read protection
Konstantin Kondrashov [Fri, 7 Dec 2018 09:57:25 +0000 (17:57 +0800)]
efuse: Add a write/read protection

5 years agoefuse: Fix make/cmake build systems and docs
Konstantin Kondrashov [Thu, 6 Dec 2018 09:49:02 +0000 (17:49 +0800)]
efuse: Fix make/cmake build systems and docs

5 years agoefuse: Add support coding scheme to script
Konstantin Kondrashov [Wed, 21 Nov 2018 08:09:36 +0000 (16:09 +0800)]
efuse: Add support coding scheme to script

Added support using BLK1 and BLK2 in custom table.
Added change size key in BLK1 and BLK2 if coding scheme was changed.

5 years agoefuse: Add API efuse
Konstantin Kondrashov [Mon, 19 Nov 2018 03:46:21 +0000 (11:46 +0800)]
efuse: Add API efuse

Added support 3/4 coding scheme

5 years agobuild_system: Add support efuse
Konstantin Kondrashov [Mon, 19 Nov 2018 03:45:21 +0000 (11:45 +0800)]
build_system: Add support efuse

5 years agodocs: Add efuse
Konstantin Kondrashov [Mon, 19 Nov 2018 03:41:26 +0000 (11:41 +0800)]
docs: Add efuse

5 years agosoc: Add support efuse
Konstantin Kondrashov [Mon, 19 Nov 2018 03:39:41 +0000 (11:39 +0800)]
soc: Add support efuse

5 years agoesp32: Add using efuse component
Konstantin Kondrashov [Mon, 19 Nov 2018 03:38:05 +0000 (11:38 +0800)]
esp32: Add using efuse component

5 years agobootloader: Add support efuse component
Konstantin Kondrashov [Mon, 19 Nov 2018 03:36:19 +0000 (11:36 +0800)]
bootloader: Add support efuse component

5 years agoMerge branch 'bugfix/fix_scan_bugs_and_alloc_eb_fail' into 'master'
Jiang Jiang Jian [Thu, 28 Feb 2019 05:34:51 +0000 (13:34 +0800)]
Merge branch 'bugfix/fix_scan_bugs_and_alloc_eb_fail' into 'master'

wifi: fix scan bugs and alloc eb fail

See merge request idf/esp-idf!4373

5 years agoMerge branch 'bugfix/pthread_thread_size' into 'master'
Ivan Grokhotkov [Thu, 28 Feb 2019 02:24:34 +0000 (10:24 +0800)]
Merge branch 'bugfix/pthread_thread_size' into 'master'

pthread: Transform the units of the stack size to the FreeRTOS domain

Closes IDFGH-603

See merge request idf/esp-idf!4375

5 years agoMerge branch 'feature/sniffer_app_trace' into 'master'
Angus Gratton [Wed, 27 Feb 2019 23:38:52 +0000 (07:38 +0800)]
Merge branch 'feature/sniffer_app_trace' into 'master'

capture WiFi packets to host via JTAG

See merge request idf/esp-idf!4203

5 years agoMerge branch 'esp_http_server/lru_counter_for_timestamp' into 'master'
Angus Gratton [Wed, 27 Feb 2019 23:04:21 +0000 (07:04 +0800)]
Merge branch 'esp_http_server/lru_counter_for_timestamp' into 'master'

esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer

See merge request idf/esp-idf!4205

5 years agodocs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4 and...
krzychb [Sat, 16 Feb 2019 19:46:49 +0000 (20:46 +0100)]
docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4 and 4.11.1. Updated check of Sphinx warnings to account for the filename instead of the whole path, that for the same errors may be different between English and Chinese docs.

5 years agopthread: Transform the units of the stack size to the FreeRTOS domain
Roland Dobai [Tue, 26 Feb 2019 15:55:20 +0000 (16:55 +0100)]
pthread: Transform the units of the stack size to the FreeRTOS domain

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

5 years agowifi:
zhangyanjiao [Wed, 13 Feb 2019 09:37:53 +0000 (17:37 +0800)]
wifi:
1. make menuconfig can set the WiFi mgmt short buffer num
2. fix several scan bugs

5 years agoMerge branch 'bugfix/make_get_coreid_volatile' into 'master'
Jeroen Domburg [Wed, 27 Feb 2019 09:58:57 +0000 (17:58 +0800)]
Merge branch 'bugfix/make_get_coreid_volatile' into 'master'

freertos: Make xPortGetCoreID() volatile

See merge request idf/esp-idf!4359

5 years agoMerge branch 'bugfix/btdm_fix_remove_bonded_device_warnning' into 'master'
Jiang Jiang Jian [Wed, 27 Feb 2019 09:54:37 +0000 (17:54 +0800)]
Merge branch 'bugfix/btdm_fix_remove_bonded_device_warnning' into 'master'

Component/bt: fix remove bonded device warnning

See merge request idf/esp-idf!3704

5 years agoMerge branch 'bugfix/ble_reconn_rescan_readv_crash' into 'master'
Jiang Jiang Jian [Wed, 27 Feb 2019 09:37:46 +0000 (17:37 +0800)]
Merge branch 'bugfix/ble_reconn_rescan_readv_crash' into 'master'

component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv

See merge request idf/esp-idf!4324

5 years agoesp_http_client: add support for using certs from global ca store
Mahavir Jain [Wed, 20 Feb 2019 07:18:45 +0000 (12:48 +0530)]
esp_http_client: add support for using certs from global ca store

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

5 years agoMerge branch 'bugfix/lack_of_break_in_tcp_client' into 'master'
Jiang Jiang Jian [Wed, 27 Feb 2019 08:44:00 +0000 (16:44 +0800)]
Merge branch 'bugfix/lack_of_break_in_tcp_client' into 'master'

fix the bug in tcp_client

See merge request idf/esp-idf!4330

5 years agouart: use correct critical section API (portENTER_CRITICAL_ISR) from ISR context
Mahavir Jain [Wed, 20 Feb 2019 07:12:39 +0000 (12:42 +0530)]
uart: use correct critical section API (portENTER_CRITICAL_ISR) from ISR context

5 years agoMerge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable' into 'master'
Angus Gratton [Wed, 27 Feb 2019 08:33:05 +0000 (16:33 +0800)]
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable' into 'master'

esp32: make WiFi IRAM optimization configurable

See merge request idf/esp-idf!4037

5 years agoMerge branch 'feature/embed_elf_sha256' into 'master'
Angus Gratton [Wed, 27 Feb 2019 08:31:47 +0000 (16:31 +0800)]
Merge branch 'feature/embed_elf_sha256' into 'master'

build system: include SHA256 hash of ELF file into app_desc structure

See merge request idf/esp-idf!4093

5 years agosniffer: capture packets to host via JTAG
morris [Fri, 25 Jan 2019 09:03:01 +0000 (17:03 +0800)]
sniffer: capture packets to host via JTAG

Based on app-trace component, it's able to send sniffer packets to host via JTAG interface.

5 years agoesp32: print ELF file SHA256 in panic handler
Ivan Grokhotkov [Thu, 24 Jan 2019 13:05:08 +0000 (21:05 +0800)]
esp32: print ELF file SHA256 in panic handler

5 years agobuild system: include SHA256 hash of ELF file into app_desc structure
Ivan Grokhotkov [Wed, 9 Jan 2019 12:06:01 +0000 (20:06 +0800)]
build system: include SHA256 hash of ELF file into app_desc structure

5 years agoMerge branch 'example/freertos_real_time_stats' into 'master'
Angus Gratton [Wed, 27 Feb 2019 05:22:59 +0000 (13:22 +0800)]
Merge branch 'example/freertos_real_time_stats' into 'master'

freertos: Add real time stats example

See merge request idf/esp-idf!4334

5 years agoMerge branch 'bugfix/bootloader_freq_check_runtime' into 'master'
Angus Gratton [Wed, 27 Feb 2019 05:22:47 +0000 (13:22 +0800)]
Merge branch 'bugfix/bootloader_freq_check_runtime' into 'master'

bootloader: check previously used clock frequency at run time

See merge request idf/esp-idf!3827

5 years agoMerge branch 'bugfix/cmake_psram_fix_flag' into 'master'
Angus Gratton [Wed, 27 Feb 2019 05:20:21 +0000 (13:20 +0800)]
Merge branch 'bugfix/cmake_psram_fix_flag' into 'master'

cmake: Fix psram workaround compiler flag application

See merge request idf/esp-idf!4335

5 years agoMerge branch 'bugfix/esp_timer_monotonic_test' into 'master'
Ivan Grokhotkov [Wed, 27 Feb 2019 03:08:53 +0000 (11:08 +0800)]
Merge branch 'bugfix/esp_timer_monotonic_test' into 'master'

esp_timer: fix occasional failures in "esp_timer_get_time returns monotonic values" test

See merge request idf/esp-idf!4340

5 years agofreertos: Make xPortGetCoreID() volatile
Darian Leung [Tue, 26 Feb 2019 12:58:02 +0000 (20:58 +0800)]
freertos: Make xPortGetCoreID() volatile

When xPortGetCoreID() is called twice within a function,
it might only be called once after compilation. This
commit makes the inline assembly of the function volatile.

Closes #3093

5 years agoesp32: make WiFi IRAM optimization configurable
Liu Zhi Fu [Thu, 27 Dec 2018 12:53:45 +0000 (20:53 +0800)]
esp32: make WiFi IRAM optimization configurable

With this feature, the WiFi IRAM optimization can be disabled/enabled via menuconfig.

5 years agoAdd CRC APIs usage
jack [Tue, 26 Feb 2019 08:38:20 +0000 (16:38 +0800)]
Add CRC APIs usage

5 years agofix the bug in tcp_client
xiehang [Thu, 21 Feb 2019 08:25:07 +0000 (16:25 +0800)]
fix the bug in tcp_client

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

5 years agosoc: define named constants for DPORT_CPUPERIOD_SEL values
Ivan Grokhotkov [Tue, 26 Feb 2019 09:07:59 +0000 (17:07 +0800)]
soc: define named constants for DPORT_CPUPERIOD_SEL values

5 years agobootloader: check previously used clock frequency at run time
Ivan Grokhotkov [Thu, 29 Nov 2018 07:18:11 +0000 (15:18 +0800)]
bootloader: check previously used clock frequency at run time

In the situation when bootloader was compiled for 240MHz, and app was
compiled for 160MHz, and the chip is a revision 0 chip, the
bootloader will assume that the application has also been running at
240MHz. This will cause the chip to lock up later. Modify this to use
a run time check of DPORT_CPUPERIOD_SEL, which indicates which of the
PLL frequencies was used.

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

5 years agosoc/rtc_clk: don’t clear DPORT_CPUPERIOD_SEL when switching to XTAL
Ivan Grokhotkov [Thu, 29 Nov 2018 07:15:21 +0000 (15:15 +0800)]
soc/rtc_clk: don’t clear DPORT_CPUPERIOD_SEL when switching to XTAL

This is not necessary since RTC_CNTL_SOC_CLK_SEL is set before this.

5 years agofreertos: Add real time stats example
Darian Leung [Mon, 18 Feb 2019 19:04:17 +0000 (03:04 +0800)]
freertos: Add real time stats example

The following commit adds a real time stats example demonstrating how to
obtain task CPU usage statistics over a period of time, as opposed to the current
run time stats in FreeRTOS which measures task CPU usage as a percentage of
total system run time.

5 years agoMerge branch 'bugfix/nvs_hash_blocks_eager_cleanup' into 'master'
Ivan Grokhotkov [Tue, 26 Feb 2019 04:28:10 +0000 (12:28 +0800)]
Merge branch 'bugfix/nvs_hash_blocks_eager_cleanup' into 'master'

nvs: do eager cleanup of HashListBlocks

See merge request idf/esp-idf!4337

5 years agocmake: Fix psram workaround compiler flag application
Angus Gratton [Fri, 22 Feb 2019 01:20:11 +0000 (12:20 +1100)]
cmake: Fix psram workaround compiler flag application

Previously, this compiler flag was not being applied
regardless of CONFIG_SPIRAM_CACHE_WORKAROUND setting.

Explanation: add_compile_options() only applies to
source files added after the function is run, or in
subdirectories added after the function is run. In
this case, no new source files were being added after
this function was run.

5 years agoMerge branch 'feature/add_api_get_rmt_idle_level' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:57:10 +0000 (11:57 +0800)]
Merge branch 'feature/add_api_get_rmt_idle_level' into 'master'

feature(rmt):  fixed some RMT related issues.

See merge request idf/esp-idf!3864

5 years agoMerge branch 'bugfix/fix_dig_gpio_unable_hold_bug' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:56:27 +0000 (11:56 +0800)]
Merge branch 'bugfix/fix_dig_gpio_unable_hold_bug' into 'master'

bugfix(gpio):  fixed digital gpio unable hold bug during deep-sleep.

See merge request idf/esp-idf!3877

5 years agoMerge branch 'bugfix/i2s_pdm_adc_use_apll' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:47:49 +0000 (11:47 +0800)]
Merge branch 'bugfix/i2s_pdm_adc_use_apll' into 'master'

bugfix(i2s): allow to use apll in pdm/adc/dac mode

See merge request idf/esp-idf!3800

5 years agoMerge branch 'bugfix/update_ledc_register_and_fix_fade_scale' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:46:28 +0000 (11:46 +0800)]
Merge branch 'bugfix/update_ledc_register_and_fix_fade_scale' into 'master'

Bugfix (ledc):  Fixed ledc fade scale  bug

See merge request idf/esp-idf!4109

5 years agoMerge branch 'bugfix/btdm_fix_comment_error' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:45:26 +0000 (11:45 +0800)]
Merge branch 'bugfix/btdm_fix_comment_error' into 'master'

Component/bt: fix comment error

See merge request idf/esp-idf!3769

5 years agoMerge branch 'bugfix/idf_monitor_test' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:12:58 +0000 (11:12 +0800)]
Merge branch 'bugfix/idf_monitor_test' into 'master'

CI: Test IDF Monitor after it is ready to receive data

See merge request idf/esp-idf!4055

5 years agoMerge branch 'feature/http_server_err_handling' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:12:06 +0000 (11:12 +0800)]
Merge branch 'feature/http_server_err_handling' into 'master'

http_server : Add feature for invoking user configurable handlers during server errors

See merge request idf/esp-idf!4229

5 years agodoc: zh_CN translation of linker script generation
morris [Wed, 30 Jan 2019 14:12:36 +0000 (22:12 +0800)]
doc: zh_CN translation of linker script generation

Translate linker-script-generation to zh_CN.

5 years agoesp_timer: fix occasional failures in "monotonic values" test
Ivan Grokhotkov [Fri, 22 Feb 2019 13:27:43 +0000 (21:27 +0800)]
esp_timer: fix occasional failures in "monotonic values" test

1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.

2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.

3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.

4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.

5 years agonvs: add a blob fragmentation test case
Ivan Grokhotkov [Fri, 22 Feb 2019 10:14:48 +0000 (18:14 +0800)]
nvs: add a blob fragmentation test case

Ref. TW12937

5 years agonvs: do eager cleanup of HashListBlocks
Ivan Grokhotkov [Fri, 22 Feb 2019 09:28:43 +0000 (17:28 +0800)]
nvs: do eager cleanup of HashListBlocks

Previously when HashList was removing items, HashListBlocks were
removed lazily. This resulted in empty HashListBlocks dangling around
in full pages, even when all items have been erased. These blocks
would only be deleted when NVS was re-initialized
(nvs_flash_deinit/nvs_flash_init).

This change does eager cleanup instead, based on the code from
@negativekelvin offered in
https://github.com/espressif/esp-idf/issues/1642#issuecomment-367227994.

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

5 years agoMerge branch 'feature/poll' into 'master'
Ivan Grokhotkov [Tue, 26 Feb 2019 00:11:22 +0000 (08:11 +0800)]
Merge branch 'feature/poll' into 'master'

VFS: Implement poll() based on select()

See merge request idf/esp-idf!4315

5 years agoesp_http_server/lru_counter_for_timestamp:Added LRU counter for timer
Supreet Deshpande [Wed, 30 Jan 2019 14:27:02 +0000 (19:57 +0530)]
esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer

Replaced the os timer in http server by LRU counter. The timestamp is
unnecessary for LRU.

5 years agotools: Test IDF Monitor after it is ready to receive data
Roland Dobai [Fri, 25 Jan 2019 14:02:43 +0000 (15:02 +0100)]
tools: Test IDF Monitor after it is ready to receive data

5 years agoVFS: Implement poll() based on select()
Roland Dobai [Tue, 19 Feb 2019 12:18:40 +0000 (13:18 +0100)]
VFS: Implement poll() based on select()

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

5 years agohttps_server : Missing uri_match_fn paramater added to default config
Anurag Kar [Fri, 1 Feb 2019 13:13:22 +0000 (18:43 +0530)]
https_server : Missing uri_match_fn paramater added to default config

5 years agohttp_server examples : Updated tests and examples to demonstrate usage of `httpd_regi...
Anurag Kar [Fri, 1 Feb 2019 13:11:46 +0000 (18:41 +0530)]
http_server examples : Updated tests and examples to demonstrate usage of `httpd_register_err_handler()` and accommodate for changes in default error handler behavior

5 years agohttp_server : Added feature for invoking user configurable handlers during server...
Anurag Kar [Fri, 1 Feb 2019 12:17:41 +0000 (17:47 +0530)]
http_server : Added feature for invoking user configurable handlers during server errors

Added APIs :
  * httpd_resp_send_err()        : for sending HTTP error responses for error codes given by httpd_err_code_t. It uses TCP_NODELAY option to ensure that HTTP error responses reach the client before socket is closed.
  * httpd_register_err_handler() : for registering HTTP error handler functions of type httpd_err_handler_func_t.

The default behavior, on encountering errors during processing of HTTP requests, is now to send HTTP error response (if possible) and close the underlying socket. User configurable handlers can be used to override this behavior for each error individually (except for 500 Internal Server Error).

Also fixed some typos.

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

5 years agoMerge branch 'bugfix/multiple_can_bugs' into 'master'
Ivan Grokhotkov [Mon, 25 Feb 2019 07:43:56 +0000 (15:43 +0800)]
Merge branch 'bugfix/multiple_can_bugs' into 'master'

CAN: Add functions to clear queues and fix multiple bugs

See merge request idf/esp-idf!4279

5 years agoMerge branch 'ci/retry_submodule_sync' into 'master'
Angus Gratton [Mon, 25 Feb 2019 06:11:51 +0000 (14:11 +0800)]
Merge branch 'ci/retry_submodule_sync' into 'master'

ci: Retry submodule sync 2 more times before failing

See merge request idf/esp-idf!4323

5 years agoci: Only use "github_sync" tagged runners to talk to GitHub
Angus Gratton [Sun, 24 Feb 2019 23:41:39 +0000 (10:41 +1100)]
ci: Only use "github_sync" tagged runners to talk to GitHub

5 years agoci: Retry submodule sync 2 more times before failing
Angus Gratton [Wed, 20 Feb 2019 23:48:55 +0000 (10:48 +1100)]
ci: Retry submodule sync 2 more times before failing

5 years agoMerge branch 'bugfix/make_extra_component_dirs' into 'master'
Ivan Grokhotkov [Fri, 22 Feb 2019 08:00:31 +0000 (16:00 +0800)]
Merge branch 'bugfix/make_extra_component_dirs' into 'master'

make: fix issues related to EXTRA_COMPONENT_DIRS

See merge request idf/esp-idf!4253

5 years agoMerge branch 'bugfix/kconfig_flex_arg' into 'master'
Ivan Grokhotkov [Fri, 22 Feb 2019 07:49:11 +0000 (15:49 +0800)]
Merge branch 'bugfix/kconfig_flex_arg' into 'master'

kconfig: fix compatibility with very old versions of flex

See merge request idf/esp-idf!4263

5 years agocomponent/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan...
Tian Hao [Thu, 21 Feb 2019 04:18:30 +0000 (12:18 +0800)]
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv

fix 3 bugs:
1. do BLE connect (both of slave and master), it mgiht cause crash due to there's much interrupts happens effect ble code running, for example, wifi run on the same core as bluetooth controller and wifi run throughtput test.
2. do BLE scan stop or adv stop or connection stop, it might cause ASSERT or crash due to memory corrupted in controller memory poll.
3. minor bug fix, not really effect bluetooth.

5 years agoMerge branch 'bugfix/psram_move_qsort_setlocale_flash' into 'master'
Ivan Grokhotkov [Fri, 22 Feb 2019 04:30:04 +0000 (12:30 +0800)]
Merge branch 'bugfix/psram_move_qsort_setlocale_flash' into 'master'

psram: Move qsort and setlocale to flash

See merge request idf/esp-idf!4321