]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agoMerge branch 'bugfix/add_mutex_for_dual_core_hooks' into 'master'
Ivan Grokhotkov [Tue, 17 Oct 2017 06:15:09 +0000 (14:15 +0800)]
Merge branch 'bugfix/add_mutex_for_dual_core_hooks' into 'master'

freertos/Add mutex for dual core hooks

See merge request !1406

7 years agoMerge branch 'bugfix/ets_timer_iram' into 'master'
Ivan Grokhotkov [Tue, 17 Oct 2017 06:12:43 +0000 (14:12 +0800)]
Merge branch 'bugfix/ets_timer_iram' into 'master'

wifi/bt coexistence: Fix disabled cache access race when writing to flash

See merge request !1409

7 years agoMerge branch 'feature/spiram_init_in_app' into 'master'
Ivan Grokhotkov [Mon, 16 Oct 2017 20:56:35 +0000 (04:56 +0800)]
Merge branch 'feature/spiram_init_in_app' into 'master'

spiram: expose function to initialize SPI RAM cache

See merge request !1281

7 years agoMerge branch 'bugfix/soc_component_rodata' into 'master'
Ivan Grokhotkov [Mon, 16 Oct 2017 20:54:43 +0000 (04:54 +0800)]
Merge branch 'bugfix/soc_component_rodata' into 'master'

soc: place constant data from rtc_clk.c into DRAM

See merge request !1321

7 years agoMerge branch 'bugfix/sd_card_fixes' into 'master'
Ivan Grokhotkov [Mon, 16 Oct 2017 20:45:24 +0000 (04:45 +0800)]
Merge branch 'bugfix/sd_card_fixes' into 'master'

SD card fixes

See merge request !1393

7 years agoMerge branch 'bugfix/console_empty_command' into 'master'
Ivan Grokhotkov [Mon, 16 Oct 2017 20:44:19 +0000 (04:44 +0800)]
Merge branch 'bugfix/console_empty_command' into 'master'

console: handle empty input to esp_console_run correctly

See merge request !1390

7 years agoMerge branch 'bugfix/freertos_portmux_debug' into 'master'
Ivan Grokhotkov [Mon, 16 Oct 2017 20:44:04 +0000 (04:44 +0800)]
Merge branch 'bugfix/freertos_portmux_debug' into 'master'

freertos: fix compilation errors with portMUX debugging enabled

See merge request !1392

7 years agoMerge branch 'bugfix/nvs_init_partition' into 'master'
Ivan Grokhotkov [Mon, 16 Oct 2017 20:43:54 +0000 (04:43 +0800)]
Merge branch 'bugfix/nvs_init_partition' into 'master'

nvs: fix nvs_flash_init_partition initializing default partition

See merge request !1391

7 years agowifi/bt coexistence: Fix disabled cache access race when writing to flash
Angus Gratton [Mon, 16 Oct 2017 11:16:20 +0000 (19:16 +0800)]
wifi/bt coexistence: Fix disabled cache access race when writing to flash

Moves the ets_timer_arm() / ets_timer_disarm() code paths to RAM

Overhead is 740 bytes of IRAM, 0 bytes DRAM

(For comparison: If all of esp_timer.c is moved to RAM, overhead is 1068 bytes IRAM and 480 bytes DRAM.)

7 years agoMerge branch 'bugfix/tw15595_eth_got_ip_log_error' into 'master'
Jiang Jiang Jian [Mon, 16 Oct 2017 09:30:14 +0000 (17:30 +0800)]
Merge branch 'bugfix/tw15595_eth_got_ip_log_error' into 'master'

esp32/tcpipadapter: correct eth ip got event info

See merge request !1388

7 years agoMerge branch 'feature/some_refactor_for_esp_ping' into 'master'
Jiang Jiang Jian [Mon, 16 Oct 2017 09:30:00 +0000 (17:30 +0800)]
Merge branch 'feature/some_refactor_for_esp_ping' into 'master'

lwip: refactor to socket ping

See merge request !875

7 years agoesp32/Add mutex for dual core hooks
Darian Leung [Mon, 16 Oct 2017 03:47:38 +0000 (11:47 +0800)]
esp32/Add mutex for dual core hooks

