Angus Gratton
982a7fa499
Merge branch 'fix/spi_slave_free_cs_v3.1' into 'release/v3.1'
...
spi_slave: fix the issue rx dma get broken by master unexpected transaction (backport v3.1)
See merge request idf/esp-idf!3294
2018-09-18 08:08:41 +08:00
Angus Gratton
52413e9925
Merge branch 'feature/signature_verify_updates_v3.1' into 'release/v3.1'
...
secure boot: Support signed app verification without hardware secure boot (backport v3.1)
See merge request idf/esp-idf!3184
2018-09-18 07:56:12 +08:00
Angus Gratton
cfb96e67f9
cmake: Fix "make flash" & "ninja flash" targets
...
As reported on forum.
Requires a small CMake wrapper script to pick
up environment variables at flashing time.
2018-09-18 09:32:54 +10:00
michael
a7c67c1681
spi_slave: fix the issue rx dma get broken by master unexpected transaction
2018-09-17 22:36:49 +08:00
zhiweijian
53d75901a9
Component/bt: fix save error key in smp when reconnect
2018-09-17 20:13:30 +08:00
Jiang Jiang Jian
8f665c3393
Merge branch 'bugfix/btdm_enable_modem_sleep_by_default_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_enable_modem_sleep_by_default_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3275
2018-09-17 16:17:46 +08:00
XiaXiaotian
738afe2de3
esp32: backport several WiFi bug fixes to v3.1
...
Backport following WiFi fixes to v3.1:
1. Fix AMPDU RX sequence compitability bug
2. Optimize scan capability in all channel scan
3. Fix some modem sleep bugs
4. Update API to set CSI channel filter and HT_LTF data generating
2018-09-17 14:40:24 +08:00
baohongde
ea3b2716fd
component/bt: Unlock reserve of SCN 1 for HFP (backport v3.1)
...
A cherry-pick of MR !3269
2018-09-17 11:01:58 +08:00
Jiang Jiang Jian
bfcb673c8e
Merge branch 'bugfix/tw24694_dns_request_no_reply_v3.1' into 'release/v3.1'
...
lwip: add code for sending gratuitous ARP periodically (backport v3.1)
See merge request idf/esp-idf!3195
2018-09-16 15:18:39 +08:00
Jiang Jiang Jian
e5d8a68d96
Merge branch 'bugfix/mdns_service_txt_set_backportv3.1' into 'release/v3.1'
...
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records (backport v3.1)
See merge request idf/esp-idf!3254
2018-09-16 15:12:03 +08:00
Jiang Jiang Jian
760772ec4b
Merge branch 'bugfix/ble_adv_data_tx_power_v3.1' into 'release/v3.1'
...
fix TX power value in ble adv data is incorrect
See merge request idf/esp-idf!3187
2018-09-16 14:54:59 +08:00
wangmengyang
c6d2fc6807
component/bt: enable bluetooth modem sleep as default setting
2018-09-14 17:01:45 +08:00
Piyush Shah
9237110c5c
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records
...
Allocation was happening later, causing possible use of stack variables
of caller function, which could be invalid.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2018-09-14 11:17:53 +05:30
wangmengyang
4c240064ab
component/bt: stop to inititate AVRC connection when A2DP connection fails to set up
...
AVRCP connection binds to A2DP in current implementation, despite the two profiles are\
independent according to specification. AVRCP connection is not necessary to set-up \
if A2DP connection fails to establish
2018-09-13 17:58:00 +08:00
wangmengyang
da4108dd1e
component/bt: stop to initiate AVDTP connection on failure of A2DP service discovery
...
In opening state of AVDTP connection, if SDP client fails to get valid A2DP service record\
from peer SDP server, then do not initiate AVDTP connection request
2018-09-13 17:58:00 +08:00
wangmengyang
01994059e2
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device
...
In pevious implementation, A2DP sink will register an A2DP source Stream End Point(SEP) although the SEP is not\
supposed to be used. Now remove the unused SEP for source so that only one role of A2DP can be supported at one
time. Service record in local SDP server only includes at most one service for A2DP sink role or source
2018-09-13 17:58:00 +08:00
He Yin Ling
0e1f561a32
test: fix incorrect tx power value in adv
2018-09-13 15:48:52 +08:00
Renz Christian Bagaporo
bc8540fec1
cmake: fix source list issues
2018-09-13 11:13:27 +08:00
Renz Bagaporo
7edf2bf66c
cmake: make main a component again
2018-09-13 11:13:27 +08:00
Tian Hao
a05868f0a8
fix TX power value in ble adv data is incorrect
...
refence to https://github.com/espressif/esp-idf/issues/2284
Before fixing, the tx power in adv data is always 0xeb(-21dbm).
restriction:
If change BLE advertising TX power, please call esp_ble_gap_config_adv_data()
after BLE adv TX power changed.
Later, will implement set BLE advertising TX power via HCI, then the
TX power value in adv data can be update automatically after BLE adv
TX power changed.
2018-09-12 10:19:08 +00:00
zhangyanjiao
f6f4d7b410
add code for sending gratuitous ARP periodically
2018-09-11 15:20:24 +08:00
zhangyanjiao
f617a33b8d
esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0
2018-09-11 10:57:17 +08:00
michael
b3697e7741
sdio_slave: fix the recv crash when trans finish and load at the same time
2018-09-10 15:17:07 +08:00
Jiang Jiang Jian
35785d08fd
Merge branch 'feature/btdm_legacy_paring_v3.1' into 'release/v3.1'
...
component/bt: Add Legacy Pairing (backport 3.1)
See merge request idf/esp-idf!3193
2018-09-07 14:44:19 +08:00
Ivan Grokhotkov
297945c32e
Merge branch 'test/split_test_env_for_integration_test_v3.1' into 'release/v3.1'
...
test: split CI test environment (backport v3.1)
See merge request idf/esp-idf!3211
2018-09-07 11:06:51 +08:00
Jiang Jiang Jian
d193895ec6
Merge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3188
2018-09-06 19:52:05 +08:00
He Yin Ling
f1bf446410
test: split CI test environment:
...
Currently CI test environment is complicated, usually includes NIC, AP.
These devices are not used for a lot test cases. Therefore we split the
test environment, remove unnecessary devices. Then it will be easier to
create CI runners.
2018-09-06 16:35:34 +08:00
Jiang Jiang Jian
e6a0eb74c8
Merge branch 'bugfix/btdm_discovery_ble_v3.1' into 'release/v3.1'
...
component/bt : fix bug that set discovery mode will stop ble adv
See merge request idf/esp-idf!3189
2018-09-06 14:19:31 +08:00
zhangyanjiao
c27c381ba2
defination: fix the bug that esp_derive_local_mac() defination missing
2018-09-05 14:42:23 +08:00
baohongde
95c5805088
component/bt: Add Legacy Pairing (backport 3.1)
...
A cherry-pick of MR !3057
2018-09-04 20:59:03 +08:00
Tian Hao
196793dccb
component/bt : fix bug that set discovery mode will stop ble adv
...
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode,
when set discovery mode for BR/EDR, it will stop ble advertising.
Reference to https://github.com/espressif/esp-idf/issues/2306
2018-09-04 20:29:36 +08:00
wangmengyang
7c6d447938
component/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted from uninitialized data buffer length
2018-09-04 20:24:00 +08:00
Angus Gratton
b069b31a2c
secure boot: Support secure boot signatures without hardware secure boot
...
Allows OTA updates to be secured via signature checks, without requiring the overhead or complexity
of a full secure boot implementation.
Uses same signing mechanisms (build system and/or espsecure.py as Secure Boot).
Requires:
* [ ] More testing
* [ ] Documentation
2018-09-04 19:10:02 +08:00
Jiang Jiang Jian
969161183a
Merge branch 'bugfix/esp_wifi_disconnect_fail_v3.1' into 'release/v3.1'
...
update wifi lib to fix two bugs (backport v3.1)
See merge request idf/esp-idf!3158
2018-09-04 15:06:49 +08:00
Jiang Jiang Jian
45e29a817c
Merge branch 'bugfix/btdm_update_private_address_v3.1' into 'release/v3.1'
...
component/bt: Update BLE private address after it's private address interval (backport 3.1)
See merge request idf/esp-idf!3170
2018-09-04 14:10:47 +08:00
Jiang Jiang Jian
dabebbf639
Merge branch 'bugfix/btdm_rfcomm_test_command_cause_crash_v3.1' into 'release/v3.1'
...
component/bt: Fix bug rfcomm test command cause crash (backport 3.1)
See merge request idf/esp-idf!3169
2018-09-04 14:10:05 +08:00
Jiang Jiang Jian
cd78dc632a
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success_v3.1' into 'release/v3.1'
...
component/bt: Fix bug of SDP find services by uuid always return success (backport 3.1)
See merge request idf/esp-idf!3164
2018-09-04 14:09:36 +08:00
baohongde
6a2f492832
component/bt: Update BLE private address after it's private address interval (backport 3.1)
...
A cherry-pick of MR !2987
2018-09-03 14:27:15 +08:00
baohongde
24a03a8d3f
component/bt: Fix bug rfcomm test command cause crash (backport 3.1)
...
A cherry-pick of MR !3080
2018-09-03 14:17:56 +08:00
Darian Leung
27ffeacf07
docs/rewrite_mesh_docs
...
The following commit rewrites the ESP-MESH docs. This commit includes
new diagrams and a structure approach to the mesh docs. Some mesh api references
have also been modified.
2018-09-03 13:03:32 +08:00
baohongde
b1da63d645
component/bt: Fix bug of SDP find services by uuid always return success (backport 3.1)
...
A cherry-pick of MR !3036
2018-09-03 11:52:19 +08:00
zhangyanjiao
ec3a1318dc
update wifi lib to fix two bugs
...
1. fix the esp_wifi_disconnect() err when wifi is not started or inited
2. make g_intr_lock_mux and g_osi_funs_p in DRAM
2018-08-31 20:10:20 +08:00
Jiang Jiang Jian
22da5f6de9
Merge branch 'bugfix/btdm_security_vulnerability_v3.1' into 'release/v3.1'
...
fix bluetooth security vulnerability of ECDH public key checking
See merge request idf/esp-idf!3139
2018-08-31 02:11:55 +08:00
XiaXiaotian
2ad5686937
esp32: reorder MPDU as AMPDU
...
Some APs transmit AMPDU and MPDU by turns. Moreover, the sequence
numbers of AMPDU and MPDU are out of order, e.g. MPDU(1253) -
AMPDU(1251, 1252) - MPDU(1254) - AMPDU(1255, 1256). In order to
receive both AMPDU and MPDU in order, MPDU must be reordered with
AMPDU.
2018-08-30 11:46:16 +08:00
He Yin Ling
84d10d8dad
Merge branch 'test/fix_test_summary_duplicate_v3.1' into 'release/v3.1'
...
test: fix duplicated summary of BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009
See merge request idf/esp-idf!3086
2018-08-30 11:20:58 +08:00
Tian Hao
7f8de47631
fix bluetooth security vulnerability of ECDH publick key checking
2018-08-30 11:09:02 +08:00
zhiweijian
a83c918946
Component/bt: fix memory leak in security server
2018-08-29 17:56:14 +00:00
Jiang Jiang Jian
9f791e06f6
Merge branch 'bugfix/mesh_fix_hard_to_find_parent_v3.1' into 'release/v3.1'
...
mesh: bugfix and add two APIs (backport3.1)
See merge request idf/esp-idf!3134
2018-08-30 01:54:08 +08:00
Jiang Jiang Jian
c3ba237846
Merge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test_v3.1' into 'release/v3.1'
...
Component/bt: fix crash when BLE do connect and disconnect stress test(backport v3.1)
See merge request idf/esp-idf!3119
2018-08-30 01:51:33 +08:00
zhiweijian
17c4a76395
component/bt: fix crash when BLE do con and duscon stress test
2018-08-30 00:36:57 +08:00
Jiang Jiang Jian
114b16f0d5
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes_v3.1' into 'release/v3.1'
...
Component/bt: fix get error adv packet sometimes(backport v3.1)
See merge request idf/esp-idf!3082
2018-08-29 23:54:36 +08:00
Jiang Jiang Jian
e1fc259600
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_a2dp_sink_pcm_buffer_size_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3116
2018-08-29 22:54:58 +08:00
Angus Gratton
1d537d29d5
Merge branch 'feature/cmake_v3.1' into release/v3.1
2018-08-29 19:30:06 +08:00
qiyuexia
09f5854c9a
mesh: bugfix and add two APIs
...
1. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
2. fix hard to find the parent during connect.
3. disable Wi-Fi channel switch function.
4. fix a typo of MESH_EVENT_NO_PARENT_FOUND.
2018-08-29 17:28:17 +08:00
chensheng
200d8d235b
fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
2018-08-29 12:27:59 +08:00
zhiweijian
bfc8142c99
Component/bt: fix get error adv packet sometimes
2018-08-28 14:13:10 +08:00
Jiang Jiang Jian
bcebf3e6f1
Merge branch 'bugfix/btdm_check_slave_feature_before_set_afh_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_check_slave_feature_before_set_afh(backport v3.1)
See merge request idf/esp-idf!3103
2018-08-28 13:40:56 +08:00
Jiang Jiang Jian
4577270fc3
Merge branch 'bugfix/tw23404_dhcp_NAK_issue_v3.1' into 'release/v3.1'
...
lwip: optimize LWIP timer (backport v3.1)
See merge request idf/esp-idf!3060
2018-08-28 13:39:46 +08:00
wangmengyang
9f6af0ad4b
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
2018-08-28 10:59:22 +08:00
Jiang Jiang Jian
c060853f70
Merge branch 'bugfix/fix_probable_mem_leak_v3.1' into 'release/v3.1'
...
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)
See merge request idf/esp-idf!3106
2018-08-28 10:41:42 +08:00
Jiang Jiang Jian
501d81ce32
lwip: optimize LWIP timer
...
Port LWIP timer implementation in LWIP v2.0.3 to IDF v3.0
2018-08-27 21:59:36 +08:00
Jiang Jiang Jian
f9a770134b
Merge branch 'bugfix/timer_oneshot_timeout_twice_v3.1' into 'release/v3.1'
...
component/bt: Some timer oneshot will timeout twice (backport v3.1)
See merge request idf/esp-idf!3063
2018-08-27 20:42:44 +08:00
Jiang Jiang Jian
b4fc5b0e8f
Merge branch 'bugfix/fix_several_wifi_bugs_v3.1' into 'release/v3.1'
...
esp32: update wifi lib to fix several WiFi bugs (backport v3.1)
See merge request idf/esp-idf!3098
2018-08-27 20:38:35 +08:00
Angus Gratton
a821805ddc
cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows)
2018-08-27 18:02:30 +08:00
Hrishikesh Dhayagude
7ffd68cac2
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)
...
Multiple modules register their callback BTA_GATTS_AppRegister().
If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.
So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-27 12:03:20 +05:30
Angus Gratton
dd77a4c65d
cmake: Account for missing partition CSV file at cmake runtime
...
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)
2018-08-27 11:56:48 +08:00
wangmengyang
a47cc3dd46
component/bt: check support of AFH in remote slave device's LM feature then determine whether to send LMP_set_AFH
2018-08-27 11:20:34 +08:00
Angus Gratton
7cd75f30f2
Merge branch 'fix/spi_dma_config_in_iram_v3.1' into 'release/v3.1'
...
spi: fix the issue that spi cannot be used when flash is disabled (backport v3.1)
See merge request idf/esp-idf!3075
2018-08-27 08:14:31 +08:00
Liu Zhi Fu
3d2cd911f0
esp32: update wifi lib to fix several WiFi bugs
...
Fix following WiFi bugs:
1. Shouldn't scan when connect
2. Check beacon length in modem sleep
3. Fix the bug that AP may deauth wrong station when inactivity timer expires
4. Fix the bug that WiFi assert the system when receiving empty MCS in association response frame
2018-08-26 13:15:53 +08:00
baohongde
da94560ec5
component/bt: Some timer oneshot will timeout twice (backport v3.1)
...
A cherry-pick of MR !2979
2018-08-25 15:50:46 +00:00
Michael (XIAO Xufeng)
125da7a1c2
spi: fix the issue that spi cannot be used when flash is disabled
...
The dma configuration function called in the ISR should be put into the IRAM.
Fixes https://github.com/espressif/esp-idf/issues/2307 .
2018-08-24 05:56:17 +00:00
He Yin Ling
ceca7b741c
test: disable mesh recreate network test:
...
We have fixed a bug in test script. Before that, we didn't do strict check when generate the mesh tree, which makes the test pass.
Temp disable these cases, to let CI pass before bug fixed.
2018-08-23 19:15:12 +08:00
Angus Gratton
7cc5888583
cmake/partitions: Apply offset to partition table metadata correctly
...
Also warn if the parttool.py has an error
2018-08-23 11:15:23 +10:00
Angus Gratton
c16fbbf614
partition table: Remove hard-coded offsets from default partition tables
...
Makes them compatible with moving the partition table offset
2018-08-20 16:58:00 +10:00
Angus Gratton
b64815be4c
cmake: Fix bt component dependencies
2018-08-20 10:47:55 +10:00
Angus Gratton
885df4c90f
cmake: Fix flasher argument generation
2018-08-20 10:47:42 +10:00
Angus Gratton
7f50bb7e7f
Merge branch 'release/v3.1' into feature/cmake_v3.1
2018-08-17 14:14:10 +10:00
Liu Han
1bbe9538ef
mdns: Fix a portion of the queries are issued with the wildcard query type
2018-08-14 18:34:40 +10:00
Jiang Jiang Jian
39dd71d958
Merge branch 'bugfix/btdm_ecdh_public_key_not_check_v3.1' into 'release/v3.1'
...
Bugfix/btdm ecdh public key not check v3.1 (backport v3.1)
See merge request idf/esp-idf!2991
2018-08-14 13:20:22 +08:00
Jiang Jiang Jian
2dfe58e1b3
Merge branch 'bugfix/tw24252_fix_nonblocking_tcp_close_issue_v3.1' into 'release/v3.1'
...
lwip: fix nonblocking tcp close issue (backport v3.1)
See merge request idf/esp-idf!2938
2018-08-14 13:20:08 +08:00
Angus Gratton
2e60a4b751
Merge branch 'bugfix/gpio_reset_bitmask_v3.1' into 'release/v3.1'
...
gpio: Bitmask overflow fix in gpio_reset_pin (backport v3.1)
See merge request idf/esp-idf!3005
2018-08-14 11:29:15 +08:00
Taavi Hein
8b6060e24e
gpio: Bitmask overflow fix in gpio_reset_pin
...
For pins 32 and up the BIT(nr) macro used here overflowed,
causing undetermined GPIO pins to be reset.
Example: freeing SPI device/bus where CS is on pin 33
caused debug UART to cease communication, TXD0 was
disabled.
Fixed as BIT64(nr) macro, to be used elsewhere as needed.
For example in definitions like GPIO_SEL_32..GPIO_SEL_39.
2018-08-14 04:23:56 +03:00
Ivan Grokhotkov
f63ab0792b
ulp: add tests for jumps instruction
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
f4c8df2635
ulp: fix ULP binary format documentation
...
Fix incorrect offset value (4+2+2+2+2=12) of arbitrary data in ULP
binary format.
Closes https://github.com/espressif/esp-idf/issues/1705 .
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
db5c542e96
ulp: use += instead of := when setting component vars
...
Component which includes component_ulp_common.mk may also need to set
some of the same COMPONENT_XXX variables. Logically, we should combine
the lists of files to embed, ldflags, extra include dirs, etc.
Fixes https://github.com/espressif/esp-idf/issues/2157 .
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
bb8ecf8a7b
ulp: fix missing include in esp32/ulp.h header
...
ulp.h uses some register base addresses, so needs to include soc.h
2018-08-13 23:23:55 +03:00
yulong
fa8dc32800
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.
...
1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.
2018-08-13 19:47:02 +08:00
Angus Gratton
695d95c983
Merge branch 'bugfix/http_client_null_auth_header_v3.1' into 'release/v3.1'
...
esp_http_client: Fixed exception on 401 without Www-Authenticate header (backport v3.1)
See merge request idf/esp-idf!2978
2018-08-13 11:48:26 +08:00
Angus Gratton
d91c425178
Merge branch 'bugfix/unit-test-build-fix_v3.1' into 'release/v3.1'
...
unit-test-app: don’t include project.mk for ut- targets (backport v3.1)
See merge request idf/esp-idf!2850
2018-08-13 11:42:43 +08:00
zhiweijian
281877ada5
Component/bt: fix get bond list error when connection with no bond
2018-08-10 21:00:56 +08:00
Tuan PM
9a273863ba
esp_http_client: Fixed exception on 401 without Www-Authenticate header
...
Closes https://github.com/espressif/esp-idf/issues/2246
2018-08-10 14:23:19 +07:00
Angus Gratton
abbc13af62
freertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()
...
Saves a few cycles by only testing the count validity once, and never for the common case where the
mutex was not recursively locked.
2018-08-10 16:53:17 +10:00
Liu Zhi Fu
9fb746824a
lwip: fix nonblocking tcp close issue
...
Fix assert issue causes by closing nonblocking tcp socket.
2018-08-10 06:21:56 +00:00
Angus Gratton
8a1adb0d50
Merge branch 'bugfix/spi_flash_mmap_malloc_internal_v3.1' into 'release/v3.1'
...
spi_flash: allocate mmap pages array in internal memory (backport v3.1)
See merge request idf/esp-idf!2961
2018-08-10 13:43:55 +08:00
Angus Gratton
ddb2570849
Merge branch 'mesh/bugfix_parent_switch_backport_v3.1' into 'release/v3.1'
...
mesh: modify parent switch mechanism (backport3.1)
See merge request idf/esp-idf!2977
2018-08-10 13:42:32 +08:00
Jiang Jiang Jian
7f4b77ca5b
Merge branch 'bugfix/add_mutex_for_some_touchpad_apis_v3.1' into 'release/v3.1'
...
fix(touch): add_mutex_for_some_touchpad_apis (backport v3.1)
See merge request idf/esp-idf!2963
2018-08-10 12:18:33 +08:00
qiyuexia
d421663d3f
mesh: modify parent switch mechanism
...
1. modify parent switch mechanism.
2. fix non-root doesn't clear the layer value in nvs.
3. fix retransmit the remove announcement packets.
4. add API esp_mesh_flush_upstream_packets().
5. automatically adjust passsive scan time based on the change of beacon interval.
2018-08-10 11:45:11 +08:00
Jiang Jiang Jian
c455d6f2a0
Merge branch 'feature/nvs_version_check_v3.1' into 'release/v3.1'
...
nvs_flash: Version compatibility check for nvs storage (backport 3.1)
See merge request idf/esp-idf!2958
2018-08-10 11:36:39 +08:00
Jiang Jiang Jian
b3eee7d58f
Merge branch 'bugfix/btdm_hfp_invalid_sco_param_v3.1' into 'release/v3.1'
...
component/bt: modify the invalid retransmission setting for SCO link in HFP(backport v3.1)
See merge request idf/esp-idf!2956
2018-08-10 11:10:55 +08:00
Jiang Jiang Jian
8a6c1df041
esp32: backport several WiFi bug fixes to v3.1
...
Backport following bug fixes to v3.1:
1. Bug fix of may connect to wrong AP in all channel scan
2. Station state machine change and fix ap loss
3. Add compatible to ccmp encryption
4. Update libphy.a to v3960:
4.1 Decrease phy_init time from 900us to 347us in sleep wakeup
4.2 Fix RX STBC initialization
4.3 Modify set_chan function to fix interrupt watchdog issue
5. Fix several wpa2 enterprise issues
5.1 Fix heap corrupted bug
5.2 Fix memory leak bug
5.3 Make wpa2 enterprise thread-safe
Closes https://github.com/espressif/esp-idf/issues/1569
6. Bugfix of coex wifi pm
2018-08-09 13:24:16 +00:00
He Yin Ling
7e02cd3498
Merge branch 'bugfix/remove_check_for_reason_assoc_expire_backport_v3.1' into 'release/v3.1'
...
test: remove check for REASON_ASSOC_EXPIRE (backport v3.1)
See merge request idf/esp-idf!2953
2018-08-09 21:23:21 +08:00
Angus Gratton
ef30229e52
Merge branch 'feature/http_firmware_upgrade_v3.1' into 'release/v3.1'
...
esp_https_ota: Add esp_https_ota component (Backport v3.1)
See merge request idf/esp-idf!2954
2018-08-09 08:20:33 +08:00
fuzhibo
6ee884c861
fix(touch): add_mutex_for_some_touchpad_apis
2018-08-08 20:06:54 +08:00
Jitin George
002189cd1a
esp_http_client: Add support for getting transport type
2018-08-08 14:55:35 +05:30
Jitin George
fbe792f33f
esp_https_ota: Add support for HTTPS based ota feature
2018-08-08 14:55:22 +05:30
Ivan Grokhotkov
b88ae6c39f
spi_flash: allocate mmap pages array in internal memory
...
* spi_flash_mmap_pages needs pages array to be in internal memory.
Document and check this.
* Fix a bug that spi_flash_mmap did not allocate pages array in
internal memory.
* Minor style fixes: const-ify pages argument of spi_flash_mmap, add
spaces around operators, mark output arguments with [out].
Closes https://github.com/espressif/esp-idf/issues/2229 .
2018-08-08 11:30:31 +03:00
Angus Gratton
45d7039623
Merge branch 'feature/support_for_XM25QU64A_v3.1' into 'release/v3.1'
...
feature(flash): set QIO mode for XM25QU64A(1V8_8MB_flash) (backport v3.1)
See merge request idf/esp-idf!2950
2018-08-08 16:30:09 +08:00
Tuan
b2901d7e2f
esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport (backport v3.1)
2018-08-08 16:24:04 +08:00
Sagar Bijwe
a3b5a23b87
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-08 12:43:50 +05:30
Ivan Grokhotkov
eaa48f380a
Merge branch 'bugfix/add_queueset_critical_sections_v3.1' into 'release/v3.1'
...
freertos: Add critical sections to queue sets (backport v3.1)
See merge request idf/esp-idf!2789
2018-08-08 14:46:25 +08:00
wangmengyang
78c083325f
component/bt: modify the invalid retransmission setting for SCO link in HFP
2018-08-08 14:40:22 +08:00
He Yin Ling
66e7027e7a
test: update Wi-Fi test cases:
...
1. The test step for error code REASON_ASSOC_EXPIRE is not reliable. SoftAP
could also send error code WIFI_REASON_NOT_AUTHED
2. STA will be disconnected now if softAP restart DHCP server
2018-08-08 13:04:16 +08:00
baohongde
6210272bfd
component/bt: Fix bug of SPP crash on reset
...
In response to: https://github.com/espressif/esp-idf/issues/1998
2018-08-08 12:03:32 +08:00
chenjianqiang
57ed12a019
feature(flash): support for QIO mode of XM25QU64A
2018-08-08 10:58:13 +08:00
Ivan Grokhotkov
cb05e152b9
Merge branch 'fix/sdio_speed_4bit_v3.1' into 'release/v3.1'
...
backport v3.1: fix(sdio): update sdio to better run in 4bit HS mode
See merge request idf/esp-idf!2759
2018-08-06 15:17:26 +08:00
Jiang Jiang Jian
f999688f2c
Merge branch 'bugfix/coex_pause_v3.1' into 'release/v3.1'
...
fix coex pause cause bluetooth performance decrease (backport v3.1)
See merge request idf/esp-idf!2864
2018-08-06 15:05:19 +08:00
Angus Gratton
ac19aef689
Merge branch 'feature/mbedtls_2_12_0_v3.1' into 'release/v3.1'
...
mbedtls: update to 2.12.0 (backport v3.1)
See merge request idf/esp-idf!2932
2018-08-06 14:23:10 +08:00
Angus Gratton
d88b705562
Merge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer_for_v3.1' into 'release/v3.1'
...
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1
See merge request idf/esp-idf!2934
2018-08-06 14:22:29 +08:00
Tian Hao
7d9d4d16e5
fix coex pause cause bluetooth performance decrease
...
1. it may cause BLE connection unstable
2. it may cause Classic BT connection unstable
3. it may cause BLE/BREDR scan performance decrease
2018-08-06 11:19:17 +08:00
Jiang Jiang Jian
1e92ad77c4
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones_v3.1' into 'release/v3.1'
...
Component/bt: fix SC_MITM_BOND failed in smp for iphones for v3.1
See merge request idf/esp-idf!2923
2018-08-05 23:48:29 +08:00
Ivan Grokhotkov
e136fb7e18
mbedtls: update to 2.12.0
2018-08-05 09:17:40 +03:00
Jiang Jiang Jian
4225b9794f
Merge branch 'bugfix/ampdu_duplicate_v3.1' into 'release/v3.1'
...
Wifi: fix ampdu duplicate issue (backport v3.1)
See merge request idf/esp-idf!2797
2018-08-05 07:17:25 +08:00
Jiang Jiang Jian
76b9e36f2b
Merge branch 'bugfix/btdm_a2dp_disconnect_reason_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_a2dp_disconnect_reason(backport v3.1)
See merge request idf/esp-idf!2927
2018-08-04 23:48:42 +08:00
chenyudong
b490f05b95
wifi: fix ampdu duplicate issue
...
fix ampdu duplicate issue
2018-08-04 15:33:55 +00:00
zhiweijian
512e4d5836
Component/bt: fix SC_MITM_BOND failed in smp for iphones
2018-08-04 17:02:13 +08:00
wangmengyang
9d8a85e2ab
component/bt: bugfix for uncleared LMP transaction collision state after rejecting sniff request from slave
2018-08-03 15:55:23 +08:00
wangmengyang
8a940ccd65
component/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected
2018-08-03 15:36:44 +08:00
Jiang Jiang Jian
c983bc4d12
Merge branch 'bugfix/btdm_controller_deinit_v3.1' into 'release/v3.1'
...
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception(backport v3.1)
See merge request idf/esp-idf!2865
2018-08-03 15:09:58 +08:00
michael
c4ffb39ccc
fix(sdmmc): disable all pulldowns used by sdmmc host
2018-08-03 11:03:25 +08:00
Angus Gratton
485ed4cc22
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning_for_v3.1' into 'release/v3.1'
...
Component/bt: fix queue blocking when scanning for v3.1
See merge request idf/esp-idf!2893
2018-08-03 07:28:07 +08:00
kooho
d4e38152ef
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1
2018-08-02 12:45:53 +08:00
Tian Hao
e5abec310d
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
...
1. when one task do deinit/init/disable/enable, especially different cpu
core, it may cause controller crash in ISR handler
2. fix while BLE is scanning, bluetooth controller is disabled cause BLE
scan is not abort.
2018-08-01 20:08:40 +08:00
Ivan Grokhotkov
2c483a6b52
Merge branch 'bugfix/spiffs_readdir_recursion_v3.1' into 'release/v3.1'
...
SPIFFS: fix stack overflow in readdir_r due to recursion (backport v3.1)
See merge request idf/esp-idf!2876
2018-08-01 18:05:47 +08:00
Ivan Grokhotkov
bf281b31ec
Merge branch 'bugfix/remove_bt_dependency_on_lwip_header_v3.1' into 'release/v3.1'
...
Bugfix/remove bt dependency on lwip header (backport v3.1)
See merge request idf/esp-idf!2907
2018-08-01 17:40:37 +08:00
Ivan Grokhotkov
3c359763da
heap: move get_all_caps to IRAM, used in unit test
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
f81e71f622
freertos: bump limit for spinlock performance test to 300 cycles
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
a1dadda7d6
newlib: fix unit test for psram config
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
cfde037f9a
heap: fix unit test for the case when less than 10k of IRAM is available
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
3fcc3689ce
spi_master, ulp: fix aliasing errors in unit tests
2018-08-01 08:59:02 +00:00
michael
7995ba6433
fix(sdio_slave): improve sdio slave for high speed and 4 bit mode
2018-08-01 15:23:24 +08:00
michael
5019ff3345
fix(sdio_slave): fix minor issues like return value of send function, output arg, etc.
2018-08-01 15:23:23 +08:00
zhiweijian
b270638868
Component/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning
2018-08-01 15:10:28 +08:00
Darian Leung
3576a634c7
freertos: Add critical sections to queue sets.
...
Queue sets are not SMP safe. This commit adds
critical sections to queue sets. Unit tests for
queue sets have also been added.
2018-08-01 07:07:32 +00:00
Jiang Jiang Jian
d8a1080bdf
Merge branch 'bugfix/btdm_fix_gattc_count_invalid_for_v3.1' into 'release/v3.1'
...
Component/bt: fix gattc get count invalid and discover included service error for v3.1
See merge request idf/esp-idf!2894
2018-08-01 14:51:08 +08:00
Jiang Jiang Jian
c209efa4e2
Merge branch 'doc/wifi_update_channel_state_information_document_v3.1' into 'release/v3.1'
...
docs: update channel state information document (backport v3.1)
See merge request idf/esp-idf!2796
2018-08-01 14:49:45 +08:00
Mahavir Jain
d78452ed29
wpa_supplicant: removed unrequired header dir include from component.mk
...
- Also fixed license header in rtc driver
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-01 12:02:13 +05:30
Mahavir Jain
acb3b6fee2
bluedroid: remove dependency on arpa/inet.h
include
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-01 12:02:11 +05:30
Angus Gratton
c237beff1d
Merge branch 'bugfix/ulp_example_fix_v3.1' into 'release/v3.1'
...
ULP example fixes (backport v3.1)
See merge request idf/esp-idf!2818
2018-08-01 14:29:29 +08:00
Angus Gratton
34a4a96ded
Merge branch 'bugfix/sdmmc_auto_stop_cmd_v3.1' into 'release/v3.1'
...
sdmmc: enable host auto_stop only for certain commands (backport for v3.1)
See merge request idf/esp-idf!2817
2018-08-01 14:29:03 +08:00
Angus Gratton
2ef6bcaedd
Merge branch 'bugfix/btdm_sco_end_crash_on_supv_to_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_sco_end_crash_on_supv_to_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2896
2018-08-01 14:28:08 +08:00
michael
d85b1fb091
fix(sdio_slave): fix the intr_recv issue that trigger receiving too fast cause assertion failed.
...
also fix a race risk issue when recycle receiving buffers.
2018-07-31 17:57:15 +08:00
zhiweijian
970502f904
Component/bt: fix gattc get count invalid
2018-07-31 15:38:00 +08:00
wangmengyang
d3cb687936
component/bt: bugfix on the crash during end of sco link resulted from link supervision timeout
2018-07-31 15:35:58 +08:00
Angus Gratton
b28db50786
Merge branch 'bugfix/unit_test_thread_local_storage_v3_1' into 'release/v3.1'
...
ci/esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes (v3.1 backport)
See merge request idf/esp-idf!2844
2018-07-31 07:24:38 +08:00
Ivan Grokhotkov
7999c06f68
spiffs: add test case for readdir_r with large number of files
...
Ref. https://esp32.com/viewtopic.php?f=13&t=6486
2018-07-30 08:07:34 +03:00
Konstantin Klitenik
490d7cbba9
Fix stackoverflow due to recursion in vfs_spiffs_readdir_r
2018-07-30 08:07:31 +03:00
He Yin Ling
146a959706
esp32/test: set 60s timeout for one deep sleep case
2018-07-28 15:00:57 +08:00
He Yin Ling
b37f08f961
test: add mesh basic function test cases
2018-07-28 14:56:53 +08:00
Jiang Jiang Jian
62682a681a
Merge branch 'feature/wifi_check_wifi_lib_git_commit_id_v3.1' into 'release/v3.1'
...
check WiFi library git commit id in unit test (backport v3.1)
See merge request idf/esp-idf!2785
2018-07-26 14:24:52 +08:00
Angus Gratton
3e2d5f6292
Merge branch 'bugfix/fix_pcnt_isr_service_register_bug_for_v3.1' into 'release/v3.1'
...
driver(pcnt): Add some comments in pcnt.h for v3.1
See merge request idf/esp-idf!2845
2018-07-26 08:35:18 +08:00
Angus Gratton
e9112a9489
Merge branch 'bugfix/fix_touchpad_wakeup_status_v3.1' into 'release/v3.1'
...
fix(sleep): swap touchpad num in wakeup status v3.1
See merge request idf/esp-idf!2848
2018-07-26 08:34:55 +08:00
Angus Gratton
e00d9425da
Merge branch 'bugfix/ledc_duty_and_freq_for_v3.1' into 'release/v3.1'
...
driver(ledc): fix bugs reported from unit-test and github for v3.1
See merge request idf/esp-idf!2843
2018-07-26 08:08:12 +08:00
Angus Gratton
3eaf8f1a84
Merge branch 'bugfix/secure_boot_padding_v3_1' into 'release/v3.1'
...
secure boot: Fix padding issue (backport v3.1)
See merge request idf/esp-idf!2833
2018-07-25 08:59:31 +08:00
Ivan Grokhotkov
ef38eb0323
Merge branch 'bugfix/bootloader_dev_zero_app_count_v3.1' into 'release/v3.1'
...
bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry (backport v3.1)
See merge request idf/esp-idf!2847
2018-07-25 00:14:43 +08:00
fuzhibo
c6be772242
fix(sleep): swap touchpad num in wakeup status
2018-07-24 18:08:29 +08:00
Wang Jia Lin
c892c96f9a
Merge branch 'bugfix/fix_uart_timeout_bug_when_enable_reftick_v3.1' into 'release/v3.1'
...
driver(uart): Fix uart time_out bug when using ref_tick for releasev3.1
See merge request idf/esp-idf!2810
2018-07-24 17:55:55 +08:00
Konstantin Kondrashov
7f2edf8528
bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry
...
If we have the partition table without any ota_apps but in ota_data have
valide entry, in this case we get an error(hang). This commit fix this
case. If bs->app_count is zero when selecting the factory app.
Closes https://github.com/espressif/esp-idf/issues/2218
2018-07-24 15:41:49 +08:00
Angus Gratton
9b6769411a
Merge branch 'bugfix/deep_sleep_flush_uart_v3.1' into 'release/v3.1'
...
sleep: fix flushing UARTs when entering deep sleep (backport v3.1)
See merge request idf/esp-idf!2816
2018-07-24 14:06:59 +08:00
Angus Gratton
e55f55531c
esp32 tests: TLS test: use same size stack for static & non-static task
...
Use constant instead of magic number of task priorities.
2018-07-24 15:44:12 +10:00
Angus Gratton
0f665dfb0d
esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes
...
Probable cause for CI failures of "LoadStoreError" after this task finishes running.
2018-07-24 15:44:12 +10:00
Wangjialin
b2f1dd6a16
bugfix(ledc): fix bugs reported from unit-test and github.
...
1. In ledc_set_duty_and_update, return if duty updated. Close https://github.com/espressif/esp-idf/issues/2082
2. fix ledc_set_freq function for low speed mode.
2018-07-24 13:22:50 +08:00
kooho
989396ef27
Add some comments in pcnt.h.
2018-07-24 10:46:50 +08:00
hou wen xiang
b3a2f85c70
driver(uart): Fix uart time_out bug when using ref_tick for releasev3.1
2018-07-24 09:57:55 +08:00
XiaXiaotian
bd768edca2
check WiFi library git commit id in unit test
2018-07-23 20:03:43 +08:00
Jiang Jiang Jian
fdf61f7c45
Merge branch 'bugfix/beacon_info_do_not_update_after_user_scan_v3.1' into 'release/v3.1'
...
Wifi: bugfix of beacon info don't update after user scan (backport v3.1)
See merge request idf/esp-idf!2780
2018-07-23 20:02:24 +08:00
Ivan Grokhotkov
ccd431c7ed
Merge branch 'feature/nvs_part_gen_improvements_backportv3.1' into 'release/v3.1'
...
Feature/nvs part gen improvements (backport v3.1)
See merge request idf/esp-idf!2799
2018-07-23 13:30:19 +08:00
Angus Gratton
e1e4e08fa8
app_update: Don't double-verify secure boot signature during OTA
...
esp_image_load() already verifies the signature
2018-07-23 13:45:55 +10:00
Angus Gratton
f8b191cfae
secure boot: Pad to avoid data after the signature mapping into the address space
...
Because address space is mapped in 64KB pages, it was possible for unauthenticated data after the
app .bin to become mapped into the flash cache address space.
This problem is solved by 2 changes:
* "esptool elf2image --secure-pad" will pad the image so that the signature block ends close to the
64KB boundary. Due to alignment constraints it will be 12 bytes too short after signing (but
with flash encryption, these 12 bytes are still encrypted as part of the last block and can't be
arbitrarily changed).
* By default, secure boot now requires all app partitions to be a multiple of 64KB in size.
2018-07-23 13:45:55 +10:00
Deng Xin
487ae78235
Wifi: bugfix of beacon info don't update after user scan
2018-07-21 10:39:43 +00:00
Jiang Jiang Jian
4314b00289
Merge branch 'bugfix/clear_intr_status_when_enable_intr_v3.1' into 'release/v3.1'
...
driver(gpio): fix the gpio interrupt false triggering issue(backport v3.1)
See merge request idf/esp-idf!2806
2018-07-21 14:36:37 +08:00
Jiang Jiang Jian
650e1f79d1
Merge branch 'bugfix/rmt_mem_num_maximum_limit_is_not_accurate_v3.1' into 'release/v3.1'
...
bugfix(rmt): Modify the rmt_mem_num maximum limit value from 15 to 8.(backport v3.1)
See merge request idf/esp-idf!2808
2018-07-21 14:25:38 +08:00
Angus Gratton
b87c822d59
Merge branch 'bugfix/secure_boot_regression_partitions_v3_1' into 'release/v3.1'
...
Fix secure boot & flash encryption regression, don't verify partitions as part of secure boot (backport)
See merge request idf/esp-idf!2779
2018-07-20 09:12:20 +08:00
negativekelvin
90c6ea59a6
Fix errors in rtc_gpio_desc values
2018-07-19 10:27:31 +03:00
Ivan Grokhotkov
447890247a
sdmmc: enable host auto_stop only for certain commands
...
Perviously host send_auto_stop flag would be set for every data
transfer over 1 block long. This caused stop commands to be sent
after CMD53, which shouldn't be done. Fix by adding an explicit list
of commands for which send_auto_stop should be set.
2018-07-19 10:23:58 +03:00
Ivan Grokhotkov
d360f6d95d
sleep: fix flushing UARTs when entering deep sleep
...
Since 94250e42a0
, UART output is suspended when entering sleep mode
(deep or light sleep). This makes sense for light sleep, where sleep
normally takes small amount of time, and flushing the UART would add
a lot of latency. But this breaks existing behaviour for deep sleep,
where UART output was previously sent out before entering sleep mode.
Closes https://github.com/espressif/esp-idf/issues/2145
2018-07-19 10:21:23 +03:00
XiongYu
7edc392d7c
Modify the rmt_mem_num maximum limit value from 15 to 8.
2018-07-18 16:33:45 +08:00
hou wen xiang
071f7cdb49
driver(gpio) : Fixed the gpio related bug for release v3.1.
2018-07-18 15:36:57 +08:00
Piyush Shah
89b423658a
nvs_partition_generator: Add support for base64 representation of Binary data
2018-07-17 19:24:04 +05:30
Piyush Shah
6d0a9fe95e
nvs_partition_generator: Modifications to enable using the utility as a Python library
...
And also use directly as an executable
2018-07-17 19:24:04 +05:30
Jiang Jiang Jian
afdc73c8ab
Merge branch 'bugfix/mdns_remove_backport' into 'release/v3.1'
...
mdns: Minor fix for mdns_service_remove (backport v3.1)
See merge request idf/esp-idf!2784
2018-07-17 20:50:34 +08:00
Jiang Jiang Jian
1dc9be01c4
Merge branch 'bugfix/autoip_compilation_backportv3.1' into 'release/v3.1'
...
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL(backport v3.1)
See merge request idf/esp-idf!2787
2018-07-17 20:49:31 +08:00
Ivan Grokhotkov
cffd28ad83
Merge branch 'bugfix/bt_os_abstraction_layer_v3.1' into 'release/v3.1'
...
bt: fix OS abstraction layer for correct critical section API usage (backport v3.1)
See merge request idf/esp-idf!2713
2018-07-17 18:53:01 +08:00
XiaXiaotian
f4c57eb764
docs: update channel state information document
...
1. Move channel to the first row of the table.
2. Remove the condition of HT20/HT40 for they are determined by
secondary channel.
3. Clean up the CSI table.
2018-07-17 15:01:12 +08:00
Jiang Jiang Jian
346d6b0eaa
Merge branch 'bugfix/gcc8_complation_errors_v3.1' into 'release/v3.1'
...
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 (backport v3.1)
See merge request idf/esp-idf!2777
2018-07-17 14:13:28 +08:00
Piyush Shah
76a46a0f68
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
2018-07-16 15:12:18 +05:30
Piyush Shah
8dbf96a471
mdns: Minor fix for mdns_service_remove()
...
Send the Goodbye packet while removing an mDNS service as an "Authoritative" packet so
that the listeners remove the service from their records immediately.
2018-07-16 15:07:44 +05:30
Liu Zhi Fu
60080d4893
lwip: minor fix about ip route
...
Minor fix about ip4_route_src_hook()
2018-07-16 17:21:46 +08:00
Angus Gratton
0b1c461e63
bootloader: Fix warning building reflashable Secure Boot image
2018-07-16 16:59:36 +10:00
Angus Gratton
ec73cebb59
bootloader: Don't verify Partition Table as part of Secure Boot
...
Partition Tables are still signed for backwards compatibility, but signature is no longer checked as
part of bootloader.
Closes https://github.com/espressif/esp-idf/issues/1641
2018-07-16 16:59:36 +10:00
Angus Gratton
ce634ef221
bootloader: Fix secure boot & flash encryption functionality
...
Fixes regression in 3e0ac4db79
.
2018-07-16 16:59:36 +10:00
Alexey Gerenkov
af2a6ee826
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3
2018-07-16 14:19:57 +08:00
Liu Zhi Fu
2a581e3fab
lwip: add source ip based route for unicast packet
...
Add source IP based route for unicast packets forwarding.
2018-07-14 10:01:55 +08:00
Jiang Jiang Jian
7b0a926574
Merge branch 'bugfix/btdm_err_data_report_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_err_data_report_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2751
2018-07-13 19:16:42 +08:00
Mahavir Jain
f2c543785b
bt: fix OS abstraction layer for correct critical section API usage
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-07-13 11:29:40 +08:00
Mahavir Jain
fdfe38a779
wpa_supplicant: add missing source dirs to CMake build
...
Closes: https://github.com/espressif/esp-idf/issues/2168
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-07-12 17:22:47 +05:30
Ivan Grokhotkov
ed27e75f50
Merge branch 'bugfix/xthal_get_interrupt_volatile_v3.1' into 'release/v3.1'
...
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile (backport v3.1)
See merge request idf/esp-idf!2712
2018-07-12 17:18:06 +08:00
wangmengyang
ea30c54cda
component/bt: bugfix for erroneous data reporting always enabled
2018-07-11 20:08:36 +08:00
Jiang Jiang Jian
c71c8aea55
Merge branch 'bugfix/btdm_invalid_sco_handle_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_invalid_sco_handle_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2727
2018-07-11 18:23:47 +08:00
Jiang Jiang Jian
46001bf6d4
Merge branch 'bugfix/rom_libgcc_functions_v3.1' into 'release/v3.1'
...
Fix linking of libgcc math functions to ROM (backport v3.1)
See merge request idf/esp-idf!2711
2018-07-11 16:45:39 +08:00
Jiang Jiang Jian
0db9b87d66
Merge branch 'bugfix/disable_lwip_trust_ip_by_default_v3.1' into 'release/v3.1'
...
lwip: disable ETHARP_TRUST_IP_MAC by default (backport v3.1)
See merge request idf/esp-idf!2720
2018-07-10 14:42:54 +08:00
Jiang Jiang Jian
a9aaabae21
Merge branch 'bugfix/tw23667_tcp_pcb_purge_assert_v3.1' into 'release/v3.1'
...
lwip: fix the assertion in tcp_pcb_purge() (backport v3.1)
See merge request idf/esp-idf!2722
2018-07-10 14:42:47 +08:00
wangmengyang
dff911da69
component/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event
2018-07-09 12:14:27 +08:00
Liu Zhi Fu
31ca811240
lwip: fix the assertion in tcp_pcb_purge()
...
Fix the assertion in tcp_pcb_purge().
2018-07-09 10:33:13 +08:00
Liu Zhi Fu
febb0cb3da
lwip: disable ETHARP_TRUST_IP_MAC by default
...
Disable ETHARP_TRUST_IP_MAC by default because:
1. The LAN peer may not be trustful
2. The LAN peer may has problem to update its ARP entry
2018-07-09 10:26:05 +08:00
Ivan Grokhotkov
d128ff3ecd
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile
...
INTERRUPT and CCOUNT registers will change outside of program control.
Making the inline assembly used to read these registers volatile
indicates this fact to the compiler.
Fixes https://github.com/espressif/esp-idf/issues/2127
2018-07-05 17:21:55 +08:00
Ivan Grokhotkov
debe83c3b5
esp32: force pure math functions from libgcc to be linked from ROM
2018-07-05 17:19:01 +08:00
Ivan Grokhotkov
5752e4d588
esp32: fix addresses of some libgcc functions in ROM ld script
2018-07-05 17:18:54 +08:00
Xia Xiaotian
fffbcbb78b
esp32: Change channel state information(CSI) data type from unsigned char to singed char
2018-07-04 11:47:57 +08:00
Tian Hao
3ad712ba86
esp32: fix coex bug
...
1. fix BLE connection missing in coex mode
2. modify other parameters to make coex priority more reasonable
3. fix modem sleep procedure trap cause Wifi disable RF when BT is
working. Such cause that BR/EDR is difficult to be connected, BLE
connection stability decrease and so on.
4. modify BR/EDR coexist duration to imrove BR/EDR connect success
ratio.
5. Due to the hardware coexist bug, BLE scan interval/window should
be less than 0x100(about 160ms). Therefore, it will cause BLE cannot
scan any advertising packet while WiFi have higher priority
behaviour(such like RX beacon, scan, TX/RX VO packets and etc.).
2018-06-30 22:40:09 +08:00
Jiang Jiang Jian
b31e16039e
Merge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg_v3.1' into 'release/v3.1'
...
Component/bt: fix register multi service change when register multi gattc for v3.1
See merge request idf/esp-idf!2668
2018-06-30 11:30:59 +08:00
Jiang Jiang Jian
16bb663c74
Merge branch 'bugfix/btdm_bad_pointer_of_bt_gap_v3.1' into 'release/v3.1'
...
component/bt: Fix some bad point calculations of BT GAP of v3.1
See merge request idf/esp-idf!2669
2018-06-29 22:16:15 +08:00
baohongde
1340de576e
component/bt: Fix bug of BT and BLE remove bond device of v3.1
...
1. esp_ble_remove_bond_device will only remove BLE bond key and disconnect BLE device.
2. esp_bt_gap_remove_bond_device will only remove BT bond key and disconnect BT device.
A cherry-pick of MR !2562
2018-06-29 20:09:19 +08:00
baohongde
92ea676c38
component/bt: Fix some bad point calculations of BT GAP of v3.1
...
Closes https://github.com/espressif/esp-idf/issues/2103
A cherry-pick of MR !2655
2018-06-29 20:01:51 +08:00
zhiweijian
8335933cdf
Component/bt: fix register multi service change when register multi gattc
2018-06-29 19:54:22 +08:00
Jiang Jiang Jian
f4f563bc7b
Merge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'
...
component/bt: fix stop adv error in dual core for v3.1
See merge request idf/esp-idf!2661
2018-06-29 19:22:28 +08:00
Jiang Jiang Jian
a95678bfcd
Merge branch 'bugfix/assert_v3.1' into 'release/v3.1'
...
assert: Fix. Move useful functions from wrapped assert functions (v3.1)
See merge request idf/esp-idf!2605
2018-06-29 19:20:35 +08:00
Jiang Jiang Jian
dadfcc35b3
Merge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'
...
bt : fix read rssi conflict when in dual mode
See merge request idf/esp-idf!2618
2018-06-29 19:18:15 +08:00
Jiang Jiang Jian
7535226679
Merge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request_v3.1' into 'release/v3.1'
...
component/bt: Fix bug: Respond with the Error Response when receiving a request…
See merge request idf/esp-idf!2662
2018-06-29 19:15:03 +08:00
Jiang Jiang Jian
2d7798e091
Merge branch 'bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2660
2018-06-29 18:45:47 +08:00
Jiang Jiang Jian
d945191e08
Merge branch 'bugfix/btdm_rm_assert_in_isr_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_rm_assert_in_isr_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2659
2018-06-29 18:45:30 +08:00
Jiang Jiang Jian
a0014d91b9
Merge branch 'bugfix/btdm_singular_sleep_time_corr_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_singular_sleep_time_correction_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2658
2018-06-29 18:44:20 +08:00
baohongde
85127bcbbd
component/bt: Fix bug: Respond with the Error Response when receiving a request that it does not support into v3.1
...
A cherry-pick of MR !2591
2018-06-29 15:19:19 +08:00
Jiang Jiang Jian
364e587b46
Merge branch 'feature/optimize_wifi_memory_v3.1' into 'release/v3.1'
...
Optimize WiFi memory (backport v3.1)
See merge request idf/esp-idf!2651
2018-06-29 15:13:00 +08:00
zwj
6752163800
component/bt: fix stop adv error in dual core
2018-06-29 15:09:11 +08:00
wangmengyang
125828edaf
prevent Dynamic Frequency Scaling when using bluetooth modem sleep
...
This constraint will be elimiated after the issue is fixed
2018-06-29 14:49:23 +08:00
wangmengyang
d7f5c3e55f
component/bt: remove the call of assert in time conversion functions which can be caused in ISR
2018-06-29 14:40:54 +08:00
wangmengyang
eebbe2d008
component/bt: fix the cornered case caused by singular finetime correction value upon waking up from sleep
...
1. revert previous changes that adds 1-slot margin for first master Tx event, since this bugfix can handle that case
2018-06-29 14:29:53 +08:00
zwj
9ca4dc0626
component/bt: fix no adv packets
2018-06-29 10:23:46 +08:00
Liu Zhi Fu
dd73e2a453
Optimize WiFi memory
...
Optimize wifi memory (b987c01d)
1. Decrease WiFi task stack size by 512 Bytes
2. Modify WiFi NVS configuration array from static to dynamic
3. Move interrupt/RX relating variables from .bss segment to .data segment
4. Modify WiFi management short buffer from static to dynamic
5. Remove some useless WiFi buffer space
2018-06-28 21:27:24 +08:00
Jiang Jiang Jian
07b1e2053c
Merge branch 'mesh/update_libs_v3.1' into 'release/v3.1'
...
mesh: update libs(backport3.1)
See merge request idf/esp-idf!2630
2018-06-28 16:09:29 +08:00
wangmengyang
3c188abdd7
component/bt: add 1 slot margin to program the 1st master Tx event during BLE connection
...
this will resolve the issue of failure of BLE connection stress test with sleep enabled
2018-06-27 18:13:17 +08:00
Jiang Jiang Jian
698d3bafa5
Merge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp_v3.1' into 'release/v3.1'
...
Component/bt: fix slave can not receive long packets in smp for v3.1
See merge request idf/esp-idf!2626
2018-06-27 18:10:24 +08:00
Ivan Grokhotkov
fcf0324a66
Merge branch 'feature/move_to_soc_rtc_gpio_desc_v3.1' into 'release/v3.1'
...
soc: Fix check_long_hold_gpio and move def to soc (v3.1 backport)
See merge request idf/esp-idf!2622
2018-06-27 15:55:46 +08:00
qiyueixa
3c4c838c2b
mesh: update libs
...
1. add APIs to set/get announce interval values.
2. add API to enable/disable the min rate to 6Mbps for data packages.
3. add APIs to set/get RSSI threshold values.
4. fix ap_loss.
2018-06-26 21:49:23 +08:00
zhiweijian
e8ff79d6b4
Component/bt: fix slave can not receive long packets in smp
2018-06-26 16:44:04 +08:00
Konstantin Kondrashov
baa6c19700
soc: Fix check_long_hold_gpio and move def to soc
...
Fix factory_reset_pin init as input
Move definition a structure rtc_gpio_desc to soc
Closes https://github.com/espressif/esp-idf/issues/2030
2018-06-26 12:47:55 +05:00
Tian Hao
e3dedb74c5
bt : fix read rssi conflict when in dual mode
2018-06-26 11:54:39 +08:00
baohongde
f406174be5
component/bt: Add Controller to Host Flow Control into v3.1
...
A cherry-pick of MR !2493
2018-06-25 20:38:21 +08:00
Ivan Grokhotkov
5ebb70ecc5
Merge branch 'bugfix/app_partition_fallback_v31' into 'release/v3.1'
...
partition_table: Support same fallback logic as bootloader for default boot partition (v3.1 backport)
See merge request idf/esp-idf!2597
2018-06-25 14:59:03 +08:00
Jiang Jiang Jian
8437b63845
Merge branch 'bugfix/wifi_support_null_mode_again_v3.1' into 'release/v3.1'
...
support WiFi null mode again
See merge request idf/esp-idf!2578
2018-06-25 14:54:40 +08:00
Angus Gratton
6b5a15e3da
partition_table: Support same fallback logic as bootloader for default boot partition
...
Generates correct "make flash" command even when partition table has no factory partition.
Also adds unit tests for parttool.py
Closes https://github.com/espressif/esp-idf/issues/2086
2018-06-25 05:36:55 +00:00
Konstantin Kondrashov
f9affb9fb8
assert: Fix. Move useful functions from wrapped assert functions
...
Moved useful functions from wrapped assert functions, because option `CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=y` will remove this functions.
Closes https://github.com/espressif/esp-idf/issues/2068
2018-06-25 11:05:54 +08:00
zhiweijian
6c87d104c0
Component/bt: modify throughput demo default config
2018-06-22 19:44:20 +08:00
XiaXiaotian
7634d9a991
support WiFi null mode again
2018-06-21 21:45:57 +08:00
yulong
0f0833e350
component/bt: Fix the bug of when operating the list on interrupt function, there is no lock protection.
2018-06-21 11:14:07 +08:00
Angus Gratton
c1fdd45001
Merge branch 'bugfix/fix_touch_pad_can_not_wake_up' into 'master'
...
bugfix(touch pad): modify deep-sleep example and add note for sleep api
See merge request idf/esp-idf!2553
2018-06-20 11:51:46 +08:00
fuzhibo
9a0d57b90b
bugfix(touch pad): modify deep-sleep example and add note for sleep api.
...
Closes https://github.com/espressif/esp-idf/issues/2052
2018-06-20 10:57:26 +08:00
Angus Gratton
d0b8f2865f
docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com
2018-06-19 11:23:33 +00:00
Ivan Grokhotkov
7933b75416
Merge branch 'bugfix/ESP_PARTITION_TABLE_OFFSET' into 'master'
...
spi_flash: Fix error unit tests on host
See merge request idf/esp-idf!2573
2018-06-19 19:13:30 +08:00
Konstantin Kondrashov
17dac0d273
spi_flash: Fix error unit tests on host
...
IDF had two defines ESP_PARTITION_TABLE_OFFSET and ESP_PARTITION_TABLE_ADDR. They were the same and equal by 0x8000.
A define ESP_PARTITION_TABLE_ADDR was removed from IDF.
A define ESP_PARTITION_TABLE_OFFSET depends on option CONFIG_PARTITION_TABLE_OFFSET in Kconfig.
Now using only #define ESP_PARTITION_TABLE_OFFSET CONFIG_PARTITION_TABLE_OFFSET
2018-06-19 14:30:25 +05:00
He Yin Ling
8956f35be5
Merge branch 'test/driver_ledc' into 'master'
...
test: add ledc test cases
See merge request idf/esp-idf!1782
2018-06-19 15:14:16 +08:00
Angus Gratton
73f6fb9fe7
Merge branch 'feature/spi_functions_in_iram' into 'master'
...
feature(spi_master): allow to place functions into IRAM to get higher efficiency
See merge request idf/esp-idf!2538
2018-06-19 07:25:12 +08:00
houchenyao
339d381019
test: components/driver: ledc case
2018-06-19 02:00:42 +08:00
Angus Gratton
bf10447b82
cmake: Fix issues when IDF_PATH is not set in environment
...
Support cases where IDF_PATH may be passed in on the cmake command line,
or inferred from a (hardcoded absolute or relative) path to project.cmake
2018-06-18 14:48:03 +10:00
Angus Gratton
43b6c76bba
Merge branch 'feature/expansion_space_for_bootloader' into 'master'
...
partition_table: Moving to custom offset
See merge request idf/esp-idf!2263
2018-06-18 12:34:53 +08:00
Angus Gratton
86148a740b
Merge branch 'feature/fatfs_without_wl' into 'master'
...
FATFS support without wear levelling
See merge request idf/esp-idf!2526
2018-06-18 12:26:02 +08:00
Sagar Bijwe
fd7b794e81
FATFS support without wear levelling
...
This change allows readonly FATFS to be mounted without wear levelling
support. This will provide the customers a simple way to mount FATFS images
generated on host and flashed onto the chip during factory provisioning.
Since NVS encryption is not supported yet and NVS entry size is limited,
the change will provide an easy alternative for securing the provisioning data
by just marking FATFS parition as encrypted.
2018-06-16 16:02:35 +08:00
qiyueixa
0dd750af1a
mesh: update mesh libs
...
1. rename example internal_transceiver to internal_communication
2. bugfix
3. Closes https://github.com/espressif/esp-idf/issues/2014
2018-06-15 20:34:49 +08:00
Ivan Grokhotkov
d9f8311b9d
docs: add error codes reference
2018-06-15 15:49:24 +08:00
Ivan Grokhotkov
2f7d327978
panic: remove extra newline
2018-06-15 15:49:23 +08:00
Ivan Grokhotkov
6f40b528fa
esp32: esp_err_to_name_r: print error code as hex and decimal
2018-06-15 15:49:23 +08:00
Jiang Jiang Jian
4056d1e2bf
Merge branch 'bugfix/tw23325_replace_WLOGE_to_printf_when_wifi_not_init' into 'master'
...
WLOGE/WLOGW/WLOGI/WLOGD do anything when wifi is not initialized
See merge request idf/esp-idf!2554
2018-06-15 11:31:02 +08:00
Angus Gratton
9a55b42f08
Merge branch 'bugfix/tw22828_fix_tcp_bug_when_wifi_disconnect' into 'master'
...
fix the bug that TCP connections don't abort when IP changed
See merge request idf/esp-idf!2521
2018-06-15 08:03:06 +08:00
Michael (XIAO Xufeng)
9c23b8e596
feature(spi_master): allow to place functions into IRAM to get higher efficiency
2018-06-14 20:22:40 +08:00
zhangyanjiao
bf78d3c4b1
WLOGE, WLOGW, WLOGI, WLOGD do anything when wifi is not initialized
2018-06-14 19:30:04 +08:00
Ivan Grokhotkov
589e8db4dd
Merge branch 'bugfix/spi_gpio_deinit' into 'master'
...
fix(spi): Fix several init/deinit issues of spi pins
See merge request idf/esp-idf!2522
2018-06-14 19:21:34 +08:00
Ivan Grokhotkov
8674a34fd6
Merge branch 'bugfix/ext_wakeup_input_enable' into 'master'
...
sleep: make sure input enable is set for EXT0/EXT1 wakeup
See merge request idf/esp-idf!2542
2018-06-14 19:03:01 +08:00
zhangyanjiao
b5f4bf922f
fix the bug that TCP connections don't abort when IP changed
2018-06-14 16:56:39 +08:00
Jiang Jiang Jian
768f880b04
Merge branch 'bugfix/wifi_correct_modem_sleep_api_description' into 'master'
...
correct modem sleep API description
See merge request idf/esp-idf!2548
2018-06-14 15:50:08 +08:00
Jiang Jiang Jian
54d882101c
Merge branch 'bugfix/fix_two_times_full_calibration' into 'master'
...
esp32: fix the bug that the first two reboots do full calibration
See merge request idf/esp-idf!2540
2018-06-14 15:49:03 +08:00
Angus Gratton
c77f84e788
Merge branch 'feature/fs_truncate_support' into 'master'
...
FATFS truncate support
See merge request idf/esp-idf!2541
2018-06-14 13:56:39 +08:00
Angus Gratton
59ab2136e8
Merge branch 'doc/kconfig_item' into 'master'
...
doc: fix the level inconsistent issue in Kconfig document
See merge request idf/esp-idf!2460
2018-06-14 12:51:50 +08:00
michael
45d1c9207c
bugfix(spi): resolve the glitch that happens during initialization
2018-06-14 11:29:16 +08:00
Michael (XIAO Xufeng)
77077196fd
fix(spi): reset gpios that used by spi when deinited
2018-06-14 11:29:15 +08:00
Michael (XIAO Xufeng)
ebfda40b7c
refactor(spi): move pin information into soc folder
2018-06-14 11:29:15 +08:00
Renz Bagaporo
ea711f2ee9
vfs, fatfs: Add file truncate for fatfs
2018-06-14 06:37:21 +08:00
He Yin Ling
e1a6e71486
Merge branch 'test/driver_rmt' into 'master'
...
test: add rmt test cases
See merge request idf/esp-idf!1797
2018-06-13 22:31:11 +08:00
He Yin Ling
a4581ff404
Merge branch 'test/driver_timer' into 'master'
...
test: add driver timer test cases
See merge request idf/esp-idf!1785
2018-06-13 22:28:17 +08:00
houchenyao
5c6473245f
test: add driver/rmt test case
2018-06-13 18:10:09 +08:00
Xia Xiaotian
6e9070b6d9
correct modem sleep API description
2018-06-13 15:44:59 +08:00
He Yin Ling
17200f484e
Merge branch 'test/driver_sigmadelta' into 'master'
...
test: add sigmadelta test
See merge request idf/esp-idf!1780
2018-06-13 15:19:35 +08:00
He Yin Ling
5a33f5150c
Merge branch 'test/driver_gpio' into 'master'
...
test: add gpio test cases
See merge request idf/esp-idf!1778
2018-06-13 15:02:43 +08:00
Jiang Jiang Jian
8e7dfb230f
Merge branch 'bugfix/crosscore_handle_yield_iram' into 'master'
...
esp32: Move esp_crosscore_isr_handle_yield() to IRAM
See merge request idf/esp-idf!2544
2018-06-13 11:54:04 +08:00
houchenyao
de848a5150
test: driver/sigmadelta test case
2018-06-13 10:15:06 +08:00
houchenyao
0837eb4c2e
test: components/driver: timer case
2018-06-13 01:39:07 +00:00
Angus Gratton
f6442abdeb
esp32: Move esp_crosscore_isr_handle_yield() to IRAM
...
Also adds a hint to inline, as this is only called in one place
it seems like a natural candidate...
Closes https://github.com/espressif/esp-idf/issues/2055
2018-06-13 11:36:15 +10:00
Angus Gratton
0e501e5edd
Merge branch 'bugfix/bt_rfcomm_pr1923' into 'master'
...
bt: PORT_WriteDataCO: fixed a bug, reduced heap memory allocation
See merge request idf/esp-idf!2511
2018-06-13 08:41:16 +08:00
Markus Becker
3a71ae8595
bt: PORT_WriteDataCO: fixed a bug, reduced heap memory allocation
...
* a missing pointer increment caused error, if available was > 0 after the first iteration of while(available) loop.
* changed memory allocation strategy from large fixed size (RFCOMM_DATA_BUF_SIZE) to just the needed
size, which will be below MTU
Cherry-picked from https://github.com/espressif/esp-idf/pull/1923/
2018-06-13 09:52:02 +10:00
Angus Gratton
e33ec5ccf4
Merge branch 'bugfix/btdm_tx_power_value' into 'master'
...
fix bluetooth(dual-mode) tx power value
See merge request idf/esp-idf!2503
2018-06-13 07:43:13 +08:00
Angus Gratton
785e9eeb36
Merge branch 'bugfix/esp_timer_set_alarm' into 'master'
...
esp_timer: remove busy loop in esp_timer_impl_set_alarm
See merge request idf/esp-idf!2436
2018-06-13 07:39:34 +08:00
Ivan Grokhotkov
4359d5985e
sleep: make sure input enable is set for EXT0/EXT1 wakeup
...
Since commit 94250e4
, EXT0 wakeup mechanism, when wakeup level was set
to 0, started waking up chip immediately after entering deep sleep.
This failure was triggered in that commit by a change of
RTC_CNTL_MIN_SLP_VAL (i.e. minimum time in sleep mode until wakeup
can happen) from 128 cycles to 2 cycles.
The reason for this behaviour is related to the way input enable (IE)
signal going into an RTC pad is obtained:
PAD_IE = (SLP_SEL) ? SLP_IE & CHIP_SLEEP : IE,
where SLP_IE, SLP_SEL, and IE are bits of an RTC_IO register related
to the given pad. CHIP_SLEEP is the signal indicating that chip has
entered sleep mode.
The code in prepare_ext{0,1}_wakeup did not enable IE, but did enable
SLP_SEL and SLP_IE. This meant that until CHIP_SLEEP went high, PAD_IE
was 0, hence the input from the pad read 0 even if external signal
was 1. CHIP_SLEEP went high on the 2nd cycle of sleep. So when
RTC_CNTL_MIN_SLP_VAL was set to 2, the input signal from the pad was
latched as 0 at the moment when CHIP_SLEEP went high, causing EXT0
wakeup with level 0 to trigger.
This commit changes the way PAD_IE is enabled: SLP_SEL and SLP_IE are
no longer used, and IE is set to 1. If EXT0 wakeup is used, RTC_IO is
not powered down, so IE signal stays 1 both before CHIP_SLEEP goes
high and after. If EXT1 wakeup is used, RTC_IO may be powered down.
However prepare_ext1_wakeup enables Hold on the pad, locking states
of all the control signals, including IE.
Closes https://github.com/espressif/esp-idf/issues/1931
Closes https://github.com/espressif/esp-idf/issues/2043
2018-06-12 20:25:15 +08:00
Tian Hao
294a4bd1f4
fix bluetootm(dual-mode) tx power value
2018-06-12 19:18:47 +08:00
houchenyao
e5717e365f
test: add driver/gpio test case
2018-06-12 19:04:30 +08:00
Jiang Jiang Jian
7aa7b35a95
Merge branch 'bugfix/tw22485_dhcp_offer_mtu' into 'master'
...
modify dhcp offer MTU to 1500
See merge request idf/esp-idf!2461
2018-06-12 16:32:26 +08:00
Liu Zhi Fu
fc72d53c71
esp32: fix the bug that the first two reboots do full calibration
...
If the NVS is erased, the first two reboots will do full calibration.
This commit is to fix this issue and only need to do full calibration once.
2018-06-12 15:51:51 +08:00
Mahavir Jain
4e43c920d8
freertos: make task{ENTER/EXIT} macros deprecated for external use
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-06-12 11:19:39 +05:30
Mahavir Jain
eef8d0f7ed
Resolve required include header dependencies in component itself
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-06-12 11:19:39 +05:30
Mahavir Jain
636485db8e
vfs: change task{ENTER/EXIT}_CRITICAL with port{ENTER/EXIT}_CRITICAL
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-06-12 11:19:39 +05:30
Ivan Grokhotkov
f4d09506ad
Merge branch 'feature/unit_test_config_components' into 'master'
...
unit-test-app: allow building subset of tests for a configuration
See merge request idf/esp-idf!2331
2018-06-12 10:01:42 +08:00
Ivan Grokhotkov
7cc7c8a94c
Merge branch 'feature/microecc_1_0' into 'master'
...
micro-ecc: update to v1.0
See merge request idf/esp-idf!2534
2018-06-11 23:32:32 +08:00
Ivan Grokhotkov
b2f498f7da
build: allow EXCLUDE_COMPONENTS to contain quotes
...
'dequote' macro can’t be used at this point yet, use subst directly.
Also prevent EXCLUDE_COMPONENTS from being passed to bootloader build.
2018-06-11 23:26:56 +08:00
Ivan Grokhotkov
9b1876a458
unit-test-app: allow specifying subset of tests for configuration
...
For some test configurations, not all tests need to be run. This
change allows adding a comment in the configuration file of the
following form:
unit-test-app makefile will use it to determine which components to
build. If the comment is not present, all components will be built
(TESTS_ALL=1).
Also add test configuration for libsodium. It is a separate test
configuration due to the large binary size generated when building
libsodium tests.
2018-06-11 23:26:55 +08:00
Ivan Grokhotkov
3e64318364
Merge branch 'bugfix/performance_tests' into 'master'
...
test: Tweaks to reduce variation in CI unit tests
See merge request idf/esp-idf!2529
2018-06-11 23:20:45 +08:00
Jiang Jiang Jian
9ea947cd8a
Merge branch 'bugfix/tw23171_fix_espnow_bug_when_add_node_in_AP_STA_mode' into 'master'
...
fix espnow bug when add node in AP+STA mode
See merge request idf/esp-idf!2518
2018-06-11 11:39:01 +08:00
Ivan Grokhotkov
b4e836eb97
esp_timer: test for monotonic values of esp_timer_get_timer in CI
...
Reduce test time by increasing overflow rate, make test more robust.
2018-06-11 02:37:19 +00:00
Ivan Grokhotkov
49d200aaa7
esp_timer: add test for esp_timer_impl_set_alarm
...
Ref https://github.com/espressif/esp-idf/issues/1891
2018-06-11 02:37:19 +00:00
Ivan Grokhotkov
141e51b468
esp_timer: reduce overflow value in unit tests
...
This allows testing for race conditions which occur near timer
overflow point more effectively.
2018-06-11 02:37:19 +00:00
Ivan Grokhotkov
125bbf0882
esp_timer: don’t busy loop in esp_timer_impl_set_alarm
...
Previously the loop in esp_timer_impl_set_alarm was necessary to catch
the case when timer count wraps around (goes from 2^32 - 1 to 0).
Since ALARM_OVERFLOW_VAL was reduced from 2^32 - 1 to 0xefffffff,
this is no longer necessary.
Fixes https://github.com/espressif/esp-idf/issues/1891
2018-06-11 02:37:19 +00:00
Angus Gratton
03c2678aa6
Merge branch 'bugfix/btdm_fix_include_service_start_handle_error' into 'master'
...
Component/bt: fix include service start handle error
See merge request idf/esp-idf!2525
2018-06-11 10:36:36 +08:00
Ivan Grokhotkov
43c779e519
micro-ecc: update to v1.0
2018-06-10 21:20:55 +08:00
Konstantin Kondrashov
3e0ac4db79
partition_table: Expanding the space under the bootloader
...
Allows you to move the partition table, it gives more space for the bootloader.
Added a new utility - parttool.py. This utility can search for the offset and/or size of the partitions by name and type/subtype. Use for getting APP_OFFSET and PHY_DATA_OFFSET.
The linker(esp32.bootloader.ld) made changes that allow you to write a custom bootloader code more.
TW14125
2018-06-08 18:47:29 +05:00
Ivan Grokhotkov
03d78e7afb
Merge branch 'feature/Add_noinit_rtc_noinit_sections' into 'master'
...
esp32: Add .noinit and .rtc_noinit sections to the linker script
See merge request idf/esp-idf!1996
2018-06-08 16:01:30 +08:00
zhiweijian
85e88cd0eb
Component/bt: fix include service start handle error
2018-06-08 16:00:34 +08:00
Angus Gratton
87077a5478
test: Tweaks to reduce variation in CI unit tests
...
spi test: Prime the flash cache before each test to minimise flash cache misses.
VFS performance test: Increase the number of runs to minimise influence of an isolated bad run.
2018-06-08 14:42:44 +10:00
Ivan Grokhotkov
40596fa55a
Merge branch 'feature/host_side_storage_components' into 'master'
...
Runnable FS components on host
See merge request idf/esp-idf!2431
2018-06-08 11:42:37 +08:00
Angus Gratton
c99a30a167
Merge branch 'bugfix/wakeup_from_deep_sleep' into 'master'
...
esp32: Fix not the right time spent in a deep sleep
See merge request idf/esp-idf!2501
2018-06-08 10:40:47 +08:00
Angus Gratton
c8d3c6a494
Merge branch 'feature/monitor_filter_output' into 'master'
...
idf_monitor: add support for filtering options
See merge request idf/esp-idf!2486
2018-06-08 08:09:40 +08:00
Ivan Grokhotkov
705d42dd18
Merge branch 'bugfix/get_power_down_flags' into 'master'
...
sleep_mode/esp32: Fix a condition to keep power domain enabled during sleep mode
See merge request idf/esp-idf!2515
2018-06-07 20:20:13 +08:00
Ivan Grokhotkov
ab538bb9f3
Merge branch 'feat/spi_master_timing' into 'master'
...
feature(spi_master): fine tune the timing of spi master
See merge request idf/esp-idf!2301
2018-06-07 20:19:06 +08:00
zhangyanjiao
1bab62a6d6
modify dhcp offer MTU to 1500
2018-06-07 10:03:26 +08:00
Angus Gratton
4b18a50f89
Merge branch 'bugfix/adjtime_attr' into 'master'
...
newlib: Remove RTC_DATA_ATTR for adjtime
See merge request idf/esp-idf!2504
2018-06-07 08:25:05 +08:00
Renz Bagaporo
8caab13faa
spi_flash: Enable flash emulation down to ROM function calls
2018-06-06 17:35:30 +00:00
Renz Bagaporo
e542b7a920
spiffs: Make spiffs runnable on host
...
Makes spiffs component runnable on host. Depends on the host library build
of flash emulator. Includes a basic sanity test of
mounting a volume, opening a file, writing to the file, reading the file,
closing the file and unmounting volume.
2018-06-06 17:35:30 +00:00
Renz Bagaporo
af629b3547
fatfs: Make fatfs runnable on host
...
Makes fatfs component runnable on host. Depends on the host library build
of wear levelling and flash emulator. Includes a basic sanity test of
mounting a volume, opening a file, writing to the file, reading the file,
closing the file and unmounting volume.
2018-06-06 17:35:30 +00:00
Renz Bagaporo
893003357a
wl, spi_flash: Make wl API runnable on host
...
Makes the entirety of the wl API runnable on host. Flash emulator
is separated into spi_flash component directory to be reused by
other storage components.
2018-06-06 17:35:30 +00:00
Konstantin Kondrashov
7e2a3da643
esp32: Fix not the right time spent in a deep sleep
...
Before entering the deep sleep, the RTC and FRC counters are synchronized. Updating the boot_time.
Added a unit test for this case.
Fixed warnings for MULTIPLE_STAGES
Closes https://github.com/espressif/esp-idf/issues/1840
2018-06-06 18:59:30 +05:00
Mahavir Jain
5a9fc19f38
bt: fix typo in documentation
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-06-06 18:22:32 +05:30
zhangyanjiao
5fec589c38
fix espnow bug when add node in AP+STA mode
2018-06-06 20:44:19 +08:00
Konstantin Kondrashov
28507920c8
sleep_mode/esp32: Fix a condition to keep power domain enabled during sleep mode
2018-06-06 17:35:21 +05:00
Jiang Jiang Jian
8955db6d29
Merge branch 'bugfix/btdm_fix_no_gatt_server_req_callback_warning' into 'master'
...
component/bt: fix the issue where no gatt server request callback warning caused…
See merge request idf/esp-idf!2502
2018-06-06 16:29:59 +08:00
Jiang Jiang Jian
a7d62fff18
Merge branch 'bugfix/btdm_fix_memory_leak' into 'master'
...
Component/bt: add config for gattc cache and fix memory leak
See merge request idf/esp-idf!2429
2018-06-06 16:28:15 +08:00
Angus Gratton
4667fb2495
cmake: Compatibility fixes from Mahavir
2018-06-06 16:14:03 +10:00
Michael (XIAO Xufeng)
939e5693a5
chore(spi): fix the terms of native to iomux
2018-06-06 06:08:39 +00:00
michael
75cdbcefc7
test(spi): add test for SPI timing
2018-06-06 06:08:39 +00:00
michael
208d993de1
test(spi_master): slightly modify the test
2018-06-06 06:08:39 +00:00
michael
5cf7d3768d
feat(spi_master): fine tune the timing of SPI
2018-06-06 06:08:39 +00:00
Liu Zhi Fu
6cc95809fb
lwip: fix tcp_pcb_purge assert
...
Remove the assert in tcp_pcb_purge()
2018-06-06 10:25:01 +08:00
chensheng
0b447f0003
test/fix bug refresh cache after connect
2018-06-06 02:17:06 +00:00
zhiweijian
822dac5659
Component/bt: fix memory leak
2018-06-06 02:17:06 +00:00
michael
3ba8461928
doc: fix the level inconsistent issue in Kconfig document
2018-06-05 10:36:18 +00:00
Roland Dobai
51e42d8e92
idf_monitor: add support for filtering options
2018-06-05 12:23:27 +02:00
Angus Gratton
b2ff235bd0
Merge branch 'bugfix/github_prs' into 'master'
...
Merge some small fixes from Github
See merge request idf/esp-idf!2500
2018-06-05 11:51:35 +08:00
island
f30410113b
component/bt: fix the issue where no gatt server request callback warning caused while acting as a GATTC
2018-06-05 02:41:34 +00:00
Konstantin Kondrashov
b1189f4f6a
newlib: Remove RTC_DATA_ATTR for adjtime
...
Using RTC_DATA_ATTR in newlib leads to increased power consumption in sleep mode. (RTC SLOW MEM)
2018-06-04 15:59:22 +05:00
Jiang Jiang Jian
8a4c9d7dfb
Merge branch 'doc/wifi_channel_state_information' into 'master'
...
add document of channel state information
See merge request idf/esp-idf!2468
2018-06-04 17:59:05 +08:00
Marcin Jaworski
5bc1bf4add
Fix PartitionDefinition comparison in Python 3
...
Merges https://github.com/espressif/esp-idf/pull/2018
2018-06-04 17:18:41 +10:00
Stefan Profanter
18533346b8
Fix compile error using asm
...
In function 'xPortGetCoreID':
error: expected ')' before ':' token
:"=r"(id));
Merges https://github.com/espressif/esp-idf/pull/1965
2018-06-04 16:44:35 +10:00
Paul Reimer
c83c3b64cd
Add declarations of private nvs functions (nvs_*) in nvs_flash component to fix C++ -Wmissing-declarations warning
...
Merges https://github.com/espressif/esp-idf/pull/1956
2018-06-04 16:36:44 +10:00
Paul Reimer
e5ac96f49a
Add declarations of private cxx_guard functions (__cxa_guard_*) in cxx component to fix C++ -Wmissing-declarations warning
...
Merges https://github.com/espressif/esp-idf/pull/1956
2018-06-04 16:36:44 +10:00
Paul Reimer
d3b0e0e3fd
Unset COMPONENT_ADD_INCLUDEDIRS in cxx component to fix C++ -Wmissing-include-dirs warning
...
Merges https://github.com/espressif/esp-idf/pull/1956
2018-06-04 16:36:44 +10:00
chensheng
0796099c29
test: filter duplicated ble adv events in test
2018-06-04 14:14:40 +08:00
zhiweijian
ae6b47a60a
Component/bt: close BT sleep in default config
2018-06-04 11:17:27 +08:00
Liu Han
696d733eb0
fix(mdns): fix the exception when remove one of multiple service
2018-06-03 17:29:49 +08:00
Ivan Grokhotkov
f85be9f909
Merge branch 'bugfix/systemview_menu' into 'master'
...
fix the dependency of systemview config menu.
See merge request idf/esp-idf!2457
2018-06-01 21:52:16 +08:00
Jiang Jiang Jian
40da291d5d
Merge branch 'bugfix/wifi_fix_a_few_bugs' into 'master'
...
Fix a few WiFi bugs
See merge request idf/esp-idf!2491
2018-06-01 18:37:50 +08:00
Jiang Jiang Jian
cd3ce46b8f
Merge branch 'bugfix/a2dp_sink_fluent' into 'master'
...
component/bt : enlarge the A2DP SINK FRAME QUEUE SIZE to make A2DP more fluent
See merge request idf/esp-idf!2492
2018-06-01 18:34:20 +08:00
Tian Hao
21cb7226a2
component/bt : enlarge the A2DP SINK FRAME QUEUE SIZE to make A2DP more fluent
2018-06-01 16:51:23 +08:00
Ivan Grokhotkov
28877e7868
Merge branch 'feature/esp_error_check_prints_error_text' into 'master'
...
ESP_ERROR_CHECK converts error code to text
See merge request idf/esp-idf!2488
2018-06-01 16:43:37 +08:00
Jiang Jiang Jian
cb9483e844
Merge branch 'bugfix/btdm_a2dp_assert_warn_after_connected' into 'master'
...
component/bt: Fix bug a2dp assert warn after connected
See merge request idf/esp-idf!2470
2018-06-01 15:54:05 +08:00
Xia Xiaotian
7d5ef3c765
add document of channel state information
2018-06-01 15:45:00 +08:00
XiaXiaotian
5081714c53
Fix a few WiFi bugs
...
1. fix rx state parse if CSI is enabled.
2. make smartconfig channel timer thread safe.
3. fix sniffer filter mask to keep the same as IDF.
2018-06-01 14:25:43 +08:00
baohongde
c04a4a8527
component/bt: Fix bug a2dp assert warn after connected
2018-06-01 10:57:22 +08:00
Jiang Jiang Jian
50252ca794
Merge branch 'bugfix/btdm_malloc_fail_lead_to_exception' into 'master'
...
component/bt: Fix malloc fail lead to crash
See merge request idf/esp-idf!2485
2018-06-01 10:36:36 +08:00
Jiang Jiang Jian
5ff8732950
Merge branch 'bugfix/tw22958_fix_some_bugs_introduced_by_wifi_os_adapter' into 'master'
...
esp32/wpa_supplicant: fix some bugs introduced by wifi os adapter
See merge request idf/esp-idf!2475
2018-06-01 10:34:04 +08:00
Roland Dobai
07acbb5664
ESP_ERROR_CHECK converts error code to text
...
If CONFIG_ESP_ERR_TO_NAME_LOOKUP is enabled, ESP_ERROR_CHECK
prints error message in addition to the error code.
2018-05-31 12:53:37 +02:00
Jiang Jiang Jian
a3a0b01c1b
Merge branch 'bugfix/btdm_fix_ble_throughput_demo_fail' into 'master'
...
Component/bt: fix throughput_demo_fail
See merge request idf/esp-idf!2467
2018-05-31 18:53:01 +08:00
Liu Zhi Fu
4afa5d0d29
esp32/wpa_supplicant: fix some bugs introduced by wifi os adapter
...
1. Fix the WiFi/BT coexist bug
2. Fix WPA2 enterprise example crash bug
3. Add size and version check for crypto type struct
4. Add MD5 check for crypto type header file
2018-05-31 17:09:40 +08:00
xiewenxiang
4467b34da2
component/bt: Fix malloc fail lead to crash
2018-05-31 13:31:27 +08:00
Angus Gratton
6b9784cc45
Merge branch 'master' into feature/cmake_update
2018-05-31 14:46:23 +10:00
Ivan Grokhotkov
834c056234
xtensa: remove unused header files
2018-05-31 02:21:36 +00:00
zhiweijian
212b786119
Component/bt: fix throughput_demo_fail
2018-05-30 19:58:31 +08:00
Jiang Jiang Jian
9eade73539
Merge branch 'bugfix/tw19630_fix_espnow_watchdog' into 'master'
...
fix espnow watchdog when modify it's config parameter
See merge request idf/esp-idf!2480
2018-05-30 19:53:52 +08:00
Jiang Jiang Jian
fbbf4b0c03
Merge branch 'bugfix/btdm_fix_start_adv' into 'master'
...
Component/bt: fix start adv complete event state error in dual core
See merge request idf/esp-idf!2432
2018-05-30 19:41:39 +08:00
zhangyanjiao
9bd38c0d86
fix espnow watchdog when modify
2018-05-30 17:19:46 +08:00
zhiweijian
c8e848b0ff
Component/bt: fix start adv
2018-05-30 17:10:51 +08:00
Jiang Jiang Jian
1b1a179f20
Merge branch 'bugfix/tw20805_fix_wpa2_enterprise_issue' into 'master'
...
wpa_supplicant: fix wpa2 enterprise PEAP connection issue
See merge request idf/esp-idf!2474
2018-05-30 15:51:48 +08:00
Ivan Grokhotkov
9d47f348ab
Merge branch 'feature/adjtime_newlib' into 'master'
...
newlib: Add adjtime - makes a gradual adjustment the system clock
See merge request idf/esp-idf!2462
2018-05-30 15:00:13 +08:00
Jiang Jiang Jian
19d823c44d
Merge branch 'bugfix/btdm_memleak_of_ble_set_security_param' into 'master'
...
component/bt: Fix mem leak of esp_ble_gap_set_security_param
See merge request idf/esp-idf!2458
2018-05-30 14:50:02 +08:00
Liu Zhi Fu
6c89ab9839
wpa_supplicant: fix wpa2 enterprise PEAP connection issue
...
Closes https://github.com/espressif/esp-idf/issues/1887
2018-05-30 13:48:29 +08:00
Ivan Grokhotkov
ddff375bab
Merge branch 'feature/ci_fail_on_executable_files' into 'master'
...
CI: check source files for executable flag
See merge request idf/esp-idf!2463
2018-05-30 11:41:06 +08:00
Ivan Grokhotkov
4ea2cab208
Merge branch 'cermak_dhcpserver_fuzzer_test' into 'master'
...
LWIP_Fuzzer: Added AFL tests for lwip dhcpserver, client and dns
See merge request idf/esp-idf!2399
2018-05-29 22:28:43 +08:00
Ivan Grokhotkov
cb649e452f
remove executable permission from source files
2018-05-29 20:07:45 +08:00
Roland Dobai
ecaf234c39
VFS: fix possible memory leak in UART
2018-05-29 11:01:25 +02:00
Roland Dobai
634e8cd54b
VFS: Use convenience function for safe FD_ISSET
2018-05-29 11:01:25 +02:00
Roland Dobai
15b26f8841
VFS: esp_vfs_select() needs to be callable from concurrent tasks
...
This fix is for compatibility with lwip_select(). It moves the lock to
UART which is the only VFS driver which is implemented and is not
"thread-safe".
2018-05-29 11:01:25 +02:00
Roland Dobai
bdbcc492cf
VFS: Add debugging outputs for select() related functions
2018-05-29 11:01:25 +02:00
Angus Gratton
cfa8ed15c0
partition table: Set partition table offset via variable
2018-05-29 16:34:45 +10:00
Angus Gratton
2909fc182b
esptool: Remove tabs from KConfig.projbuild
2018-05-29 16:34:45 +10:00
Nicola Lunghi
2f433e4342
netif require vfs
2018-05-29 16:34:45 +10:00
Angus Gratton
580cfeaaae
idf.py: Print flashing steps at the end of each build
2018-05-29 16:34:45 +10:00
Angus Gratton
8cf82be917
esp32: Component needs public dependency on tcpip_adapter
...
Because of esp_event.h
Closes https://github.com/espressif/esp-idf/issues/1954
2018-05-29 16:34:45 +10:00
Nicola Lunghi
ed1f4e50df
cmakelists: move spi_flash to COMPONENT_REQUIRES
...
in the include file esp_ota_ops.h "esp_partition.h" is included.
This is from spi_flash so component that requires app_update also will need that
this fixes this error:
In file included from ../components/esp32-homie/ota.c:11:0:
/esp-idf/components/app_update/include/esp_ota_ops.h:22:27: fatal error: esp_partition.h: No such file or directory
Signed-off-by: Nicola Lunghi <25422924+nicola-lunghi@users.noreply.github.com>
Merges https://github.com/espressif/esp-idf/pull/1947
2018-05-29 16:34:45 +10:00
Angus Gratton
979568fa0b
docs: Separate "build and flash" into building then flashing
...
Explains idf.py build as mentioned here: https://github.com/espressif/esp-idf/issues/1906#issuecomment-387557050
2018-05-29 16:34:45 +10:00
Angus Gratton
cc104eb05b
cmake: Add sdkconfig.h directory to include paths list not just compiler args
...
Also move into 'build/config/' subdir, remove creation of empty include/config dir.
2018-05-29 16:34:45 +10:00
Angus Gratton
2f4079ebb2
cmake: Hide serial port settings in menuconfig when using cmake
2018-05-29 16:34:45 +10:00
Konstantin Kondrashov
6f529cbe64
newlib: Add adjtime - makes a gradual adjustment the system clock
...
This function speeds up or slows down the system clock in order to make a gradual adjustment. This ensures
that the calendar time reported by the system clock is always monotonically increasing, which might not happen
if you simply set the clock.
The delta argument specifies a relative adjustment to be made to the clock time. If negative, the system clock is
slowed down for a while until it has lost this much elapsed time. If positive, the system clock is speeded up for a
while.
If the olddelta argument is not a null pointer, the adjtime function returns information about any previous time
adjustment that has not yet completed.
The return value is 0 on success and -1 on failure.
To stop the adjustement, call the function settimeofday(current_time).
2018-05-28 17:36:04 +05:00
baohongde
4c8d9278b5
component/bt: Fix mem leak of esp_ble_gap_set_security_param
2018-05-28 17:43:53 +08:00
Michael (XIAO Xufeng)
2ee00cc3a6
fix the dependency of systemview config menu.
2018-05-28 12:51:01 +08:00
Angus Gratton
9e09df25fb
Merge branch 'bugfix/rtc_vddsdio_details' into 'master'
...
Fix minor VDDSDIO details
See merge request idf/esp-idf!2449
2018-05-28 08:51:02 +08:00
XiaXiaotian
b32b93a607
Add OS adapter to WiFi driver
...
1.add os adapter to wifi driver
2.type of encrypt funcs not correct
2018-05-26 17:22:23 +08:00
Ivan Grokhotkov
64b56beff5
Merge branch 'bugfix/vfs_select_incorrect_reset' into 'master'
...
VFS select: Correct reseting of socket FDs
See merge request idf/esp-idf!2444
2018-05-25 23:22:01 +08:00
Jiang Jiang Jian
83d2a529e3
Merge branch 'bugfix/btdm_bt_err_8192' into 'master'
...
component/bt : fix bug that assert rwbt.c 265 8192 error
See merge request idf/esp-idf!2442
2018-05-25 23:15:05 +08:00
Roland Dobai
e86738205d
Fix redefinition of select() on platforms where ESP_PLATFORM is discarded
...
Ref: https://github.com/espressif/esp-idf/issues/1987
2018-05-25 13:37:43 +00:00
Roland Dobai
e6ae121f41
VFS select: Correct reseting of socket FDs
...
When using multiple sockets, some of them could be incorrectly removed
from the fd_sets before passing these fd_sets forward to the socket
select function.
Closes https://github.com/espressif/esp-idf/issues/1987
2018-05-25 13:37:43 +00:00
Angus Gratton
3e1a93e5a7
soc: rtc_vddsdio_get_config() In default configuration, VDD_SDIO LDO is always enabled
...
When using bootstrapping pin to enable VDD_SDIO, the internal LDO is always enabled at either 1.8V
or 3.3V.
2018-05-25 15:14:13 +10:00
Angus Gratton
d775cc4c4c
soc: Fix description of rtc_config_t.tieh, add macros
...
Usage of TIEH was correct but description had 1.8V & 3.3V backwards.
Add macro definitions for TIEH values to improve readability.
2018-05-25 14:58:37 +10:00
Angus Gratton
c7bedc80c1
Merge branch 'feature/bootloader_factory_reset' into 'master'
...
bootloader: Add factory reset and start test app
See merge request idf/esp-idf!2291
2018-05-25 08:17:48 +08:00
Angus Gratton
5bb238dd17
Merge branch 'bugfix/disable_vfs_select' into 'master'
...
VFS: Optionally disable the VFS implementation of select()
See merge request idf/esp-idf!2434
2018-05-25 07:58:54 +08:00
Konstantin Kondrashov
ae10abff2f
bootloader: Add factory reset and start test app
...
Added feature:
- reset firmware to Factory app.(by long pressing of the button)
- boot Test app. (by long pressing of the button)
- Added feature erase data partitions from factory reset.
TW10281
TW10280
2018-05-24 16:56:49 +05:00
Tian Hao
5f39b58b83
component/bt : fix bug that assert rwbt.c 265 8192 error
2018-05-24 15:47:16 +08:00
zhiweijian
2e63a445d9
Component/bt: fix set scan params command completer error
2018-05-23 12:09:39 +00:00
Jiang Jiang Jian
358c822d6a
Merge branch 'mesh/feature_manual_networking' into 'master'
...
Mesh/feature manual networking
See merge request idf/esp-idf!2426
2018-05-23 19:20:30 +08:00
qiyueixa
feaa6e8a8f
mesh: add manual networking function
...
1. add mesh_assoc_t to esp_mesh_internal.h file.
2. rename "node" to "device" in esp_mesh.h.
3. add MESH_EVENT_SCAN_DONE event.
4. add APIs esp_mesh_scan_get_ap_record() and esp_mesh_scan_get_ap_ie_len() to get scan results.
5. modify API esp_mesh_set_self_organized() by adding parameter "select_parent".
6. modify API esp_mesh_set_parent() by adding parameter "parent_mesh_id"
7. add manual networking example.
2018-05-23 18:09:12 +08:00
Roland Dobai
004bf84d8c
VFS: Optionally disable the VFS implementation of select()
...
This allows to temporarily resolve issues like
https://github.com/espressif/esp-idf/issues/1987
while bugs are fixed in the VFS implementation of select().
2018-05-23 10:14:16 +02:00
Angus Gratton
21e085d235
Merge branch 'feature/xRingBufferCanRead_pr1672' into 'master'
...
freeRTOS/Re-factor ring buffers and add xRingbufferCanRead, xRingbufferCanWrite
See merge request idf/esp-idf!2214
2018-05-23 15:09:40 +08:00
Angus Gratton
c9f8470fdf
Merge branch 'feature/rmt_translator' into 'master'
...
driver(rmt): Add API supports sending uint8_t type data
See merge request idf/esp-idf!1975
2018-05-23 07:27:14 +08:00
Jiang Jiang Jian
f453877759
Merge branch 'feature/multi_antenna_v3.1' into 'master'
...
esp32: add multiple antenna
See merge request idf/esp-idf!2400
2018-05-22 23:04:01 +08:00
Liu Zhi Fu
04c74efedd
esp32: add multiple antenna
...
1. Support multiple antenna support
2. libphy.a is updated to v3910
2018-05-22 22:28:00 +08:00
Jiang Jiang Jian
affed9a235
Merge branch 'feature/a2dp-sink-source-runtime-selection' into 'master'
...
bt-a2dp: BT A2DP sink and source selection is now runtime
See merge request idf/esp-idf!2229
2018-05-22 22:21:39 +08:00
Jiang Jiang Jian
b19afed31f
Merge branch 'bugfix/some_changes_relating_to_phy_v3900' into 'master'
...
esp32: some changes relating to phy v3900
See merge request idf/esp-idf!2421
2018-05-22 21:09:05 +08:00
Jiang Jiang Jian
72c2a6f1c6
Merge branch 'feature/proto-client' into 'master'
...
HTTP Client
See merge request idf/esp-idf!1521
2018-05-22 21:06:46 +08:00
Ivan Grokhotkov
0b3ed36d0d
Merge branch 'bugfix/cermak_mdns_fuzzer_update' into 'master'
...
Bugfix/cermak mdns fuzzer update
See merge request idf/esp-idf!2388
2018-05-22 20:03:02 +08:00
David Cermak
fffbf7b750
Fixed nullptr dereference in MDNS.c
2018-05-22 11:23:12 +02:00
David Cermak
e983230be9
MDNS-Fuzzer: AFL fuzzer tests for mdsn packet parser
2018-05-22 11:23:12 +02:00
Liu Zhi Fu
67424816cc
esp32: some changes relating to phy v3900
...
1. Store the calibration data to NVS if PHY does full calibration because of calibration data checksum failure
2. Pass the station's mac to PHY for checksum calculation
2018-05-22 14:16:09 +08:00
Angus Gratton
46d6fd1ddf
Merge branch 'bugfix/parallel_multi_heap_test' into 'master'
...
CI fix: multi heap host test parallel race
See merge request idf/esp-idf!2428
2018-05-22 13:30:58 +08:00
Tuan PM
64ce589f6f
Remove unused macro
2018-05-22 12:04:47 +07:00
Tuan PM
f2aea4f5b6
Add http status enum & return ESP_FAIL as error code
2018-05-22 10:55:18 +07:00
Angus Gratton
41bb1fcb48
Merge branch 'bugfix/unit_test_timeout' into 'master'
...
Unit tests: Add per-test timeout option, disable two SD tests
See merge request idf/esp-idf!2423
2018-05-22 11:13:16 +08:00
Angus Gratton
3fe862dacb
test_multi_heap_host: Remove race conditions from parallel "make clean test"
2018-05-22 12:09:30 +10:00
Angus Gratton
75c27202f7
Merge branch 'feature/update_touchpad_filter_process' into 'master'
...
driver(touchpad): Change the measuring mode, improve the software filter.
See merge request idf/esp-idf!2358
2018-05-22 09:56:55 +08:00
kooho
5bc8ae3b3a
driver(rmt):Add API supports sending uint8_t type data.
2018-05-22 01:55:44 +00:00
Angus Gratton
b8312a26c0
Merge branch 'feature/sdio_slave' into 'master'
...
feature(sdio_slave): add support for sdio_slave
See merge request idf/esp-idf!1829
2018-05-22 09:43:35 +08:00
Angus Gratton
67fb34fa4e
Merge branch 'bugfix/dport_access_iram' into 'master'
...
dport: Bigfix dport_read code move to IRAM
See merge request idf/esp-idf!2427
2018-05-22 09:22:52 +08:00
Konstantin Kondrashov
e5b280f173
dport: Bigfix dport_read code move to IRAM
...
A new method of workaround an error with DPORT is to ensure that the APB is read and followed by the DPORT register without interruptions and pauses. This fix places this implementation in the IRAM to exclude errors associated with the cache miss.
2018-05-21 22:00:51 +05:00
michael
f613859e29
feat(sdio_slave): add new driver for sdio_slave
2018-05-21 23:48:47 +08:00
Michael (XIAO Xufeng)
c73575de4f
feat(sdio_slave): add headers for sdio slave components: slc, host, hinf
2018-05-21 23:48:33 +08:00
Angus Gratton
156dd4841d
Temporarily disable SD CD/WP mode tests
...
Tracked in TW22648
2018-05-21 12:27:10 +00:00
Angus Gratton
e8525396dd
test: Allow per-unit-test timeouts
...
Work around for "(WL) write/read speed test" taking >30s in some configs
2018-05-21 12:27:10 +00:00
Jiang Jiang Jian
92c469b599
Merge branch 'bugfix/btdm_fix_scan_duplicate' into 'master'
...
Component/bt: fix scan duplicate
See merge request idf/esp-idf!2342
2018-05-21 20:00:49 +08:00
Amey Inamdar
ae8ed8dad8
bt-a2dp: BT A2DP sink and source selection is now runtime
...
Earlier they have to be selected at the compile time through sdkconfig.
A2DP sink and source application tested with this change.
Signed-off-by: Amey Inamdar <amey@espressif.com>
2018-05-21 14:02:49 +05:30
Angus Gratton
0c64ef9600
Merge branch 'bugfix/sdio_write_unaligned_len' into 'master'
...
SDIO: allow read/write operations for lengths not divisible by 4
See merge request idf/esp-idf!2278
2018-05-21 15:26:32 +08:00
zhiweijian
340ad5c430
Component/bt: fix scan duplicate
2018-05-21 15:23:15 +08:00
Wangjialin
09181b7d94
driver(touchpad): improve touchpad filter mode and update examples.
2018-05-21 14:45:31 +08:00
Jiang Jiang Jian
95c3bc39f8
Merge branch 'feature/wifi_channel_state_information' into 'master'
...
add Channel State Information(CSI) support
See merge request idf/esp-idf!2373
2018-05-21 14:14:51 +08:00
Jiang Jiang Jian
35d148256b
Merge branch 'bugfix/fix_uart_buffer_full_flg_error_bug' into 'master'
...
driver(uart): Fix the bug that uart buffer_full flag is true all the time.
See merge request idf/esp-idf!2418
2018-05-21 14:09:44 +08:00
Jiang Jiang Jian
adcad91c55
Merge branch 'feature/btdm_hfp_hf' into 'master'
...
component/bt: implement HFP Hands Free Unit Role
See merge request idf/esp-idf!2306
2018-05-21 13:56:52 +08:00
wangmengyang
4c4e143a2f
component/bt: implement HFP Hands Free Unit Role
2018-05-21 11:33:30 +08:00
Angus Gratton
6363396eba
Merge branch 'feature/freertos_tickless_idle' into 'master'
...
freertos,esp32: automatic light sleep support
See merge request idf/esp-idf!2247
2018-05-21 10:59:00 +08:00
Tuan PM
ff528d13c7
Add esp_http_client
...
Add error handling for http client
set ssid password correct with Example_WIFI test, and clear password before free
Fixed the CI failure due to HTTP errror names
2018-05-21 09:35:07 +07:00
Jiang Jiang Jian
9c53b599b2
Merge branch 'bugfix/i2c_add_xqueue_static_allocation' into 'master'
...
driver(i2c, rmt): Add xQueue and xSemaphore static allocation support when intr_alloc_flag set to ESP_INTR_FLAG_IRAM.
See merge request idf/esp-idf!2335
2018-05-21 10:29:31 +08:00
Angus Gratton
03414b1f39
Merge branch 'bugfix/reset_some_peripherals_when_cpu_start' into 'master'
...
driver: Reset communication peripherals when cpu start up.
See merge request idf/esp-idf!2296
2018-05-21 09:53:42 +08:00
kooho
f6f9f93a9d
driver(i2c, rmt):Add intr_flag setting to ESP_INTR_FLAG_IRAM support when enable psram.
2018-05-21 09:37:56 +08:00
Darian Leung
4bfa30967f
freeRTOS/Re-factor ring buffers
...
This fixes multiple bugs with ring buffers and re-factors the code. The public
API has not changed, however the underlying implementation have various private
functions have been changed. The following behavioral changes have been made
- Size of ring buffers for No-Split/Allow-Split buffers will not be rounded
up to the nearest 32-bit aligned size. This was done to simplify the
implementation
- Item size for No-Split/Allow-Split buffers will also be rounded up to the
nearest 32-bit aligned size.
The following bugs have been fixed
- In copyItemToRingbufAllowSplit(), when copying an item where the aligned
size is smaller than the remaining length, the function does not consider
the case where the true size of the item is less than 4 bytes.
- The copy functions will automatically wrap around the write pointers when
the remaining length of the buffer is not large enough to fit a header, but
does not consider if wrapping around will cause an overlap with the read
pointer. This will make a full buffer be mistaken for an empty buffer
closes #1711
- xRingbufferSend() can get stuck in a infinite loop when the size of the
free memory is larger than the needed_size, but too small to fit in the ring
buffer due to alignment and extra overhead of wrapping around.
closes #1846
- Fixed documentation with ring buffer queue set API
- Adding and removing from queue set does not consider the case where the
read/write semaphores actually hold a value.
The following functions have been deprecated
- xRingbufferIsNextItemWrapped() due to lack of thread safety
- xRingbufferAddToQueueSetWrite() and xRingbufferRemoveFromQueueSetWrite()
as adding the queue sets only work under receive operations.
The following functions have been added
- xRingbufferReceiveSplit() and xRingbufferReceiveSplitFromISR() as a thread
safe way to receive from allow-split buffers
- vRingbufferGetInfo()
Documentation for ring buffers has also been added.
2018-05-21 01:04:58 +00:00
Ing. Jaroslav Safka
32e838ddb6
Add xRingbufferCanRead, xRingbufferCanWrite
...
Add function xRingbufferCanRead & xRingbufferCanWrite
to be able use queue sets. Without it is not possible
to check to which ringbuffer returned semaphore belongs.
2018-05-21 01:04:58 +00:00
Angus Gratton
a79116a23e
Merge branch 'feature/gcov_dbg_stubs' into 'master'
...
Feature/gcov dbg stubs
See merge request idf/esp-idf!1494
2018-05-21 08:07:49 +08:00
Xia Xiaotian
7f8811ea14
add Channel State Information(CSI) support
2018-05-20 19:25:25 +08:00
qiyueixa
bb9e73c864
mesh: update libs
...
1. use pbkdf2_sha1() to encrypted mesh ie key.
2. fix esp_mesh_waive_root().
3. fix esp_mesh_stop().
4. fix xon issues.
2018-05-20 15:28:38 +08:00
Jiang Jiang Jian
1f7b41e206
Merge branch 'feature/add_event_SYSTEM_EVENT_AP_STAIPASSIGNED' into 'master'
...
add event SYSTEM_EVENT_AP_STAIPASSIGNED
See merge request idf/esp-idf!2202
2018-05-19 17:04:24 +08:00
Jiang Jiang Jian
a7a90ffba2
Merge branch 'feature/unified_btdm_modem_sleep_with_coex' into 'master'
...
component/bt: implement bluetooth modem sleep
See merge request idf/esp-idf!2198
2018-05-19 16:20:49 +08:00
wangmengyang
22e21b38f7
component/bt: implement bluetooth modem sleep mode, one mode for BLE only and another for dual mode bluetooth
...
1. provide options for bluetooth low power mode
2. provide two options for bluetooth low power clock: main XTAL and external 32kHz XTAL
3. provide function and callbacks to control bluetooth low power mode, including enable/disable sleep, software wakeup request, low power clock settings, check power state, etc
4. modify vhci API vhci_host_send_packet to use blocking mode
5. note that DFS and bluetooth modem sleep can not be used together currently.
2018-05-19 15:37:26 +08:00
zhangyanjiao
3f031cdd9d
add event SYSTEM_EVENT_AP_STAIPASSIGNED
2018-05-19 13:14:12 +08:00
Jiang Jiang Jian
7cc3b648f4
Merge branch 'doc/nvs_flash_encryption' into 'master'
...
nvs README: Remove section about encryption capability
See merge request idf/esp-idf!2404
2018-05-19 00:44:56 +08:00
David Cermak
bb25d0a348
DnsFuzzer: Added fuzzer test for exercising lwip/dns receiving DNS responses
2018-05-18 15:54:08 +02:00
Alexey Gerenkov
c1b6a37bb1
esp32: Adds GCOV debug stubs support
...
Adds the following functionality
- Debug stubs infrastructure
- Stub for retrieveing GCOV data without user source code modification
2018-05-18 16:16:03 +03:00
Jiang Jiang Jian
041faad1c9
Merge branch 'feature/add_more_information_about_wifi_config' into 'master'
...
wifi: Add more information about wifi config
See merge request idf/esp-idf!2384
2018-05-18 17:29:32 +08:00
kooho
33b99caf50
driver(uart):Fix the bug that uart buffer_full flag is true all the time.
2018-05-18 16:46:10 +08:00
Angus Gratton
af2cb3ba8b
Merge branch 'feature/vfs_find_free_fd' into 'master'
...
Add "find file descriptor" API to be used by VFS drivers
See merge request idf/esp-idf!2389
2018-05-18 15:22:20 +08:00
kooho
ef39c09bc1
driver: reset communication peripherals when the cpu starts.
2018-05-18 14:41:58 +08:00
Roland Dobai
18e83bcd53
Allow VFS file descriptors in select()
2018-05-18 08:06:33 +02:00
Roland Dobai
2aa9c15906
VFS: allow to find free file descriptors & register them
2018-05-18 07:57:35 +02:00
Deng Xin
8b389419ab
(wifi): Add more information about wifi config
...
1. Update libphy.a to v3900
2. Update librtc.a to v238
3. add scan_method, sort_method and threshold when invoke esp_wifi_get_config()
4. add rssi of each STA in softAP list
5. add country information in scan result
6. add noise floor in rx pkt
Closes https://github.com/espressif/esp-idf/issues/1095
Closes https://github.com/espressif/esp-idf/issues/1723
Closes https://github.com/espressif/esp-idf/issues/1483
2018-05-18 11:55:55 +08:00
Jiang Jiang Jian
d84add4513
Merge branch 'bugfix/performance_tests_psram' into 'master'
...
tests: Increase performance thresholds when running with PSRAM
See merge request idf/esp-idf!2414
2018-05-18 11:35:33 +08:00
Ivan Grokhotkov
028fbb58e8
freertos,esp32: automatic light sleep support
2018-05-18 03:14:46 +00:00
Angus Gratton
51aceaa030
Merge branch 'bugfix/idle_task_stack_size' into 'master'
...
freertos: Bump default idle task stack size to 1536 bytes
See merge request idf/esp-idf!2411
2018-05-18 10:10:13 +08:00
Liu Zhi Fu
4e9ea81208
esp32: support to create wifi task on any core
...
Support to create WiFi task on any core.
Closes https://github.com/espressif/esp-idf/issues/968
2018-05-17 22:04:08 +08:00
Jiang Jiang Jian
cf9499479c
Merge branch 'bugfix/i2s_mix_result_with_error_code_master' into 'master'
...
fix i2s mix result and error code
See merge request idf/esp-idf!2227
2018-05-17 21:53:06 +08:00
Jiang Jiang Jian
f64f70250d
Merge branch 'feature/add_set_factory_info_customer_in_wps_v3.1' into 'master'
...
wifi: add set factory information feature by customer in wps
See merge request idf/esp-idf!2412
2018-05-17 21:49:40 +08:00
Angus Gratton
a2241fb4bc
tests: Increase performance threshold for VFS running with PSRAM
...
Cache effects on microbenchmarks in cached flash can be significant, depending on linker layout in flash.
2018-05-17 21:02:47 +08:00
Jiang Jiang Jian
8c657dfee4
Merge branch 'bugfix/fix_an_error_in_comment_of_uart_driver' into 'master'
...
deiver(uart):revise the explanation of uart break length
See merge request idf/esp-idf!2398
2018-05-17 17:17:14 +08:00
Jiang Jiang Jian
993b8b7bf6
Merge branch 'bugfix/o3_fails' into 'master'
...
Fix compilation errors when -O3 is used
See merge request idf/esp-idf!2396
2018-05-17 16:48:13 +08:00
Deng Xin
54d9a392e4
wifi: add set factory information feature by customer in wps
2018-05-17 16:45:53 +08:00
Jiang Jiang Jian
59db3cb1c2
Merge branch 'bugfix/wifi_fix_a_few_wifi_bugs' into 'master'
...
Fix a few WiFi bugs
See merge request idf/esp-idf!2312
2018-05-17 16:33:38 +08:00
Zhang Zhao Xiang
9deb58859c
fix i2s mix result and error code
2018-05-17 10:59:04 +08:00
Angus Gratton
4719bab2f3
freertos: Bump default idle task stack size to 1536 bytes
...
In situations where idle task runs a lot of idle hooks or cleanup code
(due to pthread local storage, etc) it can use more than 1KB of stack.
(I think the trigger is if a context switch happens at the right point
in the TLS cleanup).
Also removes an sdkconfig.default which accidentally set all config items,
including this stack size.
2018-05-17 10:37:24 +08:00
David Cermak
5ecf717e40
DhcpFuzzer: dhcp client addded
2018-05-16 14:52:42 +02:00
Wangjialin
f6927ccde9
bootloader(flash): fix flash QIO mode configuration error.
...
reported from github: https://github.com/espressif/esp-idf/issues/1944
1. Add SPI register setup in execute_flash_command.
2. Save and recover the SPI ctrl register in execute_flash_command.
2018-05-16 12:42:29 +00:00
Alex Lisitsyn
44b1bc0ab9
esp32: Add .noinit and .rtc_noinit sections to the linker script
...
Added .rtc_noinit and .noinit section definitions into linker file /esp32/ld/esp32.common.ld.
The macro __NOINIT_ATTR, RTC_NOINIT_ATTR declared in esp32/esp_attr.h file.
Added unit test file to test added behavior for noinit variables and its attributes.
Added documentation changes for new added attributes.
Make some corrections after code review:
The linker file has been corrected to place noinit section before bss_start to make it safer.
Documentation file has been modified to clarify reset behavior of allocated data .
Corrected typos in test_noinit.c and removed assertion of noinit variable to avoid possible issues with ROM boot loader memory allocation.
The linker file has been corrected to place noinit section before bss_start to make it safer.
Documentation file has been modified to clarify reset behavior of allocated data .
Corrected typos in test_noinit.c and removed assertion of noinit variable to avoid possible issues with ROM boot loader memory allocation.
Update test_noinit.c file to address RTCWDT_RTC_RESET reset reason instead of POWERON_RESET.
Test optimized to pass automated unit testing.
esp32: Add .noinit and .rtc_noinit sections to the linker script
Update of general-notes.rst documentation to fomat examples as code and attributes as identifiers.
Test test_noinit.c corrected to pass automated testing (support ofTEST_CASE_MULTIPLE_STAGES())
https://ezredmine.espressif.cn:8765/issues/15878
2018-05-16 17:33:37 +05:00
Angus Gratton
f4f305bdbd
Merge branch 'bugfix/mbedtls_submodule' into 'master'
...
mbedtls: Add submodule check at build time
See merge request idf/esp-idf!2395
2018-05-16 19:52:45 +08:00
Angus Gratton
b2e264ef52
Merge branch 'feature/ledc_add_api_set_hpoint_val' into 'master'
...
driver(ledc): fix duty and fade issues and add thread-safe version APIs.
See merge request idf/esp-idf!2233
2018-05-16 19:52:26 +08:00
baohongde
174501ff35
component/bt: modify BT GAP structure
...
1. Separate the upward and the downward
2. Cancel use of msg.aid when call btc_transfer_context
2018-05-16 18:58:13 +08:00
XiaXiaotian
40efc36849
Fix a few WiFi bugs
...
1. remove rc when ap not found
closes issue: https://github.com/espressif/esp-idf/issues/1797
2. allocate mimo packet to internal memory
3. use FRC2 timer instead of WDEV_NOW() for modem sleep to calculate
TBTT time.
It fixes the bug that TBTT will be incorrect if beacon is lost.
2018-05-16 18:50:28 +08:00
Jiang Jiang Jian
c54a679a41
Merge branch 'bugfix/fix_interrupt_list_insert_issue' into 'master'
...
esp32: fix interrupt list insert issue
See merge request idf/esp-idf!2391
2018-05-16 18:18:58 +08:00
Jiang Jiang Jian
4b4a587540
Merge branch 'bugfix/touch_change_default_enable_value' into 'master'
...
bugfix(touch): change the default value for sar_touch_enable register.
See merge request idf/esp-idf!1870
2018-05-16 17:40:18 +08:00
Jiang Jiang Jian
f502e195aa
Merge branch 'bugfix/improve_bt_debug' into 'master'
...
components/bt: Improve the Bluetooth debug messaging scheme
See merge request idf/esp-idf!2303
2018-05-16 16:04:34 +08:00
Liu Zhi Fu
846b848bfc
esp32/docs: fully support esp_wifi_80211_tx
...
Closes https://github.com/espressif/esp-idf/issues/1256
Closes https://github.com/espressif/esp-idf/issues/1332
2018-05-16 13:37:54 +08:00
Angus Gratton
7ae1e9463e
Merge branch 'bugfix/rtc_xtal_tests' into 'master'
...
ci: Only run XTAL unit tests assuming board has an XTAL
See merge request idf/esp-idf!2401
2018-05-15 18:44:46 +08:00
Angus Gratton
3d92c6cccd
nvs README: Remove section about encryption capability
2018-05-15 18:02:28 +08:00
Angus Gratton
05e09a5bac
ci: Only run XTAL unit tests assuming board has an XTAL, run less repeats
2018-05-15 15:43:24 +08:00
Angus Gratton
d1066e9d7f
Merge branch 'feature/dport_access' into 'master'
...
soc: Dport access with pre-read register APB
See merge request idf/esp-idf!2257
2018-05-15 15:32:28 +08:00
He Yin Ling
0ae6a83768
Merge branch 'test/add_iperf_example_test' into 'master'
...
test: add iperf example test
See merge request idf/esp-idf!1753
2018-05-15 14:58:08 +08:00
Angus Gratton
ae7cee02d2
Merge branch 'feature/vfs_access' into 'master'
...
Implement VFS support for access()
See merge request idf/esp-idf!2378
2018-05-15 14:33:51 +08:00
Angus Gratton
fcd5d0869d
Merge branch 'bugfix/spi_native_pins' into 'master'
...
fix several spi issues about pin configurations
See merge request idf/esp-idf!2309
2018-05-15 14:19:20 +08:00
He Yin Ling
e8dd203e47
example test: add test case for iperf example
2018-05-15 13:42:26 +08:00
Angus Gratton
662fe55996
Merge branch 'bugfix/select_rtc_slow_clk' into 'master'
...
esp32/clk: Fix starting rtc oscillator if it bad
See merge request idf/esp-idf!2215
2018-05-15 12:57:22 +08:00
Konstantin Kondrashov
9ad0760b9d
esp32/clk:Fix starting rtc oscillator if it is bad
...
If the RTC crystal is bad or has no matched capacitance, then you do not need to start such the crystal. It is necessary to determine this case, output an error (about impossibility to start from the oscillator) and start from the internal RC of the chain.
Reduced the default value of the number of bootstrap cycles. Because we can oscillating the oscillator which then stops. (in Kconfig). Changed from 100 to 5.
The number of calibration cycles has been increased. It is the main criterion for estimating the launch of an oscillator. A large increase leads to an increase in the load time, as well as the stability of recognition of this case. (in Kconfig).
Changed from 1024 to 3000.
2018-05-15 08:59:15 +05:00
Angus Gratton
31d53bc059
Merge branch 'bugfix/sdspi_delayed_write_response' into 'master'
...
sdspi: handle delayed response to data write command
See merge request idf/esp-idf!2290
2018-05-15 10:32:21 +08:00
Jiang Jiang Jian
73d20981de
Merge branch 'bugfix/rmt_tx_stop_bug' into 'master'
...
driver(rmt): RMT tx stop workaround
See merge request idf/esp-idf!1915
2018-05-15 10:04:33 +08:00
Jiang Jiang Jian
33b11c6f6a
Merge branch 'feature/adjust_log_level_about_uart' into 'master'
...
feat: Adjust log level about UART
See merge request idf/esp-idf!2047
2018-05-15 09:59:21 +08:00
Ivan Grokhotkov
9379d7b9f9
sdmmc: wait for command done event even if data transfer is over
...
This fixes errors logged on the console: sdmmc_req:
handle_idle_state_events unhandled: 00000004 00000000
The issue happens if "data done" event occurs before "command done".
State machine code did not check *which* event occurred in
SENDING_CMD state, and went to IDLE or SENDING_DATA state on any
non-error event. In this case, we can't process "data done" event
until command has completed. This change introduces "unhandled event"
mask, which is carried over from one run of process_events to the
other. This allows waiting for the "command done" event to complete,
and then process "data done" event.
Ref TW17126.
2018-05-15 09:59:20 +08:00
Ivan Grokhotkov
cf81db40a2
sdio: allow reads/writes with lengths not divisible by 4
...
CMD53 in byte mode supports transfers of any number of bytes between 1
and 512. This change removes limitation that the number of bytes must
be divisible by 4. Host quirk, that such transfers must be split into
two commands (one for the aligned part and the other one for
unaligned) is taken into account.
2018-05-15 09:59:20 +08:00
Jiang Jiang Jian
97a228e6ab
Merge branch 'bugfix/rename_clk_rst_bits_for_spi' into 'master'
...
rename clock enable and reset bits for SPI modules
See merge request idf/esp-idf!2293
2018-05-15 09:49:56 +08:00
Jiang Jiang Jian
6adaeb0048
Merge branch 'bugfix/btdm_fix_crash_without_smp_when_deinit_bluedroid' into 'master'
...
Component/bt: fix crash without SMP when deinit bluedroid
See merge request idf/esp-idf!2375
2018-05-14 21:20:44 +08:00
David Cermak
3a6d256d3e
DhcpFuzzer: Added AFL test for dhcpserver with sample packets
2018-05-14 15:03:37 +02:00
Konstantin Kondrashov
8f80cc733d
soc: Change DPORT access
...
When two CPUs read the area of the DPORT and the area of the APB, the result is corrupted for the CPU that read the APB area.
And another CPU has valid data.
The method of eliminating this error.
Before reading the registers of the DPORT, make a preliminary reading of the APB register.
In this case, the joint access of the two CPUs to the registers of the APB and the DPORT is successful.
2018-05-14 17:54:57 +05:00
Hrishikesh Dhayagude
da6cb6c741
components/bt: Improve the Bluetooth debug messaging scheme
...
As of now, when Bluetooth debugs are enabled, all the messages are
mapped to BT_PRINTF which is mapped to ESP_LOGE. Hence, make monitor
shows all logs in red color which might lead to missing the actual
errors
This patch maps the Bluetooth messages to appropriate ESP_LOG* messages
and improves readability.
Also, make the BT trace level be configurable in menuconfig, so that
each layer of bt trace can be enabled/disabled.
Finally, add debug log control for BTC, OSI, BLUFI and clear up
Bluetooth debug logs.
So, with this the method of enabling Bluetooth logs is as follows:
1. make menuconfig -> Component config -> Bluetooth -> Bluedroid Enable
-> BT DEBUG LOG LEVEL -> set trace level for every layer of BT
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-05-14 20:45:05 +08:00
Jiang Jiang Jian
256a9a8a33
Merge branch 'feature/wifi_add_sniffer_ctrl_pkt' into 'master'
...
add sniffer control packet support
See merge request idf/esp-idf!1904
2018-05-14 20:42:15 +08:00
Jiang Jiang Jian
9e5318b584
Merge branch 'bugfix/btdm_reconnect_con_params_update_reject_in_smp' into 'master'
...
Component/bt: update con params is rejected in smp when reconnection
See merge request idf/esp-idf!2318
2018-05-14 20:19:29 +08:00
chenjianqiang
b5de860bcb
revise the explain of a parameter(brk_len) in uart driver file
2018-05-14 19:47:16 +08:00
kooho
a8d26d7e4d
driver(rmt):Fix rmt_tx_stop bug.
2018-05-14 19:46:30 +08:00
Angus Gratton
b888032a8c
Merge branch 'bugfix/logging_docs_cleanup' into 'master'
...
log: clean up docs, clarify esp_log_level_set usage
See merge request idf/esp-idf!2080
2018-05-14 18:36:35 +08:00
Roland Dobai
ca08397b6b
Fix compilation errors when -O3 is used
...
Closes https://github.com/espressif/esp-idf/issues/718
2018-05-14 12:29:57 +02:00
jack
c384fa2492
rename clock enable and reset bits for SPI modules
...
1.The names of clock enable and reset bits do not match with TRM, just rename them.
2018-05-14 16:45:03 +08:00
Angus Gratton
c94a5ecfdd
mbedtls: Add mbedtls submodule check to build system
2018-05-14 16:07:18 +08:00
Jiang Jiang Jian
d4276efed7
Merge branch 'bugfix/bluedroid_const_char' into 'master'
...
Bluedroid: remove warnings about discarding "const" for "const char*"
See merge request idf/esp-idf!2387
2018-05-14 15:25:45 +08:00
Roland Dobai
4345e198ce
Implement VFS support for access()
...
Closes https://github.com/espressif/esp-idf/issues/1085
2018-05-14 09:04:18 +02:00
XiaXiaotian
57297cf7b7
add sniffer control packet support
2018-05-14 14:16:03 +08:00
Liu Zhi Fu
1c81e4be60
esp32: fix interrupt list insert issue
...
If the allocated interrupt list is not empty and the new item will be inserted
as the header of the list, insert_vector_desc() causes crash because pre is
null. This commit fix this issue.
2018-05-14 14:13:08 +08:00
He Yin Ling
adc3315677
Merge branch 'test/add_unit_test_jobs' into 'master'
...
ci: increase number of unit test jobs, temporarily disable light sleep test for short durations
See merge request idf/esp-idf!2386
2018-05-14 14:06:05 +08:00
kooho
1bebec05c6
driver(ledc): fix duty and fade issues and add thread-safe version APIs.
...
1. Fix the duty fade check issue reported from https://github.com/espressif/esp-idf/issues/1914
2. Fix the duty overflow issue when duty_scale is set to 1.
3. Fix the duty fade error when a fade operation is under way. We must configure a new duty setting after the previous fade operation has finished due to hardware limit.
4. Add thread-safe version APIs to set duty and fade.
5. Correct the duty range in driver.
2018-05-14 12:27:21 +08:00
Angus Gratton
e23ee9fa73
Merge branch 'bugfix/ledc_error' into 'master'
...
ledc driver: Clarify logging of function argument errors
See merge request idf/esp-idf!2380
2018-05-14 09:16:02 +08:00
Angus Gratton
6817088ce4
Merge branch 'feature/mbedtls_2_9_0' into 'master'
...
Re-add mbedTLS as a submodule, update to 2.9.0
See merge request idf/esp-idf!2367
2018-05-14 09:15:44 +08:00
Angus Gratton
64c52022b9
Merge branch 'bugfix/add_comments_for_adc' into 'master'
...
driver(adc): Add descriptions that starting ADC can trigger interrupt of GPIO36…
See merge request idf/esp-idf!1910
2018-05-11 18:54:40 +08:00
Ivan Grokhotkov
1b7ed6455b
esp32/test: temporarily disable test for light sleep duration
...
Until the issue in CI is debugged
2018-05-11 18:15:58 +08:00
Angus Gratton
3a53e35fe8
Merge branch 'bugfix/vfs_append' into 'master'
...
VFS: use O_APPEND flag of open() correctly
See merge request idf/esp-idf!2382
2018-05-11 18:12:47 +08:00
Roland Dobai
2041c08681
Bluedroid: remove warnings about discarding "const" for "const char*"
2018-05-11 11:29:10 +02:00
kooho
d53661a663
driver(adc): add descriptions for the issue that starting ADC can trigger interrupt of GPIO36 and GPIO39.
2018-05-11 17:08:58 +08:00
Jiang Jiang Jian
a5f36ec2d5
Merge branch 'feature/wifi_refactor_smartconfig' into 'master'
...
refactor smartconfig
See merge request idf/esp-idf!2205
2018-05-11 16:23:22 +08:00
Jiang Jiang Jian
5616491c50
Merge branch 'bugfix/i2s_dma_buf_alloc' into 'master'
...
i2s: fix issue in dma descriptor allocation if SPIRAM is enabled
See merge request idf/esp-idf!2383
2018-05-11 16:03:40 +08:00
Jiang Jiang Jian
41228c83c7
Merge branch 'bugfix/dhcp_server_max_limit' into 'master'
...
dhcp/dhcpserver Fix max station limit check in dhcp server
See merge request idf/esp-idf!2298
2018-05-11 15:50:38 +08:00