]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agofreertos: port: add check for portMUX address validity
Mahavir Jain [Wed, 15 Nov 2017 05:45:31 +0000 (11:15 +0530)]
freertos: port: add check for portMUX address validity

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/btdm_gattc_command_queue_fix' into 'master'
Jiang Jiang Jian [Wed, 15 Nov 2017 02:54:02 +0000 (10:54 +0800)]
Merge branch 'bugfix/btdm_gattc_command_queue_fix' into 'master'

Bugfix/btdm gattc command queue fix

See merge request !1317

6 years agoMerge branch 'bugfix/update_wifi_lib_for_some_fixes' into 'master'
Jiang Jiang Jian [Wed, 15 Nov 2017 02:12:39 +0000 (10:12 +0800)]
Merge branch 'bugfix/update_wifi_lib_for_some_fixes' into 'master'

esp32: update wifi lib to fix some wifi bugs

See merge request !1525

6 years agoMerge branch 'bugfix/btdm_modify_logs' into 'master'
Jiang Jiang Jian [Tue, 14 Nov 2017 13:13:00 +0000 (21:13 +0800)]
Merge branch 'bugfix/btdm_modify_logs' into 'master'

component/bt: modify some log

See merge request !1485

6 years agoMerge branch 'bugfix/btdm_remove_redundant_open_evt_for_same_app' into 'master'
Jiang Jiang Jian [Tue, 14 Nov 2017 13:12:05 +0000 (21:12 +0800)]
Merge branch 'bugfix/btdm_remove_redundant_open_evt_for_same_app' into 'master'

component/bt: remove redundant open evt while calling gattc_open twice in the same app_id

See merge request !1526

6 years agoMerge branch 'bugfix/btdm_no_ind_ack_for_server_only' into 'master'
Jiang Jiang Jian [Tue, 14 Nov 2017 13:09:26 +0000 (21:09 +0800)]
Merge branch 'bugfix/btdm_no_ind_ack_for_server_only' into 'master'

component/bt: fix not send indication confirm in case of server only

See merge request !1522

6 years agoesp32: update wifi lib to fix some wifi bugs
Liu Zhi Fu [Tue, 14 Nov 2017 08:39:39 +0000 (16:39 +0800)]
esp32: update wifi lib to fix some wifi bugs

1. Fix resend eapol cause crash issue
2. Don't asser the system when the channel is in 14

6 years agoMerge branch 'bugfix/tw15564_fix_socket_close_crash' into 'master'
Jiang Jiang Jian [Tue, 14 Nov 2017 12:40:39 +0000 (20:40 +0800)]
Merge branch 'bugfix/tw15564_fix_socket_close_crash' into 'master'

Bugfix/tw15564 fix socket close crash

See merge request !1496

6 years agocomponent/bt: Change the gattc prepare write callback params.
Yulong [Tue, 14 Nov 2017 12:00:45 +0000 (07:00 -0500)]
component/bt: Change the gattc prepare write callback params.

6 years agoMerge branch 'feature/freeRTOS_make_debug_functions_configurable' into 'master'
Ivan Grokhotkov [Tue, 14 Nov 2017 11:41:50 +0000 (19:41 +0800)]
Merge branch 'feature/freeRTOS_make_debug_functions_configurable' into 'master'

FreeRTOS/make Queue Registry and Run Time Stats configurable

See merge request !1480

6 years agocomponent/bt: remove redundant open evt while calling gattc_open twice in the same...
island [Tue, 14 Nov 2017 09:11:34 +0000 (17:11 +0800)]
component/bt: remove redundant open evt while calling gattc_open twice in the same app_id

6 years agoFreeRTOS/make Queue Registry and Run Time Stats configurable
Darian Leung [Mon, 30 Oct 2017 08:03:56 +0000 (16:03 +0800)]
FreeRTOS/make Queue Registry and Run Time Stats configurable

This commit makes the configQUEUE_REGISTRY_SIZE and
configGENERATE_RUN_TIME_STATS configurable in menuconfig.

- configQUEUE_REGISTRY_SIZE can now be set in menuconfig.
- The functions vQueueAddToRegistry() and vQueueUnregisterQueue() were made
  SMP compatbile