This commit adds critical sections for the dual core hooks

7 years agoMerge branch 'bugfix/freertos_resume_scheduler_pending_tasks' into 'master'
Angus Gratton [Mon, 16 Oct 2017 01:43:04 +0000 (09:43 +0800)]
Merge branch 'bugfix/freertos_resume_scheduler_pending_tasks' into 'master'

freertos: Fix bug with xTaskResumeAll() not resuming all tasks

See merge request !1330

7 years agospiram: expose function to initialize SPI RAM cache
Ivan Grokhotkov [Mon, 18 Sep 2017 15:02:33 +0000 (23:02 +0800)]
spiram: expose function to initialize SPI RAM cache

Some frameworks based on ESP-IDF need to be able to decide whether to
initialize SPI RAM after the application has started. This change splits
out part of esp_spiram_init which manipulate cache MMU into a separate
function. Applications can disable cache, call esp_spiram_init_cache,
re-enable cache, and then call esp_spiram_init.
Disabling and re-enabling the cache can be achieved using functions
provided in esp_spi_flash.h.

7 years agoMerge branch 'bugfix/freertos_dual_core_hooks' into 'master'
He Yin Ling [Sat, 14 Oct 2017 01:41:03 +0000 (09:41 +0800)]
Merge branch 'bugfix/freertos_dual_core_hooks' into 'master'

bugfix/freertos_dual_core_hooks

See merge request !1399

7 years agoMerge branch 'bugfix/tw15538_ipv6_socket_close_error' into 'master'
Jiang Jiang Jian [Fri, 13 Oct 2017 11:15:44 +0000 (19:15 +0800)]
Merge branch 'bugfix/tw15538_ipv6_socket_close_error' into 'master'

lwip: init lwip error code

See merge request !1379

7 years agobugfix/freertos_dual_core_hooks
Darian Leung [Fri, 13 Oct 2017 10:27:53 +0000 (18:27 +0800)]
bugfix/freertos_dual_core_hooks

This commit fixes bugs with the dual core changes to freeRTOS tick and idle hooks.
Interrupt watchdog now registers tick hooks to both cores.
API for cross core tick and idle hook registration were also added

7 years agoMerge branch 'feature/add_const_for_wifi_api' into 'master'
Jiang Jiang Jian [Fri, 13 Oct 2017 09:08:29 +0000 (17:08 +0800)]
Merge branch 'feature/add_const_for_wifi_api' into 'master'

esp32: add const for some WiFi api

See merge request !1394

7 years agolwip: refactor to socket ping
Liu Zhi Fu [Thu, 15 Jun 2017 03:37:23 +0000 (11:37 +0800)]
lwip: refactor to socket ping

Do some refactor to socket ping:
1. Add ping_deinit to kill ping thread
2. Apply configuration set by esp_ping_set_target to socket ping
3. Limit only one ping thread

7 years agoMerge branch 'bugfix/btdm_fix_set_attr_value_crash_when_length_is_0' into 'master'
Jiang Jiang Jian [Fri, 13 Oct 2017 08:00:15 +0000 (16:00 +0800)]
Merge branch 'bugfix/btdm_fix_set_attr_value_crash_when_length_is_0' into 'master'

component/bt: fix crash when the length of attr value set zero

See merge request !1397

7 years agolwip: init lwip error code
Liu Zhi Fu [Wed, 11 Oct 2017 10:31:10 +0000 (18:31 +0800)]
lwip: init lwip error code

Init the error code to ERR_OK when call tcpip_apimsg

7 years agoMerge branch 'bugfix/btdm_fix_register_app_id_failed_when_more_than_3' into 'master'
Jiang Jiang Jian [Fri, 13 Oct 2017 07:57:00 +0000 (15:57 +0800)]
Merge branch 'bugfix/btdm_fix_register_app_id_failed_when_more_than_3' into 'master'

component/bt: fix register more than three app_ids failed

See merge request !1389

7 years agoesp32/tcpipadapter: correct eth ip got event info
Liu Zhi Fu [Thu, 12 Oct 2017 12:24:02 +0000 (20:24 +0800)]
esp32/tcpipadapter: correct eth ip got event info

