]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoci: use artifacts:reports feature of Gitlab CI
He Yin Ling [Tue, 13 Nov 2018 13:26:58 +0000 (21:26 +0800)]
ci: use artifacts:reports feature of Gitlab CI

5 years agoci: assign unit test cases in sequence of config and name
He Yin Ling [Mon, 16 Jul 2018 09:44:38 +0000 (17:44 +0800)]
ci: assign unit test cases in sequence of config and name

5 years agotest: fix unit test script code style warnings
He Yin Ling [Tue, 20 Nov 2018 14:18:04 +0000 (22:18 +0800)]
test: fix unit test script code style warnings

5 years agotest: generate junit test report according to executed cases
He Yin Ling [Fri, 13 Jul 2018 08:48:43 +0000 (16:48 +0800)]
test: generate junit test report according to executed cases

5 years agotiny-test-fw: support capture raw data in DUT:
He Yin Ling [Tue, 20 Nov 2018 15:11:04 +0000 (23:11 +0800)]
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.

5 years agotiny-test-fw: enhanced junit test report support:
He Yin Ling [Fri, 13 Jul 2018 08:47:42 +0000 (16:47 +0800)]
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

5 years agoMerge branch 'mesh/bugfix_v3.2' into 'master'
Jiang Jiang Jian [Thu, 22 Nov 2018 02:22:06 +0000 (10:22 +0800)]
Merge branch 'mesh/bugfix_v3.2' into 'master'

mesh: bugfix

See merge request idf/esp-idf!3740

5 years agoutest: increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME to 50000
qiyueixa [Wed, 21 Nov 2018 07:46:25 +0000 (15:46 +0800)]
utest: increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME to 50000

5 years agomesh: bugfix
qiyueixa [Wed, 21 Nov 2018 03:59:36 +0000 (11:59 +0800)]
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.

5 years agoMerge branch 'feature/btdm_add_set_long_adv_data_api' into 'master'
Jiang Jiang Jian [Wed, 21 Nov 2018 03:31:13 +0000 (11:31 +0800)]
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

