]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'bugfix/wdt_periph_enable' into 'master' v3.1-dev
Jiang Jiang Jian [Fri, 1 Dec 2017 14:06:43 +0000 (22:06 +0800)]
Merge branch 'bugfix/wdt_periph_enable' into 'master'

watchdogs: make sure timer group peripherals are enabled

See merge request !1623

6 years agoMerge branch 'bugfix/btdm_connect_stable_optimiz' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 13:35:17 +0000 (21:35 +0800)]
Merge branch 'bugfix/btdm_connect_stable_optimiz' into 'master'

component/bt: Optimiz the ble connection performance.

See merge request !1618

6 years agoMerge branch 'feature/btdm_avrc_metadata' into 'master'
Ivan Grokhotkov [Fri, 1 Dec 2017 12:31:25 +0000 (20:31 +0800)]
Merge branch 'feature/btdm_avrc_metadata' into 'master'

Feature/btdm avrc metadata:  implemented AVRCP metadata and notification register commands

See merge request !1624

6 years agowatchdog: increase default INT WDT interval if SPIRAM is used
Ivan Grokhotkov [Fri, 1 Dec 2017 08:23:03 +0000 (16:23 +0800)]
watchdog: increase default INT WDT interval if SPIRAM is used

Running heap_caps_check_integrity for 4MB of PSRAM can take longer than
the default WDT interval, 300ms.

6 years agowatchdog: enable INT WDT unit test
Ivan Grokhotkov [Fri, 1 Dec 2017 04:23:33 +0000 (12:23 +0800)]
watchdog: enable INT WDT unit test

6 years agowatchdogs: make sure timer group peripherals are enabled
Ivan Grokhotkov [Fri, 1 Dec 2017 04:11:37 +0000 (12:11 +0800)]
watchdogs: make sure timer group peripherals are enabled

6 years agocomponent/bt: Optimiz the ble connection performance.
yulong [Wed, 29 Nov 2017 07:09:15 +0000 (15:09 +0800)]
component/bt: Optimiz the ble connection performance.

6 years agoMerge branch 'bugfix/flash_1v8_enable_vddsdio_reg' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:34:45 +0000 (19:34 +0800)]
Merge branch 'bugfix/flash_1v8_enable_vddsdio_reg' into 'master'

bootloader: Only apply VDDSDIO 1.8V->1.9V if regulator is enabled

See merge request !1601

6 years agoMerge branch 'bugfix/update_libstdcxx_psram' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:34:29 +0000 (19:34 +0800)]
Merge branch 'bugfix/update_libstdcxx_psram' into 'master'

libstdc++: update the library built with PSRAM workaround

See merge request !1588

6 years agoMerge branch 'feature/ledc_more_meaningful_parameter_names' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:33:53 +0000 (19:33 +0800)]
Merge branch 'feature/ledc_more_meaningful_parameter_names' into 'master'

Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resoluti…

See merge request !1440

6 years agoMerge branch 'bugfix/btdm_con_discon_test_crash_#16055' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:32:39 +0000 (19:32 +0800)]
Merge branch 'bugfix/btdm_con_discon_test_crash_#16055' into 'master'

component/bt: Fix the bug when write ccc sometimes will lead to repeatedly release the memory.

See merge request !1599

6 years agocomponent/bt: Add AVRCP medadata attribute support so A2DP can show track title,...
pufstudio [Tue, 3 Oct 2017 02:56:13 +0000 (04:56 +0200)]
component/bt: Add AVRCP medadata attribute support so A2DP can show track title, album, etc.

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

6 years agoMerge branch 'bugfix/fix_some_wifi_bugs' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:22:18 +0000 (19:22 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs' into 'master'

Fix some wifi lib bugs

See merge request !1626

6 years agoMerge branch 'bugfix/tw16581_dhcps_default_behaviour_changed' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:21:26 +0000 (19:21 +0800)]
Merge branch 'bugfix/tw16581_dhcps_default_behaviour_changed' into 'master'

fix the dhcps default behaviour chenged by dns

See merge request !1612