- pcQueueGetName() was backported from FreeRTOS v9.0.0
- Added test case for Queue Registry functions

- configGENERATE_RUN_TIME_STATS can now be enabled in menuconfig. CCOUNT or
  esp_timer can be selected as the FreeRTOS run time clock in menuconfig as
  well, although CCOUNT will overflow quickly.
- Run time stats collection (in vTaskSwitchContext) and generation (in
  uxTaskGetSystemState) have been made SMP compatible. Therefore
  vTaskGetRunTimeStats() now displays the run time usage of each task as a
  percentage of total runtime of both CPUs

Squash

6 years agocomponent/bt: Added the queue event when the gattc command is full.
Yulong [Tue, 14 Nov 2017 03:44:27 +0000 (22:44 -0500)]
component/bt: Added the queue event when the gattc command is full.

6 years agocomponent/bt: fix not send indication confirm in case of server only
island [Tue, 14 Nov 2017 03:43:57 +0000 (11:43 +0800)]
component/bt: fix not send indication confirm in case of server only

6 years agoMerge branch 'feature/spi_variable_len' into 'master'
Ivan Grokhotkov [Mon, 13 Nov 2017 16:08:50 +0000 (00:08 +0800)]
Merge branch 'feature/spi_variable_len' into 'master'

feat(spi_master): add new feature allow use variable command and address field length for the same device.

See merge request !1322

6 years agoMerge branch 'feature/emac_apll' into 'master'
Ivan Grokhotkov [Mon, 13 Nov 2017 16:07:35 +0000 (00:07 +0800)]
Merge branch 'feature/emac_apll' into 'master'

feat(emac): add support for emac to use internal (APLL) clock outputs.

See merge request !1518

6 years agoMerge branch 'bugfix/uart_fifo_bug_workaround' into 'master'
Ivan Grokhotkov [Mon, 13 Nov 2017 09:46:42 +0000 (17:46 +0800)]
Merge branch 'bugfix/uart_fifo_bug_workaround' into 'master'

bugfix(uart): workaround for uart fifo reset issue

See merge request !1499

6 years agoMerge branch 'bugfix/examples_ulp_gpio15' into 'master'
Ivan Grokhotkov [Mon, 13 Nov 2017 09:34:12 +0000 (17:34 +0800)]
Merge branch 'bugfix/examples_ulp_gpio15' into 'master'

examples/ulp: disable pullup on GPIO15 to reduce current

See merge request !1486

6 years agobugfix(uart): workaround for uart fifo reset issue
Wangjialin [Tue, 7 Nov 2017 10:19:23 +0000 (18:19 +0800)]
bugfix(uart): workaround for uart fifo reset issue

Reported from github:
https://github.com/espressif/esp-idf/issues/1219
https://github.com/espressif/esp-idf/issues/1202

After providing a simple code to digital team, they confirmed that this is a hardware bug.

Root cause:
The fifo reset signal is incorrectly connected
If we want to reset tx fifo of UART2, we have to set txfifo_rst bit of both UART1 and UART2
If we want to reset rx fifo of UART2, we have to set rxfifo_rst bit of both UART1 and UART2

Workaround:
we don't use fifo rst bit in driver.

Documentation:
Digital team would update TRM and give more explanation about this issue.

6 years agorebase the origin to the local
Yulong [Mon, 13 Nov 2017 07:20:02 +0000 (02:20 -0500)]
rebase the origin to the local

6 years agocomponent/bt: Added the prepare write check.
Yulong [Mon, 13 Nov 2017 07:12:33 +0000 (02:12 -0500)]
component/bt: Added the prepare write check.

6 years agofeat(emac): add support for emac to use internal (APLL) clock outputs.
Frank Sautter [Mon, 16 Oct 2017 21:05:27 +0000 (05:05 +0800)]
feat(emac): add support for emac to use internal (APLL) clock outputs.

6 years agolwip: fix socket close crash issue
Liu Zhi Fu [Tue, 7 Nov 2017 12:10:02 +0000 (20:10 +0800)]
lwip: fix socket close crash issue

