]>
granicus.if.org Git - esp-idf/log
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
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
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
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
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
Michael (Xiao Xufeng) [Tue, 13 Feb 2018 07:54:44 +0000 (15:54 +0800)]
example(console): print column name for tasks.
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
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
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
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
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
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
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
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
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
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
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.
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
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.
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.
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.
Ivan Grokhotkov [Mon, 8 Jan 2018 08:21:44 +0000 (16:21 +0800)]
fatfs: check allocated workbuf pointer
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.
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
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
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
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
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
michael [Thu, 8 Feb 2018 05:48:25 +0000 (13:48 +0800)]
test(adc2): re-enable the adc2 test.
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
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
Alexey Gerenkov [Sun, 4 Feb 2018 22:06:45 +0000 (01:06 +0300)]
freertos: Adds C11 TLS support
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
Michael (Xiao Xufeng) [Wed, 7 Feb 2018 07:45:10 +0000 (15:45 +0800)]
test(spi_master): add performance display for spi master.
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
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
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
michael [Tue, 23 Jan 2018 11:24:14 +0000 (19:24 +0800)]
test(sdmmc_host): add new test to probe over SD (1-bit).
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.
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.
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
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
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
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
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
island [Tue, 6 Feb 2018 06:33:07 +0000 (14:33 +0800)]
component/bt: Fix BLE printf missing problem
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 .
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
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
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
Roland Dobai [Wed, 31 Jan 2018 13:45:12 +0000 (14:45 +0100)]
Protect partition table by MD5 checksum
houchenyao [Wed, 31 Jan 2018 10:59:10 +0000 (18:59 +0800)]
CI: new CI ut framework, and can run it in local PC
houchenyao [Wed, 31 Jan 2018 08:58:27 +0000 (16:58 +0800)]
unit-test-app: use '-' to show test history
houchenyao [Wed, 31 Jan 2018 08:57:40 +0000 (16:57 +0800)]
tiny-test-fw: fix dut for python2 and python3
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
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
baohongde [Fri, 2 Feb 2018 11:17:39 +0000 (19:17 +0800)]
component/bt: Fix bug:scan result of adv type is wrong
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
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.
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
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
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
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
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
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
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.
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
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
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
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
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
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.
krzychb [Thu, 25 Jan 2018 21:33:00 +0000 (22:33 +0100)]
Docs for ESP32 DevKitC V4
zhiweijian [Wed, 31 Jan 2018 08:06:22 +0000 (16:06 +0800)]
Component/bt: fix stop adv failed in smp
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
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.
zhiweijian [Thu, 25 Jan 2018 09:34:10 +0000 (17:34 +0800)]
Component/bt: modify set mtu call handler
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.
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
Ivan Grokhotkov [Sun, 28 Jan 2018 15:17:54 +0000 (23:17 +0800)]
spiffs: add Kconfig option for logical page size
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
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
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.
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
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
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
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
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
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
michael [Tue, 12 Dec 2017 09:00:02 +0000 (17:00 +0800)]
fix(spi): fix pin issue with GPIO0 (other pins than CS).
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
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
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
yulong [Mon, 29 Jan 2018 06:27:03 +0000 (14:27 +0800)]
component/bt: Fixed the bug of ble multi connection not stable issue.
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
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
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
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.
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
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.