6 years agoMerge branch 'bugfix/small_fixes_from_github' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:21:10 +0000 (19:21 +0800)]
Merge branch 'bugfix/small_fixes_from_github' into 'master'

Small fixes by users from GitHub

See merge request !1620

6 years agoMerge branch 'feature/bt_a2dp_i2s' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:18:50 +0000 (19:18 +0800)]
Merge branch 'feature/bt_a2dp_i2s' into 'master'

examples/bluetooth/a2dp_sink: add i2s audio to a2dp_sink example application

See merge request !853

6 years agoSmall typo fix
Adrián Paníček [Wed, 29 Nov 2017 08:26:44 +0000 (09:26 +0100)]
Small typo fix

Signed-off-by: krzychb
Merges https://github.com/espressif/esp-idf/pull/1331

6 years agoTypo fix. Closes https://github.com/espressif/esp-idf/issue/1323
krzychb [Wed, 29 Nov 2017 19:56:00 +0000 (20:56 +0100)]
Typo fix. Closes https://github.com/espressif/esp-idf/issue/1323

6 years agoFix some wifi lib bugs
XiaXiaotian [Fri, 1 Dec 2017 07:00:49 +0000 (15:00 +0800)]
Fix some wifi lib bugs

    1. Add a hide API for station to receive and process probe request
frame.

    2. Fix an issue that wifi/bt coexistence crashes in PSRAM version.

    3. Fix an issue that the API for clearing vendor ie can not work.

    4. Fix an issue that wifi stop and reboot leads watchdog.

6 years agoMerge branch 'bugfix/pthread_local_storage_spinlock' into 'master'
Ivan Grokhotkov [Fri, 1 Dec 2017 06:42:29 +0000 (14:42 +0800)]
Merge branch 'bugfix/pthread_local_storage_spinlock' into 'master'

pthreads: Remove potentially blocking mutex from idle task cleanup path

See merge request !1621

6 years agoMerge branch 'feature/btdm_optimize_gatt_server_service_table_demo' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 04:25:42 +0000 (12:25 +0800)]
Merge branch 'feature/btdm_optimize_gatt_server_service_table_demo' into 'master'

component/bt: optimize gatt_server_service_table demo

See merge request !1479

6 years agoMerge branch 'bugfix/btdm_mem_leak_lead_to_WDT_#16592' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 04:24:04 +0000 (12:24 +0800)]
Merge branch 'bugfix/btdm_mem_leak_lead_to_WDT_#16592' into 'master'

compoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will appear WDT.

See merge request !1610

6 years agopthread: Use spinlock not semaphore mutex to protect TLS key list
Angus Gratton [Fri, 1 Dec 2017 03:28:07 +0000 (14:28 +1100)]
pthread: Use spinlock not semaphore mutex to protect TLS key list

6 years agocomponent/bt: Remove the p_tle->param reset to 0 when free the p_timer_param pointer.
yulong [Thu, 30 Nov 2017 08:15:22 +0000 (16:15 +0800)]
component/bt: Remove the p_tle->param reset to 0 when free the p_timer_param pointer.

6 years agocomponent/bt: Added the mutex lock protect the ccc free when disconnect.
Yulong [Thu, 30 Nov 2017 07:45:26 +0000 (02:45 -0500)]
component/bt: Added the mutex lock protect the ccc free when disconnect.

6 years agoMerge branch 'bugfix/active_scan' into 'master'
Jiang Jiang Jian [Thu, 30 Nov 2017 07:06:20 +0000 (15:06 +0800)]
Merge branch 'bugfix/active_scan' into 'master'

component/bt : fix actvie scan cannot send scan_req in a certain case

See merge request !1608

6 years agoMerge branch 'bugfix/fix_lwip_macros' into 'master'
Ivan Grokhotkov [Thu, 30 Nov 2017 02:28:20 +0000 (10:28 +0800)]
Merge branch 'bugfix/fix_lwip_macros' into 'master'

lwip: Change socket API macros to static-inline

See merge request !1614