1. Raise SYSTEM_EVENT_ETH_GOT_IP when eth got ip
2. Add default handler for SYSTEM_EVENT_ETH_GOT_IP
3. Minor change about ethernet kconfig

7 years agoMerge branch 'feature/alloc_memories_of_wifi_and_lwip_in_spiram_first' into 'master'
Jiang Jiang Jian [Fri, 13 Oct 2017 07:47:27 +0000 (15:47 +0800)]
Merge branch 'feature/alloc_memories_of_wifi_and_lwip_in_spiram_first' into 'master'

Allocate some memories in SPIRAM first.

See merge request !1367

7 years agoMerge branch 'bugfix/btdm_controller_deinit' into 'master'
Jiang Jiang Jian [Fri, 13 Oct 2017 07:44:58 +0000 (15:44 +0800)]
Merge branch 'bugfix/btdm_controller_deinit' into 'master'

component/bt : allow init after de-init

See merge request !1371

7 years agoesp32: add const for some WiFi api
Liu Zhi Fu [Fri, 13 Oct 2017 01:47:19 +0000 (09:47 +0800)]
esp32: add const for some WiFi api

Add const if the pointer parameter is const

7 years agoComponent/bt: fix crash when set attr value 0
zhiweijian [Fri, 13 Oct 2017 07:06:08 +0000 (15:06 +0800)]
Component/bt: fix crash when set attr value 0

7 years agoAllocate some memories in SPIRAM first.
XiaXiaotian [Sat, 30 Sep 2017 07:28:41 +0000 (15:28 +0800)]
Allocate some memories in SPIRAM first.

    Try to allocate some WiFi and LWIP memories in SPIRAM first. If
    failed, try to allocate in internal RAM then.

7 years agoMerge branch 'bugfix/spi_reset_race' into 'master'
Angus Gratton [Fri, 13 Oct 2017 00:51:36 +0000 (08:51 +0800)]
Merge branch 'bugfix/spi_reset_race' into 'master'

periph_ctrl: Refactor to add periph_module_reset(), avoid potential race in SPI DMA workaround

See merge request !1349

7 years agoMerge branch 'bugfix/libsodium_mbedtls_sha' into 'master'
Angus Gratton [Fri, 13 Oct 2017 00:50:24 +0000 (08:50 +0800)]
Merge branch 'bugfix/libsodium_mbedtls_sha' into 'master'

libsodium: Fix mbedTLS SHA256 & SHA512 implementation, make optional

See merge request !1329

7 years agoMerge branch 'feature/windows_build_check_msys2' into 'master'
Angus Gratton [Fri, 13 Oct 2017 00:50:09 +0000 (08:50 +0800)]
Merge branch 'feature/windows_build_check_msys2' into 'master'

build system: Detect wrong Windows MSYSTEM version and warn

See merge request !1356

7 years agoMerge branch 'bugfix/freertos_halt_on_startup' into 'master'
Angus Gratton [Fri, 13 Oct 2017 00:40:39 +0000 (08:40 +0800)]
Merge branch 'bugfix/freertos_halt_on_startup' into 'master'

freertos: Remove "stop program on scheduler start when JTAG/OCD is detected" option

See merge request !1354

7 years agofreertos: fix compilation errors with portMUX debugging enabled
Ivan Grokhotkov [Fri, 13 Oct 2017 00:33:57 +0000 (08:33 +0800)]
freertos: fix compilation errors with portMUX debugging enabled

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

Ref TW15702.

7 years agoexamples/sdmmc: enable internal pull-ups in SD mode
Ivan Grokhotkov [Fri, 13 Oct 2017 00:21:06 +0000 (08:21 +0800)]
examples/sdmmc: enable internal pull-ups in SD mode

Some development boards do not have sufficient external pull-ups on
SD card pins. Most notably, if high level on GPIO13 is not registered
by the card when GO_IDLE_STATE command is received, the card will enter
SPI mode and further communication will not be possible, until power to
the card is toggled.

This change enables internal pull-ups on SD card pins in an attempt to
make this initialization process more reliable.

7 years agosdmmc: allow command timeouts to be configured
Ivan Grokhotkov [Fri, 13 Oct 2017 00:16:07 +0000 (08:16 +0800)]
sdmmc: allow command timeouts to be configured