When lwip_close free the socket resource (netconn etc), any work
related to these resource (netconn etc) must be aborted.

6 years agoMerge branch 'bugfix/ut_only_test_app_core_sleep_on_dual_core' into 'master'
He Yin Ling [Mon, 13 Nov 2017 05:35:07 +0000 (13:35 +0800)]
Merge branch 'bugfix/ut_only_test_app_core_sleep_on_dual_core' into 'master'

test: only test app core sleep on dual core

See merge request !1517

6 years agoMerge branch 'feature/adjust_task_stack_size_according_to_nano' into 'master'
Jiang Jiang Jian [Mon, 13 Nov 2017 03:18:20 +0000 (11:18 +0800)]
Merge branch 'feature/adjust_task_stack_size_according_to_nano' into 'master'

esp32/lwip: adjust task stack size according 'nano' print

See merge request !1510

6 years agoMerge branch 'feature/fatfs_kconfig_options' into 'master'
Angus Gratton [Fri, 10 Nov 2017 18:48:15 +0000 (02:48 +0800)]
Merge branch 'feature/fatfs_kconfig_options' into 'master'

fatfs: expose some configuration values in Kconfig

See merge request !1415

6 years agoMerge branch 'bugfix/TW#16106_esp_heap_trace.h_C++_include_guards' into 'master'
Angus Gratton [Fri, 10 Nov 2017 18:47:10 +0000 (02:47 +0800)]
Merge branch 'bugfix/TW#16106_esp_heap_trace.h_C++_include_guards' into 'master'

freertos/add C++ include guards for esp_heap_caps.h

See merge request !1516

6 years agotest: ut only test app core reset on dual core
He Yin Ling [Fri, 10 Nov 2017 09:53:59 +0000 (17:53 +0800)]
test: ut only test app core reset on dual core

6 years agoMerge branch 'bugfix/btdm_osi_alarm' into 'master'
Jiang Jiang Jian [Fri, 10 Nov 2017 07:34:11 +0000 (15:34 +0800)]
Merge branch 'bugfix/btdm_osi_alarm' into 'master'

component/bt: use esp_timer instead of FreeRTOS timer to implement osi_alarm in bluedroid

See merge request !1506

6 years agoMerge branch 'bugfix/tw16339_sta_cant_connect_ap_in_channel_14' into 'master'
Jiang Jiang Jian [Fri, 10 Nov 2017 07:31:19 +0000 (15:31 +0800)]
Merge branch 'bugfix/tw16339_sta_cant_connect_ap_in_channel_14' into 'master'

Bugfix/tw16339 sta cant connect ap in channel 14

See merge request !1514

6 years agotest: only test app core sleep on dual core
He Yin Ling [Fri, 10 Nov 2017 05:26:11 +0000 (13:26 +0800)]
test: only test app core sleep on dual core

6 years agofreertos/add C++ include guards for esp_heap_caps.h
Darian Leung [Fri, 10 Nov 2017 04:01:30 +0000 (12:01 +0800)]
freertos/add C++ include guards for esp_heap_caps.h

6 years agocomponent/bt: modify the implementation and interface of osi_alarm module
wangmengyang [Wed, 8 Nov 2017 09:12:08 +0000 (17:12 +0800)]
component/bt: modify the implementation and interface of osi_alarm module

1. use esp_timer instead of FreeRTOS timer to implement osi_alarm in bluedroid
2. Remove two APIs: osi_alarm_now() and osi_alarm_time_diff() and modify the hci layer logic that use them
3. Implement osi_alarm_get_remaining_ms()
4. Move the definition of struct alarm_t in source file "alarm.c"
5. Add definition of module error code

6 years agoMerge branch 'test/UT_reset_check' into 'master'
Ivan Grokhotkov [Fri, 10 Nov 2017 03:30:46 +0000 (11:30 +0800)]
Merge branch 'test/UT_reset_check' into 'master'

Test/ut reset check

See merge request !1086

6 years agoMerge branch 'bugfix/to_docs_from_github' into 'master'
Ivan Grokhotkov [Fri, 10 Nov 2017 03:13:25 +0000 (11:13 +0800)]
Merge branch 'bugfix/to_docs_from_github' into 'master'