6 years agolwip: Change socket API macros to static-inline
Kedar Sovani [Tue, 28 Nov 2017 10:23:39 +0000 (15:53 +0530)]
lwip: Change socket API macros to static-inline

6 years agoMerge branch 'bugfix/esp_timer_profiling' into 'master'
Ivan Grokhotkov [Wed, 29 Nov 2017 04:32:38 +0000 (12:32 +0800)]
Merge branch 'bugfix/esp_timer_profiling' into 'master'

esp_timer: fix for deletion of timer in a callback, add docs

See merge request !1607

6 years agoesp_timer: add documentation, expose profiling option in Kconfig
Ivan Grokhotkov [Fri, 24 Nov 2017 10:51:37 +0000 (18:51 +0800)]
esp_timer: add documentation, expose profiling option in Kconfig

6 years agoesp_timer: fix for the case when timer is deleted in callback
Ivan Grokhotkov [Fri, 24 Nov 2017 09:33:13 +0000 (17:33 +0800)]
esp_timer: fix for the case when timer is deleted in callback

Timer callback can delete the timer. If CONFIG_ESP_TIMER_PROFILING was
enabled, this caused an access to invalid (freed) memory.
This fix adds a pointer to track the timer while executing the callback.
This is needed so that we can check if callback deletes the timer,
in which case we won't try updating profiling counters for this timer
after the callback is done.

6 years agocomponent/bt: reset the p_cmd_list pointer after release the mem.
yulong [Wed, 29 Nov 2017 02:50:03 +0000 (10:50 +0800)]
component/bt: reset the p_cmd_list pointer after release the mem.

6 years agoMerge branch 'feature/dhcp_server_options_menuconfig' into 'master'
Angus Gratton [Tue, 28 Nov 2017 23:07:09 +0000 (07:07 +0800)]
Merge branch 'feature/dhcp_server_options_menuconfig' into 'master'

dhcpserver: Option to change lease time multiplier and number of max

See merge request !1595

6 years agocomponent/bt : fix actvie scan cannot send scan_req in a certain case
Tian Hao [Mon, 27 Nov 2017 13:30:29 +0000 (21:30 +0800)]
component/bt : fix actvie scan cannot send scan_req in a certain case

6 years agofix the dhcps default behaviour chenged by dns
zhangyanjiao [Tue, 28 Nov 2017 08:14:35 +0000 (16:14 +0800)]
fix the dhcps default behaviour chenged by dns

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

6 years agocompoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will...
yulong [Tue, 28 Nov 2017 07:43:33 +0000 (15:43 +0800)]
compoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will appear WDT.

6 years agodhcpserver: Option to change lease time multiplier and number of max
Krzysztof Bociurko [Tue, 31 Oct 2017 18:13:04 +0000 (19:13 +0100)]
dhcpserver: Option to change lease time multiplier and number of max
stations connected to it.

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

6 years agoMerge branch 'bugfix/tw16551_buffer_overflow' into 'master'
Jiang Jiang Jian [Mon, 27 Nov 2017 14:18:58 +0000 (22:18 +0800)]
Merge branch 'bugfix/tw16551_buffer_overflow' into 'master'

fix buffer overflow

See merge request !1605

6 years agoMerge branch 'bugfix/tw16287_tcp_send_succeed_after_station_disconnect' into 'master'
Jiang Jiang Jian [Mon, 27 Nov 2017 13:30:46 +0000 (21:30 +0800)]
Merge branch 'bugfix/tw16287_tcp_send_succeed_after_station_disconnect' into 'master'

In STA mode, tcp_send cannot catch err after disconnect station

See merge request !1540

6 years agoMerge branch 'bugfix/TW16564_tcp_connect/disconnect_crash' into 'master'
Jiang Jiang Jian [Mon, 27 Nov 2017 13:30:11 +0000 (21:30 +0800)]
Merge branch 'bugfix/TW16564_tcp_connect/disconnect_crash' into 'master'

fix tcp connect/disconnect carsh

See merge request !1598