Previously the timeout was set to the same value (1000ms) for all kinds
of commands. In some cases, such as with slow cards, write commands
failed to complete in time.
This change makes command timeouts configurable via sdmmc_host_t
structure, and also makes default timeouts different for ordinary
commands and write commands.

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

Ref TW15774.

7 years agofreertos: Remove "stop program on scheduler start when JTAG/OCD is detected" option
Angus Gratton [Thu, 5 Oct 2017 05:57:59 +0000 (16:57 +1100)]
freertos: Remove "stop program on scheduler start when JTAG/OCD is detected" option

No longer used with new dual core target & JTAG instructions.

7 years agonvs: fix nvs_flash_init_partition initializing default partition
Ivan Grokhotkov [Thu, 12 Oct 2017 23:19:16 +0000 (07:19 +0800)]
nvs: fix nvs_flash_init_partition initializing default partition

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

Ref TW15698.

7 years agoconsole: handle empty input to esp_console_run correctly
Ivan Grokhotkov [Thu, 12 Oct 2017 23:12:08 +0000 (07:12 +0800)]
console: handle empty input to esp_console_run correctly

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

Ref. TW15752

7 years agoComponent/bt: fix register more than 3 app_id failed
zhiweijian [Thu, 12 Oct 2017 13:07:40 +0000 (21:07 +0800)]
Component/bt: fix register more than 3 app_id failed

7 years agoMerge branch 'feature/i2s_apll' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 11:06:50 +0000 (19:06 +0800)]
Merge branch 'feature/i2s_apll' into 'master'

driver/i2s: add support apll clock

See merge request !1115

7 years agoMerge branch 'bugfix/btdm_fix_add_whitelist_failed' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 11:01:01 +0000 (19:01 +0800)]
Merge branch 'bugfix/btdm_fix_add_whitelist_failed' into 'master'

Component/bt: fix add whitelist failed

See merge request !1326

7 years agoMerge branch 'bugfix/phy_init_remove_descriptions' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 11:00:10 +0000 (19:00 +0800)]
Merge branch 'bugfix/phy_init_remove_descriptions' into 'master'

phy init: remove descriptions of PHY init parameters

See merge request !1363

7 years agoMerge branch 'bugfix/btdm_remove_bond_device_not_return_error' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 10:59:09 +0000 (18:59 +0800)]
Merge branch 'bugfix/btdm_remove_bond_device_not_return_error' into 'master'

component/bt: Fixed the bug when remove the bonded device with not exist address…

See merge request !1370

7 years agoMerge branch 'bugfix/btdm_fix_set_scan_params_not_work' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 10:57:36 +0000 (18:57 +0800)]
Merge branch 'bugfix/btdm_fix_set_scan_params_not_work' into 'master'

component/bt: fix scan params not work when start scan

See merge request !1307

7 years agoMerge branch 'bugfix/i2s_set_pin_valid_gpio' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 10:21:25 +0000 (18:21 +0800)]
Merge branch 'bugfix/i2s_set_pin_valid_gpio' into 'master'

change to GPIO_IS_VALID_OUTPUT_GPIO for data out pin

See merge request !764

7 years agoMerge branch 'bugfix/ledc_duty_type_change' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 10:18:33 +0000 (18:18 +0800)]
Merge branch 'bugfix/ledc_duty_type_change' into 'master'

ledc_get_duty return type changed from int to uint32_t, target_duty changed from int to uint32_t

See merge request !752

7 years agoMerge branch 'feature/btdm_ibeacon' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 10:11:49 +0000 (18:11 +0800)]
Merge branch 'feature/btdm_ibeacon' into 'master'

component/bt: add ibeacon demo

See merge request !1028

7 years agoMerge branch 'feature/btdm_eddystone' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 09:56:05 +0000 (17:56 +0800)]
Merge branch 'feature/btdm_eddystone' into 'master'

component/bt: Add eddystone demo

See merge request !1076

7 years agoMerge branch 'bugfix/tw15438_mem_leak_on_wifi_start_stop_loop' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 09:51:58 +0000 (17:51 +0800)]
Merge branch 'bugfix/tw15438_mem_leak_on_wifi_start_stop_loop' into 'master'

