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
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
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
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
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
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
Angus Gratton
6709d26863
Merge branch 'fix/cryptography_version' into 'master'
...
Update minimum version for cryptography package required
See merge request idf/esp-idf!3712
2018-11-19 15:27:45 +08:00
Angus Gratton
57273d48d4
Merge branch 'doc/translation_eclipse-setup_wangfang' into 'master'
...
Doc/translation eclipse setup wangfang
See merge request idf/esp-idf!3681
2018-11-19 14:04:04 +08:00
Angus Gratton
6cdfea4251
Merge branch 'fix/spi_freq_limit_check' into 'master'
...
spi: modify some docs about the freq limit and the ISR
See merge request idf/esp-idf!3686
2018-11-19 14:02:40 +08:00
Shivani Tipnis
e1774cb6f9
Update minimum version for cryptography package required
2018-11-19 11:13:37 +05:30
Angus Gratton
26a6969873
Merge branch 'doc/add_cmake_translation' into 'master'
...
doc/add_translation_for_cmake_documents
See merge request idf/esp-idf!3636
2018-11-19 12:53:06 +08:00
Angus Gratton
8915f48208
Merge branch 'feature/linker_script_generator' into 'master'
...
Linker script generator
See merge request idf/esp-idf!2286
2018-11-19 12:43:27 +08:00
Ivan Grokhotkov
964f5a91f7
bootloader, esp32: add workaround for Tensilica erratum 572
...
If zero-overhead loop buffer is enabled, under certain rare conditions
when executing a zero-overhead loop, the CPU may attempt to execute an invalid instruction. Work around by disabling the buffer.
2018-11-19 04:39:35 +00:00
Ivan Grokhotkov
a5adfd0169
examples: add unit testing example
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
a98674d78b
unity: don't use stdio in runner, fix code style
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
6091021e83
unity: separate common and IDF specific functionality
...
New unity component can be used for testing other applications.
Upstream version of Unity is included as a submodule.
Utilities specific to ESP-IDF unit tests (partitions, leak checking
setup/teardown functions, etc) are kept only in unit-test-app.
Kconfig options are added to allow disabling certain Unity features.
2018-11-19 12:36:31 +08:00