6 years agoMerge branch 'bugfix/btdm_scan_lead_to_conn_error' into 'master'
Jiang Jiang Jian [Mon, 27 Nov 2017 13:21:13 +0000 (21:21 +0800)]
Merge branch 'bugfix/btdm_scan_lead_to_conn_error' into 'master'

component/bt: Fixed the bug when stop scan if not set back the scan params will …

See merge request !1590

6 years agofix buffer overflow in ipc.c
zhangyanjiao [Mon, 27 Nov 2017 07:58:36 +0000 (15:58 +0800)]
fix buffer overflow in ipc.c

6 years agoMerge branch 'bugfix/allow_external_stack' into 'master'
Ivan Grokhotkov [Mon, 27 Nov 2017 08:31:27 +0000 (16:31 +0800)]
Merge branch 'bugfix/allow_external_stack' into 'master'

freertos: fix a bug for incorrect check of allow-external-stack

See merge request !1596

6 years agoMerge branch 'bugfix/cpp_unit_tests_not_executed_by_ci' into 'master'
Ivan Grokhotkov [Mon, 27 Nov 2017 04:48:12 +0000 (12:48 +0800)]
Merge branch 'bugfix/cpp_unit_tests_not_executed_by_ci' into 'master'

CI: fix C++ unit test cases not executed by CI

See merge request !1589

6 years agofix tcp connect/disconnect carsh
zhangyanjiao [Fri, 24 Nov 2017 13:26:53 +0000 (21:26 +0800)]
fix tcp connect/disconnect carsh

6 years agobootloader: Only apply VDDSDIO 1.8V->1.9V if regulator is enabled
Angus Gratton [Sun, 26 Nov 2017 23:33:41 +0000 (10:33 +1100)]
bootloader: Only apply VDDSDIO 1.8V->1.9V if regulator is enabled

Fixes bug if regulator is disabled via efuse.

6 years agoMerge branch 'docs/esp_ipc' into 'master'
Angus Gratton [Sun, 26 Nov 2017 23:24:37 +0000 (07:24 +0800)]
Merge branch 'docs/esp_ipc' into 'master'

docs/ipc documentation

See merge request !1584

6 years agoMerge branch 'bugfix/ledc_fade_scale' into 'master'
Angus Gratton [Sun, 26 Nov 2017 23:23:19 +0000 (07:23 +0800)]
Merge branch 'bugfix/ledc_fade_scale' into 'master'

driver(LEDC): add scale value check in ledc_set_fade API

See merge request !1583

6 years agoMerge branch 'bugfix/monitor_windows10_crash' into 'master'
Angus Gratton [Sun, 26 Nov 2017 23:22:44 +0000 (07:22 +0800)]
Merge branch 'bugfix/monitor_windows10_crash' into 'master'

monitor: Fix Windows 10 crash since Fall Creators Update

See merge request !1567

6 years agocomponent/bt: Fix the bug when write ccc sometimes will lead to repeatedly release...
Yulong [Sat, 25 Nov 2017 10:06:14 +0000 (05:06 -0500)]
component/bt: Fix the bug when write ccc sometimes will lead to repeatedly release the memory.

6 years agodocs/ipc documentation
Darian Leung [Wed, 22 Nov 2017 07:16:29 +0000 (15:16 +0800)]
docs/ipc documentation

This commit updates doxygen comments in the IPC header files and adds an rst
docs page.

6 years agofreertos: fix a bug for incorrect check of allow-external-stack
Kedar Sovani [Fri, 24 Nov 2017 04:23:47 +0000 (09:53 +0530)]
freertos: fix a bug for incorrect check of allow-external-stack

6 years agoMerge branch 'feature/freertos_backported_functions' into 'master'
Angus Gratton [Fri, 24 Nov 2017 00:49:59 +0000 (08:49 +0800)]
Merge branch 'feature/freertos_backported_functions' into 'master'

freertos/backport and test v9.0.0 functions

See merge request !1515

6 years agoMerge branch 'bugfix/btdm_corret_bt_h_comment' into 'master'
Jiang Jiang Jian [Thu, 23 Nov 2017 16:14:14 +0000 (00:14 +0800)]
Merge branch 'bugfix/btdm_corret_bt_h_comment' into 'master'