Documentation bugfixes from the github

See merge request !1501

6 years agoMerge branch 'bugfix/from_github' into 'master'
Ivan Grokhotkov [Fri, 10 Nov 2017 03:13:04 +0000 (11:13 +0800)]
Merge branch 'bugfix/from_github' into 'master'

Bug fixes from Github

See merge request !1487

6 years agoMerge branch 'bugfix/cas_for_pthread_once' into 'master'
Ivan Grokhotkov [Fri, 10 Nov 2017 03:12:46 +0000 (11:12 +0800)]
Merge branch 'bugfix/cas_for_pthread_once' into 'master'

pthread: Fix pthread_once to use atomic compare and set

See merge request !1497

6 years agoesp32: fix station can't connect esp32 softap in channel 14
Liu Zhi Fu [Fri, 10 Nov 2017 02:55:08 +0000 (10:55 +0800)]
esp32: fix station can't connect esp32 softap in channel 14

Channel 14 only supports HT20 while ESP32 softap channel 14 is HT40, fix it.

6 years agoMerge branch 'bugfix/tg_wdt_reboot_uart_garbage' into 'master'
Ivan Grokhotkov [Thu, 9 Nov 2017 09:14:13 +0000 (17:14 +0800)]
Merge branch 'bugfix/tg_wdt_reboot_uart_garbage' into 'master'

bootloader: wait for UART FIFO to be empty before switching frequency

See merge request !1511

6 years agoMerge branch 'bugfix/core_voltage_80m_flash' into 'master'
Ivan Grokhotkov [Thu, 9 Nov 2017 07:35:12 +0000 (15:35 +0800)]
Merge branch 'bugfix/core_voltage_80m_flash' into 'master'

soc/rtc: raise core voltage when 80MHz flash frequency is used

See merge request !1508

6 years agocompoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when...
Yulong [Thu, 9 Nov 2017 06:44:16 +0000 (01:44 -0500)]
compoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when a write event occurs.

6 years agocomponent/bt: Fix the write value not store in the queue command bug.
Yulong [Wed, 8 Nov 2017 09:23:12 +0000 (04:23 -0500)]
component/bt: Fix the write value not store in the queue command bug.

6 years agocomponent/bt: Change the bta_gattc_pop_command_to_send function to static.
Yulong [Tue, 10 Oct 2017 07:12:00 +0000 (03:12 -0400)]
component/bt: Change the bta_gattc_pop_command_to_send function to static.

6 years agocomponent/bt: Added the gattc command queue support.
Yulong [Mon, 25 Sep 2017 06:27:08 +0000 (02:27 -0400)]
component/bt: Added the gattc command queue support.

6 years agocomponent/bt: added the queue to store the gattc commands.
Yulong [Thu, 21 Sep 2017 10:17:38 +0000 (06:17 -0400)]
component/bt: added the queue to store the gattc commands.

6 years agocompoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when...
Yulong [Thu, 9 Nov 2017 06:44:16 +0000 (01:44 -0500)]
compoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when a write event occurs.

6 years agoMerge branch 'feature/docs_update_i2c_api' into 'master'
Ivan Grokhotkov [Thu, 9 Nov 2017 06:10:41 +0000 (14:10 +0800)]
Merge branch 'feature/docs_update_i2c_api' into 'master'

I2C API documenation update

See merge request !1404

6 years agobootloader: wait for UART FIFO to be empty before switching frequency
Ivan Grokhotkov [Thu, 9 Nov 2017 05:17:58 +0000 (13:17 +0800)]
bootloader: wait for UART FIFO to be empty before switching frequency

6 years agodoc: Add internal links for chapters and fix typos
Anton Maklakov [Mon, 6 Nov 2017 10:22:45 +0000 (18:22 +0800)]
doc: Add internal links for chapters and fix typos

    Used 'git grep -i -E "see *\`[^\`]+\`[^_]"' to find the invalid links

6 years agoesp32/lwip: adjust task stack size according 'nano' print
Liu Zhi Fu [Thu, 9 Nov 2017 01:39:01 +0000 (09:39 +0800)]
esp32/lwip: adjust task stack size according 'nano' print

