Yulong
1759a47060
This is a combination of 4 commits.
...
squash again all the commit.
component/bt: Change all the gattc API && bta gattc layer.
component/bt: Debug the code and change the btc_ble_gattc_get_db method.
component/bt: Change the gatt read API interface.
component/bt: Reconstruction the BTA_gattc_cache code.
component/bt: Change back the bluedroid_get_status to marco.
component/bt: Added the serch service res start_handle & end_handle to the result.
component/bt: Change the gattc docs format.
component/bt: Change the docs format.
component/bt: fix the read char value bug.
component/bt: change the gattc_get_attr_count method.
component/bt: Change back the bta_gattc write ccc code.
component/bt: Change the gattc api docs format
component/bt: Change the gattc API docs.
component/bt: Change the prepare write descriptor method to avoid the exection.
Component/bt: modify gatt clinet demo with new API
component/bt: Change the p_src_data->read.p_value to avoid exection.
compoent/bt: Change the bugfix of gattc unreg for the notify.
Modify gattc security demo
component/bt: Change the log error.
Component/bt: modify gattc_multi_connect demo
componnet/bt: Change the bta_gattc_cache sdp include.
component/bt: Change the start_handle & end_handle not from the service.
component/bt: Change the gattc API docs.
component/bt: Change the return issues.
component/bt: Fixed the include service bug.
component/bt: Modify gattc_multi_connect demo , add scan log
component/bt: Fixed the BTA_GATTC_GetIncludeService start handle & end handle error bug.
component/bt: Fix the invalid handle of the get all char issues.
component/bt: Fix the bug with get_db_size_with_type of the start handle & end_handle not correted issue.
component/bt: Fixed the get secondly service num not correct issue.
component/bt: Fixed the last service handle not correted issue.
2017-09-12 07:36:02 -04:00
Ivan Grokhotkov
b6d82eeceb
Merge branch 'feature/gcov_over_apptrace' into 'master'
...
esp32: Adds gcov over JTAG feature
See merge request !1117
2017-09-12 18:54:26 +08:00
Ivan Grokhotkov
820df6aa27
Merge branch 'bugfix/btdm_nvs_get_str_or_blob' into 'master'
...
fix: Fix bug of function nvs_get_str_or_blob
See merge request !1182
2017-09-12 12:20:42 +08:00
Ivan Grokhotkov
23f10e1a57
Merge branch 'feature/uart_software_flow_control' into 'master'
...
uart: Add api call to switch on hardware support for 'software' flow control. (github #890 )
See merge request !1215
2017-09-12 12:11:11 +08:00
Ivan Grokhotkov
868b0ce228
Merge branch 'bugfix/list_node_naming' into 'master'
...
Fix "list_node" name conflict in bluedroid & dhcp_server
See merge request !1216
2017-09-12 12:10:54 +08:00
Ivan Grokhotkov
635bd9ac9e
Merge branch 'bugfix/btdm_disable_gatts' into 'master'
...
component/bt: fix build error when GATTS is disabled in menuconfig
See merge request !1232
2017-09-12 12:06:41 +08:00
Ivan Grokhotkov
f4ddaa7a11
Merge branch 'bugfix/crashed_core_dump' into 'master'
...
esp32: Fixes crash during core dump.
See merge request !1239
2017-09-12 11:32:48 +08:00
me-no-dev
dd87deb278
Add SPIFFS Component to IDF
2017-09-11 19:56:40 +03:00
Alexey Gerenkov
4e0c3a0415
esp32: Fixes crash during core dump.
...
Removes piece of debugging code introduced by 8d43859b
.
2017-09-11 17:20:42 +03:00
Ivan Grokhotkov
1e7c3854d3
Merge branch 'bugfix/warn_on_invalid_xtal_freq' into 'master'
...
soc/rtc: warn if detected XTAL frequency does not match configured one
See merge request !1242
2017-09-11 18:15:11 +08:00
Ivan Grokhotkov
de038f502c
Merge branch 'feature/gpio_channel_macro' into 'master'
...
feat(global): add macros for GPIO->channel lookup
See merge request !1170
2017-09-11 12:15:08 +08:00
Ivan Grokhotkov
5a88f90a33
soc/rtc: warn if detected XTAL frequency does not match configured one
...
Since 9a8c0392
, XTAL frequency is set to 40MHz by default, and users
of 26MHz boards need to select 26MHz manually. Most users are not aware
of this change, and existing getting started guides do not mention that
XTAL frequency needs to be set for some boards. So users are left with
garbage output from UART without any clue what to check.
This change adds a warning in case specific XTAL frequency was set, and
it does not match automatically detected one. This should help users
fix the issue.
2017-09-11 11:42:26 +08:00
baohongde
87031f9457
component/bt: fix nvs_get_str_or_blob length output error
2017-09-08 12:02:35 +08:00
baohongde
e1bd51af80
component/bt: fix nvs_get_str_or_blob length output error
2017-09-08 12:02:35 +08:00
baohongde
f3be0395d2
component/bt: fix nvs_get_str_or_blob length output error
2017-09-08 12:02:35 +08:00
Ivan Grokhotkov
e12967297d
Merge branch 'feature/docs_touch_pad_api' into 'master'
...
Touch Pad driver overview
See merge request !1195
2017-09-08 11:55:27 +08:00
wangmengyang
21586063de
component/bt: fix build error when GATTS is disabled in menuconfig
2017-09-08 11:34:59 +08:00
Ivan Grokhotkov
33cb16fd2a
esp32: fix cache error interrupt handler
...
Cache error interrupt would read DPORT registers, which caused DPORT
access protection to kick in. Disable DPORT protection before doing the
reads.
2017-09-08 09:59:09 +08:00
Alexey Gerenkov
891f0db31d
esp32: Adds gcov over JTAG feature
...
Implements function to dump GCOV data to host via JTAG.
The following functionality was added:
- Host file I/O
- GCOV runtime I/O stubs
- GCOV example
2017-09-07 18:13:16 +03:00
Ivan Grokhotkov
3c470e7c43
Merge branch 'bugfix/rmt' into 'master'
...
RMT 2 fixes: Rename one API and specify wait_time in another API
See merge request !896
2017-09-07 18:03:08 +08:00
Ivan Grokhotkov
5425d8569c
Merge branch 'feature/pthread_api' into 'master'
...
esp32: pthread API
See merge request !1146
2017-09-07 17:49:42 +08:00
Ivan Grokhotkov
40df6546c0
Merge branch 'feature/multi_heap_poisoning' into 'master'
...
Heap tracing & poisoning features
See merge request !749
2017-09-07 17:47:51 +08:00
Ivan Grokhotkov
310269bcdc
Merge branch 'bugfix/tcpip_adapter_ethernet' into 'master'
...
tcpip_adapter: Fix bug which prevents setting a static IP address for Ethernet interface (github #657 )
See merge request !1178
2017-09-07 17:47:20 +08:00
Ivan Grokhotkov
de06a0b8a7
Merge branch 'feature/mbedtls2_6_0' into 'master'
...
Update mbedTLS to version 2.6.0
See merge request !1224
2017-09-07 17:45:45 +08:00
Ivan Grokhotkov
b9dfb437ab
Merge branch 'bugfix/intr_free' into 'master'
...
fix(intr): fix the logic for allocating and freeing interrupts.
See merge request !1124
2017-09-07 17:45:18 +08:00
Angus Gratton
c503a01388
mbedtls: Rename net to net_sockets (in line with 2.4.0 API change)
2017-09-07 18:02:39 +10:00
Angus Gratton
3a08ec7b3d
mbedtls: Re-apply: MBEDTLS_SHA512_ALT also replaces mbedtls_sha512_process()
...
IDF-specific patch.
2017-09-07 18:02:26 +10:00
Angus Gratton
3142997830
mbedtls: Re-apply ECP memory leak fix
...
Fix not yet submitted upstream.
(Previously applied in ffefeef5ea
)
2017-09-07 18:02:26 +10:00
Angus Gratton
736db688a8
mbedtls: Re-apply MBEDTLS_BIGNUM_ALT & related macros for custom bignum functions
...
(IDF-specific patch.)
2017-09-07 18:02:26 +10:00
Angus Gratton
ae382b3bfa
mbedtls: Update to 2.6.0 release (without IDF-specific patches)
2017-09-07 18:02:26 +10:00
Angus Gratton
f8339fc1bd
newlib: Avoid deprecation warning calling system_get_time() from system_relative_time()
2017-09-07 16:32:05 +10:00
Angus Gratton
73b3ae8a2d
lwip: Use hardware RNG for LWIP_RAND(), use LWIP_RAND() for random port assignment
2017-09-07 16:32:05 +10:00
Angus Gratton
72995bfcec
doc: Add docs for heap trace & poisoning
2017-09-07 16:32:05 +10:00
Angus Gratton
ec498ad86d
libgcc: Place assembly functions (including __xtensa_libgcc_window_spill) in IRAM
2017-09-07 16:32:05 +10:00
Angus Gratton
1c7b8aa3a5
Heap tracing support
2017-09-07 16:32:05 +10:00
Angus Gratton
5c417963eb
multi_heap: Add heap poisoning features
2017-09-07 16:32:05 +10:00
Angus Gratton
5222428dde
unit tests: Check heap integrity after each test, check for obvious leaks
2017-09-07 16:32:05 +10:00
Angus Gratton
1cb0f30933
heap_caps: Add heap_caps_check_integrity() function
2017-09-07 16:32:05 +10:00
Ivan Grokhotkov
63e1e4e502
Merge branch 'test/modify_mtu_cases' into 'master'
...
test: update BLE GATT MTU cases
See merge request !1223
2017-09-07 14:27:41 +08:00
chensheng
ac5e1f65b2
test:update BLE GATT MTU cases
2017-09-07 13:46:13 +08:00
Jiang Jiang Jian
5146289eea
Merge branch 'feature/update_wifi_lib_for_some_feature_and_bugfix' into 'master'
...
esp32: update wifi lib for a bunch of small feature and bugfix
See merge request !1222
2017-09-07 13:24:24 +08:00
Ivan Grokhotkov
8f5e4bacf3
Merge branch 'bugfix/spi_cache_disable_adjustments_iram' into 'master'
...
Make sure cache is disabled/enabled when *both* CPUs are running inside the iram guard code
See merge request !1208
2017-09-07 11:02:21 +08:00
Liu Zhi Fu
a568ad2c9d
esp32: update wifi lib for a bunch of small feature and bugfix
...
1. Update RTC V229: add BT AGC saturation protection
2. Update PHY V359: (1). esp_init_data_v2.bin -- modify WIFI and BT RX gain table Setting
(2). modify phy_close_rf()
(3). noisefloor add limit and no print
3. WiFi supports modem sleep dynamic frequency switch
4. Fix disabling AMPDU cause esp_wifi_init fail issue
5. Fix sniffer mode cause WiFi can't connect issue
6. Optimize an internal rx buffer full issue
7. Rollback the internal wifi init flag when wifi init fail
2017-09-07 11:01:12 +08:00
michael
08b9fbc242
feat(global): add macros for GPIO->channel lookup
...
including: macros for dac, adc, touch, rtc_gpio, uart and clk_out.
TW#13970
2017-09-07 10:40:25 +08:00
Angus Gratton
4809c70899
Merge branch 'feature/register_heaps_runtime' into 'master'
...
heap: Support adding new heap regions at runtime
See merge request !1159
2017-09-07 10:18:21 +08:00
Angus Gratton
dcd2f71d11
Merge branch 'bugfix/http_to_https_url_changes' into 'master'
...
Mass replacement of http with https urls, fixed broken urls
See merge request !1221
2017-09-07 10:16:43 +08:00
Tian Hao
b8b2816f67
component/bt : fix unloaded memory(0x3fff0000 overwrite) bug
2017-09-06 21:45:18 +08:00
Jeroen Domburg
b24d2c4cf3
Make sure cache is disabled/enabled when *both* CPUs are running inside the iram guard code
2017-09-06 16:34:36 +08:00
michael
73ba29e6df
refactor(intr): remove useless tags in the debug log.
2017-09-06 15:20:04 +08:00
michael
c82e51cf79
fix(intr): always assign the same intr to a same source, disable the source only when all the handlers disabled.
...
also document handlers sharing a same source.
TW#13454, https://github.com/nodemcu/nodemcu-firmware/issues/1874
Breaking change: handles assigned to a same source should have the same flag now.
2017-09-06 15:20:01 +08:00