]> granicus.if.org Git - esp-idf/log
esp-idf
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 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 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 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 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 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 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 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.

7 years agolwip: Remove undocumented CONFIG_MDNS macro flag
Angus Gratton [Mon, 10 Jul 2017 09:22:56 +0000 (17:22 +0800)]
lwip: Remove undocumented CONFIG_MDNS macro flag

All options that were enabled via CONFIG_MDNS are now in menuconfig, with
the default values set the same as with CONFIG_MDNS enabled (meaning existing
projects that were using CONFIG_MDNS do not need to change).

7 years agoexample: Add UDP multicast example
Angus Gratton [Mon, 10 Jul 2017 08:33:08 +0000 (16:33 +0800)]
example: Add UDP multicast example

7 years agolwip: Enable IPV6_ONLY option for UDP sockets (BSD & netconn)
Angus Gratton [Fri, 7 Jul 2017 11:27:00 +0000 (19:27 +0800)]
lwip: Enable IPV6_ONLY option for UDP sockets (BSD & netconn)

* setsockopt(s, IPV6_ONLY, &one, sizeof(int)) will disable IPV6-only
  mode. Incoming/outgoing IPV4 packets are dropped.

* Otherwise, sockets bound to IPV6_ANY_ADDR can receive unicast packets
  for IPV4 or IPV6.

* sendto() a IPV6-mapped-IPV4 address on a UDP socket works correctly
  (not supported for RAW or TCP sockets.)

* getaddrinfo() option AI_V4MAPPED is implemented.

As well as extending support to TCP & RAW, there is some potential improvement
to dropping incoming packets - the drop happens a bit late in the process and
there is no "ICMP port unreachable" response sent.

7 years agolwip: Add IPV6 multicast group membership socket options
Angus Gratton [Mon, 10 Jul 2017 08:32:20 +0000 (16:32 +0800)]
lwip: Add IPV6 multicast group membership socket options

As described in RFC2133: IPV6_MULTICAST_IF, IPV6_MULTICAST_HOPS,
IPV6_MULTICAST_LOOP, IPV6_MULTICAST_LOOP, IPV6_DROP_MEMBERSHIP.

7 years agofreertos: Fixes deadlock in pthread_once for init_routines calling pthread_once
Alexey Gerenkov [Thu, 28 Sep 2017 18:18:29 +0000 (21:18 +0300)]
freertos: Fixes deadlock in pthread_once for init_routines calling pthread_once

7 years agofreertos: Fixes hangup upon pthread_join on finished thread
Alexey Gerenkov [Thu, 28 Sep 2017 14:55:17 +0000 (17:55 +0300)]
freertos: Fixes hangup upon pthread_join on finished thread

7 years agouse localtime_r instead of gmtime to get timezone
Luc [Sat, 30 Sep 2017 13:44:35 +0000 (21:44 +0800)]
use localtime_r instead of gmtime to get timezone

on fatfs

7 years agocomponent/bt: increase programming delay for event arbiter to allow for heavy workload
wangmengyang [Sat, 30 Sep 2017 10:12:45 +0000 (18:12 +0800)]
component/bt: increase programming delay for event arbiter to allow for heavy workload

7 years agoRevert "esp32: New Task Watchdog API"
Jeroen Domburg [Sat, 30 Sep 2017 10:07:19 +0000 (18:07 +0800)]
Revert "esp32: New Task Watchdog API"

This reverts commit 616baa239db0c1bf17b74a9ae53b40aedbead6da.

7 years agoComponent/bt: fix multi-connection failed
zhiweijian [Thu, 28 Sep 2017 07:05:44 +0000 (15:05 +0800)]
Component/bt: fix multi-connection failed
- modify some comments

7 years agocomponent/bt: Change the 0x04 to Macro BTA_LE_AUTH_REQ_MITM.
Yulong [Sat, 30 Sep 2017 08:05:21 +0000 (04:05 -0400)]
component/bt: Change the 0x04 to Macro BTA_LE_AUTH_REQ_MITM.