1. Adjust tcpip/main/event/timer task stack size according 'nano' print
2. If 'nano' print is disabled the task stack size reduces 512 bytes

6 years agoI2C API documenation update
krzychb [Mon, 30 Oct 2017 05:17:27 +0000 (06:17 +0100)]
I2C API documenation update

6 years agosoc/rtc: raise core voltage when 80MHz flash frequency is used
Ivan Grokhotkov [Wed, 8 Nov 2017 13:13:02 +0000 (21:13 +0800)]
soc/rtc: raise core voltage when 80MHz flash frequency is used

To achieve reliable operation with GD flash at 80MHz, need to raise
core voltage.
This causes the following current consumption increase:

At 80MHz: from 29mA to 33mA
At 160MHz: from 41mA to 47mA

Test conditions: 2 cores running code from IRAM, remaining peripherals
clock gated.

6 years agoMerge branch 'feature/illustrations_with_blockdiag' into 'master'
Ivan Grokhotkov [Wed, 8 Nov 2017 10:54:28 +0000 (18:54 +0800)]
Merge branch 'feature/illustrations_with_blockdiag' into 'master'

Implement ‘blockdiag - simple block-diagram image generator’ to illustrate docum…

See merge request !1495

6 years agoMerge branch 'bugfix/fail_to_scan_all_matched_ap' into 'master'
Jiang Jiang Jian [Wed, 8 Nov 2017 09:39:29 +0000 (17:39 +0800)]
Merge branch 'bugfix/fail_to_scan_all_matched_ap' into 'master'

Wifi: bugfix/fail_to_scan_all_matched_ap

See merge request !1493

6 years agocomponent/bt: Fix the write value not store in the queue command bug.
Yulong [Wed, 8 Nov 2017 09:23:12 +0000 (04:23 -0500)]
component/bt: Fix the write value not store in the queue command bug.

6 years agoAdded .command_timeout_ms = 0 to SDSPI_HOST_DEFAULT() too
Anton Maklakov [Wed, 8 Nov 2017 04:52:25 +0000 (12:52 +0800)]
Added .command_timeout_ms = 0 to SDSPI_HOST_DEFAULT() too

6 years agoLinked API reference of 'Application Level Tracing' with description in the 'API...
krzychb [Tue, 7 Nov 2017 18:54:07 +0000 (19:54 +0100)]
Linked API reference of 'Application Level Tracing' with description in the 'API Guides'

6 years agoFix markdown and format of GPIO example README
Seppe Stas [Tue, 7 Nov 2017 13:57:35 +0000 (14:57 +0100)]
Fix markdown and format of GPIO example README

Fixed headers so they work (requires space between hash and text) and have a sensible structure and removed trailing spaces.

Signed-off-by: krzychb
6 years agoFix reference to partition table documentation
Raphael Luba [Fri, 3 Nov 2017 08:43:32 +0000 (09:43 +0100)]
Fix reference to partition table documentation

… and link to it.

Signed-off-by: krzychb
6 years agoClean up documentation of esp_wifi_set_country
Seppe Stas [Tue, 31 Oct 2017 18:26:17 +0000 (19:26 +0100)]
Clean up documentation of esp_wifi_set_country

Signed-off-by: krzychb
6 years agoImplement ‘blockdiag - simple block-diagram image generator’ to illustrate documentat...
krzychb [Mon, 6 Nov 2017 20:41:31 +0000 (21:41 +0100)]
Implement ‘blockdiag - simple block-diagram image generator’ to illustrate documentation with block diagrams, sequence diagrams, activity diagrams and logical network diagrams

6 years agoMerge branch 'feature/unit-tests-psram' into 'master'
Ivan Grokhotkov [Tue, 7 Nov 2017 12:11:54 +0000 (20:11 +0800)]
Merge branch 'feature/unit-tests-psram' into 'master'

unit tests: add psram configuration

See merge request !1488

6 years agoMerge branch 'bugfix/btdm_lib_update_for_psram' into 'master'
Jiang Jiang Jian [Tue, 7 Nov 2017 12:01:14 +0000 (20:01 +0800)]
Merge branch 'bugfix/btdm_lib_update_for_psram' into 'master'