Release DHCP structure memory when netif is down.

See merge request !1386

7 years agoMerge branch 'bugfix/btdm_set_sec_properity_error' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 09:45:32 +0000 (17:45 +0800)]
Merge branch 'bugfix/btdm_set_sec_properity_error' into 'master'

component/bt: Fix bug of set sec properity error

See merge request !1336

7 years agoMerge branch 'bugfix/fail_to_connect_in_wps' into 'master'
Jiang Jiang Jian [Thu, 12 Oct 2017 09:39:29 +0000 (17:39 +0800)]
Merge branch 'bugfix/fail_to_connect_in_wps' into 'master'

WiFi :bug fix of fail to connect in wps

See merge request !1384

7 years agoRelease DHCP structure memory when netif is down.
XiaXiaotian [Thu, 12 Oct 2017 09:03:44 +0000 (17:03 +0800)]
Release DHCP structure memory when netif is down.

7 years agoMerge branch 'bugfix/wifi_tx_buffer_doc' into 'master'
Angus Gratton [Thu, 12 Oct 2017 05:20:28 +0000 (13:20 +0800)]
Merge branch 'bugfix/wifi_tx_buffer_doc' into 'master'

wifi docs: Clarify WIFI_DYNAMIC_TX_BUFFER_NUM config item limit

See merge request !1375

7 years agoMerge branch 'feature/esp32_pico_kit_getting_started_guide' into 'master'
Angus Gratton [Thu, 12 Oct 2017 05:19:07 +0000 (13:19 +0800)]
Merge branch 'feature/esp32_pico_kit_getting_started_guide' into 'master'

ESP32-PICO-KIT Getting Started Guide

See merge request !1348

7 years agowifi docs: Clarify WIFI_DYNAMIC_TX_BUFFER_NUM config item limit
Angus Gratton [Wed, 11 Oct 2017 04:38:26 +0000 (15:38 +1100)]
wifi docs: Clarify WIFI_DYNAMIC_TX_BUFFER_NUM config item limit

Setting WIFI_DYNAMIC_TX_BUFFER_NUM to zero is not possible.

Also edit some of the related config docs a little.

7 years agobug fix of fail to connect in wps
Deng Xin [Thu, 12 Oct 2017 04:01:11 +0000 (12:01 +0800)]
bug fix of fail to connect in wps

7 years agoMerge branch 'bugfix/fail_to_reconnect_after_reboot' into 'master'
Jiang Jiang Jian [Wed, 11 Oct 2017 10:44:18 +0000 (18:44 +0800)]
Merge branch 'bugfix/fail_to_reconnect_after_reboot' into 'master'

Wifi: bugfix of fail to reconnect after reboot

See merge request !1378

7 years agoWifi: bugfix of fail to reconnect after reboot
Deng Xin [Wed, 11 Oct 2017 09:58:36 +0000 (17:58 +0800)]
Wifi: bugfix of fail to reconnect after reboot
fix the issue fail to reconnect after reboot

7 years agoMerge branch 'bugfix/btdm_fix_multi_connection_failed' into 'master'
Jiang Jiang Jian [Wed, 11 Oct 2017 09:00:34 +0000 (17:00 +0800)]
Merge branch 'bugfix/btdm_fix_multi_connection_failed' into 'master'

component/bt: modify some comments

See merge request !1332

7 years agoComponent/bt: fix add whitelist failed
zhiweijian [Wed, 27 Sep 2017 07:29:42 +0000 (15:29 +0800)]
Component/bt: fix add whitelist failed
- fix add whitelist failed
- add add whitelist callback func

7 years agoESP32-PICO-KIT Getting Started Guide
krzychb [Mon, 2 Oct 2017 05:03:24 +0000 (07:03 +0200)]
ESP32-PICO-KIT Getting Started Guide

7 years agofreertos: Also test (& handle) the case where scheduler is disabled on other CPU...
Angus Gratton [Thu, 28 Sep 2017 02:08:34 +0000 (12:08 +1000)]
freertos: Also test (& handle) the case where scheduler is disabled on other CPU...