7 years agoMerge branch 'bugfix/btdm_hci_mode_periph_clk' into 'master'
Jiang Jiang Jian [Sat, 30 Sep 2017 07:57:10 +0000 (15:57 +0800)]
Merge branch 'bugfix/btdm_hci_mode_periph_clk' into 'master'

fix example of controller_hci_uart peripheral clk init

See merge request !1295

7 years agoMerge branch 'bugfix/btdm_change_pll_track_interrupt' into 'master'
Jiang Jiang Jian [Sat, 30 Sep 2017 07:53:58 +0000 (15:53 +0800)]
Merge branch 'bugfix/btdm_change_pll_track_interrupt' into 'master'

component/bt : change pll track interrupt bits

See merge request !1310

7 years agoMerge branch 'bugfix/btdm_btc_ble_set_rand_addr' into 'master'
Jiang Jiang Jian [Sat, 30 Sep 2017 07:49:53 +0000 (15:49 +0800)]
Merge branch 'bugfix/btdm_btc_ble_set_rand_addr' into 'master'

component/bt: Fix bug of function btc_ble_set_rand_addr

See merge request !1297

7 years agoMerge branch 'bugfix/btdm_mem_leak_of_gattc_open_and_close' into 'master'
Jiang Jiang Jian [Sat, 30 Sep 2017 07:48:57 +0000 (15:48 +0800)]
Merge branch 'bugfix/btdm_mem_leak_of_gattc_open_and_close' into 'master'

component/bt: Fix bug of memory leak of gatt open and close

See merge request !1325

7 years agoMerge branch 'bugfix/btdm_gattc_mutiple_read_bug' into 'master'
Jiang Jiang Jian [Sat, 30 Sep 2017 07:45:56 +0000 (15:45 +0800)]
Merge branch 'bugfix/btdm_gattc_mutiple_read_bug' into 'master'

component/bt: Fixed the bug of mutiple read can not callback.

See merge request !1286

7 years agoMerge branch 'bugfix/btdm_gattc_get_db_prop_bug' into 'master'
Jiang Jiang Jian [Sat, 30 Sep 2017 07:42:45 +0000 (15:42 +0800)]
Merge branch 'bugfix/btdm_gattc_get_db_prop_bug' into 'master'

component/bt: Fiexd the bug of the gattc cannot get the db properties.

See merge request !1284

7 years agoMerge branch 'bugfix/btdm_fail_to_find_handle_#15534' into 'master'
Jiang Jiang Jian [Sat, 30 Sep 2017 07:42:07 +0000 (15:42 +0800)]
Merge branch 'bugfix/btdm_fail_to_find_handle_#15534' into 'master'

component/bt: Fix the bug of total attr didn't reset when init the gattc cache.

See merge request !1331

7 years agoMerge branch 'bugfix/explicit_task_wdt_feed' into 'master'
Jeroen Domburg [Sat, 30 Sep 2017 02:42:15 +0000 (10:42 +0800)]
Merge branch 'bugfix/explicit_task_wdt_feed' into 'master'

Bugfix/New Task Watchdog API

See merge request !1187

7 years agoesp32: New Task Watchdog API
Darian Leung [Wed, 30 Aug 2017 13:11:10 +0000 (21:11 +0800)]
esp32: New Task Watchdog API

Legacy API of task watchdog used the same function esp_task_wdt_feed() to add
and feed a task. This caused issues of implicitly adding a task to the wdt list
if the function was used in shared code.

The new API introduces init, adding, feeding, deleting, deinit functions. Tasks
must now be explicitly added to the task watchdog using their handles. Deletion
must also be explicit using task handles. This resolves the issue of implicit
task additions to the task watchdog due to shared code calling
esp_task_wdt_feed().

Task watchdog is now fully configurable at runtime by calling the init and
deinit functions.

Also added functions to get the handles of idle tasks of the other core. This
helps when adding idle tasks to the watchdog at run time.

Configuring the task watchdog using menu config is still available, however
menu config will only result in calling the init and add functions for idle
tasks shortly after the scheduler starts.