component/bt: update toolchain and add compile options to build libbtdm_app.a to support PSRAM

See merge request !1491

6 years agoMerge branch 'doc/freertos_port_comments' into 'master'
Ivan Grokhotkov [Tue, 7 Nov 2017 11:31:21 +0000 (19:31 +0800)]
Merge branch 'doc/freertos_port_comments' into 'master'

freertos: Update comments in "port" section (portMUX/etc)

See merge request !1431

6 years agoMerge branch 'bugfix/hardware_mpi_sign' into 'master'
Ivan Grokhotkov [Tue, 7 Nov 2017 11:30:31 +0000 (19:30 +0800)]
Merge branch 'bugfix/hardware_mpi_sign' into 'master'

hwcrypto mpi: Fix losing sign when multiplying by -1 (github PR)

Contribution from github: https://github.com/espressif/esp-idf/pull/1181/

See merge request !1471

6 years agopthread: Fix pthread_once to use atomic compare and set
Mahavir Jain [Fri, 3 Nov 2017 09:19:04 +0000 (14:49 +0530)]
pthread: Fix pthread_once to use atomic compare and set

Earlier recursive mutex was being used for this but since
SCOMPARE1 is already being saved/restored during context
switch, atomic compare and set can be used for this.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agocomponent/bt: update toolchain and add compile options to build libbtdm_app.a to...
wangmengyang [Tue, 7 Nov 2017 08:08:47 +0000 (16:08 +0800)]
component/bt: update toolchain and add compile options to build libbtdm_app.a to support PSRAM

6 years agotest: support test for UT cases expect to reset
houchenyao [Wed, 20 Sep 2017 09:17:51 +0000 (17:17 +0800)]
test: support test for UT cases expect to reset

6 years agoMerge branch 'bugfix/restart_reconfigure_flash_pins' into 'master'
Ivan Grokhotkov [Tue, 7 Nov 2017 04:08:52 +0000 (12:08 +0800)]
Merge branch 'bugfix/restart_reconfigure_flash_pins' into 'master'

esp32: reconfigure SPI flash pins in esp_restart

See merge request !1492

6 years agoMerge branch 'bugfix/new_task_watchdog_API_false_trigger' into 'master'
Ivan Grokhotkov [Tue, 7 Nov 2017 02:43:56 +0000 (10:43 +0800)]
Merge branch 'bugfix/new_task_watchdog_API_false_trigger' into 'master'

feat/New Task Watchdog API

See merge request !1380

6 years agoMerge branch 'feature/FreeRTOS_SMP_unit_tests' into 'master'
Ivan Grokhotkov [Tue, 7 Nov 2017 02:39:51 +0000 (10:39 +0800)]
Merge branch 'feature/FreeRTOS_SMP_unit_tests' into 'master'

feature: Add unit tests for freertos untested functions

See merge request !1308

6 years agoWifi: bugfix/fail_to_scan_all_matched_ap
Deng Xin [Mon, 6 Nov 2017 13:31:45 +0000 (21:31 +0800)]
Wifi: bugfix/fail_to_scan_all_matched_ap
fail to scan all matched ap in fast scan mode

6 years agoesp32: reconfigure SPI flash pins in esp_restart
Ivan Grokhotkov [Mon, 6 Nov 2017 08:44:26 +0000 (16:44 +0800)]
esp32: reconfigure SPI flash pins in esp_restart

6 years agofreertos: Test untested functions
Darian Leung [Fri, 22 Sep 2017 10:45:57 +0000 (18:45 +0800)]
freertos: Test untested functions

Test cases were added for the following functions
- xTaskNotify(), xTaskNotifyGive(), xTaskNotifyFromISR(), vTaskNotifyGiveFromISR(),
- xTaskNotifyWait(), ulTaskNotifyTake()
- vTaskDelayUntil()

The following function was made smp compatible and tested as well
- eTaskGetState()

6 years agounit tests: add psram configuration
Ivan Grokhotkov [Thu, 19 Oct 2017 13:39:45 +0000 (21:39 +0800)]
unit tests: add psram configuration