ie CPU A has scheduler disabled and task blocked on Q. CPU B sends to Q (or gives mutex, etc.) Task on CPU A should be woken on scheduler resume.

7 years agofreertos: When scheduler is disabled, tasks on other core should immediately resume
Angus Gratton [Thu, 28 Sep 2017 01:46:53 +0000 (11:46 +1000)]
freertos: When scheduler is disabled, tasks on other core should immediately resume

... if triggered by a SemaphoreGive/etc.

Previously they would resume after scheduler was resumed, on next
RTOS tick of other CPU.

7 years agofreertos: Fix bug with xTaskResumeAll() not resuming all tasks
Angus Gratton [Thu, 28 Sep 2017 00:58:32 +0000 (10:58 +1000)]
freertos: Fix bug with xTaskResumeAll() not resuming all tasks

Previously if multiple tasks had been added to xPendingReadyList for the CPU, only the first one was resumed.

Includes a test case for resuming multiple (pending) tasks on xTaskResumeAll().

Document the limitation that while scheduler is suspended on one CPU, it can't wake tasks on either CPU.

7 years agocomponent/bt: Change the _btc_storage_remove_ble_bonding_keys function ret default...
Yulong [Tue, 10 Oct 2017 08:19:11 +0000 (04:19 -0400)]
component/bt: Change the _btc_storage_remove_ble_bonding_keys function ret default vaule from 1 to 0.

7 years agocomponent/bt: Change the param.remove_bond_dev_cmpl.status value.
Yulong [Tue, 10 Oct 2017 08:02:05 +0000 (04:02 -0400)]
component/bt: Change the param.remove_bond_dev_cmpl.status value.

7 years agocomponent/bt : allow init after de-init
Tian Hao [Tue, 10 Oct 2017 07:35:17 +0000 (15:35 +0800)]
component/bt : allow init after de-init

7 years agoMerge branch 'bugfix/ff_ioctl_types' into 'master'
Angus Gratton [Tue, 10 Oct 2017 07:01:47 +0000 (15:01 +0800)]
Merge branch 'bugfix/ff_ioctl_types' into 'master'

fatfs: use correct return types in ioctl calls

See merge request !1362

7 years agoMerge branch 'bugfix/heap_debugging_cleanup' into 'master'
Angus Gratton [Tue, 10 Oct 2017 06:59:54 +0000 (14:59 +0800)]
Merge branch 'bugfix/heap_debugging_cleanup' into 'master'

Heap debugging docs cleanup & convenience functions

See merge request !1347

7 years agocomponent/bt: Fixed the bug when remove the bonded device with not exist address...
Yulong [Tue, 10 Oct 2017 06:29:54 +0000 (02:29 -0400)]
component/bt: Fixed the bug when remove the bonded device with not exist address will not return error.

7 years agoMerge branch 'feature/docs_update_uart_api' into 'master'
Jeroen Domburg [Tue, 10 Oct 2017 06:06:08 +0000 (14:06 +0800)]
Merge branch 'feature/docs_update_uart_api' into 'master'

Updated functional overview of UART API documentation

See merge request !1328

7 years agoMerge branch 'feature/docs_update_pcnt_api' into 'master'
Jeroen Domburg [Tue, 10 Oct 2017 06:06:03 +0000 (14:06 +0800)]
Merge branch 'feature/docs_update_pcnt_api' into 'master'

Extended description of the Pulse Counter API and removed redundant comments from the example

See merge request !1312

7 years agoMerge branch 'feature/docs_update_ledc_api' into 'master'
Jeroen Domburg [Tue, 10 Oct 2017 06:05:57 +0000 (14:05 +0800)]
Merge branch 'feature/docs_update_ledc_api' into 'master'

Updated example and description of LED PWM Controller API

See merge request !1276

7 years agoMerge branch 'feature/scan_optimize' into 'master'
Jiang Jiang Jian [Tue, 10 Oct 2017 05:39:16 +0000 (13:39 +0800)]
Merge branch 'feature/scan_optimize' into 'master'

wifi: scan optimize

See merge request !1334

7 years agoheap: Add new heap_caps_check_integrity_all() & heap_caps_check_integrity_addr()...
Angus Gratton [Mon, 2 Oct 2017 03:31:20 +0000 (14:31 +1100)]
heap: Add new heap_caps_check_integrity_all() & heap_caps_check_integrity_addr() debugging functions