Menu config also allows for using legacy behavior, however the legacy behavior
willcall the new API functions but with slight variations to make them legacy
compatible.

Documentation and example have also been updated

gcov_rtio.c headers updated to prevent error of freertos header files being
included in the wrong order.

Resolves issue TW#13265

7 years agoesp32: Fix task watchdog timer triggering issues TW#14794
Darian Leung [Wed, 30 Aug 2017 05:56:37 +0000 (13:56 +0800)]
esp32: Fix task watchdog timer triggering issues TW#14794

The two task watchdog timer bugs are as follows...
1) If only a single task existed on the wdt task list, and esp_task_wdt_feed()
was only called once, the watchdog triggers but fails to print task name
2) If a single task already exists on the task wdt list, and another task calls
esp_task_wdt_feed() once, the watchdog fails to trigger

Problem stemmed from the loop responsible for resetting the watchdog timer
having incorrect loop parameters. The loop failed to traverse the full length
of the task wdt list

7 years agocomponent/bt: Fix bug of set sec properity error
baohongde [Fri, 29 Sep 2017 10:46:28 +0000 (18:46 +0800)]
component/bt: Fix bug of set sec properity error

7 years agocomponent/bt: Fix bug of function btc_ble_set_rand_addr
baohongde [Wed, 20 Sep 2017 11:53:50 +0000 (19:53 +0800)]
component/bt: Fix bug of function btc_ble_set_rand_addr

7 years agoMerge branch 'test/unity_print' into 'master'
Jeroen Domburg [Fri, 29 Sep 2017 03:20:04 +0000 (11:20 +0800)]
Merge branch 'test/unity_print' into 'master'

test: update the format of TEST_ASSERT macro series in ``unity.c``

See merge request !1327

7 years agoMerge branch 'feature/malloc_psram' into 'master'
Jeroen Domburg [Thu, 28 Sep 2017 10:19:09 +0000 (18:19 +0800)]
Merge branch 'feature/malloc_psram' into 'master'

Add logic to make external RAM usable with malloc()

See merge request !1278

7 years agoAdd logic to make external RAM usable with malloc()
Jeroen Domburg [Fri, 22 Sep 2017 08:02:39 +0000 (16:02 +0800)]
Add logic to make external RAM usable with malloc()

7 years agocomponent/bt: Fix bug of function btc_ble_set_rand_addr
baohongde [Thu, 28 Sep 2017 06:41:31 +0000 (14:41 +0800)]
component/bt:  Fix bug of function btc_ble_set_rand_addr

7 years agocomponent/bt: Fix bug of memory leak of gatt open and close
baohongde [Wed, 27 Sep 2017 06:57:48 +0000 (14:57 +0800)]
component/bt: Fix bug of memory leak of gatt open and close

7 years agocomponent/bt: Fix the bug of total attr didn't reset when init the gattc cache.
Yulong [Thu, 28 Sep 2017 06:09:02 +0000 (02:09 -0400)]
component/bt: Fix the bug of total attr didn't reset when init the gattc cache.

7 years agoMerge branch 'feature/add_espnow_example' into 'master'
Angus Gratton [Wed, 27 Sep 2017 23:43:29 +0000 (07:43 +0800)]
Merge branch 'feature/add_espnow_example' into 'master'

Feature/add espnow example

See merge request !1263

7 years agotest: update the format of TEST_ASSERT macro series in ``unity.c``
michael [Wed, 27 Sep 2017 09:06:39 +0000 (17:06 +0800)]
test: update the format of TEST_ASSERT macro series in ``unity.c``

7 years agoMerge branch 'test/spi_master_internal_connect' into 'master'
Jeroen Domburg [Wed, 27 Sep 2017 09:00:31 +0000 (17:00 +0800)]
Merge branch 'test/spi_master_internal_connect' into 'master'

test(spi_master): add test case for 3 DMA issues with internal connection by gpio mux.

See merge request !1217