6 years agoMerge branch 'bugfix/unit_tests' into 'master'
Ivan Grokhotkov [Mon, 6 Nov 2017 02:02:48 +0000 (10:02 +0800)]
Merge branch 'bugfix/unit_tests' into 'master'

ci: add one more job for single core unit tests

See merge request !1490

6 years agoci: add one more job for single core unit tests
Ivan Grokhotkov [Sun, 5 Nov 2017 13:50:43 +0000 (21:50 +0800)]
ci: add one more job for single core unit tests

6 years agoMerge branch 'bugfix/upgrade_sphinx_and_breathe' into 'master'
Ivan Grokhotkov [Sun, 5 Nov 2017 13:44:26 +0000 (21:44 +0800)]
Merge branch 'bugfix/upgrade_sphinx_and_breathe' into 'master'

Upgraded Sphinx to latest release 1.6.5 that contains a fix to https://github.co…

See merge request !1476

6 years agoMerge branch 'bugfix/protect_spiflash_regions' into 'master'
Angus Gratton [Sat, 4 Nov 2017 04:40:21 +0000 (12:40 +0800)]
Merge branch 'bugfix/protect_spiflash_regions' into 'master'

spi_flash: Abort on writes to dangerous regions (bootloader, partition table, app)

See merge request !1452

6 years agospi_flash: Abort on writes to dangerous regions (bootloader, partition table, app)
Angus Gratton [Wed, 25 Oct 2017 07:22:30 +0000 (15:22 +0800)]
spi_flash: Abort on writes to dangerous regions (bootloader, partition table, app)

Can be disabled or made into a failure result in kconfig if needed.

6 years agoMerge branch 'bugfix/rtc_and_restart_fixes' into 'master'
Jiang Jiang Jian [Fri, 3 Nov 2017 17:34:38 +0000 (01:34 +0800)]
Merge branch 'bugfix/rtc_and_restart_fixes' into 'master'

rtc_clk and esp_restart fixes

See merge request !1458

6 years agoMerge branch 'feature/add_psram_wifi_lib' into 'master'
Jiang Jiang Jian [Fri, 3 Nov 2017 17:32:18 +0000 (01:32 +0800)]
Merge branch 'feature/add_psram_wifi_lib' into 'master'

esp32: add wifi lib which is compiled with psram gcc

See merge request !1489

6 years agoesp32: add wifi lib which is compiled with psram gcc
Liu Zhi Fu [Fri, 3 Nov 2017 15:02:35 +0000 (23:02 +0800)]
esp32: add wifi lib which is compiled with psram gcc

Add psram wifi lib because it doesn't impact the WiFi throughput once the psram is not enabled in IDF menuconfig

6 years agoDisable all UART CLKs that are not console
Frederik Merz [Fri, 3 Nov 2017 10:01:32 +0000 (11:01 +0100)]
Disable all UART CLKs that are not console

6 years agoexamples/ulp: disable pullup on GPIO15 to reduce current
Ivan Grokhotkov [Fri, 3 Nov 2017 06:01:33 +0000 (14:01 +0800)]
examples/ulp: disable pullup on GPIO15 to reduce current

Also increase sampling frequency in ulp_adc example and update READMEs.

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

6 years agoMerge branch 'bugfix/psram_io_settings' into 'master'
Jiang Jiang Jian [Fri, 3 Nov 2017 09:34:32 +0000 (17:34 +0800)]
Merge branch 'bugfix/psram_io_settings' into 'master'

Improve psram clock signal generation, increase drive strength, raise LDO voltage

See merge request !1474

6 years agoAdded .command_timeout_ms = 0 to SDMMC_HOST_DEFAULT() in components/driver/include...
Philip Ashmore [Thu, 2 Nov 2017 19:47:46 +0000 (19:47 +0000)]
Added .command_timeout_ms = 0 to SDMMC_HOST_DEFAULT() in components/driver/include/driver/sdmmc_host.h

6 years agocomponents/mdns: wrong Message compression detect
Siarhei Volkau [Fri, 27 Oct 2017 07:22:01 +0000 (10:22 +0300)]
components/mdns: wrong Message compression detect