component/bt: Correct the ESP_BLE_PWR_TYPE_CONN_HDL0-9 comment in the bt.h file t…

See merge request !1570

6 years agoMerge branch 'feature/enable_disable_ampdu_rx_tx_independently' into 'master'
Jiang Jiang Jian [Thu, 23 Nov 2017 14:22:43 +0000 (22:22 +0800)]
Merge branch 'feature/enable_disable_ampdu_rx_tx_independently' into 'master'

Feature/enable disable ampdu rx tx independently

See merge request !1560

6 years agocomponent/bt: Change the code format.
Yulong [Thu, 23 Nov 2017 11:42:04 +0000 (06:42 -0500)]
component/bt: Change the code format.

6 years agocomponent/bt: recovery the scan parameter to the controller before start scan.
Yulong [Thu, 23 Nov 2017 11:36:00 +0000 (06:36 -0500)]
component/bt: recovery the scan parameter to the controller before start scan.

6 years agobugfix: while scale equals 0 will cause crash
panfeng [Wed, 22 Nov 2017 09:13:17 +0000 (17:13 +0800)]
bugfix: while scale equals 0 will cause crash

6 years agoCI: fix C++ unit test cases not executed by CI
He Yin Ling [Thu, 23 Nov 2017 08:51:28 +0000 (16:51 +0800)]
CI: fix C++ unit test cases not executed by CI

6 years agocomponent/bt: Fixed the bug when stop scan if not set back the scan params will lead...
Yulong [Thu, 23 Nov 2017 08:54:29 +0000 (03:54 -0500)]
component/bt: Fixed the bug when stop scan if not set back the scan params will lead to connection request sent the empty packet to the peer device.

6 years agolibstdc++: update the library built with PSRAM workaround
Ivan Grokhotkov [Thu, 23 Nov 2017 07:34:23 +0000 (15:34 +0800)]
libstdc++: update the library built with PSRAM workaround

6 years agofreertos/backport and test v9.0.0 functions
Darian Leung [Fri, 20 Oct 2017 11:03:01 +0000 (19:03 +0800)]
freertos/backport and test v9.0.0 functions

This commit backports the following features from FreeRTOS v9.0.0
- uxSemaphoreGetCount()
- vTimerSetTimerId(), xTimerGetPeriod(), xTimerGetExpiryTime()
- xTimerCreateStatic()
- xEventGroupCreateStatic()
- uxSemaphoreGetCount()

Functions backported previously
- xTaskCreateStatic()
- xQueueCreateStatic()
- xSemaphoreCreateBinaryStatic(), xSemaphoreCreateCountingStatic()
- xSemaphoreCreateMutexStatic(), xSemaphoreCreateRecursiveMutexStatic()
- pcQueueGetName()
- vTaskSetThreadLocalStoragePointer()
- pvTaskGetThreadLocalStoragePointer()

Unit tests were also written for the functions above (except for pcQueueGetName
which is tested in a separate Queue Registry MR). The original tlsp and del cb test case
was deleted and integrated into the test cases of this MR.

6 years agoMerge branch 'bugfix/aws_iot_nvs_no_init' into 'master'
Angus Gratton [Thu, 23 Nov 2017 05:19:21 +0000 (13:19 +0800)]
Merge branch 'bugfix/aws_iot_nvs_no_init' into 'master'

aws_iot: fix aws_iot examples without NVS initialization

See merge request !1581

6 years agoMerge branch 'feature/toolchain_update' into 'master'
Ivan Grokhotkov [Thu, 23 Nov 2017 05:02:57 +0000 (13:02 +0800)]
Merge branch 'feature/toolchain_update' into 'master'

toolchain: update to 1.22.0-75-gbaf03c2

See merge request !1577

6 years agoMerge branch 'feature/cxx_exceptions_emg_pool' into 'master'
Ivan Grokhotkov [Thu, 23 Nov 2017 05:02:49 +0000 (13:02 +0800)]
Merge branch 'feature/cxx_exceptions_emg_pool' into 'master'

