]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'bugfix/i2s_intr_alloc_flags_pr1589' into 'master'
Angus Gratton [Mon, 19 Feb 2018 23:33:25 +0000 (07:33 +0800)]
Merge branch 'bugfix/i2s_intr_alloc_flags_pr1589' into 'master'

i2s: fix type mismatch of intr_alloc_flags

See merge request idf/esp-idf!1954

6 years agoMerge branch 'feature/easy_lookup_of_errors' into 'master'
Angus Gratton [Mon, 19 Feb 2018 20:29:40 +0000 (04:29 +0800)]
Merge branch 'feature/easy_lookup_of_errors' into 'master'

Make it easier to look up error messages

See merge request idf/esp-idf!1929

6 years agoi2s: fix type mismatch of intr_alloc_flags
h3ndrik [Wed, 7 Feb 2018 13:14:41 +0000 (14:14 +0100)]
i2s: fix type mismatch of intr_alloc_flags

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

6 years agoMake it easier to look up error messages
Roland Dobai [Thu, 1 Feb 2018 12:14:47 +0000 (13:14 +0100)]
Make it easier to look up error messages

tools/gen_esp_err_to_name.py generates
components/esp32/esp_err_to_name.c for lookup of the error codes from
all of the IDF project and easily identify all codes in one place

6 years agoMerge branch 'example/console_task_column_name' into 'master'
Angus Gratton [Thu, 15 Feb 2018 02:51:12 +0000 (10:51 +0800)]
Merge branch 'example/console_task_column_name' into 'master'

example(console): print column name for tasks.

See merge request idf/esp-idf!1948

6 years agoexample(console): print column name for tasks.
Michael (Xiao Xufeng) [Tue, 13 Feb 2018 07:54:44 +0000 (15:54 +0800)]
example(console): print column name for tasks.

6 years agoMerge branch 'bugfix/docs_prs_from_github' into 'master'
Angus Gratton [Wed, 14 Feb 2018 01:45:09 +0000 (09:45 +0800)]
Merge branch 'bugfix/docs_prs_from_github' into 'master'

Small documenation and API fixes from GitHub

See merge request idf/esp-idf!1952

6 years agoMerge branch 'bugfix/ethernet_mdc_mdio_config' into 'master'
Ivan Grokhotkov [Tue, 13 Feb 2018 17:16:05 +0000 (01:16 +0800)]
Merge branch 'bugfix/ethernet_mdc_mdio_config' into 'master'

Ethernet: set direction of SMI pins MDC and MDIO correctly

See merge request idf/esp-idf!1939

6 years agoUpdate index-cn.rst. Closes https://github.com/espressif/esp-idf/issue/1620
njyq2008 [Tue, 13 Feb 2018 08:35:28 +0000 (16:35 +0800)]
Update index-cn.rst. Closes https://github.com/espressif/esp-idf/issue/1620

6 years agoRemove the THEN keyword from IF. Closes https://github.com/espressif/esp-idf/issue...
SmallRoomLabs [Fri, 9 Feb 2018 12:01:52 +0000 (13:01 +0100)]
Remove the THEN keyword from IF. Closes https://github.com/espressif/esp-idf/issue/1606

Both the TinyBasicPlus and the ESP32 variant don't use the THEN keyword in a IF statement

6 years agoFix function name typo. Closes https://github.com/espressif/esp-idf/issue/1572
Ing. Jaroslav Šafka [Thu, 1 Feb 2018 10:00:29 +0000 (11:00 +0100)]
Fix function name typo. Closes https://github.com/espressif/esp-idf/issue/1572

6 years agoMerge branch 'bugfix/btdm_fix_example_log_missing_bug' into 'master'
Jiang Jiang Jian [Mon, 12 Feb 2018 04:05:01 +0000 (12:05 +0800)]
Merge branch 'bugfix/btdm_fix_example_log_missing_bug' into 'master'

component/bt: Fix BLE printf missing problem

See merge request idf/esp-idf!1912

6 years agoMerge branch 'test/adc2_with_wifi_reopen' into 'master'
Ivan Grokhotkov [Sun, 11 Feb 2018 14:32:18 +0000 (22:32 +0800)]
Merge branch 'test/adc2_with_wifi_reopen' into 'master'