Old behavior assumes message compressed when any of 2 most significant bits are set,
But in fact Message compressed only when both those bits are set to 1.

Also maximal label length should be 63 bytes.

6 years agoidf_monitor: Fixed a bug where pressing a key that doesn't encode into
Krzysztof Bociurko [Fri, 20 Oct 2017 09:55:18 +0000 (11:55 +0200)]
idf_monitor: Fixed a bug where pressing a key that doesn't encode into
a proper ASCII character, terminated the monitor with an exception

6 years agoUpdate esp_err.h
jeanleflambeur [Thu, 12 Oct 2017 07:53:09 +0000 (09:53 +0200)]
Update esp_err.h

Renamed the internal rc to __err_rc to avoid clashes with local variables.
This code would not do the expected thing with the original ESP_ERROR_CHECK macro:

esp_err_t my_func(esp_err_t x)
{
  assert(x == 23);
}

esp_err_t rc = 23; //some value that is important fo the user
ESP_ERROR_CHECK(my_func(rc));

The macro will expand to:
esp_err_t rc = (my_func(rc));

And the code will assert, as my_func will receive a random value - whatever is in the internal macro rc temp variable. This is due to the C weirdness of allowing this code:

int x = x; //x has a random value.

6 years agoFix type conversion error in components/lwip/api/pppapi.c
Dmitry4Bh [Wed, 11 Oct 2017 11:02:06 +0000 (14:02 +0300)]
Fix type conversion error in components/lwip/api/pppapi.c

Pointer tcpip_api_call *m  should be converted to pppapi_msg* instead of pppapi_msg_msg*
in pppapi_do_ppp_set_default(), pppapi_do_ppp_free() and so on.

It solve this issue https://github.com/espressif/esp-idf/pull/1028
so there is no need to patch ip4.c because now netif_defauilt is setted correctly.
Also it prevents memory corruption when pppapi_free() is called.

6 years agofix makefile for multiple source files
Tom Vijlbrief [Mon, 9 Oct 2017 13:11:14 +0000 (15:11 +0200)]
fix makefile for multiple source files

6 years agopsram: improve clock signal generation, increase drive strength
Wangjialin [Fri, 3 Nov 2017 07:10:47 +0000 (15:10 +0800)]
psram: improve clock signal generation, increase drive strength

Also check the chip type when initializing.

6 years agobootloader: add configuration of flash pins and VDDIO boost
Wangjialin [Fri, 3 Nov 2017 07:09:19 +0000 (15:09 +0800)]
bootloader: add configuration of flash pins and VDDIO boost

6 years agoefuse\10\10: add package definitions for PICOD2/D4
Ivan Grokhotkov [Fri, 3 Nov 2017 06:54:02 +0000 (14:54 +0800)]
efuse\10\10: add package definitions for PICOD2/D4

6 years agosoc/rtc: add function to get/set VDDSDIO configuration
Ivan Grokhotkov [Wed, 1 Nov 2017 07:16:32 +0000 (15:16 +0800)]
soc/rtc: add function to get/set VDDSDIO configuration

Also consider case of VDDSDIO force powered on in rtc_sleep.

6 years agosoc/gpio: fix description of GPIO_STRAP_REG
Ivan Grokhotkov [Wed, 1 Nov 2017 08:26:59 +0000 (16:26 +0800)]
soc/gpio: fix description of GPIO_STRAP_REG

6 years agotools/unit-test-app: fix build warning
Ivan Grokhotkov [Fri, 3 Nov 2017 06:49:51 +0000 (14:49 +0800)]
tools/unit-test-app: fix build warning

6 years agoMerge branch 'feature/btdm_add_value_callback_when_send_notification_or_indicate_fail...
Jiang Jiang Jian [Fri, 3 Nov 2017 02:05:29 +0000 (10:05 +0800)]
Merge branch 'feature/btdm_add_value_callback_when_send_notification_or_indicate_failed' into 'master'

component/bt: add value callback when send notification or indicate failed

See merge request !1457

6 years agoComponent/bt: modify some log
zhiweijian [Thu, 2 Nov 2017 09:49:48 +0000 (17:49 +0800)]
Component/bt: modify some log