7 years agoMerge branch 'bugfix/bt_sdp_server_continuation' into 'master'
Angus Gratton [Wed, 27 Sep 2017 03:13:54 +0000 (11:13 +0800)]
Merge branch 'bugfix/bt_sdp_server_continuation' into 'master'

bluedroid: Add continuation offset check to SDP server

See merge request !1323

7 years agotest(spi_master): add test case for 3 DMA issues with internal connection by gpio...
michael [Fri, 1 Sep 2017 10:49:45 +0000 (18:49 +0800)]
test(spi_master): add test case for 3 DMA issues with internal connection by gpio mux.

3 issues are:
1. RX buffer not aligned (start and end)
2. not setting rx_buffer
3. setting rx_length != length

also add spi release code here.

7 years agobluedroid: Add continuation offset check to SDP server
Angus Gratton [Tue, 26 Sep 2017 23:49:04 +0000 (09:49 +1000)]
bluedroid: Add continuation offset check to SDP server

Fix for CVE-2017-0785
https://android.googlesource.com/platform/system/bt/+/818cf6f%5E%21/#F0

7 years agoExtended description of the Pulse Counter API and removed redundant comments from...
krzychb [Fri, 22 Sep 2017 16:42:17 +0000 (18:42 +0200)]
Extended description of the Pulse Counter API and removed redundant comments from the example

7 years agoFix multi_heap_get_info alias
Deomid Ryabkov [Tue, 26 Sep 2017 13:47:27 +0000 (14:47 +0100)]
Fix multi_heap_get_info alias

7 years agoMerge branch 'bugfix/timestamp' into 'master'
Ivan Grokhotkov [Tue, 26 Sep 2017 08:15:42 +0000 (16:15 +0800)]
Merge branch 'bugfix/timestamp' into 'master'

fix(global, log): correct the CCOUNT register when switching CPU clock during boot 2nd and before scheduler.

See merge request !1296

7 years agoMerge branch 'bugfix/bind_dhcp_server_udp_to_ip_of_ap' into 'master'
Ivan Grokhotkov [Tue, 26 Sep 2017 08:06:55 +0000 (16:06 +0800)]
Merge branch 'bugfix/bind_dhcp_server_udp_to_ip_of_ap' into 'master'

Fix the bug that if one device is in station+softap mode, other device can not get IP address after connecting to the softap.

See merge request !1314

7 years agoMerge branch 'feature/support_wifi_country_api' into 'master'
Ivan Grokhotkov [Tue, 26 Sep 2017 08:05:49 +0000 (16:05 +0800)]
Merge branch 'feature/support_wifi_country_api' into 'master'

esp32: support wifi country code

See merge request !1300

7 years agoMerge branch 'feature/docs_update_sigmadelta_api' into 'master'
Ivan Grokhotkov [Tue, 26 Sep 2017 08:05:18 +0000 (16:05 +0800)]
Merge branch 'feature/docs_update_sigmadelta_api' into 'master'

Updated sigma delta API documenation and example

See merge request !1319

7 years agofix(global, log): fix `esp_log(_early)_timestamp` readings after startup by correct...
michael [Wed, 13 Sep 2017 09:34:43 +0000 (17:34 +0800)]
fix(global, log): fix `esp_log(_early)_timestamp` readings after startup by correct the CCOUNT register when switching CPU clock.

TW#13332, Closes #700

7 years agoesp32: support wifi country code
Liu Zhi Fu [Tue, 19 Sep 2017 12:59:48 +0000 (20:59 +0800)]
esp32: support wifi country code

1. Add completed support for WiFi country code
2. Modify esp_wifi_set_country API

7 years agoMerge branch 'feature/docs_updating_idf' into 'master'
Angus Gratton [Tue, 26 Sep 2017 02:34:38 +0000 (10:34 +0800)]
Merge branch 'feature/docs_updating_idf' into 'master'

Added a section how to update existing local esp-idf repository and load specifi…

See merge request !1273

