michael
cfba157fdd
spi_slave: add valid check for DMA buffers
...
The DMA cannot receive data correctly when the buffer address is not
WORD aligned. Currently we only check whether the buffer is in the DRAM
region.
The DMA always write in WORDs, so the length arguments should also be
multiples of 32 bits.
A check is added to see whether the buffer is WORD aligned and has valid
length.
2018-11-26 03:49:26 +00:00
michael
435adaa22a
spi_master: add check for trans len
...
The driver decide whether use MOSI/MISO phases according to the buffer
address together with the SPI_TRANS_USE_*DATA. However someone may assue
that these phases will be skipped when the ``length``/``rxlength`` is
set to 0. In fact it is a feature that ``rxlength`` is allowed to be
set to 0 when tx and rx have the same length, and the driver fill the
``rxlength`` to ``length``.
An error check is added when the rxlength is 0 but there is data to be
sent.
2018-11-26 03:49:26 +00:00
He Yin Ling
7202aed31e
ci: split build unit test job:
...
it takes long time to build with both make and cmake
2018-11-26 10:07:41 +08:00
He Yin Ling
ca7fa6f01a
ci: use artifacts:reports feature of Gitlab CI
2018-11-26 10:07:41 +08:00
He Yin Ling
ef9eaddd88
ci: assign unit test cases in sequence of config and name
2018-11-26 10:07:41 +08:00
He Yin Ling
5b3d09d5c8
test: fix unit test script code style warnings
2018-11-26 10:07:41 +08:00
He Yin Ling
644571f78b
test: generate junit test report according to executed cases
2018-11-26 10:07:41 +08:00
He Yin Ling
0ad226b375
tiny-test-fw: support capture raw data in DUT:
...
test cases might want to use `expect` and get raw data from DUT at the same time. New added capture method provides a way to do that.
2018-11-26 10:07:41 +08:00
Angus Gratton
fa59b1b1c9
Merge branch 'bugfix/fix_cmake_args_issue' into 'master'
...
Fix CMAKE_ARGS issue for ULP build
See merge request idf/esp-idf!3776
2018-11-26 07:58:09 +08:00
Ivan Grokhotkov
5aa7abb216
Merge branch 'bugfix/spiram_80m_clk_config' into 'master'
...
clk: fix regression in clock setting for SPIRAM with 80MHz config
See merge request idf/esp-idf!3724
2018-11-25 22:25:19 +08:00
Jiang Jiang Jian
a0468b2bd6
Merge branch 'feature/btdm_add_update_duplicate_scan_exceptional_list_apis' into 'master'
...
Component/bt: add update duplicate scan exceptional list APIs
See merge request idf/esp-idf!3763
2018-11-25 18:58:53 +08:00
Roland Dobai
608fc23278
tools: Fix idf_monitor test case occasional hangup or failure
...
Closes idf/esp-idf#39
2018-11-23 13:33:17 +01:00
zhiweijian
18a27b88c7
Component/bt: fix accept specified sec auth error
2018-11-23 20:14:03 +08:00
Mahavir Jain
1751607adf
examples: enable option to auto clear I2S tx descriptor on underflow
...
Closes: https://github.com/espressif/esp-idf/issues/1945
2018-11-23 14:43:20 +05:30
zhangyanjiao
ad22d280c6
wifi: add long range code
2018-11-23 09:09:07 +00:00
Jiang Jiang Jian
64d038c0d5
Merge branch 'bugfix/fix_some_wifi_bugs_1121' into 'master'
...
esp32: fix some wifi bugs
See merge request idf/esp-idf!3756
2018-11-23 17:08:25 +08:00
Mahavir Jain
765bf674d0
i2s: add (optional) support to clear tx descriptor in underflow case
...
It has been observed that, in case of underflow (data unavailability) in
I2S transmission, previously filled up tx descriptors continue to get
transmitted on line, causing noise in case of audio use case.
This change adds optional `tx_desc_auto_clear` field during I2S driver intialization
than can zero initialize tx descriptor in case of underflow situation in
interrupt handler itself.
Closes: https://github.com/espressif/esp-idf/issues/1789
2018-11-23 14:31:09 +05:30
zhiweijian
dd3d89db49
Component/bt: add update duplicate scan exceptional list APIs
2018-11-23 16:46:17 +08:00
Renz Christian Bagaporo
3a02a12aa4
cmake: remove unecessary info passed to bootloader build
2018-11-23 16:08:47 +08:00
Renz Christian Bagaporo
552f17e260
ulp: fix passing ulp srcs due to cmake_args bug
2018-11-23 16:08:41 +08:00
Wang Jia Lin
783ff9c455
Merge branch 'bugfix/i2c_hardware_filter_default_enable' into 'master'
...
driver: Enable I2C master hardware filter by default.
See merge request idf/esp-idf!3715
2018-11-23 14:23:37 +08:00
Liu Zhi Fu
f874b52f0a
esp32: fix some wifi bugs
...
Fix some WiFi bugs:
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID
2018-11-23 05:41:41 +00:00
Angus Gratton
a081e5d25e
Merge branch 'bugfix/docs_what-you-need' into 'master'
...
Updated 'What you need' picture
See merge request idf/esp-idf!3725
2018-11-23 11:16:28 +08:00
Angus Gratton
83f6ee9912
Merge branch 'bugfix/docs_https_server' into 'master'
...
Docs : esp_https_server API references corrected
See merge request idf/esp-idf!3775
2018-11-23 10:44:55 +08:00
Angus Gratton
269e94f387
Merge branch 'bugfix/fix_ldgen_pyparsing_new_version' into 'master'
...
ldgen: fix issues when using pyparsing 2.3.0
See merge request idf/esp-idf!3739
2018-11-23 10:38:18 +08:00
kooho
33138a3dec
driver(i2c): enable I2C master hardware filter by default.
2018-11-23 10:27:59 +08:00
Renz Christian Bagaporo
1600c3144c
docs: add pyparsing install to setup guide
2018-11-22 22:09:43 +08:00
Renz Christian Bagaporo
8eeddd287c
ldgen: catch exception with python3 compatible style
...
Closes https://github.com/espressif/esp-idf/issues/2720
2018-11-22 22:09:43 +08:00
He Yin Ling
8e70582cad
tiny-test-fw: enhanced junit test report support:
...
1. replace xunitgen with junit_xml, which can log more info
2. allow test cases to handle junit test report by them own
3. allow test cases to log some info into report via `sysout` tag
2018-11-22 20:49:15 +08:00
Jiang Jiang Jian
e199587a11
Merge branch 'bugfix/btdm_move_func_into_iram' into 'master'
...
components/bt: Move function in interrupt into IRAM
See merge request idf/esp-idf!3757
2018-11-22 19:17:37 +08:00
Anurag Kar
684f0b0a32
Docs : esp_https_server API references corrected
2018-11-22 15:57:05 +05:30
baohongde
7e142f9d22
components/bt: Move function in interrupt into IRAM
...
1. Move function in interrupt into IRAM
2. Delete unused code, saving 240B DRAM and some code size
2018-11-22 15:59:53 +08:00
Ivan Grokhotkov
09a01f68ba
Merge branch 'bugfix/calloc_recursive' into 'master'
...
newlib: disable some optimizations for syscalls.c
See merge request idf/esp-idf!3774
2018-11-22 15:24:17 +08:00
Ivan Grokhotkov
8deb885ce3
newlib: disable some optimizations for syscalls.c
...
Don’t allow the compiler to convert malloc + memset into calloc,
causing a recursive call in _calloc_r. Fixes crash when building with
-O2 optimization level.
2018-11-22 12:19:49 +08:00
Jiang Jiang Jian
6252292d9c
Merge branch 'mesh/bugfix_v3.2' into 'master'
...
mesh: bugfix
See merge request idf/esp-idf!3740
2018-11-22 10:22:06 +08:00
Renz Christian Bagaporo
56ed588d4f
tools: install pyparsing using pip
2018-11-22 09:55:31 +08:00
Renz Christian Bagaporo
507328d4db
ldgen: fix issues when using pyparsing 2.3.0
2018-11-22 09:55:31 +08:00
zhiweijian
e9ee9384fc
Component/bt: add BLE Compatibility Test demo
2018-11-21 19:36:51 +08:00
qiyueixa
86fedc3cbb
utest: increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME to 50000
2018-11-21 19:14:07 +08:00
qiyueixa
6c3b5ae5a1
mesh: bugfix
...
1. fix failture of mesh stop caused by block-sending.
2. fix when FIXED_ROOT is set, 2nd layer devices can not receive mesh event ESP_ERR_MESH_NO_PARENT_FOUND.
3. fix when FIXED_ROOT is set and the root turns off mesh function, 2nd layer devices do not look for new parents.
4. add APIs esp_mesh_disconnect() and esp_mesh_connect().
5. disconnect from parent/router when the DSSS channel in received beacon is different from the home channel.
6. remove nvs task to release 3k bytes memory.
2018-11-21 19:13:41 +08:00
Shivani Tipnis
0c72b08872
nvs_util: update test case
2018-11-21 13:40:24 +05:30
Shivani Tipnis
582c547191
Update README
2018-11-21 12:55:47 +05:30
Shivani Tipnis
c44f15441f
Closes https://github.com/espressif/esp-idf/issues/2472
2018-11-21 12:55:47 +05:30
Shivani Tipnis
9db1987892
nvs_util: Add changes to nvs part gen util
...
nvs_util: Add changes to nvs part gen util
nvs_host_test: Add test case for keygen and keyfile paratmeters
2018-11-21 12:55:47 +05:30
Jiang Jiang Jian
0d7f2d77c2
Merge branch 'feature/btdm_add_set_long_adv_data_api' into 'master'
...
Component/bt: add set long adv data api
See merge request idf/esp-idf!3722
2018-11-21 11:31:13 +08:00
Mahavir Jain
2a55e957fd
ci: add unit test job
2018-11-20 18:55:04 +05:30
Mahavir Jain
bd3806193d
unit-test-app: keep CONFIG_SPIRAM_BANKSWITCH_ENABLE enabled only for psram_8m config
2018-11-20 18:54:12 +05:30
Jiang Jiang Jian
e7f9e3f6f6
Merge branch 'bugfix/add_connected_event_after_softap_finish_4_way' into 'master'
...
wifi: add connected event after softap finish 4 way
See merge request idf/esp-idf!3661
2018-11-20 20:04:12 +08:00
Jiang Jiang Jian
69c9e050b0
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params' into 'master'
...
Component/bt: add check peer addr type in set adv params
See merge request idf/esp-idf!3732
2018-11-20 20:02:13 +08:00
Angus Gratton
3970ea60de
Merge branch 'bugfix/ldgen_windows_kconfig_paths' into 'master'
...
ldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make
See merge request idf/esp-idf!3746
2018-11-20 17:21:11 +08:00