test(adc2): re-enable the adc2 test.

See merge request idf/esp-idf!1926

6 years agoMerge branch 'bugfix/console_example_stack_overflow' into 'master'
Ivan Grokhotkov [Sun, 11 Feb 2018 08:45:05 +0000 (16:45 +0800)]
Merge branch 'bugfix/console_example_stack_overflow' into 'master'

Increase event task stack size to fix console example stack overflow

See merge request idf/esp-idf!1879

6 years agoMerge branch 'feature/fatfs_allocation_unit_size' into 'master'
Ivan Grokhotkov [Sun, 11 Feb 2018 08:43:39 +0000 (16:43 +0800)]
Merge branch 'feature/fatfs_allocation_unit_size' into 'master'

fatfs: add option to set allocation unit size

See merge request idf/esp-idf!1760

6 years agoSet direction of SMI pins MDC and MDIO correctly.
Frank Sautter [Wed, 7 Feb 2018 23:54:10 +0000 (00:54 +0100)]
Set direction of SMI pins MDC and MDIO correctly.

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

6 years agoconsole example: increase main task stack size
Ivan Grokhotkov [Sun, 11 Feb 2018 05:14:44 +0000 (13:14 +0800)]
console example: increase main task stack size

Stack size was not sufficient for logging at Verbose log level.

6 years agoconsole example: add 'tasks' command to print vTaskList output
Ivan Grokhotkov [Wed, 31 Jan 2018 06:04:40 +0000 (14:04 +0800)]
console example: add 'tasks' command to print vTaskList output

This command prints list of tasks, their state, and stack
watermark values.
Fixes https://github.com/espressif/esp-idf/issues/1534

6 years agotcpip_adapter: make log output at debug level less noisy
Ivan Grokhotkov [Wed, 31 Jan 2018 06:01:07 +0000 (14:01 +0800)]
tcpip_adapter: make log output at debug level less noisy

At debug log level, tcpip_adapter would print logs for each function
call scheduled onto the tcpip task. These logs contained pointers which
idf_monitor decoded, adding even more noise and useless vertical space
in logs. This change moves these log statements to verbose level.

6 years agoesp32: increase default event task stack size by 256 bytes
Ivan Grokhotkov [Wed, 31 Jan 2018 05:58:39 +0000 (13:58 +0800)]
esp32: increase default event task stack size by 256 bytes

At debug log level, default event task stack size was not sufficient,
the stack was overflown by 232 bytes when WiFi connection happened.

6 years agoexamples/wear_levelling: update readme file
Ivan Grokhotkov [Mon, 8 Jan 2018 08:22:44 +0000 (16:22 +0800)]
examples/wear_levelling: update readme file

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

6 years agofatfs: check allocated workbuf pointer
Ivan Grokhotkov [Mon, 8 Jan 2018 08:21:44 +0000 (16:21 +0800)]
fatfs: check allocated workbuf pointer

6 years agofatfs: add configuration of allocation unit size
Ivan Grokhotkov [Mon, 8 Jan 2018 08:21:02 +0000 (16:21 +0800)]
fatfs: add configuration of allocation unit size

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

6 years agoMerge branch 'bugfix/fix_i2s_adc_mode' into 'master'
Ivan Grokhotkov [Sun, 11 Feb 2018 04:58:58 +0000 (12:58 +0800)]
Merge branch 'bugfix/fix_i2s_adc_mode' into 'master'

driver(i2s): fix broken i2s adc mode

See merge request idf/esp-idf!1653

6 years agoMerge branch 'bugfix/realloc_corruption_bug' into 'master'
Angus Gratton [Fri, 9 Feb 2018 11:19:29 +0000 (19:19 +0800)]
Merge branch 'bugfix/realloc_corruption_bug' into 'master'

heap: Fix bug when realloc moves data between heaps

See merge request idf/esp-idf!1931

6 years agoheap: Fix bug when realloc moves data between heaps
Angus Gratton [Fri, 9 Feb 2018 03:41:27 +0000 (11:41 +0800)]
heap: Fix bug when realloc moves data between heaps

When realloc-ing to a smaller buffer size which ends up allocated in a different heap, the heap
structure is corrupted. This can only happen:

* If heap checking is Comprehensive (meaning buffers are never shrunk in place) and the heap the buffer was originally allocated in is full.
* Calling heap_caps_realloc() to deliberately move a buffer to a different capabilities type, and shrink it at the same time.

Probable fix for https://github.com/espressif/esp-idf/issues/1582
Probably the same issue:
https://www.esp32.com/viewtopic.php?f=2&t=4583
https://www.esp32.com/viewtopic.php?f=13&t=3717

6 years agoMerge branch 'feature/tls_support' into 'master'
Ivan Grokhotkov [Fri, 9 Feb 2018 04:34:20 +0000 (12:34 +0800)]
Merge branch 'feature/tls_support' into 'master'

FreeRTOS TLS support

See merge request idf/esp-idf!1902

6 years agoMerge branch 'test/spi_performance' into 'master'
Ivan Grokhotkov [Thu, 8 Feb 2018 14:59:40 +0000 (22:59 +0800)]
Merge branch 'test/spi_performance' into 'master'

test(spi_master): add performance display for spi master.

See merge request idf/esp-idf!1923

6 years agotest(adc2): re-enable the adc2 test.
michael [Thu, 8 Feb 2018 05:48:25 +0000 (13:48 +0800)]
test(adc2): re-enable the adc2 test.

6 years agoMerge branch 'bugfix/redirect_psram_muxes_to_single_mux' into 'master'
Angus Gratton [Thu, 8 Feb 2018 03:30:43 +0000 (11:30 +0800)]
Merge branch 'bugfix/redirect_psram_muxes_to_single_mux' into 'master'

Fake S32C1I operation for muxes in PSRAM

See merge request idf/esp-idf!1688

6 years agoMerge branch 'bugfix/tw18291_fix_wifi_deinit_causes_assert' into 'master'
Jiang Jiang Jian [Thu, 8 Feb 2018 03:28:24 +0000 (11:28 +0800)]
Merge branch 'bugfix/tw18291_fix_wifi_deinit_causes_assert' into 'master'

esp32: fix esp_wifi_deinit causes assert

See merge request idf/esp-idf!1916

6 years agofreertos: Adds C11 TLS support
Alexey Gerenkov [Sun, 4 Feb 2018 22:06:45 +0000 (01:06 +0300)]
freertos: Adds C11 TLS support

6 years agoMerge branch 'bugfix/spi_gpio0' into 'master'
Jeroen Domburg [Wed, 7 Feb 2018 10:50:13 +0000 (18:50 +0800)]
Merge branch 'bugfix/spi_gpio0' into 'master'

fix(spi): several fixes about maros (flags) and GPIO0.

See merge request idf/esp-idf!1666

6 years agotest(spi_master): add performance display for spi master.
Michael (Xiao Xufeng) [Wed, 7 Feb 2018 07:45:10 +0000 (15:45 +0800)]
test(spi_master): add performance display for spi master.

6 years agodriver(i2s): fix broken i2s adc mode
Wangjialin [Fri, 8 Dec 2017 12:07:19 +0000 (20:07 +0800)]
driver(i2s): fix broken i2s adc mode

1. Move i2s reset code from i2s_stop to i2s_start.
2. add RTC API to set sw mode for ADC
3. add description for adc_power_always_on()
4. add lock for i2s dma and RTC ADC functions.
5. add ADC read task in example

reported from bbs:  https://esp32.com/viewtopic.php?f=13&t=3490&p=17522#p17522
reported from github: https://github.com/espressif/esp-idf/issues/1333

6 years agoMerge branch 'bugfix/sdmmc_line_control' into 'master'
Angus Gratton [Wed, 7 Feb 2018 08:29:07 +0000 (16:29 +0800)]
Merge branch 'bugfix/sdmmc_line_control' into 'master'

bugfix(sdmmc_host): fix some issue with bit width config .

See merge request idf/esp-idf!1900

6 years agoMerge branch 'bugfix/ESP_ERR_PING_BASE_collision' into 'master'
Angus Gratton [Wed, 7 Feb 2018 08:27:09 +0000 (16:27 +0800)]
Merge branch 'bugfix/ESP_ERR_PING_BASE_collision' into 'master'

Change ESP_ERR_PING_BASE because of collision with ESP_ERR_TCPIP_ADAPTER_BASE

