yulong
ebc8877b75
component/bt: Fix ble compile error when close the SMP module.
2017-11-15 21:13:12 +08:00
Jiang Jiang Jian
a237327eff
Merge branch 'feature/tw16227_add_fix_rate_api_2.1' into 'release/v2.1'
...
esp32: add fix rate api
See merge request !1509
2017-11-09 18:47:09 +08:00
Ivan Grokhotkov
fd20a89e20
Merge branch 'bugfix/v2.1_bootloader' into 'release/v2.1'
...
bugfix(80m flash): cherry pick from idf3.0, add gpio config and vddsdio config
See merge request !1503
2017-11-09 14:59:09 +08:00
Liu Zhi Fu
dfb1c41a28
esp32: add fix rate api
...
Add hidden fix rate api
2017-11-09 10:06:19 +08:00
Ivan Grokhotkov
378f3463fe
soc/rtc: power down VDDSDIO in deep sleep
...
If VDDSDIO is controlled by RTC (which is the case when using 1.8V flash
and CONFIG_BOOTLOADER_VDDSDIO_BOOST is enabled), need to allow VDDSDIO
to be controlled by the state machine before going into deep sleep.
2017-11-08 21:45:10 +08:00
Tian Hao
0c67282bc5
component/bt : fix merge missing of scan fail bugfix
2017-11-08 18:22:05 +08:00
Wangjialin
305e2695d6
bugfix(80m flash): cherry pick from idf3.0, add gpio config and vddsdio config
...
1. raise vddsdio for 1.8v flash
2. gpio matrix config for flash
3. fix esp_restart function
todo:
to decide whether to raise core voltage
to test deep-sleep current
2017-11-08 12:50:08 +08:00
Jiang Jiang Jian
3aad5a09f4
Merge branch 'bugfix/btdm_disable_role_switch' into 'master'
...
component/bt: disable the use of ROLE_SWITCH feature for classic BT as workaround
See merge request !1446
2017-11-07 15:44:50 +08:00
XiaXiaotian
4aa6551fe0
Fix a problem which initialize current can reach 800mA.
2017-11-02 11:02:38 +08:00
island
c8525c21b9
component/bt: Fix scan problem of bonded device using public address
2017-10-25 15:48:33 +08:00
XiaXiaotian
e5b75b4a17
fix the bug that fail to reconnect to some APs
2017-10-20 11:52:53 +08:00
Ivan Grokhotkov
207524f3da
Merge branch 'feature/update_phy362_rtc230_for_2_1' into 'release/v2.1'
...
component/esp32 : update rtc phy lib
See merge request !1400
2017-10-17 14:14:46 +08:00
Tian Hao
3a9781ff45
component/esp32 : remove phy init data description
2017-10-17 11:28:35 +08:00
Tian Hao
edbd744991
component/esp32 : update rtc phy lib
...
RTC V230
add BT AGC saturation protection, replace RTC V229.
PHY V362
Power up print: "phy_version: 362.0, 61e8d92, Sep 8 2017, 18:48:13"
1. esp_init_data_v3.bin
modify TX target power
modify WIFI & BT RX gain table
2. modify phy_close_rf()
3. add phy_set_most_tpw()
4. 26M crystal work OK
5. noise_check_loop ok
2017-10-16 18:00:56 +08:00
Angus Gratton
817d75a4e1
sdmmc tests: Don't run under CI in v2.1
2017-10-16 17:19:00 +08:00
Jiang Jiang Jian
a73c78a85b
Merge branch 'bugfix/backport_to_2.1' into 'release/v2.1'
...
Backport several bug fixes to 2.1 branch
See merge request !1318
2017-10-11 16:56:22 +08:00
Jiang Jiang Jian
84413f641d
Merge branch 'bugfix/btdm_ea_overload_for_rel_v2.1' into 'release/v2.1'
...
component/bt: update bluetooth library to increase programming delay in EA
See merge request !1344
2017-10-11 16:52:18 +08:00
Jiang Jiang Jian
b6c91ce088
Merge branch 'bugfix/fix_a_wpa_wpa2_bug_v2.1' into 'release/v2.1'
...
Fix a wpa and wpa2 bug
See merge request !1343
2017-10-11 16:50:53 +08:00
wangmengyang
0c75b6e6e6
component/bt: update bluetooth library to increase programming delay in EA
2017-09-30 18:40:49 +08:00
Jiang Jiang Jian
90aafbd25b
Merge branch 'feature/ip_route_base_on_source_ip_v2.1' into 'release/v2.1'
...
Broadcast IP route based on source IP address.
See merge request !1218
2017-09-30 16:04:03 +08:00
Jiang Jiang Jian
b95a6b01ba
Merge branch 'bugfix/btdm_update_lib_for_2_1_1' into 'release/v2.1'
...
component/bt : update libbtdm_app.a
See merge request !1283
2017-09-30 15:53:34 +08:00
Jiang Jiang Jian
151c6d9016
Merge branch 'bugfix/btdm_fixbugs_for_ble_v2.1' into 'release/v2.1'
...
component/bt: fix ble bugs for v2.1
See merge request !1261
2017-09-30 15:53:00 +08:00
XiaXiaotian
62c2c37606
Fix a wpa and wpa2 bug
2017-09-30 15:51:33 +08:00
Angus Gratton
43b25e2a2f
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 10:02:31 +10:00
michael
5db3b86871
fix(spi_master): fix the bug that VSPI no respond when host changed
...
from HSPI to VSPI, and vice versa.
fix the SPI control bits written wrong in the headers.
TW#12123, Github#477
2017-09-26 00:04:04 +08:00
Jeroen Domburg
65734a8344
Fix an assert that erroneously triggered when popping a zero-byte payload from the end of the ringbuffer
2017-09-26 00:02:52 +08:00
Jeroen Domburg
fdb390aeac
Place uart_tx_wait_idle in IRAM
2017-09-26 00:02:20 +08:00
Angus Gratton
6f7d6dbde4
nghttp2: Add submodule to COMPONENT_SUBMODULES, update to release v1.24
...
Removes need for -DNDEBUG hack in component.mk (fixed upstream).
2017-09-25 23:54:43 +08:00
Ivan Grokhotkov
348825a438
freertos: make sure xPortGetCoreID is placed into IRAM
...
In some cases, xPortGetCoreID was not inlined, and ended up in flash.
Since this function is used in many situations when cache is disabled,
that caused exceptions. Adding IRAM attribute to fix that.
2017-09-25 23:53:19 +08:00
Ivan Grokhotkov
23d7dd8b8e
freertos: place uxTopUsedPriority into DRAM
...
When debugging crashes caused by flash cache access errors, OpenOCD may
request the value of uxTopUsedPriority when cache is disabled. Placing
it into IRAM to avoid an error in such case.
2017-09-25 23:52:30 +08:00
Ivan Grokhotkov
7655f3e92c
nghttp: build port directory
...
Fixes https://github.com/espressif/esp-idf/issues/843
2017-09-25 23:51:22 +08:00
Ivan Grokhotkov
a61ef26be1
nvs: check CRC of items on full pages
...
Previously NVS did check CRC values of key-value pairs on the active
page, but the check for full pages was missing. This adds the necessary
check and a test for it.
2017-09-25 23:49:27 +08:00
Ivan Grokhotkov
0f238dcdec
sdmmc: fix reads/writes to/from unaligned buffers
...
SDMMC hardware treats all buffers as aligned, and ignores 2 LSBs of
addresses written into DMA descriptors. Previously SDMMC host driver
assumed that data buffers passed from SDDMC command layer would be
aligned. However alignment checks were never implemented in the command
layer, as were the checks that the buffer coming from the application
would be in DMA capable memory. Most of the time this was indeed true.
However in some cases FATFS library can pass buffers offset by 2 bytes
from word boundary. “DMA capable” restriction may be broken if pSRAM
support is used.
This change adds buffer checks to the SDMMC host driver (alignment and
DMA capability), so that the host layer will error out for incompatible
buffers. In SDMMC command layer, a check is added to read and write
functions. If an incompatible buffer is passed from the application, new
buffer (512 bytes size) is allocated, and the transfer is performed
using {READ,WRITE}_SINGLE_BLOCK commands.
2017-09-25 23:45:40 +08:00
Ivan Grokhotkov
70f3dccaf5
driver/rtc: fix copy-paste error in HOLD_FORCE field name for GPIO26
...
This error prevented EXT1 wakeup using GPIO26 from working.
2017-09-25 23:33:35 +08:00
Tian Hao
8e3de3fbde
component/bt : update libbtdm_app.a
...
1. fix 0x3ffc0000 overwite bug
2. no cswitch jump table
3. fix hci controller to host flow control bug
4. fix SMP negtive LTK replay bug
5. btdm .data init bug
6. fix scan fail after long time bug
7. change pll track interrupt bits
2017-09-25 18:33:24 +08:00
zhiweijian
691c8693e6
Component/bt: add random address check for set_rand_addr()
2017-09-22 20:19:02 +08:00
zhiweijian
25b0a4f514
Component/bt: abnormal behavior for update conn param command
2017-09-22 20:19:02 +08:00
Tian Hao
fbdec19c23
component/bt : fix btc security storage bug
...
1. Remove the bond_device global variable.
2. Fix bond_device add cause memory exception
3. Modify the code location.
4. modify thread security
5. remove esp_ble_clear_bond_device_list() API
6. modify esp_ble_get_gond_device_list() to return list immediately, rather than wait event.
7. modify the gatt_security_server demo to show how to remove all the bonded devices.
8. fix some code bugs may cause something error.
9. modify gatt_security_server demo
2017-09-22 20:19:02 +08:00
Tian Hao
4fd437d466
component/bt : support remove bonded device
...
1. add feature of remove bonded devices.
2. fix SMP key size bug
3. fix privacy bug
4. fix gatt set value bug
5. add gatt security client demo
6. change gatt server/gatt client demo
2017-09-22 20:19:02 +08:00
XiaXiaotian
024f853964
Broadcast IP route based on source IP address.
...
If destination IP address of the packet is broadcast address, firstly compare
source IP address with the that of each network interface. If it matches,
packet is forwarded from the interface.
2017-09-05 17:51:15 +08:00
XiaXiaotian
cf185846f5
fix set locked channel typo of smartconfig
2017-08-25 16:25:03 +08:00
Ivan Grokhotkov
b7f7a92c5d
esp32: by default, set 40MHz crystal frequency
2017-08-23 16:39:22 +08:00
Ivan Grokhotkov
efdbc63b5f
Merge branch 'cherry-pick-292c2abd' into 'release/v2.1'
...
Merge branch 'bugfix/init_nvs_in_bluetooth' into 'master'
See merge request !1031
2017-07-23 14:35:33 +08:00
Ivan Grokhotkov
16cd517410
Merge branch 'bugfix/tw14046_scan_assert_in_non_sleep_mode' into 'release/v2.1'
...
Fix the bug that scan assert in non sleep mode.
See merge request !1023
2017-07-20 14:57:04 +08:00
Ivan Grokhotkov
8fc78a958a
Merge branch 'bugfix/init_nvs_in_bluetooth' into 'master'
...
bt: call nvs_flash_init in examples, show error if NVS is not initialized
See merge request !1003
2017-07-20 14:26:14 +08:00
Tian Hao
b2d41a3506
component/bt : update libbtadm_app.a (easing syncerr to fix RX packet losing bug)
2017-07-20 11:51:28 +08:00
XiaXiaotian
5d1ec0da02
Fix the bug that scan assert in non sleep mode.
2017-07-19 14:12:14 +08:00
Jiang Jiang Jian
6a9e9759ea
Merge branch 'bugfix/l2cap_disc_tmo' into 'release/v2.1'
...
component/bt: fix a bug for L2CAP state machine to access lcb after it is released
See merge request !1015
2017-07-18 19:49:05 +08:00
wangmengyang
0de622e4f6
component/bt: fix a bug for L2CAP state machine to access lcb after it is released
...
cherry-pick commit 6da84eff
2017-07-17 21:30:40 +08:00
Ivan Grokhotkov
fc67a8b1b9
Merge branch 'cherry-pick-5d736f7eca' into 'release/v2.1'
...
mbedtls: Fix memory leak in initial ECDH exchange if OOM/failure occurs
See merge request !995
2017-07-17 21:18:32 +08:00