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
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
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
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
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
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
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
Angus Gratton
c0298a5712
Merge branch 'bugfix/doc_builds_windows' into 'master'
...
doc: Fix doc builds on Windows MINGW32, add some doc build documentation
See merge request idf/esp-idf!3550
2018-11-20 17:20:40 +08:00
Angus Gratton
92f32f0060
Merge branch 'fix/spi_callback_in_iram' into 'master'
...
spi: fix the crash when callbacks are not in the IRAM
See merge request idf/esp-idf!3498
2018-11-20 16:25:08 +08:00
Jiang Jiang Jian
ffda37dd16
Merge branch 'feature/btdm_BLE_Blocking_APIs' into 'master'
...
Component/bt: add BLE Blocking APIs
See merge request idf/esp-idf!3513
2018-11-20 14:40:50 +08:00
Jiang Jiang Jian
b422a42697
Merge branch 'bugfix/btdm_errors_in_comment' into 'master'
...
components/bt: Some errors in comment
See merge request idf/esp-idf!3703
2018-11-20 14:26:12 +08:00
Angus Gratton
4f4edcf676
ldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make
2018-11-20 17:25:20 +11:00
Angus Gratton
61ee1bd31f
Merge branch 'feature/esp_https_server' into 'master'
...
Add HTTPS Server component
See merge request idf/esp-idf!3608
2018-11-20 13:58:26 +08:00
Ivan Grokhotkov
46e28d7553
Merge branch 'example/sysview_tracing' into 'master'
...
SystemView tracing example
See merge request idf/esp-idf!3514
2018-11-20 13:10:19 +08:00
Michael (XIAO Xufeng)
8cddfa35b8
spi: fix the crash when callbacks are not in the IRAM
...
Introduced in 9c23b8e5
and 4f87a62f
. To get higher speed, menuconfig
options are added to put ISR and other functions into the IRAM. The
interrupt flag ESP_INTR_FLAG_IRAM is also mistakenly set when the ISR is
put into the IRAM. However callbacks, which are wrote by the user, are
called in the master and slave ISR. The user may not be aware of that
these callbacks are not disabled during flash operations. Any cache miss
during flash operation will cause panic.
Essentially IRAM functions and intrrupt flag ESP_INTR_FLAG_IRAM are
different, the latter means not disabling the ISR during flash
operations. New bus_config flag intr_flags is offered to help set the
interrupt attribute, including priority level, SHARED, IRAM (not
disabled during flash operations). It introduced a small BREAK to
IDFv3.1 (but the same as IDFv3.0) that the user has to manually set IRAM
flag now (therefore he's aware of the IRAM thing) to void the ISR being
disabled during flash operations.
2018-11-20 13:07:13 +08:00
Alexey Gerenkov
3139b2d533
example: Adds SystemView tracing example app
2018-11-20 04:09:39 +00:00
Alexey Gerenkov
3eaba1c8ce
esp32: Fixes SystemView lock's IRQ state restore
2018-11-20 04:09:39 +00:00
zhiweijian
775c6e5ab7
Component/bt: add set long adv data api
2018-11-20 11:19:51 +08:00
Angus Gratton
4c881708dc
Merge branch 'bugfix/ut_building_test_check' into 'master'
...
esp32, mbedtls: check component name when enabling test flags
See merge request idf/esp-idf!3742
2018-11-20 06:13:58 +08:00
Ivan Grokhotkov
99dd08943c
make/ldgen: fix line continuation
2018-11-20 01:27:25 +08:00
Ivan Grokhotkov
8027adaf81
esp32, mbedtls: check component name when enabling test flags
...
Otherwise flags get enabled even when building tests for other components.
2018-11-20 01:27:24 +08:00
Mahavir Jain
62efef0444
test: spiram: fix and enable test cases for default configuration
2018-11-19 22:40:14 +05:30
Ivan Grokhotkov
00a13bd8d3
Merge branch 'bugfix/init_memctl' into 'master'
...
bootloader, esp32: add workaround for Tensilica erratum 572
See merge request idf/esp-idf!3605
2018-11-19 18:36:47 +08:00
Ivan Grokhotkov
a46b884a14
Merge branch 'feature/unit_test_example' into 'master'
...
Move Unity into components, add unit test example
See merge request idf/esp-idf!3562
2018-11-19 18:35:54 +08:00
zhiweijian
3c7819eaf2
Component/bt: add check peer addr type in set adv params
2018-11-19 17:04:48 +08:00