See merge request idf/esp-idf!1918

6 years agotest(sdmmc_host): add new test to probe over SD (1-bit).
michael [Tue, 23 Jan 2018 11:24:14 +0000 (19:24 +0800)]
test(sdmmc_host): add new test to probe over SD (1-bit).

6 years agofix(sdmmc_host): fix the issue when slot and host flag are not compatible.
Michael (XIAO Xufeng) [Sat, 3 Feb 2018 18:18:46 +0000 (02:18 +0800)]
fix(sdmmc_host): fix the issue when slot and host flag are not compatible.

6 years agofeat(sdmmc_host): force pull-up DAT3 for SD 4-bit mode so that slave will not fall...
Michael (XIAO Xufeng) [Sun, 4 Feb 2018 13:52:18 +0000 (21:52 +0800)]
feat(sdmmc_host): force pull-up DAT3 for SD 4-bit mode so that slave will not fall into SPI mode.

6 years agoMerge branch 'feature/aws_iot_thing_shadow_settings' into 'master'
Angus Gratton [Wed, 7 Feb 2018 02:52:33 +0000 (10:52 +0800)]
Merge branch 'feature/aws_iot_thing_shadow_settings' into 'master'

aws iot: Expose Thing Shadow settings in menuconfig

See merge request idf/esp-idf!1765

6 years agoesp32: fix esp_wifi_deinit causes assert
Liu Zhi Fu [Tue, 6 Feb 2018 11:28:57 +0000 (19:28 +0800)]
esp32: fix esp_wifi_deinit causes assert

Update wifi lib to fix esp_wifi_deinit causes system assert issue

6 years agoChange ESP_ERR_PING_BASE because of collision with ESP_ERR_TCPIP_ADAPTER_BASE
Roland Dobai [Tue, 6 Feb 2018 11:34:12 +0000 (12:34 +0100)]
Change ESP_ERR_PING_BASE because of collision with ESP_ERR_TCPIP_ADAPTER_BASE

6 years agoMerge branch 'test/ut_script' into 'master'
He Yin Ling [Tue, 6 Feb 2018 10:03:22 +0000 (18:03 +0800)]
Merge branch 'test/ut_script' into 'master'

test: use the tiny-test-fw to run the unit test in CI

See merge request idf/esp-idf!1558

6 years agoMerge branch 'bugfix/btdm_scan_result_of_adv_type_wrong' into 'master'
Jiang Jiang Jian [Tue, 6 Feb 2018 07:50:29 +0000 (15:50 +0800)]
Merge branch 'bugfix/btdm_scan_result_of_adv_type_wrong' into 'master'

component/bt: Fix bug:scan result of adv type is wrong

See merge request idf/esp-idf!1897

6 years agocomponent/bt: Fix BLE printf missing problem
island [Tue, 6 Feb 2018 06:33:07 +0000 (14:33 +0800)]
component/bt: Fix BLE printf missing problem

6 years agotest(adc2): temporary ignore adc2 unit test (with WiFi) to pass the CI.
Michael (Xiao Xufeng) [Tue, 6 Feb 2018 03:59:40 +0000 (11:59 +0800)]
test(adc2): temporary ignore adc2 unit test (with WiFi) to pass the CI.

the issue is introduced in commit 17f01eb718a20f1fcfba69351907488c4c7e8b9c.

6 years agoMerge branch 'bugfix/idf_monitor_fixes' into 'master'
Ivan Grokhotkov [Mon, 5 Feb 2018 12:59:33 +0000 (20:59 +0800)]
Merge branch 'bugfix/idf_monitor_fixes' into 'master'

idf_monitor bug fixes

See merge request idf/esp-idf!1889

6 years agoMerge branch 'feature/partition_table_md5' into 'master'
Ivan Grokhotkov [Mon, 5 Feb 2018 12:58:52 +0000 (20:58 +0800)]
Merge branch 'feature/partition_table_md5' into 'master'

Partition table md5 check

See merge request idf/esp-idf!1891

6 years agoMerge branch 'bugfix/cjson_update_171' into 'master'
Angus Gratton [Mon, 5 Feb 2018 11:57:00 +0000 (19:57 +0800)]
Merge branch 'bugfix/cjson_update_171' into 'master'