Easier to either check all heaps, or focus on checking a particular region.

7 years agodoc: Rewrite heap debugging docs to add function/struct links & improve actionability
Angus Gratton [Mon, 2 Oct 2017 03:21:44 +0000 (14:21 +1100)]
doc: Rewrite heap debugging docs to add function/struct links & improve actionability

7 years agoMerge branch 'bugfix/minor_fixes_github' into 'master'
Angus Gratton [Tue, 10 Oct 2017 05:14:18 +0000 (13:14 +0800)]
Merge branch 'bugfix/minor_fixes_github' into 'master'

More minor fixes from github

See merge request !1360

7 years agoMerge branch 'bugfix/multi_heap_get_info_typo' into 'master'
Angus Gratton [Tue, 10 Oct 2017 05:14:09 +0000 (13:14 +0800)]
Merge branch 'bugfix/multi_heap_get_info_typo' into 'master'

Fix multi_heap_get_info alias (from github)

See merge request !1357

7 years agowifi: optimize scan feature
Deng Xin [Thu, 28 Sep 2017 08:17:06 +0000 (16:17 +0800)]
wifi: optimize scan feature
1. add the threshold of match AP in fast scan
2. add blacklist feature
3. make sure would wrong if password didn't set
4. add scan example

7 years agoMerge branch 'bugfix/btdm_ea_overloaded' into 'master'
Jiang Jiang Jian [Tue, 10 Oct 2017 04:26:25 +0000 (12:26 +0800)]
Merge branch 'bugfix/btdm_ea_overloaded' into 'master'

component/bt: increase programming delay for event arbiter to allow for heavy workload

See merge request !1338

7 years agoMerge branch 'feature/freertos_dual_core_hooks_github' into 'master'
Angus Gratton [Tue, 10 Oct 2017 04:06:05 +0000 (12:06 +0800)]
Merge branch 'feature/freertos_dual_core_hooks_github' into 'master'

freertos: Make the tick/idle hooks dual core compatible (from github)

See merge request !1361

7 years agofatfs: use correct return types in ioctl calls
Ivan Grokhotkov [Mon, 9 Oct 2017 04:36:21 +0000 (12:36 +0800)]
fatfs: use correct return types in ioctl calls

GET_SECTOR_SIZE should return WORD (unsigned short) but returned
uint32_t.

Reference: http://elm-chan.org/fsw/ff/doc/dioctl.html

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

7 years agoMerge branch 'bugfix/fatfs_timezone' into 'master'
Ivan Grokhotkov [Tue, 10 Oct 2017 04:00:24 +0000 (12:00 +0800)]
Merge branch 'bugfix/fatfs_timezone' into 'master'

fatfs: use localtime_r instead of gmtime to get timezone

See merge request !1358

7 years agoUpdated UART API documentation and examples. Included a fix of #1091 from GitHub
krzychb [Wed, 27 Sep 2017 20:03:22 +0000 (22:03 +0200)]
Updated UART API documentation and examples. Included a fix of #1091 from GitHub

7 years agophy init: remove descriptions of PHY init parameters
Ivan Grokhotkov [Mon, 9 Oct 2017 06:37:42 +0000 (14:37 +0800)]
phy init: remove descriptions of PHY init parameters

7 years agoheap: Fix documentation references to multi_get_heap_info()
Angus Gratton [Mon, 9 Oct 2017 03:42:31 +0000 (14:42 +1100)]
heap: Fix documentation references to multi_get_heap_info()

7 years agolinux docs: (Arch) Add key to keyring
hackrid [Fri, 22 Sep 2017 21:38:08 +0000 (17:38 -0400)]
linux docs: (Arch) Add key to keyring

for me it was necessary to add the key manually to the key ring. Otherwise I could not have installed the packages

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

(Amended to remove reference to exact key, references AUR links instead.)

7 years agoFix typo in ble_adv example
Josh Leverette [Fri, 29 Sep 2017 02:56:08 +0000 (22:56 -0400)]
Fix typo in ble_adv example

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