5 years agoMerge branch 'bugfix/add_connected_event_after_softap_finish_4_way' into 'master'
Jiang Jiang Jian [Tue, 20 Nov 2018 12:04:12 +0000 (20:04 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params' into 'master'
Jiang Jiang Jian [Tue, 20 Nov 2018 12:02:13 +0000 (20:02 +0800)]
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

5 years agoMerge branch 'bugfix/ldgen_windows_kconfig_paths' into 'master'
Angus Gratton [Tue, 20 Nov 2018 09:21:11 +0000 (17:21 +0800)]
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

5 years agoMerge branch 'bugfix/doc_builds_windows' into 'master'
Angus Gratton [Tue, 20 Nov 2018 09:20:40 +0000 (17:20 +0800)]
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

5 years agoMerge branch 'fix/spi_callback_in_iram' into 'master'
Angus Gratton [Tue, 20 Nov 2018 08:25:08 +0000 (16:25 +0800)]
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

5 years agoMerge branch 'feature/btdm_BLE_Blocking_APIs' into 'master'
Jiang Jiang Jian [Tue, 20 Nov 2018 06:40:50 +0000 (14:40 +0800)]
Merge branch 'feature/btdm_BLE_Blocking_APIs' into 'master'

Component/bt: add BLE Blocking APIs

See merge request idf/esp-idf!3513

5 years agoMerge branch 'bugfix/btdm_errors_in_comment' into 'master'
Jiang Jiang Jian [Tue, 20 Nov 2018 06:26:12 +0000 (14:26 +0800)]
Merge branch 'bugfix/btdm_errors_in_comment' into 'master'

components/bt: Some errors in comment

See merge request idf/esp-idf!3703

5 years agoldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make
Angus Gratton [Tue, 20 Nov 2018 06:25:20 +0000 (17:25 +1100)]
ldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make

5 years agoMerge branch 'feature/esp_https_server' into 'master'
Angus Gratton [Tue, 20 Nov 2018 05:58:26 +0000 (13:58 +0800)]
Merge branch 'feature/esp_https_server' into 'master'

Add HTTPS Server component

See merge request idf/esp-idf!3608

5 years agoMerge branch 'example/sysview_tracing' into 'master'
Ivan Grokhotkov [Tue, 20 Nov 2018 05:10:19 +0000 (13:10 +0800)]
Merge branch 'example/sysview_tracing' into 'master'

SystemView tracing example

See merge request idf/esp-idf!3514

5 years agospi: fix the crash when callbacks are not in the IRAM
Michael (XIAO Xufeng) [Tue, 23 Oct 2018 08:57:32 +0000 (16:57 +0800)]
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.

5 years agoexample: Adds SystemView tracing example app
Alexey Gerenkov [Thu, 18 Oct 2018 16:14:44 +0000 (19:14 +0300)]
example: Adds SystemView tracing example app

5 years agoesp32: Fixes SystemView lock's IRQ state restore
Alexey Gerenkov [Thu, 18 Oct 2018 16:10:33 +0000 (19:10 +0300)]
esp32: Fixes SystemView lock's IRQ state restore

5 years agoComponent/bt: add set long adv data api
zhiweijian [Fri, 9 Nov 2018 08:11:45 +0000 (16:11 +0800)]
Component/bt: add set long adv data api

5 years agoMerge branch 'bugfix/ut_building_test_check' into 'master'
Angus Gratton [Mon, 19 Nov 2018 22:13:58 +0000 (06:13 +0800)]
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

5 years agomake/ldgen: fix line continuation
Ivan Grokhotkov [Mon, 19 Nov 2018 17:09:38 +0000 (01:09 +0800)]
make/ldgen: fix line continuation

5 years agoesp32, mbedtls: check component name when enabling test flags
Ivan Grokhotkov [Mon, 19 Nov 2018 16:49:38 +0000 (00:49 +0800)]
esp32, mbedtls: check component name when enabling test flags

Otherwise flags get enabled even when building tests for other components.

5 years agoMerge branch 'bugfix/init_memctl' into 'master'
Ivan Grokhotkov [Mon, 19 Nov 2018 10:36:47 +0000 (18:36 +0800)]
Merge branch 'bugfix/init_memctl' into 'master'

bootloader, esp32: add workaround for Tensilica erratum 572

See merge request idf/esp-idf!3605

5 years agoMerge branch 'feature/unit_test_example' into 'master'
Ivan Grokhotkov [Mon, 19 Nov 2018 10:35:54 +0000 (18:35 +0800)]
Merge branch 'feature/unit_test_example' into 'master'

Move Unity into components, add unit test example

See merge request idf/esp-idf!3562

5 years agoComponent/bt: add check peer addr type in set adv params
zhiweijian [Mon, 19 Nov 2018 09:04:48 +0000 (17:04 +0800)]
Component/bt: add check peer addr type in set adv params

5 years agoMerge branch 'fix/cryptography_version' into 'master'
Angus Gratton [Mon, 19 Nov 2018 07:27:45 +0000 (15:27 +0800)]
Merge branch 'fix/cryptography_version' into 'master'

Update minimum version for cryptography package required

See merge request idf/esp-idf!3712

5 years agoMerge branch 'doc/translation_eclipse-setup_wangfang' into 'master'
Angus Gratton [Mon, 19 Nov 2018 06:04:04 +0000 (14:04 +0800)]
Merge branch 'doc/translation_eclipse-setup_wangfang' into 'master'

Doc/translation eclipse setup wangfang

See merge request idf/esp-idf!3681

5 years agoMerge branch 'fix/spi_freq_limit_check' into 'master'
Angus Gratton [Mon, 19 Nov 2018 06:02:40 +0000 (14:02 +0800)]
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

5 years agoUpdate minimum version for cryptography package required
Shivani Tipnis [Fri, 16 Nov 2018 05:57:00 +0000 (11:27 +0530)]
Update minimum version for cryptography package required

5 years agoMerge branch 'doc/add_cmake_translation' into 'master'
Angus Gratton [Mon, 19 Nov 2018 04:53:06 +0000 (12:53 +0800)]
Merge branch 'doc/add_cmake_translation' into 'master'

doc/add_translation_for_cmake_documents

See merge request idf/esp-idf!3636

5 years agoMerge branch 'feature/linker_script_generator' into 'master'
Angus Gratton [Mon, 19 Nov 2018 04:43:27 +0000 (12:43 +0800)]
Merge branch 'feature/linker_script_generator' into 'master'

Linker script generator

See merge request idf/esp-idf!2286

5 years agobootloader, esp32: add workaround for Tensilica erratum 572
Ivan Grokhotkov [Thu, 1 Nov 2018 03:30:48 +0000 (11:30 +0800)]
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.

5 years agoexamples: add unit testing example
Ivan Grokhotkov [Thu, 25 Oct 2018 12:31:35 +0000 (20:31 +0800)]
examples: add unit testing example

5 years agounity: don't use stdio in runner, fix code style
Ivan Grokhotkov [Thu, 25 Oct 2018 07:44:50 +0000 (15:44 +0800)]
unity: don't use stdio in runner, fix code style

5 years agounity: separate common and IDF specific functionality
Ivan Grokhotkov [Thu, 25 Oct 2018 04:52:32 +0000 (12:52 +0800)]
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.

5 years agoci: support building examples with external components
Ivan Grokhotkov [Fri, 26 Oct 2018 05:44:14 +0000 (13:44 +0800)]
ci: support building examples with external components

5 years agovfs: implement fsync for UART VFS
Ivan Grokhotkov [Thu, 25 Oct 2018 04:54:53 +0000 (12:54 +0800)]
vfs: implement fsync for UART VFS

5 years agoesp32: fix typos in rom/uart.h
Ivan Grokhotkov [Thu, 25 Oct 2018 04:56:56 +0000 (12:56 +0800)]
esp32: fix typos in rom/uart.h

5 years agoMerge branch 'docs/fix-eclipse-windows-steps' into 'master'
Angus Gratton [Mon, 19 Nov 2018 04:15:53 +0000 (12:15 +0800)]
Merge branch 'docs/fix-eclipse-windows-steps' into 'master'

Docs: Change makes Eclipse setup inline with Mac OS and Linux.

See merge request idf/esp-idf!3486

5 years agoDocs: Change makes Eclipse setup inline with Mac OS and Linux.
Prasad Alatkar [Mon, 19 Nov 2018 04:15:53 +0000 (12:15 +0800)]
Docs: Change makes Eclipse setup inline with Mac OS and Linux.

5 years agoMerge branch 'doc/translation_linux-setup-scratch_wangfang' into 'master'
Angus Gratton [Mon, 19 Nov 2018 04:14:45 +0000 (12:14 +0800)]
Merge branch 'doc/translation_linux-setup-scratch_wangfang' into 'master'

Doc/translation linux setup scratch wangfang

See merge request idf/esp-idf!3679

5 years agoDoc/translation linux setup scratch wangfang
Wang Fang [Mon, 19 Nov 2018 04:14:45 +0000 (12:14 +0800)]
Doc/translation linux setup scratch wangfang

5 years agoesp_https_server : change config option secure_enable to transport_mode and some...
Anurag Kar [Mon, 12 Nov 2018 08:49:20 +0000 (14:19 +0530)]
esp_https_server : change config option secure_enable to transport_mode and some minor changes

transport_mode accepts enum httpd_ssl_transport_t instead of true/false.
This will allow for extension to dual mode (server running on both secure and insecure ports) in the future.

5 years agoesp_http_server : APIs renamed and context get/set implementations fixed
Anurag Kar [Fri, 2 Nov 2018 18:25:40 +0000 (23:55 +0530)]
esp_http_server : APIs renamed and context get/set implementations fixed

* http_sess_set_*_override APIs are now the only ones available to set custom recv/send/pending functions
* Fixed side effects to using http_sess_set/get_context inside URI handlers

5 years agoesp_http_server example tests : updated advanced_tests as per API changes
Anurag Kar [Fri, 2 Nov 2018 18:05:38 +0000 (23:35 +0530)]
esp_http_server example tests : updated advanced_tests as per API changes

5 years agoesp_https_server : Docs and API references fixed
Anurag Kar [Thu, 1 Nov 2018 12:54:19 +0000 (18:24 +0530)]
esp_https_server : Docs and API references fixed

5 years agoAdd a 'esp_https_server' component allowing to use http_server with OpenSSL
Ondřej Hruška [Wed, 31 Oct 2018 22:17:00 +0000 (23:17 +0100)]
Add a 'esp_https_server' component allowing to use http_server with OpenSSL

5 years agoesp_http_server improvements to allow adding transport layer encryption
Ondřej Hruška [Wed, 31 Oct 2018 21:59:57 +0000 (22:59 +0100)]
esp_http_server improvements to allow adding transport layer encryption

Changes:
- renamed `httpd_free_sess_ctx_fn_t` to `httpd_free_ctx_fn_t`
- added a `httpd_handle_t` argument to `httpd_send_func_t` and `httpd_recv_func_t`
- internal function `httpd_sess_get()` is no longer static, as it's used in other
  files besides httpd_sess.c

Bug fixes:
- removed a trailing semicolon from `HTTPD_DEFAULT_CONFIG()`
- fixed issue with failed `select()`, now it automatically closes invalid sockets
  instead of shutting down the entire server

New features:
- `httpd_resp_send()` and `httpd_resp_send_chunk()` now accept -1 as length to use
  `strlen()` internally
- added `httpd_sess_set_ctx()` to accompany `httpd_sess_get_ctx()`
- added a "transport context" to the session structure (next to user context)
- added `httpd_sess_{get,set}_transport_ctx()` to work with this transport context
- added "global user context" and "global transport context" stored in the server
  config (and then the handle); supports a user-provided free_fn
- added a "pending func" to e.g. check for data in the transport layer receive
  buffer
- added functions `httpd_set_sess_{send,recv,pending}_override()` that target
  a session by ID (i.e. not using a request object)
- added `httpd_set_pending_override()`
- added a "open_fn" and "close_fn" - functions called when creating and closing
  a session. These may be used to set up transport layer encryption or some other
  session-wide feature

5 years agowifi: add connected event after softap finish 4 way
Deng Xin [Wed, 7 Nov 2018 13:19:11 +0000 (21:19 +0800)]
wifi: add connected event after softap finish 4 way

Background

Softap will send connected event after receive assoc request as before, however, STA didn't connect to softAP if need security. As our mesh design, it will send data packet after receive connected event, so change the current behavior, softAP will send connected event if have encryption

5 years agoMerge branch 'bugfix/wifi_sta_sniffer_phy_config_bug' into 'master'
Jiang Jiang Jian [Mon, 19 Nov 2018 02:11:23 +0000 (10:11 +0800)]
Merge branch 'bugfix/wifi_sta_sniffer_phy_config_bug' into 'master'

wifi: fix wifi sta and sniffer phy config bug

See merge request idf/esp-idf!3566

5 years agoMerge branch 'bugfix/cmake_ut_parsing' into 'master'
Ivan Grokhotkov [Fri, 16 Nov 2018 14:11:14 +0000 (22:11 +0800)]
Merge branch 'bugfix/cmake_ut_parsing' into 'master'

cmake: fix for parsing unit test config

See merge request idf/esp-idf!3696

5 years agoMerge branch 'bugfix/fat_lock_log' into 'master'
Ivan Grokhotkov [Fri, 16 Nov 2018 13:29:56 +0000 (21:29 +0800)]
Merge branch 'bugfix/fat_lock_log' into 'master'

fatfs: Do not log from critical sections

See merge request idf/esp-idf!3683

5 years agocmake: fix for parsing unit test config
Renz Christian Bagaporo [Tue, 13 Nov 2018 14:27:53 +0000 (22:27 +0800)]
cmake: fix for parsing unit test config

5 years agoesp_timer: improve unit test robustness
Ivan Grokhotkov [Thu, 15 Nov 2018 12:03:13 +0000 (20:03 +0800)]
esp_timer: improve unit test robustness

1. call esp_timer_get_time and ref_clock_get in the same order on
   start and in the loop

2. disable interrupts when calculating delta between ref_clock
   and esp_timer

3. ensure both functions are in cache before calculating the delta

5 years agoMerge branch 'feature/ut_filter_test_groups' into 'master'
Ivan Grokhotkov [Fri, 16 Nov 2018 11:31:47 +0000 (19:31 +0800)]
Merge branch 'feature/ut_filter_test_groups' into 'master'

unit test: allow filtering tests using TEST_GROUPS

See merge request idf/esp-idf!3695

5 years agoMerge branch 'bugfix/adjtime_test2' into 'master'
Ivan Grokhotkov [Fri, 16 Nov 2018 11:21:45 +0000 (19:21 +0800)]
Merge branch 'bugfix/adjtime_test2' into 'master'

Resolve ""test for thread safety adjtime and gettimeofday functions" fails randomly"

Closes #37

See merge request idf/esp-idf!3657

5 years agofatfs: Do not log from critical sections
Roland Dobai [Fri, 9 Nov 2018 13:15:00 +0000 (14:15 +0100)]
fatfs: Do not log from critical sections

Logging in the critical section can result in a deadlock when the logger
is redirected to FATFS.

Closes https://github.com/espressif/esp-idf/issues/1693

5 years agowifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the...
zhangyanjiao [Wed, 14 Nov 2018 06:46:49 +0000 (14:46 +0800)]
wifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the same time,
when disable sniffer, station will never enable phy and rf again.

Closes: https://github.com/espressif/esp-idf/issues/2545
5 years agoMerge branch 'bugfix/btdm_controller_disable' into 'master'
Jiang Jiang Jian [Fri, 16 Nov 2018 09:10:37 +0000 (17:10 +0800)]
Merge branch 'bugfix/btdm_controller_disable' into 'master'

Fix two bugs when disable bluetooth controller

See merge request idf/esp-idf!3692

5 years agoMerge branch 'bugfix/mdns_query_failed_after_init' into 'master'
Ivan Grokhotkov [Fri, 16 Nov 2018 08:37:11 +0000 (16:37 +0800)]
Merge branch 'bugfix/mdns_query_failed_after_init' into 'master'

Fixed: mdns query failed after init

See merge request idf/esp-idf!3480

5 years agomdns: added example test for ci runners
David Cermak [Fri, 12 Oct 2018 14:45:52 +0000 (16:45 +0200)]
mdns: added example test for ci runners

5 years agomdns: sending search packets also in probing and announcing state
David Cermak [Fri, 12 Oct 2018 06:13:55 +0000 (08:13 +0200)]
mdns: sending search packets also in probing and announcing state

mdns queries did not work properly when send imeadiately after set_hostname, which cuased reinit of pcb and therefore restarted probing, so search packets were blocked until probing finished
closes #2507, closes #2593

5 years agoMerge branch 'feature/docs_wireshark_trubleshooting_guide' into 'master'
Angus Gratton [Fri, 16 Nov 2018 06:44:58 +0000 (14:44 +0800)]
Merge branch 'feature/docs_wireshark_trubleshooting_guide' into 'master'

Added wireshark instruction to provide a common workflow for users submitting diagnostic data for Wi-Fi troubleshooting

See merge request idf/esp-idf!3497

5 years agoAdded wireshark instruction to provide a common workflow for users submitting diagnos...
Krzysztof Budzynski [Fri, 16 Nov 2018 06:44:58 +0000 (14:44 +0800)]
Added wireshark instruction to provide a common workflow for users submitting diagnostic data for Wi-Fi troubleshooting

5 years agotools: implement linker script generation
Renz Bagaporo [Wed, 18 Apr 2018 02:57:45 +0000 (10:57 +0800)]
tools: implement linker script generation

5 years agonewlib: Fix UT adjtime
Konstantin Kondrashov [Wed, 7 Nov 2018 11:47:51 +0000 (19:47 +0800)]
newlib: Fix UT adjtime

5 years agocomponents/bt: Some errors in comment
baohongde [Fri, 16 Nov 2018 03:27:22 +0000 (11:27 +0800)]
components/bt: Some errors in comment

5 years agoMerge branch 'doc/console_zh_CN' into 'master'
Angus Gratton [Fri, 16 Nov 2018 03:21:16 +0000 (11:21 +0800)]
Merge branch 'doc/console_zh_CN' into 'master'

doc/console: translate console.rst into zh_CN

See merge request idf/esp-idf!3320

5 years agoFix two bugs when disable bluetooth controller
Tian Hao [Tue, 13 Nov 2018 09:29:44 +0000 (17:29 +0800)]
Fix two bugs when disable bluetooth controller

1. Fix the bug that disable controller suddenly cause crash when ble is working. (585cfba1)
2. Fix the bug that when disable controller, it will cause wifi cannot RX, TX timeout, buffer lack and etc. (f8546145)

5 years agounit-test: use TEST_GROUPS to filter tests for psram_vspi and psram_hspi
Ivan Grokhotkov [Tue, 13 Nov 2018 12:14:17 +0000 (20:14 +0800)]
unit-test: use TEST_GROUPS to filter tests for psram_vspi and psram_hspi

5 years agounit test: allow filtering tests for configs using TEST_GROUPS
Ivan Grokhotkov [Tue, 13 Nov 2018 11:48:31 +0000 (19:48 +0800)]
unit test: allow filtering tests for configs using TEST_GROUPS

5 years agoMerge branch 'feature/core_dump_crc' into 'master'
Ivan Grokhotkov [Thu, 15 Nov 2018 07:05:43 +0000 (15:05 +0800)]
Merge branch 'feature/core_dump_crc' into 'master'

Core Dump CRC

See merge request idf/esp-idf!1290

5 years agoesp32: Fixes freezing core dump process when flash write address checks are enabled
Alexey Gerenkov [Mon, 12 Nov 2018 21:26:07 +0000 (00:26 +0300)]
esp32: Fixes freezing core dump process when flash write address checks are enabled

5 years agoesp32: Adds logging level to core dump script
Alexey Gerenkov [Mon, 12 Nov 2018 21:18:17 +0000 (00:18 +0300)]
esp32: Adds logging level to core dump script

5 years agoesp32: Adds support for core dump format version
Alexey Gerenkov [Mon, 12 Nov 2018 21:04:23 +0000 (00:04 +0300)]
esp32: Adds support for core dump format version

5 years agoesp32: Adds menuconfig option for max tasks number in core dump
Alexey Gerenkov [Mon, 12 Nov 2018 21:01:24 +0000 (00:01 +0300)]
esp32: Adds menuconfig option for max tasks number in core dump

5 years agoesp32: Core dump API to retrieve current core data layout in flash
Alexey Gerenkov [Tue, 13 Mar 2018 14:07:42 +0000 (17:07 +0300)]
esp32: Core dump API to retrieve current core data layout in flash

5 years agoesp32: Replaces magic numbers with CRC for core dump in flash
Alexey Gerenkov [Wed, 13 Sep 2017 18:30:48 +0000 (21:30 +0300)]
esp32: Replaces magic numbers with CRC for core dump in flash

5 years agoMerge branch 'bugfix/ethernet_fail_twice_init' into 'master'
Ivan Grokhotkov [Thu, 15 Nov 2018 04:35:55 +0000 (12:35 +0800)]
Merge branch 'bugfix/ethernet_fail_twice_init' into 'master'

fix bug of multi-call failure in esp_eth_init

See merge request idf/esp-idf!3673

5 years agoMerge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash' into 'master'
Jiang Jiang Jian [Thu, 15 Nov 2018 02:31:35 +0000 (10:31 +0800)]
Merge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash' into 'master'

fix the crash bug caused by sys_mbox_free

See merge request idf/esp-idf!3654

5 years agoMerge branch 'bugfix/app_template_build' into 'master'
Anton Maklakov [Thu, 15 Nov 2018 01:51:00 +0000 (09:51 +0800)]
Merge branch 'bugfix/app_template_build' into 'master'

esp-idf-template app: some fixes for the updated template app

See merge request idf/esp-idf!3698

5 years agotools: fix cmake build script for sdkconfig test
Mahavir Jain [Wed, 14 Nov 2018 12:27:15 +0000 (17:57 +0530)]
tools: fix cmake build script for sdkconfig test

5 years agocmake: fix the creation dummy main to avoid rebuilding
Anton Maklakov [Wed, 14 Nov 2018 11:45:14 +0000 (19:45 +0800)]
cmake: fix the creation dummy main to avoid rebuilding

5 years agoci: If there is no sdkconfig, we have to generate one
Anton Maklakov [Wed, 14 Nov 2018 06:13:28 +0000 (14:13 +0800)]
ci: If there is no sdkconfig, we have to generate one

5 years agoMerge branch 'bugfix/readdir_ut_timeout' into 'master'
Ivan Grokhotkov [Tue, 13 Nov 2018 14:54:21 +0000 (22:54 +0800)]
Merge branch 'bugfix/readdir_ut_timeout' into 'master'

spiffs: increase timeout in readdir test

Closes #41

See merge request idf/esp-idf!3687

5 years agoethernet: multi-call failure in esp_eth_init
morris [Fri, 9 Nov 2018 09:33:44 +0000 (17:33 +0800)]
ethernet: multi-call failure in esp_eth_init

Because of incomplete state machine, ethernet driver will broken if esp_eth_init is called twice.
Detailed information here: https://ezredmine.espressif.cn:8765/issues/27332

5 years agoMerge branch 'bugfix/ethernet_memory_leak' into 'master'
Ivan Grokhotkov [Tue, 13 Nov 2018 07:53:47 +0000 (15:53 +0800)]
Merge branch 'bugfix/ethernet_memory_leak' into 'master'

fix potential memory leak in ethernet driver

See merge request idf/esp-idf!3646

5 years agospi: add documents explicitly showing the executing core of the ISR
michael [Tue, 13 Nov 2018 03:09:13 +0000 (11:09 +0800)]
spi: add documents explicitly showing the executing core of the ISR

It is an ESP specific FreeRTOS feature that the ISR is always executed
on the core which calls the interrupt register function. In the SPI
driver, the function is always called in the bus initialization
function.

Hence, the ISR will be executed on the core which initialize the driver.

If the core is starved due to higher priority ISRs, or the interrupt is
disabled on the core (spinlock called, etc.), the ISR will not get
executed and SPI transactions will not be handled.

(MINOR CHANGE)

Resolves https://github.com/espressif/esp-idf/issues/2432.

5 years agospi_master: modify the error msg a little when over freq limit
michael [Tue, 13 Nov 2018 03:02:54 +0000 (11:02 +0800)]
spi_master: modify the error msg a little when over freq limit

The MISO signal will be delayed if the GPIO matrix is enabled.
However, delay also comes from the slave.

Previous code only considers the former case, and assume the frequency
limitations is only violated when GPIO matrix is used.

Now we are able to calculate the freq limit when extenal MISO delay is
given (feature introduced in 9c6c6ec34ab0641ace89aeb9b1a133eb6fae1a18).
The frequency limit is lower when the external MISO delay is large, and
the limit is likely to be violated even with IOMUX.

Resolves https://github.com/espressif/esp-idf/issues/2690.

5 years agospiffs: increase timeout in readdir test
Ivan Grokhotkov [Tue, 13 Nov 2018 03:41:19 +0000 (11:41 +0800)]
spiffs: increase timeout in readdir test

Timeout of 15 seconds is not sufficient if SPIFFS partition needs to
be formatted, on some of the boards.

5 years ago1.Update 8 English cmake files
liying [Tue, 6 Nov 2018 04:02:21 +0000 (12:02 +0800)]
1.Update 8 English cmake files
2.Provide Chinese translation to these 8 cmake files

5 years agoethernetif: fix potential memory leak
morris [Tue, 6 Nov 2018 11:10:01 +0000 (19:10 +0800)]
ethernetif: fix potential memory leak

1. If L2_TO_L3_RX_BUF_MODE is not selected, we must assign l2_owner explictly before we call pbuf_free.
2. free intr resource in esp_eth_deinit

Closes https://github.com/espressif/esp-idf/issues/2670

5 years agoMerge branch 'bugfix/cmake_utf_decode' into 'master'
Angus Gratton [Tue, 13 Nov 2018 01:54:28 +0000 (09:54 +0800)]
Merge branch 'bugfix/cmake_utf_decode' into 'master'

tools: Fix Unicode decode error & indentation error

See merge request idf/esp-idf!3669

6 years agoMerge branch 'bugfix/http_literal_caseinsensitive' into 'master'
Jiang Jiang Jian [Mon, 12 Nov 2018 09:03:06 +0000 (17:03 +0800)]
Merge branch 'bugfix/http_literal_caseinsensitive' into 'master'

Compare case-insensitive URI schemes

See merge request idf/esp-idf!3558

6 years agoUpdate translation based on review
wangfang [Mon, 12 Nov 2018 08:16:52 +0000 (16:16 +0800)]
Update translation based on review