Update cJSON to v1.7.1

See merge request idf/esp-idf!1903

6 years agoProtect partition table by MD5 checksum
Roland Dobai [Wed, 31 Jan 2018 13:45:12 +0000 (14:45 +0100)]
Protect partition table by MD5 checksum

6 years agoCI: new CI ut framework, and can run it in local PC
houchenyao [Wed, 31 Jan 2018 10:59:10 +0000 (18:59 +0800)]
CI: new CI ut framework, and can run it in local PC

6 years agounit-test-app: use '-' to show test history
houchenyao [Wed, 31 Jan 2018 08:58:27 +0000 (16:58 +0800)]
unit-test-app: use '-' to show test history

6 years agotiny-test-fw: fix dut for python2 and python3
houchenyao [Wed, 31 Jan 2018 08:57:40 +0000 (16:57 +0800)]
tiny-test-fw: fix dut for python2 and python3

6 years agoaws iot: Expose Thing Shadow settings in menuconfig
Angus Gratton [Tue, 9 Jan 2018 00:18:41 +0000 (11:18 +1100)]
aws iot: Expose Thing Shadow settings in menuconfig

Closes https://github.com/espressif/esp-idf/issues/1340
Ref TW#16817

6 years agoUpdate cJSON to v1.7.1
Angus Gratton [Mon, 5 Feb 2018 03:31:02 +0000 (11:31 +0800)]
Update cJSON to v1.7.1

* Fix buffer overflow issue in cJSON 1.6.0
* Change cJSON structure to git submodule

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

6 years agocomponent/bt: Fix bug:scan result of adv type is wrong
baohongde [Fri, 2 Feb 2018 11:17:39 +0000 (19:17 +0800)]
component/bt: Fix bug:scan result of adv type is wrong

6 years agoMerge branch 'bugfix/libphy_rodata_into_dram' into 'master'
Ivan Grokhotkov [Fri, 2 Feb 2018 11:03:20 +0000 (19:03 +0800)]
Merge branch 'bugfix/libphy_rodata_into_dram' into 'master'

move rodata segment of libphy.a to dram

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

See merge request idf/esp-idf!1894

6 years agoEspecially when internal memory fills up, some FreeRTOS structures (queues etc) get...
Jeroen Domburg [Tue, 19 Dec 2017 07:47:00 +0000 (15:47 +0800)]
Especially when internal memory fills up, some FreeRTOS structures (queues etc) get allocated in psram. These structures also contain a spinlock, which needs an atomic-compare-swap operation to work. The psram hardware, however, does not support this operation. As a workaround, this patch detects these spinlocks and will, instead of S32C1I, use equivalent C-code to simulate the behaviour, with an (internal) mux for atomicity.

6 years agomove rodata segment of libphy.a to dram
wangmengyang [Fri, 2 Feb 2018 05:00:11 +0000 (13:00 +0800)]
move rodata segment of libphy.a to dram

1. rodata segment of libphy.a(about 1200B) can be accessed by ISRs, so put it into DRAM

6 years agoMerge branch 'bugfix/cxx_guards_test_singlecore' into 'master'
Ivan Grokhotkov [Fri, 2 Feb 2018 02:38:43 +0000 (10:38 +0800)]
Merge branch 'bugfix/cxx_guards_test_singlecore' into 'master'

unit tests: make static init guard test single core compatible

See merge request idf/esp-idf!1615

6 years agoMerge branch 'bugfix/btdm_modify_set_mtu_call_handler' into 'master'
Jiang Jiang Jian [Thu, 1 Feb 2018 12:19:52 +0000 (20:19 +0800)]
Merge branch 'bugfix/btdm_modify_set_mtu_call_handler' into 'master'

Component/bt: modify set mtu call handler

See merge request idf/esp-idf!1850

6 years agoMerge branch 'bugfix/btdm_fix_adv_pending_in_smp' into 'master'
Jiang Jiang Jian [Thu, 1 Feb 2018 12:17:02 +0000 (20:17 +0800)]
Merge branch 'bugfix/btdm_fix_adv_pending_in_smp' into 'master'

Component/bt: fix stop adv failed in smp

See merge request idf/esp-idf!1881