esp32: Adds C++ exceptions emergency pool size menuconfig option

See merge request !1561

6 years agoMerge branch 'feature/pthread_key_and_cond_var_support' into 'master'
Ivan Grokhotkov [Thu, 23 Nov 2017 05:02:40 +0000 (13:02 +0800)]
Merge branch 'feature/pthread_key_and_cond_var_support' into 'master'

pthread: Added support for pthread condition variables

See merge request !1387

6 years agoci: increase number of example build jobs
Ivan Grokhotkov [Wed, 22 Nov 2017 14:40:49 +0000 (22:40 +0800)]
ci: increase number of example build jobs

6 years agopthread: Added support for pthread condition variables
Amey Inamdar [Thu, 12 Oct 2017 10:58:19 +0000 (16:28 +0530)]
pthread: Added support for pthread condition variables

This is required for std::condition_variable support

Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>
6 years agoesp32: Adds C++ exceptions emergency pool size menuconfig option
Alexey Gerenkov [Fri, 17 Nov 2017 09:38:19 +0000 (12:38 +0300)]
esp32: Adds C++ exceptions emergency pool size menuconfig option

6 years agoesp32: add options to disable/enable TX/RX AMPDU independently
Liu Zhi Fu [Fri, 17 Nov 2017 07:47:22 +0000 (15:47 +0800)]
esp32: add options to disable/enable TX/RX AMPDU independently

Make menuconfig can disable/enable TX/RX AMPDU independently

6 years agowindows: Update precompiled env link & toolchain in setup script
Angus Gratton [Thu, 23 Nov 2017 00:55:23 +0000 (11:55 +1100)]
windows: Update precompiled env link & toolchain in setup script

6 years agoMerge branch 'bugfix/ringbuf_buflen_bugfix' into 'master'
Ivan Grokhotkov [Wed, 22 Nov 2017 14:30:11 +0000 (22:30 +0800)]
Merge branch 'bugfix/ringbuf_buflen_bugfix' into 'master'

Bugfix/ringbuf buflen bugfix

See merge request !1562

6 years agoMerge branch 'bugfix/ota_example_http_request' into 'master'
Ivan Grokhotkov [Wed, 22 Nov 2017 14:27:10 +0000 (22:27 +0800)]
Merge branch 'bugfix/ota_example_http_request' into 'master'

ota example: Send a valid HTTP/1.0 request

See merge request !1566

6 years agoMerge branch 'bugfix/gpio_disable_api' into 'master'
Ivan Grokhotkov [Wed, 22 Nov 2017 14:26:54 +0000 (22:26 +0800)]
Merge branch 'bugfix/gpio_disable_api' into 'master'

driver: GPIO can be disabled by calling  gpio_set_direction

See merge request !1575

6 years agoMerge branch 'feature/prs_from_github' into 'master'
Ivan Grokhotkov [Wed, 22 Nov 2017 14:26:40 +0000 (22:26 +0800)]
Merge branch 'feature/prs_from_github' into 'master'

PRs from Github

See merge request !1578

6 years agoMerge branch 'bugfix/cpp_guards' into 'master'
Ivan Grokhotkov [Wed, 22 Nov 2017 14:26:26 +0000 (22:26 +0800)]
Merge branch 'bugfix/cpp_guards' into 'master'

Add C++ guards to freertos/ringbuf.h, heap headers

See merge request !1552

6 years agoAdd GPIO input and output disable option
kooho [Tue, 21 Nov 2017 07:06:32 +0000 (15:06 +0800)]
Add GPIO input and output disable option

6 years agoaws_iot: fix aws_iot examples without NVS initialization
Chen Wu [Wed, 22 Nov 2017 03:42:55 +0000 (11:42 +0800)]
aws_iot: fix aws_iot examples without NVS initialization

WiFi used to initialise nvs automatically, but it doesn't now.
see more info: https://github.com/espressif/esp-idf/issues/624

Closes #624

6 years agoMerge branch 'bugfix/uxportcompare_check_addr_range' into 'master'
Ivan Grokhotkov [Wed, 22 Nov 2017 03:44:09 +0000 (11:44 +0800)]
Merge branch 'bugfix/uxportcompare_check_addr_range' into 'master'