7 years agodoc: Fix mentions of Cygwin-style paths to Unix-style
Angus Gratton [Mon, 9 Oct 2017 01:48:29 +0000 (12:48 +1100)]
doc: Fix mentions of Cygwin-style paths to Unix-style

Cygwin-style is really only /cygpath/xxx and IDF doesn't support these.

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

7 years agofreertos: Make the tick/idle hooks dual core compatible
Daniel Campora [Sat, 8 Jul 2017 18:47:55 +0000 (20:47 +0200)]
freertos: Make the tick/idle hooks dual core compatible

The way these hooks are implemented at the moment, once you register a tick or idle task hook, it is run by both cores, leading to intermittent crashes that are difficult to explain (and debug). One solution is to register the hook with the core that is currently running, which is what this patch attempts to do.

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

7 years agoMerge branch 'feature/ipv6_socket_options' into 'master'
Angus Gratton [Mon, 9 Oct 2017 01:03:30 +0000 (09:03 +0800)]
Merge branch 'feature/ipv6_socket_options' into 'master'

IPV6 multicast socket options

See merge request !964

7 years agoi2s: add support apll clock
Tuan PM [Wed, 16 Aug 2017 08:31:11 +0000 (16:31 +0800)]
i2s: add support apll clock

using apll_param to setup APLL

new apll calculation method, much faster

validate freq calculation

Ensure that the i2s frequency is greater than the hardware limit

Add description of how to calculate apll clock, support apll for other 16-bits audio, check rev0 chip

correct space

7 years agoUpdated example and descritpion of LED PWM Controller API
krzychb [Mon, 18 Sep 2017 05:08:01 +0000 (07:08 +0200)]
Updated example and descritpion of LED PWM Controller API

7 years agoMerge branch 'bugfix/pthread_join_hangup' into 'master'
Angus Gratton [Fri, 6 Oct 2017 05:14:51 +0000 (13:14 +0800)]
Merge branch 'bugfix/pthread_join_hangup' into 'master'

Bugfix/pthread join hangup

See merge request !1346

7 years agobuild system: Detect wrong Windows MSYSTEM version and warn
Angus Gratton [Thu, 21 Sep 2017 01:21:55 +0000 (11:21 +1000)]
build system: Detect wrong Windows MSYSTEM version and warn

7 years agolibsodium: Fix mbedTLS SHA256 & SHA512 implementation, make optional
Angus Gratton [Wed, 27 Sep 2017 23:28:24 +0000 (09:28 +1000)]
libsodium: Fix mbedTLS SHA256 & SHA512 implementation, make optional

* Only direct invocation of cypto_hash_sha256 & crypto_hash_sha512 produced correct output.
* Some remaining header file mixups, so changed approach to wrapping the state structures.
* Fixes https://github.com/espressif/esp-idf/issues/1044 (crypto_sign problems)
* Add option to disable mbedTLS implementation for SHA256 & SHA512 in libsodium

7 years agoMerge branch 'bugfix/revert_wdt_changes' into 'master'
Ivan Grokhotkov [Wed, 4 Oct 2017 16:00:32 +0000 (00:00 +0800)]
Merge branch 'bugfix/revert_wdt_changes' into 'master'

Revert "esp32: New Task Watchdog API"

See merge request !1345

7 years agoperiph_ctrl: Refactor to add periph_module_reset(), avoid potential race in SPI DMA...
Angus Gratton [Mon, 2 Oct 2017 06:48:16 +0000 (17:48 +1100)]
periph_ctrl: Refactor to add periph_module_reset(), avoid potential race in SPI DMA workaround

Also refactor use of direct clock access in unit test ref_clock (probably not a real issue)

7 years agofreertos: Remove obsolete "Enable heap memory debug" option
Angus Gratton [Mon, 2 Oct 2017 02:43:54 +0000 (13:43 +1100)]
freertos: Remove obsolete "Enable heap memory debug" option

All heap debugging is now under the Heap component.

7 years agolwip: Disable IPV4 Link-Local addressing by default
Angus Gratton [Tue, 26 Sep 2017 05:12:57 +0000 (15:12 +1000)]
lwip: Disable IPV4 Link-Local addressing by default

Keeps existing IDF behaviour the same. Can still be enabled via menuconfig.