6 years agoMerge branch 'bugfix/btdm_ble_mutil_connect_performance_optimiz' into 'master'
Jiang Jiang Jian [Thu, 1 Feb 2018 12:11:51 +0000 (20:11 +0800)]
Merge branch 'bugfix/btdm_ble_mutil_connect_performance_optimiz' into 'master'

component/bt: Fixed the bug of ble multi connection not stable issue.

See merge request idf/esp-idf!1868

6 years agoidf_monitor: Fix remaining case of Windows "console write fails" bug
Angus Gratton [Thu, 1 Feb 2018 03:46:40 +0000 (11:46 +0800)]
idf_monitor: Fix remaining case of Windows "console write fails" bug

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

6 years agoidf_monitor: Aggressively clean up any interactive gdb session
Angus Gratton [Thu, 1 Feb 2018 01:58:58 +0000 (09:58 +0800)]
idf_monitor: Aggressively clean up any interactive gdb session

At least on Linux, this can get stuck sometimes and cause terminal weirdness.

6 years agoMerge branch 'feature/docs_devkitc-v4' into 'master'
Ivan Grokhotkov [Thu, 1 Feb 2018 04:20:17 +0000 (12:20 +0800)]
Merge branch 'feature/docs_devkitc-v4' into 'master'

Docs for ESP32 DevKitC V4

See merge request idf/esp-idf!1853

6 years agoMerge branch 'bugfix/spiffs_obj_name_len_check' into 'master'
Ivan Grokhotkov [Thu, 1 Feb 2018 04:18:39 +0000 (12:18 +0800)]
Merge branch 'bugfix/spiffs_obj_name_len_check' into 'master'

SPIFFS: fix issues with formatting and page size limit

See merge request idf/esp-idf!1866

6 years agoMerge branch 'test/enlarge_https_bin_size_threshold' into 'master'
Ivan Grokhotkov [Thu, 1 Feb 2018 04:17:24 +0000 (12:17 +0800)]
Merge branch 'test/enlarge_https_bin_size_threshold' into 'master'

test: enlarge https bin size threshold

See merge request idf/esp-idf!1886

6 years agoMerge branch 'bugfix/btdm_alarm_free' into 'master'
Jiang Jiang Jian [Thu, 1 Feb 2018 03:01:08 +0000 (11:01 +0800)]
Merge branch 'bugfix/btdm_alarm_free' into 'master'

component/bt: free timer resources after using them

See merge request idf/esp-idf!1863

6 years agoMerge branch 'bugfix/btdm_a2dp_task_stack_size' into 'master'
Jiang Jiang Jian [Thu, 1 Feb 2018 02:58:40 +0000 (10:58 +0800)]
Merge branch 'bugfix/btdm_a2dp_task_stack_size' into 'master'

component/bt: make A2DP source and sink task size configurable through menuconfig

See merge request idf/esp-idf!1825

6 years agotest: enlarge https bin size threshold:
He Yin Ling [Thu, 1 Feb 2018 01:57:00 +0000 (09:57 +0800)]
test: enlarge https bin size threshold:

use performance matrix to tracking bin size is not convenient. bin size
do change for a lot reasons.

we'll implement a new method to track it. before that, set a large
enough threshold, so we can still keep tracking it.

6 years agoDocs for ESP32 DevKitC V4
krzychb [Thu, 25 Jan 2018 21:33:00 +0000 (22:33 +0100)]
Docs for ESP32 DevKitC V4

6 years agoComponent/bt: fix stop adv failed in smp
zhiweijian [Wed, 31 Jan 2018 08:06:22 +0000 (16:06 +0800)]
Component/bt: fix stop adv failed in smp

6 years agoMerge branch 'feature/wifi_throughput_optimization' into 'master'
Jiang Jiang Jian [Wed, 31 Jan 2018 07:44:43 +0000 (15:44 +0800)]
Merge branch 'feature/wifi_throughput_optimization' into 'master'

lwip/esp32/examples: wifi throughput optimization

See merge request idf/esp-idf!1861

6 years agospiffs: fix esp_spiffs_format not working if partition is not mounted
Ivan Grokhotkov [Sun, 28 Jan 2018 15:37:31 +0000 (23:37 +0800)]
spiffs: fix esp_spiffs_format not working if partition is not mounted

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