portmacro: add assert to check address validity in uxPortCompareSet

See merge request !1519

6 years agoMerge branch 'feature/lwip_socket_pcb_num_config' into 'master'
Angus Gratton [Wed, 22 Nov 2017 03:36:55 +0000 (11:36 +0800)]
Merge branch 'feature/lwip_socket_pcb_num_config' into 'master'

lwip: Expose number of active socket limits in menuconfig

See merge request !1433

6 years agolwip: Expose number of active socket limits in menuconfig
Angus Gratton [Fri, 20 Oct 2017 06:51:17 +0000 (14:51 +0800)]
lwip: Expose number of active socket limits in menuconfig

6 years agoSet GPIO-mode for MDC and MDIO pins
Frank Sautter [Mon, 13 Nov 2017 23:10:59 +0000 (00:10 +0100)]
Set GPIO-mode for MDC and MDIO pins

Merges #1127

6 years agoreturn old handler from esp_log_set_vprintf()
Andrew Dikarev [Sat, 18 Nov 2017 14:27:06 +0000 (16:27 +0200)]
return old handler from esp_log_set_vprintf()

Merges #1286

6 years agosoc: Remove redefinition of MCU_SEL_M
Vitor Massaru Iha [Mon, 20 Nov 2017 10:14:31 +0000 (08:14 -0200)]
soc: Remove redefinition of MCU_SEL_M

Signed-off-by: Vitor Massaru Iha <vitor@massaru.org>
Merges #1290

6 years agofreertos: enabled use of pxTaskGetStackStart and cleaned up it's implementation
Krzysztof Bociurko [Fri, 17 Nov 2017 12:05:54 +0000 (13:05 +0100)]
freertos: enabled use of pxTaskGetStackStart and cleaned up it's implementation

Merges #1298

6 years agoMerge branch 'bugfix/cxx-exceptions-missing-stubs' into 'master'
Angus Gratton [Wed, 22 Nov 2017 01:26:24 +0000 (09:26 +0800)]
Merge branch 'bugfix/cxx-exceptions-missing-stubs' into 'master'

cxx_exceptions: Add missing stubs for cxx exceptions with exceptions disabled

See merge request !1574

6 years agoheap: Add C++ header guards to heap headers
Angus Gratton [Thu, 16 Nov 2017 23:16:46 +0000 (10:16 +1100)]
heap: Add C++ header guards to heap headers

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

6 years agoringbuf.h: Add anti name-mangling definition
Adrián Paníček [Thu, 9 Nov 2017 21:46:38 +0000 (22:46 +0100)]
ringbuf.h: Add anti name-mangling definition

When using CPP and C combination this particular file threw error on linking.

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

(Amended to add INC_FREERTOS_H guard, comment on #endif)

6 years agotest_ringbuf: Add tests for arbitrary length ring buffer
Piyush Shah [Fri, 17 Nov 2017 11:53:43 +0000 (17:23 +0530)]
test_ringbuf: Add tests for arbitrary length ring buffer

This will test the ring buffer for buffer length that is not
a multiple of 4

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agoringbuf: Fixes to header files for better understanding
Piyush Shah [Fri, 17 Nov 2017 10:20:49 +0000 (15:50 +0530)]
ringbuf: Fixes to header files for better understanding

1. Usage of this module required applications to include additional
files. What files to include is not very intuitive. Instead, it is
better for the header file itself to include other files as required.
2. Even though it may seem logical, it is better to explicitly mention
that an item needs to be "Returned" after a Receive

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agoringbuf: Bugfixes for managing arbitrary sizes of ring buffer
Piyush Shah [Fri, 17 Nov 2017 09:54:17 +0000 (15:24 +0530)]
ringbuf: Bugfixes for managing arbitrary sizes of ring buffer

It was observed that if the ring buffer size provided by application
is not a multiple of 4, some checks were failing (as read_ptr and write_ptr
could shoot beyond the ring buffer boundary), thereby causing asserts.
Simply wrapping around the pointers for such cases fixes the issue.

Moreover, because of the logic for maintaining 4-byte boundary,
it was also possible that a wrap-around occurred for some data,
even when the actual size remaining was sufficient for it.
Eg. Buffer available: 34, data size: 34, 4-byte aligned size: 36
Since the logic compares against 36, it writes 34 bytes and does a
wraparound. But since all 34 bytes are already written, there is
nothing to write after wrapping. It is better to just re-set the
write pointer to the dtart of ring buffer in such cases.

Tested send/receive for various arbitrary sizes of data and for
arbitrary sizes of ring buffer.

Alternative Solutions:
1) Allow only sizes which are multiples of 4, and return error otherwise.
Appropriate code and documentation change would be required
2) Allow arbitrary sizes, but internally add upto 3 bytes to make
the total size a multiple of 4

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agotoolchain: update to 1.22.0-75-gbaf03c2
Ivan Grokhotkov [Tue, 21 Nov 2017 11:30:52 +0000 (19:30 +0800)]
toolchain: update to 1.22.0-75-gbaf03c2

