Alexey Gerenkov
5795ccc806
freertos: Fixes deadlock in pthread_once for init_routines calling pthread_once
2017-10-01 19:52:48 +03:00
Alexey Gerenkov
54a529f596
freertos: Fixes hangup upon pthread_join on finished thread
2017-10-01 19:52:48 +03:00
Jiang Jiang Jian
a3731902f5
Merge branch 'bugfix/btdm_hci_mode_periph_clk' into 'master'
...
fix example of controller_hci_uart peripheral clk init
See merge request !1295
2017-09-30 15:57:10 +08:00
Jiang Jiang Jian
91c259b105
Merge branch 'bugfix/btdm_change_pll_track_interrupt' into 'master'
...
component/bt : change pll track interrupt bits
See merge request !1310
2017-09-30 15:53:58 +08:00
Jiang Jiang Jian
c2a4713958
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
2017-09-30 15:49:53 +08:00
Jiang Jiang Jian
b420c62602
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
2017-09-30 15:48:57 +08:00
Jiang Jiang Jian
a8dab7680a
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
2017-09-30 15:45:56 +08:00
Jiang Jiang Jian
816fe6cf1f
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
2017-09-30 15:42:45 +08:00
Jiang Jiang Jian
f619386967
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
2017-09-30 15:42:07 +08:00
Jeroen Domburg
1b969874b0
Merge branch 'bugfix/explicit_task_wdt_feed' into 'master'
...
Bugfix/New Task Watchdog API
See merge request !1187
2017-09-30 10:42:15 +08:00
Darian Leung
616baa239d
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
2017-09-29 23:10:55 +08:00
Darian Leung
ae9041ab71
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
2017-09-29 22:12:58 +08:00
baohongde
b59708ca87
component/bt: Fix bug of function btc_ble_set_rand_addr
2017-09-29 11:46:08 +08:00
Jeroen Domburg
e6afe28baf
Merge branch 'test/unity_print' into 'master'
...
test: update the format of TEST_ASSERT macro series in ``unity.c``
See merge request !1327
2017-09-29 11:20:04 +08:00
Jeroen Domburg
ca7da78bc7
Merge branch 'feature/malloc_psram' into 'master'
...
Add logic to make external RAM usable with malloc()
See merge request !1278
2017-09-28 18:19:09 +08:00
Jeroen Domburg
740f8a79f0
Add logic to make external RAM usable with malloc()
2017-09-28 17:17:50 +08:00
baohongde
27e1db508d
component/bt: Fix bug of function btc_ble_set_rand_addr
2017-09-28 14:41:31 +08:00
baohongde
68958a2485
component/bt: Fix bug of memory leak of gatt open and close
2017-09-28 14:34:57 +08:00
Yulong
f7a2cc37b3
component/bt: Fix the bug of total attr didn't reset when init the gattc cache.
2017-09-28 02:09:02 -04:00
Angus Gratton
c65f12bb45
Merge branch 'feature/add_espnow_example' into 'master'
...
Feature/add espnow example
See merge request !1263
2017-09-28 07:43:29 +08:00
michael
7370f2913d
test: update the format of TEST_ASSERT macro series in `unity.c
`
2017-09-27 19:56:46 +08:00
Jeroen Domburg
58a5d883f4
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
2017-09-27 17:00:31 +08:00
Angus Gratton
a3a4a20518
Merge branch 'bugfix/bt_sdp_server_continuation' into 'master'
...
bluedroid: Add continuation offset check to SDP server
See merge request !1323
2017-09-27 11:13:54 +08:00
michael
fcd0f52e21
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.
2017-09-27 10:44:28 +08:00
Angus Gratton
c9241b4310
bluedroid: Add continuation offset check to SDP server
...
Fix for CVE-2017-0785
https://android.googlesource.com/platform/system/bt/+/818cf6f%5E%21/#F0
2017-09-27 09:49:04 +10:00
Ivan Grokhotkov
7d436c9a44
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
2017-09-26 16:15:42 +08:00
Ivan Grokhotkov
b7a79ab67e
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
2017-09-26 16:06:55 +08:00
Ivan Grokhotkov
545421be47
Merge branch 'feature/support_wifi_country_api' into 'master'
...
esp32: support wifi country code
See merge request !1300
2017-09-26 16:05:49 +08:00
Ivan Grokhotkov
bbab9ecf23
Merge branch 'feature/docs_update_sigmadelta_api' into 'master'
...
Updated sigma delta API documenation and example
See merge request !1319
2017-09-26 16:05:18 +08:00
michael
9d9e771933
fix(global, log): fix esp_log(_early)_timestamp
readings after startup by correct the CCOUNT register when switching CPU clock.
...
TW#13332, Closes #700
2017-09-26 15:18:17 +08:00
Liu Zhi Fu
762f8da078
esp32: support wifi country code
...
1. Add completed support for WiFi country code
2. Modify esp_wifi_set_country API
2017-09-26 13:36:53 +08:00
Angus Gratton
01aad8f386
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
2017-09-26 10:34:38 +08:00
Ivan Grokhotkov
fd02668d8b
Merge branch 'feature/record_more_info_of_scanned_ap' into 'master'
...
Record more information of scanned AP
See merge request !1289
2017-09-26 10:13:48 +08:00
Ivan Grokhotkov
6875fd2339
Merge branch 'feature/tw15502_add_iperf_example' into 'master'
...
example: add iperf example
See merge request !1313
2017-09-26 09:38:34 +08:00
Liu Zhi Fu
05b0d567e5
example: add iperf example
...
Support iperf
2017-09-26 09:19:01 +08:00
krzychb
b5e4c76bfe
Updated sigma delta API documenation and example
2017-09-25 21:31:09 +02:00
Tian Hao
e1177ca9cb
component/bt : change pll track interrupt bits
2017-09-25 18:35:46 +08:00
Jiang Jiang Jian
2908e8a33a
Merge branch 'bugfix/scan_fail' into 'master'
...
component/bt : fix bug of scan fail after a long time
See merge request !1301
2017-09-25 18:28:09 +08:00
Tian Hao
0d0c9e7172
fix example of controller_hci_uart peripheral clk init
2017-09-25 11:46:03 +08:00
Angus Gratton
1773770f44
Merge branch 'feature/multi_heap_assert' into 'master'
...
multi_heap: Print the problem address when aborting due to heap corruption
See merge request !1277
2017-09-25 09:51:14 +08:00
XiaXiaotian
20064978ba
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.
2017-09-23 20:18:50 +08:00
Ivan Grokhotkov
845c3fba35
Merge branch 'test/update_ble_known_issues' into 'master'
...
test: udpate new BLE known issues
See merge request !1306
2017-09-22 22:34:18 +08:00
Ivan Grokhotkov
750f47c28b
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
2017-09-22 22:34:04 +08:00
Ivan Grokhotkov
7bfbc5bf7c
Merge branch 'bugfix/light_sleep' into 'master'
...
Light sleep fix
See merge request !1303
2017-09-22 16:37:59 +08:00
XiaXiaotian
3a1d34a7be
Add an example to show how to use ESPNOW
2017-09-22 15:52:45 +08:00
XiaXiaotian
98dfb8c0b9
Record more information of scanned AP
2017-09-22 15:43:33 +08:00
Ivan Grokhotkov
d50aca62c3
Merge branch 'bugfix/dport_in_single_core' into 'master'
...
esp32: exclude DPORT-related code in single core mode
See merge request !1304
2017-09-22 14:48:05 +08:00
Angus Gratton
c4e65d6a95
Merge branch 'bugfix/build_kconfig_deps' into 'master'
...
build: make clean should remove all .d files in tools/kconfig
See merge request !1302
2017-09-22 12:42:37 +08:00
Angus Gratton
976135c3a8
Merge branch 'bugfix/build_system_regen_component_vars' into 'master'
...
build system: Fix bug requiring "make clean" after IDF updates or menuconfig changes
See merge request !1293
2017-09-22 12:42:00 +08:00
Ivan Grokhotkov
6b61c6d39f
esp32: exclude DPORT-related code in single core mode
2017-09-22 12:07:05 +08:00