6 years agoComponent/bt: modify set mtu call handler
zhiweijian [Thu, 25 Jan 2018 09:34:10 +0000 (17:34 +0800)]
Component/bt: modify set mtu call handler

6 years agospiffs: reformat Kconfig to 80 character wide lines
Ivan Grokhotkov [Sun, 28 Jan 2018 15:21:16 +0000 (23:21 +0800)]
spiffs: reformat Kconfig to 80 character wide lines

Some help strings looked odd in mconf.

6 years agospiffs: check if OBJ_NAME_LEN + OBJ_META_LEN is within limits
Ivan Grokhotkov [Sun, 28 Jan 2018 15:19:43 +0000 (23:19 +0800)]
spiffs: check if OBJ_NAME_LEN + OBJ_META_LEN is within limits

The limit was mentioned in spiffs_config.h but was not checked.

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

6 years agospiffs: add Kconfig option for logical page size
Ivan Grokhotkov [Sun, 28 Jan 2018 15:17:54 +0000 (23:17 +0800)]
spiffs: add Kconfig option for logical page size

6 years agoMerge branch 'feature/io_mux_register_names' into 'master'
Angus Gratton [Wed, 31 Jan 2018 02:50:41 +0000 (10:50 +0800)]
Merge branch 'feature/io_mux_register_names' into 'master'

soc/esp32: Add IO_MUX_GPIOxx register names to match iomux names used in TRM

See merge request idf/esp-idf!1875

6 years agoMerge branch 'bugfix/esp_log_level_set_strcmp' into 'master'
Angus Gratton [Wed, 31 Jan 2018 01:58:21 +0000 (09:58 +0800)]
Merge branch 'bugfix/esp_log_level_set_strcmp' into 'master'

Fix esp_log_level_set string matching (github PR 1557)

See merge request idf/esp-idf!1872

6 years agoesp32: Add IO_MUX_GPIOxx register names to match iomux names used in TRM
Angus Gratton [Tue, 30 Jan 2018 09:05:09 +0000 (17:05 +0800)]
esp32: Add IO_MUX_GPIOxx register names to match iomux names used in TRM

The TRM describes IOMUX registers are IO_MUX_x_REG for x in GPIO0-39.

Until now ESP-IDF describes them as PERIPHS_IO_MUX_(pinname)_U

This commit adds additional IOMUX register names which match the ones used in the TRM.

6 years agolwip/esp32/examples: wifi throughput optimizations
Liu Zhi Fu [Tue, 23 Jan 2018 07:17:46 +0000 (15:17 +0800)]
lwip/esp32/examples: wifi throughput optimizations

1. Put some lwip udp rx/tx relating functions to IRAM
2. Put some wifi rx/tx relating functions to IRAMa
3. Reduce wifi dynamic malloc from 4 to 1 for each ebuf
4. Update iperf example accordingly
5. Update libphy.a to v383

6 years agocomponent/bt: make A2DP source and sink task size configurable through menuconfig
wangmengyang [Tue, 30 Jan 2018 06:26:53 +0000 (14:26 +0800)]
component/bt: make A2DP source and sink task size configurable through menuconfig

1. use different set of parameters for A2DP source/sink tasks
2. make the task stack size configurable through menuconfig

6 years agoMerge branch 'bugfix/ulp_docs_typo' into 'master'
Ivan Grokhotkov [Tue, 30 Jan 2018 04:17:24 +0000 (12:17 +0800)]
Merge branch 'bugfix/ulp_docs_typo' into 'master'

Fix typo in ulp_instruction_set.rst. Merges https://github.com/espressif/esp-idf/pull/1540

See merge request idf/esp-idf!1874

6 years agoFix typo in ulp_instruction_set.rst. Merges https://github.com/espressif/esp-idf...
Markus Witt [Wed, 24 Jan 2018 05:35:22 +0000 (06:35 +0100)]
Fix typo in ulp_instruction_set.rst. Merges https://github.com/espressif/esp-idf/pull/1540

6 years agofix(spi): fix typo of LSBFIRST macro.
michael [Mon, 15 Jan 2018 03:46:33 +0000 (11:46 +0800)]
fix(spi): fix typo of LSBFIRST macro.

