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
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
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
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