7 years agoMerge branch 'feature/record_more_info_of_scanned_ap' into 'master'
Ivan Grokhotkov [Tue, 26 Sep 2017 02:13:48 +0000 (10:13 +0800)]
Merge branch 'feature/record_more_info_of_scanned_ap' into 'master'

Record more information of scanned AP

See merge request !1289

7 years agoMerge branch 'feature/tw15502_add_iperf_example' into 'master'
Ivan Grokhotkov [Tue, 26 Sep 2017 01:38:34 +0000 (09:38 +0800)]
Merge branch 'feature/tw15502_add_iperf_example' into 'master'

example: add iperf example

See merge request !1313

7 years agoexample: add iperf example
Liu Zhi Fu [Thu, 30 Mar 2017 15:12:25 +0000 (23:12 +0800)]
example: add iperf example

Support iperf

7 years agoUpdated sigma delta API documenation and example
krzychb [Mon, 25 Sep 2017 19:20:48 +0000 (21:20 +0200)]
Updated sigma delta API documenation and example

7 years agocomponent/bt : change pll track interrupt bits
Tian Hao [Fri, 22 Sep 2017 12:14:30 +0000 (20:14 +0800)]
component/bt : change pll track interrupt bits

7 years agoMerge branch 'bugfix/scan_fail' into 'master'
Jiang Jiang Jian [Mon, 25 Sep 2017 10:28:09 +0000 (18:28 +0800)]
Merge branch 'bugfix/scan_fail' into 'master'

component/bt : fix bug of scan fail after a long time

See merge request !1301

7 years agofix example of controller_hci_uart peripheral clk init
Tian Hao [Wed, 20 Sep 2017 10:13:51 +0000 (18:13 +0800)]
fix example of controller_hci_uart peripheral clk init

7 years agoMerge branch 'feature/multi_heap_assert' into 'master'
Angus Gratton [Mon, 25 Sep 2017 01:51:14 +0000 (09:51 +0800)]
Merge branch 'feature/multi_heap_assert' into 'master'

multi_heap: Print the problem address when aborting due to heap corruption

See merge request !1277

7 years agoFix the bug that if one device is in station+softap mode, other device can not
XiaXiaotian [Fri, 22 Sep 2017 10:10:34 +0000 (18:10 +0800)]
Fix the bug that if one device is in station+softap mode, other device can not
get IP address after connecting to the softap.

    Now the default netif is station in station+softap mode. The UDP pcb of
DHCP server is binded to IP 0.0.0.0. When other device connects to softap, the
DHCP offer will be sent by softap.But because the destination IP of DHCP offer
is broadcast IP and the source IP of it is 0.0.0.0, it will be sent from default
netif, that is station interface. Other device can not receive the DHCP offer
sent from station interface. As a result, other device can not get IP address.
The resolution is that bind UDP pcb to the IP address of softap. So, the source
IP of DHCP offer is that of softap. DHCP offer can be sent from softap interface
by source IP route method.

7 years agoMerge branch 'test/update_ble_known_issues' into 'master'
Ivan Grokhotkov [Fri, 22 Sep 2017 14:34:18 +0000 (22:34 +0800)]
Merge branch 'test/update_ble_known_issues' into 'master'

test: udpate new BLE known issues

See merge request !1306

7 years agoMerge branch 'bugfix/gpio26_rtc_hold' into 'master'
Ivan Grokhotkov [Fri, 22 Sep 2017 14:34:04 +0000 (22:34 +0800)]
Merge branch 'bugfix/gpio26_rtc_hold' into 'master'

driver/rtc: fix copy-paste error in HOLD_FORCE field name for GPIO26

See merge request !1299

7 years agoMerge branch 'bugfix/light_sleep' into 'master'
Ivan Grokhotkov [Fri, 22 Sep 2017 08:37:59 +0000 (16:37 +0800)]
Merge branch 'bugfix/light_sleep' into 'master'

Light sleep fix

See merge request !1303

7 years agoAdd an example to show how to use ESPNOW
XiaXiaotian [Wed, 13 Sep 2017 12:38:04 +0000 (20:38 +0800)]
Add an example to show how to use ESPNOW