Closes https://github.com/espressif/esp-idf/issues/1480, Closes https://github.com/espressif/esp-idf/issues/1464

6 years agofix(spi_master): fix the variable command and address flag issue.
michael [Tue, 12 Dec 2017 09:50:21 +0000 (17:50 +0800)]
fix(spi_master): fix the variable command and address flag issue.

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

6 years agofix(spi): fix pin issue with GPIO0 (other pins than CS).
michael [Tue, 12 Dec 2017 09:00:02 +0000 (17:00 +0800)]
fix(spi): fix pin issue with GPIO0 (other pins than CS).

6 years agoMerge branch 'bugfix/sysview_timer_1core' into 'master'
Ivan Grokhotkov [Mon, 29 Jan 2018 09:28:59 +0000 (17:28 +0800)]
Merge branch 'bugfix/sysview_timer_1core' into 'master'

sysview: fix compilation in 1 core mode, refactor timer choices

See merge request idf/esp-idf!1822

6 years agoMerge branch 'bugfix/log_invalid_comparison' into 'master'
Ivan Grokhotkov [Mon, 29 Jan 2018 09:26:43 +0000 (17:26 +0800)]
Merge branch 'bugfix/log_invalid_comparison' into 'master'

log: fix preprocessor comparison against an enum value

See merge request idf/esp-idf!1865

6 years agoMerge branch 'bugfix/btdm_tutorials_compatible_with_github' into 'master'
Jiang Jiang Jian [Mon, 29 Jan 2018 07:47:36 +0000 (15:47 +0800)]
Merge branch 'bugfix/btdm_tutorials_compatible_with_github' into 'master'

component/bt: modify ble tutorials to make them be compatible with GitHub markdown

See merge request idf/esp-idf!1786

6 years agocomponent/bt: Fixed the bug of ble multi connection not stable issue.
yulong [Mon, 29 Jan 2018 06:27:03 +0000 (14:27 +0800)]
component/bt: Fixed the bug of ble multi connection not stable issue.

6 years agoMerge branch 'bugfix/esp_console_header_guards' into 'master'
Ivan Grokhotkov [Mon, 29 Jan 2018 06:15:12 +0000 (14:15 +0800)]
Merge branch 'bugfix/esp_console_header_guards' into 'master'

console: Add C++ guards to header

See merge request idf/esp-idf!1867

6 years agoMerge branch 'bugfix/system_restore_duplicate' into 'master'
Angus Gratton [Mon, 29 Jan 2018 06:02:02 +0000 (14:02 +0800)]
Merge branch 'bugfix/system_restore_duplicate' into 'master'

esp32: remove duplicate definition of system_restore

See merge request idf/esp-idf!1864

6 years agoconsole: Add C++ guards to header
Angus Gratton [Mon, 29 Jan 2018 01:22:04 +0000 (09:22 +0800)]
console: Add C++ guards to header

As reported on forum https://esp32.com/viewtopic.php?f=2&t=4478&p=19659

6 years agoThis is a fix for the esp_log_level_set function. The problem is when this
David Ashley [Sun, 28 Jan 2018 22:47:07 +0000 (16:47 -0600)]
This is a fix for the esp_log_level_set function. The problem is when this
function is called but NOT withe the same 'c' string constant that the LOG*
calls used in each module, the cache check doesn't match, so the cached
entry won't get updated. There's no point in optimizing this function
anyway because it is only called rarely.

6 years agolog: fix preprocessor comparison against an enum value
Ivan Grokhotkov [Sun, 28 Jan 2018 11:45:25 +0000 (19:45 +0800)]
log: fix preprocessor comparison against an enum value

Fix `#if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO)` which is always false and
produces a warning with -Wundef.

Use same pattern to compare LOG_LOCAL_LEVEL with ESP_LOG_INFO as is used
in definition of `ESP_LOG_BUFFER_HEX_LEVEL` and
`ESP_LOG_BUFFER_CHAR_LEVEL`.

Also reformat existing definitions for better readability.

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

6 years agoesp32: remove duplicate definition of system_restore
Ivan Grokhotkov [Sun, 28 Jan 2018 11:26:37 +0000 (19:26 +0800)]
esp32: remove duplicate definition of system_restore

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