- enable condition variable support in gthread
- add provisions to allow emergency exception pool size to be configured

6 years agoMerge branch 'feature/bot' into 'master'
Ivan Grokhotkov [Tue, 21 Nov 2017 10:43:56 +0000 (18:43 +0800)]
Merge branch 'feature/bot' into 'master'

CI: support customize test with @bot

See merge request !1502

6 years agocxx_exceptions: Add missing stubs for cxx exceptions with exceptions
Amey Inamdar [Tue, 21 Nov 2017 07:11:49 +0000 (12:41 +0530)]
cxx_exceptions: Add missing stubs for cxx exceptions with exceptions
disabled

The misssing stubs get pulled in from the toolchain's libstdc++ also
causing to pull in defined stubs. This results in redefinition of
symbols. Fixing it by simply adding the missing stubs when exceptions
are disabled.

Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>
6 years agoMerge branch 'bugfix/rtc_apll_disable' into 'master'
Ivan Grokhotkov [Tue, 21 Nov 2017 04:13:07 +0000 (12:13 +0800)]
Merge branch 'bugfix/rtc_apll_disable' into 'master'

soc/rtc: don't power down BIAS_I2C along with APLL if other PLL is used

See merge request !1568

6 years agoMerge branch 'bugfix/ut_startup_time' into 'master'
Ivan Grokhotkov [Tue, 21 Nov 2017 04:12:46 +0000 (12:12 +0800)]
Merge branch 'bugfix/ut_startup_time' into 'master'

By default, don't print test menu in unit-test-app

See merge request !1565

6 years agoota example: Send a valid HTTP/1.0 request
Angus Gratton [Mon, 20 Nov 2017 06:21:50 +0000 (17:21 +1100)]
ota example: Send a valid HTTP/1.0 request

Was sending an invalid HTTP/1.1 request which many web servers rejected.

Thanks @chegawara for pointing this out on IRC.

Ref:
https://github.com/espressif/esp-idf/issues/231#issuecomment-300287523

6 years agoMerge branch 'bugfix/update_BOD_voltages' into 'master'
Angus Gratton [Mon, 20 Nov 2017 21:37:55 +0000 (05:37 +0800)]
Merge branch 'bugfix/update_BOD_voltages' into 'master'

esp32/Update brownout voltages

See merge request !1520

6 years agocomponent/bt: Correct the SP_BLE_PWR_TYPE_CONN_HDL0-9 comment in the bt.h file to...
Yulong [Mon, 20 Nov 2017 13:05:35 +0000 (08:05 -0500)]
component/bt: Correct the SP_BLE_PWR_TYPE_CONN_HDL0-9 comment in the bt.h file to ESP_BLE_PWR_TYPE_CONN_HDL0-8

6 years agounit-test-app: reduce startup delay, clean up
Ivan Grokhotkov [Thu, 9 Nov 2017 09:26:43 +0000 (17:26 +0800)]
unit-test-app: reduce startup delay, clean up