Anton Maklakov
3efc9f3a04
tools: windows installer: Modify IDF's archive mirror link
2020-12-03 17:50:42 +11:00
Ivan Grokhotkov
0e6d32cbfd
tools: windows installer: add support for IDF_GITHUB_ASSETS
...
Adds a checkbox to download tools from dl.espressif.com mirror.
2020-12-03 17:50:42 +11:00
Angus Gratton
291af6e766
tools: Use GitHub download URLs for all files that can be downloaded from GitHub
2020-12-03 17:50:42 +11:00
Angus Gratton
4a738721f1
idf_tools: Add option to replace all GitHub tools download URLs with dl.espressif.com
...
Via new IDF_GITHUB_ASSETS environment variable.
2020-12-03 17:49:37 +11:00
martin.gano
f4ea2dcb74
Tools: add Python 2 deprecation warning
2020-12-02 11:08:48 +01:00
Angus Gratton
0f8afff021
Merge branch 'test/enable_esp32s2_ut_by_default' into 'master'
...
CI: enable esp32s2 ut jobs by default
See merge request espressif/esp-idf!9237
2020-12-02 08:33:18 +08:00
Angus Gratton
38116853f4
Merge branch 'feature/esp32c3_small_changes' into 'master'
...
esp32c3: Merge small target support changes
Closes IDF-2361
See merge request espressif/esp-idf!11381
2020-12-01 13:46:57 +08:00
Angus Gratton
5228d9f9ce
esp32c3: Apply one-liner/small changes for ESP32-C3
2020-12-01 10:58:50 +11:00
Ivan Grokhotkov
11d8df4704
Merge branch 'bugfix/kconfig_ref_sort_content' into 'master'
...
tools: Sort menu content in Kconfig option reference
Closes IDF-1711
See merge request espressif/esp-idf!10926
2020-12-01 07:36:20 +08:00
Anton Maklakov
f9e5c590f7
Merge branch 'ci/add_more_need_relationship' into 'master'
...
CI: Add More "needs" relationship to build stage jobs
See merge request espressif/esp-idf!11182
2020-11-30 23:48:56 +08:00
Roland Dobai
aaa46a93da
tools: Sort menu content in Kconfig option reference
2020-11-30 09:52:20 +00:00
Roland Dobai
c31dab51a0
Show defaults and ranges in generated kconfig documentation
2020-11-30 09:51:50 +00:00
Fu Hanxi
7281a5a0cc
Split component_ut tests based on targets
...
- add more label in CIScanTest.py
- fix the bug that will cause labels not iterate correctly
2020-11-30 14:08:54 +08:00
Angus Gratton
b782ccd1fb
Merge branch 'bugfix/blecent_example_test' into 'master'
...
ci: Fix blecent example test
Closes IDFCI-93
See merge request espressif/esp-idf!11265
2020-11-30 13:08:13 +08:00
Fu Hanxi
6fd2d27bfd
Make sure "unit_test" will trigger all labels
...
- keep labels name consist with the bot variable
2020-11-30 11:44:37 +08:00
He Yin Ling
6e545215c1
ci: enable ESP32S2 unit test by default
2020-11-30 11:34:51 +08:00
Fu Hanxi
4bd2130eab
set dependencies to null to avoid missing artifacts issue
2020-11-27 19:11:59 +08:00
Fu Hanxi
22168a7910
remove all pre-stage artifacts in build stage jobs
2020-11-27 19:03:25 +08:00
Fu Hanxi
9e4f5dd01f
CI: Add dependency "fast_template_app" to build jobs
2020-11-27 19:03:25 +08:00
Fu Hanxi
7c5eb76113
delete unused variable
2020-11-27 19:03:25 +08:00
Anton Maklakov
01d8782393
Merge branch 'bugfix/pppos_app_test_python3' into 'master'
...
CI: Fix python3 issue on PPPoS app test
Closes IDFCI-251
See merge request espressif/esp-idf!11344
2020-11-26 11:12:11 +08:00
Angus Gratton
190aed41ee
Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open' into 'master'
...
ci: Fix CI issue if one example test fails, and if serial port returns some noise
Closes IDFCI-236
See merge request espressif/esp-idf!11273
2020-11-26 08:04:00 +08:00
David Cermak
8bd758b72a
ci: Removed remaining binary size checks in app-tests
...
Also removes unused references to http-request app size in idf_performance.h
2020-11-25 21:22:18 +01:00
David Cermak
650dd607de
ci: Fixed wrong socket operation in python3
2020-11-25 21:22:18 +01:00
Shivani Tipnis
fc146a98e4
ci: Fix blecent example test
2020-11-25 22:37:24 +05:30
Ivan Grokhotkov
a8983a72a1
Merge branch 'feature/idfpy_crtl_c_processing_4_win' into 'master'
...
tools: idf_exe: add Ctrl+C processing
See merge request espressif/esp-idf!11357
2020-11-25 21:24:00 +08:00
Dmitry Yakovlev
976cb8fd61
tools: idf_exe: add Ctrl+C processing
2020-11-25 21:23:55 +08:00
Angus Gratton
26fb74bc97
ci: ttfw: Encode serial port data to whatever the console encoding is
...
This is a bit of a hack, but gives us a way to always log it
2020-11-24 18:32:47 +11:00
Angus Gratton
37838803db
ci: Log failure to close any DUT
2020-11-24 18:32:47 +11:00
Fu Hanxi
10df5b3a7c
CI: clarify file patterns in sonar_exclude_list.txt
2020-11-24 13:39:18 +08:00
Angus Gratton
403fdf8e9c
Merge branch 'bugfix/fix_ttfw_idf_performance_check_not_work' into 'master'
...
ttfw: fix ttfw_idf performance check not work
See merge request espressif/esp-idf!10001
2020-11-23 14:50:18 +08:00
Angus Gratton
17fea25f45
Merge branch 'ci/fix_annotated_tag_check' into 'master'
...
ci: Fix annotated tag check
See merge request espressif/esp-idf!11324
2020-11-23 14:35:31 +08:00
Angus Gratton
a47e207a7e
ci: Fix annotated tag check
...
Regression in 1612f84
2020-11-23 10:23:24 +11:00
Chen Yu Dong
454edcc0a8
ci: all jobs use python3 by default
2020-11-19 03:27:58 +00:00
Ivan Grokhotkov
7f9c84032e
Merge branch 'ci/build_example_cmake_artifacts_always' into 'master'
...
bugfix: CI: build_example_cmake artifacts uploaded only when succeeded
See merge request espressif/esp-idf!11279
2020-11-18 21:18:17 +08:00
Fu Hanxi
27c23418ad
bugfix: CI: build_example_cmake artifacts uploaded only when succeeded
2020-11-18 17:26:33 +08:00
Anton Maklakov
e0c9260976
Merge branch 'ci/pre-commit_windows_improvements' into 'master'
...
pre-commit: recognize Windows excecutable files with git
See merge request espressif/esp-idf!11211
2020-11-18 16:15:18 +08:00
Angus Gratton
0444a0fe2a
ci: Increase test job count
2020-11-17 18:19:35 +11:00
Angus Gratton
c9fdc8a167
Merge branch 'bugfix/fix-autocomplete-tests' into 'master'
...
Add waiting for export script finish
Closes IDFCI-218
See merge request espressif/esp-idf!11216
2020-11-17 07:33:16 +08:00
Angus Gratton
6ce34a227e
Merge branch 'feature/fatfs_fast_seek' into 'master'
...
feature/fatfs: enable the usage of fast-seek algorithm
See merge request espressif/esp-idf!9916
2020-11-17 07:17:31 +08:00
Anton Maklakov
df2b949544
Merge branch 'bugfix/run_build_docs_preview_only_with_label' into 'master'
...
CI: run build_docs_preview only with the label
Closes IDFCI-208
See merge request espressif/esp-idf!11186
2020-11-16 12:10:09 +08:00
martin.gano
978b5308e8
Close files after writing.
2020-11-13 15:22:46 +01:00
Anton Maklakov
b6efdf48d3
Merge branch 'bugfix/sonarqube_wrong_variable_name' into 'master'
...
CI: sonarqube: unmatched variable name always skip the job
See merge request espressif/esp-idf!11215
2020-11-13 20:16:17 +08:00
Angus Gratton
935e4b4d62
Merge branch 'feature/riscv_arch' into 'master'
...
Add RISC-V support
Closes IDF-2359
See merge request espressif/esp-idf!11140
2020-11-13 07:50:31 +08:00
Angus Gratton
53fa8da673
Merge branch 'bugfix/check_doc_links_no_deploy' into 'master'
...
CI: Only run check_doc_links if we actually deployed
Closes IDFCI-169
See merge request espressif/esp-idf!10939
2020-11-13 04:53:27 +08:00
Michael (XIAO Xufeng)
b52c764bf3
idf_size.py: add support for esp32c3 and risc-v
2020-11-13 07:49:11 +11:00
Renz Bagaporo
4cc6b5571b
esp_system: support riscv panic
2020-11-13 07:49:11 +11:00
Angus Gratton
420aef1ffe
Updates for riscv support
...
* Target components pull in xtensa component directly
* Use CPU HAL where applicable
* Remove unnecessary xtensa headers
* Compilation changes necessary to support non-xtensa gcc types (ie int32_t/uint32_t is no
longer signed/unsigned int).
Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
Angus Gratton
87e13baaf1
freertos: Add RISC-V port
...
Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
Fu Hanxi
6e4d2503e9
CI: sonarqube: unmatched variable name always skip the job
2020-11-12 23:03:38 +08:00
martin.gano
1287056878
Temporary disable autocomplete test
2020-11-12 11:59:12 +01:00
Fu Hanxi
0a8a99c17b
pre-commit: recognize Windows excecutable files with git
2020-11-12 17:52:31 +08:00
He Yin Ling
e568daf213
ttfw: fix idf performance check doesn't work
2020-11-12 09:49:44 +00:00
Fu Hanxi
c600a6d840
CI: run build_docs_preview only with the label
2020-11-12 06:44:38 +00:00
Marius Vikhammer
71b24f0518
CI: Only run check_doc_links if we actually deployed
...
Update the check_doc_links job run conditions to match
github/doc deploy as a lot of the links link to github files.
2020-11-12 06:32:10 +00:00
Mahavir Jain
0fb65d0bae
Merge branch 'bugfix/ttfw_idf_find_artifacts_inaccurate_with_same_prefix_path' into 'master'
...
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one
Closes IDFCI-217
See merge request espressif/esp-idf!11187
2020-11-12 12:12:51 +08:00
Ivan Grokhotkov
f5939c9e68
Merge branch 'bugfix/unset-temp-procedure-and-redirect-to-stderr' into 'master'
...
Tools: Avoid printing warnings in idf.py when autocompleting
Closes IDFCI-207
See merge request espressif/esp-idf!11159
2020-11-12 05:27:32 +08:00
martin.gano
304cff9f75
Redirect warning to stderr and unset temporary shell procedure
2020-11-11 15:12:58 +01:00
Shubham Kulkarni
cda61a87da
Update OTA example to demonstate anti_rollback feature
...
Add example_test for anti_rollback feature
2020-11-11 11:51:28 +00:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Angus Gratton
e82eac4354
cmake: Apply cmakelint fixes
2020-11-11 07:36:35 +00:00
Angus Gratton
8c0e5ecbea
ci: Remove tools/ci/utils.sh from executable list
2020-11-11 07:36:35 +00:00
Fu Hanxi
5fa935e5ea
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one
2020-11-11 12:31:39 +08:00
David Cermak
fb0f7e9077
ci: increase parallel job count for S2 unit tests
2020-11-09 21:41:51 +01:00
Angus Gratton
3882c2b8ed
Merge branch 'feature/bringup_esp32s3_fpga_update_rmt_driver' into 'master'
...
rmt: support esp32s3
Closes IDF-1773
See merge request espressif/esp-idf!10292
2020-11-07 07:15:53 +08:00
Ivan Grokhotkov
256333ca13
Merge branch 'ci/add_pre_commit_for_some_pre_check_jobs' into 'master'
...
CI: Add pre-commit for IDF project
See merge request espressif/esp-idf!10682
2020-11-06 20:16:27 +08:00
Ivan Grokhotkov
64c5b64996
Merge branch 'ci/renable_deploy_docs_production' into 'master'
...
CI: Renable deploy_docs_production
See merge request espressif/esp-idf!11075
2020-11-06 20:15:37 +08:00
Ivan Grokhotkov
e9e6d970f3
Merge branch 'feature/add-shell-autocompletion' into 'master'
...
idf.py: Enable autocompletion for command idf.py
Closes IDF-1540
See merge request espressif/esp-idf!10742
2020-11-06 20:14:38 +08:00
Anton Maklakov
85cad7c168
Merge branch 'bugfix/component_ut_variable_missing' into 'master'
...
CI: fix component ut variable missing error
See merge request espressif/esp-idf!11120
2020-11-06 17:26:45 +08:00
Ivan Grokhotkov
5dd16db1d6
Merge branch 'feature/esp_event_cxx' into 'master'
...
C++: ESP Event wrapper classes
Closes IDF-1048 and IDF-232
See merge request espressif/esp-idf!9602
2020-11-06 17:24:34 +08:00
Fu Hanxi
957e3b225a
CI: fix component ut variable missing error
2020-11-06 02:18:37 +00:00
Felipe Neves
93ffc009ef
vfs: restrict the fast seek for read-only files
...
Since the files under fast-seek cannot be expanded with further writes, it does not
make sense to enable fast-seek which may fail in write-mode files
2020-11-05 17:01:50 -03:00
Felipe Neves
32e760adfb
fat_vfs: added fast seek capable file operation
2020-11-05 17:01:50 -03:00
morris
ff976867b3
rmt: split TX and RX in LL driver
...
Split TX and RX function in LL driver.
Channel number is encoded in driver layer.
Added channel signal list in periph.c
2020-11-05 19:00:55 +08:00
Ivan Grokhotkov
b178780d52
Merge branch 'bugfix/missing_assign_test_variable' into 'master'
...
CI: fix missing variables issue in assign_test
See merge request espressif/esp-idf!11111
2020-11-04 18:58:35 +08:00
Fu Hanxi
64fc8072b4
bugfix: variable missing in assign_test
2020-11-04 16:48:30 +08:00
Anton Maklakov
b5b2738644
Merge branch 'test/ci_fuzzer_precheck' into 'master'
...
CI: Add a test to pre-check fuzzer tests compilation before weekly run
See merge request espressif/esp-idf!10332
2020-11-04 12:22:53 +08:00
Fu Hanxi
09c8777c22
Renable deploy_docs_production
2020-11-04 03:10:50 +00:00
martin.gano
346b002d9a
enable autocompletion for command idf.py
2020-11-03 23:27:58 +01:00
Ivan Grokhotkov
0f127fcb62
ci: don't fetch artifacts in push_to_github
2020-11-03 16:46:51 +01:00
Fu Hanxi
47a97d2b52
check_kconfigs and check_deprecated_kconfigs now use files arguments
2020-11-02 15:49:13 +08:00
Fu Hanxi
bcc8f2628c
CI: Add pre-commit for esp-idf project.
...
add tools/ci/python_packages/idf_ci.py for some util functions used in
ci and needs multi-os solution
2020-11-02 15:49:13 +08:00
Chen Yu Dong
9e8315d9b3
ci: limit switching branches for auto_test_script
2020-11-02 06:59:13 +00:00
Michael (XIAO Xufeng)
23584e094f
Merge branch 'feature/esp_flash_32b_addr' into 'master'
...
esp_flash: support high capacity flash chips (32-bit address)
See merge request espressif/esp-idf!9475
2020-10-30 15:22:44 +08:00
Ivan Grokhotkov
5341d20318
Merge branch 'bugfix/shell_test_script_missing_in_test_build_system_macos' into 'master'
...
Bugfix: missing `SHELL_TEST_SCRIPT` in job `test_build_system_cmake_macos`
See merge request espressif/esp-idf!11031
2020-10-30 03:20:39 +08:00
Fu Hanxi
09d4774a0a
CI: Temperaroily disable deploy_docs_production
since needs
has a bug which will be fixed in GitLab 13.4
2020-10-29 18:33:18 +08:00
Michael (XIAO Xufeng)
3bacf35310
esp_flash: support high capacity flash chips (32-bit address)
2020-10-29 18:20:11 +08:00
Anton Maklakov
54e8ec29b2
Merge branch 'test/ci_assign_test_regular' into 'master'
...
ci: add assign_test into regular test
See merge request espressif/esp-idf!10998
2020-10-29 16:13:32 +08:00
Ivan Grokhotkov
d13455e6fc
Merge branch 'bugfix/ldgen_section_windows_line_ending' into 'master'
...
tools/ldgen: Fix parsing of section names on Windows
See merge request espressif/esp-idf!10988
2020-10-29 15:25:11 +08:00
Angus Gratton
654a827d7b
Merge branch 'bugfix/docs_push_production_without_push_to_github' into 'master'
...
bugfix: Run `deploy_docs_production` in `post_deploy` stage after `push_to_github` successfully
See merge request espressif/esp-idf!11028
2020-10-29 15:18:01 +08:00
Fu Hanxi
6a9ff50610
Bugfix: missing SHELL_TEST_SCRIPT
in job test_build_system_cmake_macos
2020-10-29 10:44:50 +08:00
Fu Hanxi
78134907a2
bugfix: Run deploy_docs_production
in post_deploy
stage after push_to_github
successfully
2020-10-29 09:45:43 +08:00
Angus Gratton
8f3393afdf
Merge branch 'refactor/create_esp_hw_support' into 'master'
...
Create esp_hw_support
Closes IDF-2161
See merge request espressif/esp-idf!10513
2020-10-29 07:51:46 +08:00
Renz Bagaporo
bea280c948
ci: increase s2 test jobs
2020-10-28 22:38:50 +08:00
Renz Bagaporo
6b0a5af73e
soc: move implementations to esp_hw_support
2020-10-28 22:38:50 +08:00
Michael (XIAO Xufeng)
2ce058e100
ci: add assign_test into regular test
2020-10-28 16:32:54 +08:00
Angus Gratton
f7de809f31
Merge branch 'bugfix/ldgen_allow_more_characters_sections_entries' into 'master'
...
ldgen: allow more characters in `sections` fragment `entries`
See merge request espressif/esp-idf!10956
2020-10-28 14:40:43 +08:00
Anton Maklakov
b1d98e519d
Merge branch 'ci/refactor_ci_yaml' into 'master'
...
CI: Refactor CI rules into separate yaml file: rules.yml
See merge request espressif/esp-idf!10634
2020-10-28 11:09:01 +08:00
Renz Bagaporo
988be69466
esp_hw_support: create component
2020-10-28 07:21:29 +08:00
Michael (XIAO Xufeng)
b6e763ac86
Merge branch 'bugfix/wrong_gdma_m2m_mode_config' into 'master'
...
gdma: fix wrong m2m mode config
See merge request espressif/esp-idf!10916
2020-10-27 23:43:23 +08:00
David Čermák
df0360859a
Merge branch 'test/esp_openssl_test_app' into 'master'
...
ESP-OPENSSL-tests : Added new test-app to check esp-ssl connection
Closes IDF-2143
See merge request espressif/esp-idf!10744
2020-10-27 23:07:10 +08:00
morris
9de6cba434
ci: add more build test for esp32-s3
2020-10-27 17:22:17 +08:00
Michael (XIAO Xufeng)
2a329df051
Merge branch 'feat/spi_flash_qio_test' into 'master'
...
spi_flash: add unit tests for qio mode
See merge request espressif/esp-idf!8303
2020-10-27 12:24:05 +08:00
David Cermak
8d6e03a529
ci: increase parallel job count for S2 unit tests
2020-10-26 16:00:42 +00:00
Roland Dobai
c66868d26c
tools/ldgen: Fix parsing of sections names on Windows
2020-10-26 12:21:27 +01:00
Fu Hanxi
75ab9223f9
scan test when weekend test.
2020-10-26 10:25:21 +08:00
Fu Hanxi
3026d562ec
add README.md to explain how to add/modify jobs/rules/ifs
...
- rename existing labels to fit the naming convention
2020-10-26 10:25:21 +08:00
Fu Hanxi
1b06cbe3ef
utils.sh
: add function info, warning, error. Turn retry_failed.sh
into a function
...
includes `utils.sh` everywhere
2020-10-26 10:25:21 +08:00
Fu Hanxi
d3e44d9483
add gitlab ssh key for geo nodes
2020-10-26 10:23:46 +08:00
Fu Hanxi
7951152f7b
CI: Refactor CI rules into rules.yml
.
...
- Add `utils.sh` for some widely used shell scripts
- Change `dependencies` into `needs` for strict dependency relationships
2020-10-26 10:23:46 +08:00
Chen Yu Dong
f38321a218
test: move auto_test_script to new repo
...
clone repo by https instead of ssh
2020-10-24 09:21:17 +08:00
suren.gabrielyan
b3ad76537a
ESP-OPENSSL-tests : Added new test-app to check esp-ssl connection
2020-10-23 11:43:59 +00:00
Renz Bagaporo
4c796850e9
ldgen: allow more chars in sections fragments
2020-10-23 10:40:30 +08:00
Ivan Grokhotkov
4883c04236
Merge branch 'bugfix/ldgen_unicode_path' into 'master'
...
tools/ldgen: Parse paths with Unicode characters in archives
Closes IDFGH-4129
See merge request espressif/esp-idf!10915
2020-10-23 00:55:42 +08:00
Jakob Hasse
f835bead45
C++: ESP Event wrapper classes
...
* Provide easy interface to esp_event in C++
* Extended functionality linke synchronous
waiting for events
* Closes IDF-1048
* Closes IDF-232
2020-10-22 09:56:52 +08:00
Angus Gratton
8a70b1cdc9
ci freertos: Add test configs for some of the optional FreeRTOS 10 configurations
...
Also unit tests for the legacy hook functions.
2020-10-21 14:04:01 +11:00
suren.gabrielyan
637f5c0a68
CI: Add a test to pre-check fuzzer tests compilation before weekly run
2020-10-20 13:57:00 +00:00
Roland Dobai
792087dede
tools/ldgen: Parse paths with Unicode characters in archives
...
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-20 12:09:50 +02:00
Alex Lisitsyn
8737584789
Bugfix/fix RS485 ut fail
2020-10-19 16:17:19 +08:00
Ivan Grokhotkov
cea3a052b1
Merge branch 'ci/sonarqube_ignore_freertos' into 'master'
...
ci: Add FreeRTOS upstream files to the sonar exclude list
See merge request espressif/esp-idf!10846
2020-10-16 18:22:43 +08:00
Angus Gratton
a9d07720a5
Merge branch 'bugfix/err_to_name_paths_windows' into 'master'
...
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
See merge request espressif/esp-idf!10838
2020-10-16 11:27:23 +08:00
Angus Gratton
2e5ca433f9
Merge branch 'bugfix/cmake_example_sdkconfig_path' into 'master'
...
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project
See merge request espressif/esp-idf!8649
2020-10-16 07:10:08 +08:00
Ivan Grokhotkov
0289d1cc81
Merge branch 'bugfix/gdbstub_threads_and_tests' into 'master'
...
gdbstub: fix thread list generation, add tests
Closes IDF-2246
See merge request espressif/esp-idf!10709
2020-10-15 15:59:32 +08:00
Angus Gratton
baffdb5fa0
ci: Add FreeRTOS upstream files to the sonar exclude list
...
These files are mostly upstream code apart from some minor modifications.
There are a number of places that sonarqube reports issues because of
different code style/expectations.
2020-10-15 07:05:51 +00:00
Ivan Grokhotkov
d9db49d9f7
tools: idf_tools.py: fix compatibility with Python <= 2.7.8
...
Multiple ssl-related features have been backported from Python 3.x
to Python 2.7.9. This adds a fallback so that idf_tools.py can work
on older versions.
2020-10-14 20:19:32 +02:00
Ivan Grokhotkov
e43a4d51f2
tools: fix idf_tools.py compatibility regression with Python 2
...
In Python 2, cadata must be explicitly converted to unicode:
https://bugs.python.org/issue37079
Regression from 081ebcf1e7
2020-10-14 18:24:55 +02:00
Marius Vikhammer
3f42be1753
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
...
Exclude paths that were specified with slash as a path separator were compared
as strings. This would fail on Windows which uses backslash as a path separator.
2020-10-14 20:03:15 +08:00
Ivan Grokhotkov
fcb80c3cd6
Merge branch 'bugfix/idf_tools_letsencrypt_cert' into 'master'
...
add letsencrypt root cert into idf_tools.py
See merge request espressif/esp-idf!8829
2020-10-14 19:54:52 +08:00
Angus Gratton
b351ffa557
cmake: Log the project sdkconfig path as part of normal CMake status output
...
As discussed in footnote to https://github.com/espressif/esp-idf/issues/5251#issuecomment-625563782
2020-10-14 19:30:30 +11:00
Angus Gratton
c90d6ae9af
examples: Move idf_as_lib sdkconfig file to the project directory
...
Also add some explanation about configuring the project in the README
Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-14 19:30:30 +11:00
Angus Gratton
a1d3f2b291
Merge branch 'feature/freertos_upstream_plus_tlsf_allocator_preview' into 'master'
...
freertos/heap: Preview branch containing TLSF allocator and FreeRTOS 10 kernel
Closes IDF-1637 and IDFGH-3859
See merge request espressif/esp-idf!8414
2020-10-14 15:58:51 +08:00
Angus Gratton
cbb721c3ca
ci: Bump ESP32-S2 UT jobs
2020-10-14 16:11:49 +11:00
Felipe Neves
3057b76a7e
tests: re-add all disabled tests and all disabled configurations
2020-10-14 16:11:49 +11:00
Felipe Neves
f3783ba258
app_trace/sysview: fixed freertos tracing calling plus sync apptrace component with the master branch version
...
docs: remove reference to backported features in freertos 10 api-reference.
2020-10-13 23:52:03 +00:00
Felipe Neves
a3c90bf59a
freertos: merged freertos 10 kernel files into IDF
...
freertos/port: update the port files and split into xtensa and riscv ports
freertos: separated cpu files from rest of the kernel sources
freertos/port_xtensa: separated private include files into a folder
freertos/tasks: added task create pinned to core function do not break current IDF API
freertos/tasks: mimiced task create pinned function into tasks.c to do not break the IDF API.
freertos: freertos component now compiling
freertos: freertos component now building
freertos: moved critical sections outside from FR kernel section to portable section
portmacro_xtensa: add void indentifier on functions that take no arguments
freertos: fix critical sections implementation to match with their function prototype
freertos: add cmake changes of freertos into make
freertos: remove portDONT_DISCARD attribute from switch context function, it was breaking the docs building.
freertos: fix conflicitng types of vApplicationSleep function
license: update the license of freertos
freertos: Doxygen comments refactored to render them correctly on docs
freertos: added new functions of freertos into the documentation
freertos: added message buffers and stream buffers to documentation
sysview: update freertos system view to the compatible with version 10
freertos: fixed event group documentation rendering
freertos: update static task structure to match the actual tcb size
freertos: removed backported test functions
freertos/smp: brought SMP code to FreeRTOS 10 port
freertos/portmacro: added missing crosscore interrupt for yielding tasks
freertos: replaced soft-critical sections with hard-critical sections used by SMP
freertos: placed muxes inside of kernel objects
freertos: replaced original FR critical sections with SMP enabled spinlocks critical sections
freertos: moved xtensa port files to a separated folder
freertos: added multiple instance of global variables required to SMP
freertos: added SMP modifications on specific tasks module functions
freertos: added TLS deletion function to task module
freertos/tls: initialize TLS deletion callback to avoid crashing when calling task delete
freertos: modified vTaskDelete to do not erase current task that runs on other core
freertos: reverted taskhandle and timerhandle as void* type
freertos: fixed de-referencing void pointer to get run time counter
freertos: fix system view trace enter macro arguments
freertos: Replaced soft critical sections with spinlocks on event_groups
freertos: fixed tick function to avoid calling tick hooks twice
freertos: Nofity give checking per CPU if schedule is suspended
freertos: added mpu release on TCB deletion
freertos: Added SMP changes when deleting a TCB on idle task
freertos/license: update freertos license in COPYRIGHT.rst
freertos: unicore configurations can use task create pinned to core, it will be always pinned to core 0
freertos/portmacro: added cpu_hal_get_core_id() function instead of inline assembly
freertos/xtensa: update xtensa specific files used in master branch
newlib/locks: revert the preemption checking in lock acquisition and release
ref_clock: fix initial state of ref_clock interrupt handler
freertos: added missing critical sections and yielding checkings
freertos: remove magic numbers in vTaskDelete
freertos: added missing critical section in prvIsQueueEmpty
2020-10-13 23:52:03 +00:00
Ivan Grokhotkov
2218ac91c2
tools/ci: fix import error when running ttfw tests locally
2020-10-13 18:09:22 +02:00
Ivan Grokhotkov
b1d64d1a61
test/panic: add gdbstub test configuration
2020-10-13 18:09:22 +02:00
Fu Hanxi
31c03a95da
CI: Exclude list for sonarqube
2020-10-12 12:27:42 +08:00
Michael (XIAO Xufeng)
72a31a62c7
ci: add esp32s3 into template app build
2020-10-09 17:50:16 +08:00
Ivan Grokhotkov
2e0c716db7
Merge branch 'bugfix/ci_python3_compatibility' into 'master'
...
CI: fix Python 3 compatibility in example checker
See merge request espressif/esp-idf!10740
2020-10-08 18:10:09 +08:00
Martin Vychodil
497b730e8f
* memprot support for RTC_SLOW
...
* API upgrade
JIRA IDF-1636
2020-10-08 11:19:23 +08:00
Angus Gratton
80f993bf31
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci' into 'master'
...
CI: get git describe from annotated tags
Closes IDFCI-129 and IDFGH-721
See merge request espressif/esp-idf!10671
2020-10-07 10:43:01 +08:00
Angus Gratton
1612f84ab3
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 10:00:59 +11:00
Angus Gratton
261363855c
build system: Also get IDF version from annotated tags only
...
Builds on previous commit.
Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 09:36:40 +11:00
Roland Dobai
6956603554
CI: fix Python 3 compatibility in example checker
2020-10-06 19:16:17 +02:00
Angus Gratton
26a0df0423
Merge branch 'bugfix/bootloader_anti_rollback_mmap' into 'master'
...
bootloader_support: fix issue in memory mapping for getting app descriptor
Closes IDFGH-4038
See merge request espressif/esp-idf!10679
2020-10-06 07:44:37 +08:00
David Čermák
f1eb4b827e
Merge branch 'bugfix/lwip_netdb_cpp_guards' into 'master'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code
Closes IDFGH-4027
See merge request espressif/esp-idf!10681
2020-10-05 15:51:00 +08:00
Mahavir Jain
20af94ff53
Coredump config option rename throughout IDF
2020-09-30 20:22:27 +05:30
Mahavir Jain
e08a3e1d63
test_apps: add anti rollback configuration for bootloader build
2020-09-30 12:21:24 +05:30
He Yin Ling
0f8d1cbf1b
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:28:59 +08:00
Michael (XIAO Xufeng)
56403bd146
ci: define ESP_PLATFORM macro during public header check
2020-09-29 11:46:46 +02:00
Renz Bagaporo
f33f49331f
ci: update configs to include/exclude esp_pm in unit test
2020-09-25 05:24:10 +00:00
Angus Gratton
50e79e6763
Merge branch 'feature/switch_to_kconfiglib_package' into 'master'
...
tools: Use kconfiglib from package
Closes IDF-989
See merge request espressif/esp-idf!10535
2020-09-24 12:27:31 +08:00
Angus Gratton
afe1413c9c
Merge branch 'feature/bringup_esp32s3_fpga' into 'master'
...
esp32-s3 (beta2) chip bringup
Closes IDF-958
See merge request espressif/esp-idf!9978
2020-09-23 10:10:27 +08:00
Ivan Grokhotkov
2626f19500
Merge branch 'feature/add-command-idf-new-project' into 'master'
...
Add command for creating project and component with minimal required files
Closes IDF-1596
See merge request espressif/esp-idf!10156
2020-09-23 04:27:30 +08:00
Roland Dobai
883cbc416e
tools: Use kconfiglib from package
2020-09-22 11:29:30 +02:00
morris
9fa06719fa
global: enable build uinit test for esp32-s3
2020-09-22 15:15:03 +08:00
morris
75a372a9f0
unit_test: support reference clock, test delay function
2020-09-22 15:15:03 +08:00
morris
61f89b97c6
bringup esp32-s3 on FPGA
2020-09-22 15:15:03 +08:00
Anton Maklakov
a1d419da08
Merge branch 'bugfix/build_docs_pdf_job' into 'master'
...
docs: seperate build_docs html and pdf CI jobs
Closes IDF-2038
See merge request espressif/esp-idf!10438
2020-09-22 13:20:49 +08:00
martin.gano
b599f127b5
add new command to idf
2020-09-21 23:38:52 +02:00
Marius Vikhammer
06af651a51
docs: seperate build_docs html and pdf CI jobs
...
Due to eager_exclude, Sphinx jobs cannot use the doc cache (doctrees).
PDF and HTML building are now seperate CI jobs to avoid this issue.
PDF building will only be ran on deploy branches and when started
with build_docs tag to reduce CI load
2020-09-21 10:48:04 +08:00
Michael (XIAO Xufeng)
4e287a09fe
spi_flash: add unit tests for qio mode
2020-09-20 01:57:14 +08:00
Ivan Grokhotkov
081ebcf1e7
tools: add dl.espressif.com root cert into idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/5842
2020-09-18 17:39:53 +02:00
Ivan Grokhotkov
eebc71b16d
Merge branch 'feature/ci_submodule_fetch_mirror' into 'master'
...
ci: download submodules from mirror, if enabled
See merge request espressif/esp-idf!10477
2020-09-18 22:30:49 +08:00
David Cermak
3b3409fb20
idf.py: Fixed gdb target to exit cleanly when no openocd watch task
...
When idf.py gdb starts, it expects openocd was started in the background
and creates a thread to watch for openocd errors. when gdb target exits,
the debug_ext.py aims to cleanup all threads and processes, but fails
with traceback if openocd-watch thread not available, which could happen
if openocd started separately.
2020-09-18 08:30:21 +02:00
Mahavir Jain
6d14bdf068
Merge branch 'feature/ota_example_test' into 'master'
...
Add OTA example test on Flash Encrypted runner
Closes IDFCI-73
See merge request espressif/esp-idf!9423
2020-09-17 12:39:41 +08:00
Ivan Grokhotkov
f4296b947e
Merge branch 'bugfix/fatfs_alloc_extram_first' into 'master'
...
fatfs: fix SPIRAM allocation not used due to Kconfig option name error
Closes IDFGH-3850
See merge request espressif/esp-idf!10381
2020-09-17 03:41:34 +08:00
Ivan Grokhotkov
d17a3c76d0
ci: fetch submodules from mirror, if enabled
2020-09-16 21:22:26 +02:00
Ivan Grokhotkov
deb7ca8bac
Merge branch 'bugfix/codeowners_patterns' into 'master'
...
fix CODEOWNERS file patterns
See merge request espressif/esp-idf!10455
2020-09-16 02:56:28 +08:00
Ivan Grokhotkov
96db25c861
Merge branch 'feature/nvs_encryption_s2' into 'master'
...
NVS: using esp_partition API
Closes IDF-1340 and IDF-858
See merge request espressif/esp-idf!8683
2020-09-16 02:12:54 +08:00
Ivan Grokhotkov
72aaf83747
Merge branch 'sonarqube/pylint_with_py3' into 'master'
...
CI: Sonarqube: Use Python version 3 and pylint 2.6
See merge request espressif/esp-idf!10243
2020-09-16 01:59:33 +08:00
Ivan Grokhotkov
f16d231197
Merge branch 'feature/improve_load_env_log' into 'master'
...
CI: Improve load env config log output
See merge request espressif/esp-idf!9587
2020-09-16 01:59:05 +08:00
Ivan Grokhotkov
37eb5066ca
Merge branch 'bugfix/delete_useless_built_binaries_failed' into 'master'
...
CI: fix the bug that will cause non-preserve app binaries won't get removed
See merge request espressif/esp-idf!9767
2020-09-16 01:58:10 +08:00
Ivan Grokhotkov
8bc19ba893
Merge branch 'feature/free_components_iram' into 'master'
...
freertos: free IRAM space moving task functions into flash memory
See merge request espressif/esp-idf!5648
2020-09-15 23:14:31 +08:00
Alex Lisitsyn
eaa892bebf
freertos: optionally place selected freertos functions into flash memory instead of IRAM
...
correct generation.py script to be silent when file: function is not in the object list (just ignore placement)
correct linker.lf to place task functions into flash if CONFIG_FREERTOS_TASK_FUNCTIONS_INTO_FLASH is active otherwise into IRAM
update kconfig option to place functions into IRAM
update linker file after tests
fix spi_device_polling_end crash when xTaskGetTickCount() in flash
disable "yield from lower priority task, other CPU" test case when placing rtos functions into flash
upadate ut app config freertos_flash
combine spi_flash driver and freertos ut configs into one file
remove TEST_EXCLUDE_COMPONENTS
ci: fix ut job
remove functions that are called from ISR funcs
add port module functions to place into Flash
place snapshot funcs into Flash when ESP_PANIC_HANDLER_IRAM is not set
ci: add job with tags UT_T1_GPIO,ESP32_IDF
2020-09-15 23:14:31 +08:00
Ivan Grokhotkov
00c3e0e8ec
codeowners: fix directory patterns
...
The previous version used an incorrect /dir1/dir2 pattern to match the
content of dir2. The correct pattern should be /dir1/dir2/ (with the
trailing slash). This commit fixes these patterns.
Regarding codeowners.py:
'git ls-files' can not be used to correctly implement the logic of
CODEOWNERS file patterns, since it doesn't distinguish between
/path/* and /path/. The former pattern in CODEOWNERS file should only
match the files inside /path/, while the latter also matches files in
nested directories.
Because of this, the logic for evaluating patterns is re-implemented,
by converting CODEOWNERS patterns into regular expressions.
Gitlab CODEOWNERS parsing code was used as a reference, in addition to
the approach for converting glob patterns into regular expressions
proposed in https://stackoverflow.com/a/29354254 .
2020-09-15 11:10:36 +02:00
Angus Gratton
2b8bacafc4
Merge branch 'bugfix/mfg_tool' into 'master'
...
mfg_util: Maintain format for line endings across various OS
Closes IDFGH-2827
See merge request espressif/esp-idf!8923
2020-09-15 14:30:44 +08:00
Ivan Grokhotkov
c330def25a
fatfs: fix SPIRAM allocation not used due to Kconfig option name error
...
Closes https://github.com/espressif/esp-idf/issues/5756
2020-09-14 18:30:31 +02:00
Shubham Kulkarni
b930f7a96d
simple_ota_example: Add example test with flash encryption enabled
2020-09-14 13:47:39 +00:00
Jakob Hasse
aca9ec28b3
NVS: using esp_partition API
...
* partition api changed from spi_flash* API to
esp_partition* API and is abstracted as a C++
interface.
* The old nvs encryption is still possible
* changed default unit test app partition table
* Partitions coming from esp_partition API are
checked for generic flash encryption. If yes,
an error is returned since generic flash
encryption isn't compatible with nvs
encryption
* esp32, esp32s2 tests don't require nvs_flash
but mbedtls now
Closes IDF-1340
Closes IDF-858
2020-09-14 10:34:34 +08:00
Sergei Silnov
38dc0cc5f6
ci: Use git mirror for docker image
2020-09-11 16:27:20 +02:00
Ivan Grokhotkov
00072fe2e2
Merge branch 'ci/standalone_unit_test_app' into 'master'
...
CI: add standalone unit test app for esp_netif
See merge request espressif/esp-idf!10102
2020-09-11 15:50:54 +08:00
suren.gabrielyan
a43c06a592
mdns, dns, dhcp, dhcps: update fuzzer test to work in CI
...
Closes: IDF-1861 and IDF-1990
2020-09-10 18:17:30 +00:00
Ivan Grokhotkov
b6467257b9
Merge branch 'feature/cmock_component' into 'master'
...
cmock as component replacing unity
See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
Ivan Grokhotkov
c284927222
Merge branch 'bugfix/eclipse_make_py3' into 'master'
...
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
See merge request espressif/esp-idf!10369
2020-09-10 00:34:11 +08:00
Roland Dobai
3c7954ea49
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
2020-09-09 13:00:37 +02:00
Ivan Grokhotkov
26016534d8
bootloader: move rtc_retain_mem functions back into .iram_loader.text
...
Introduced 66a32c17
when bootloader_common was moved out of the loader
section.
Also add a test for this configuration.
2020-09-09 10:35:29 +02:00
Fu Hanxi
edc7cc9c00
add component_ut in assign-test and target-test stage.
...
Add one template_test python file to get test case
2020-09-07 12:12:11 +08:00
Fu Hanxi
e35328afd9
build component unit test apps
...
use idf_py_actions supported targets
2020-09-07 12:11:55 +08:00
Jakob Hasse
40d80b981a
Fixed unity fixture for ESP32/S2
...
* Created compile switch for UNITY_MAIN
since it was using exit() syscall leading to
abort() on ESP
2020-09-04 17:37:47 +08:00
Fu Hanxi
0d6f0e9bc3
remove dir with exclude file pattern
2020-09-04 16:07:44 +08:00
Fu Hanxi
fd6a2e406a
fix remove build directory path
2020-09-04 16:07:35 +08:00
Ivan Grokhotkov
9d3add538b
Merge branch 'feature/toolchain_2020r3' into 'master'
...
Update toolchain to esp-2020r3
See merge request espressif/esp-idf!10250
2020-09-04 14:07:24 +08:00
Ivan Grokhotkov
52607063cb
ci: add script to check section references
2020-09-03 18:14:17 +02:00
Ivan Grokhotkov
6beefff725
Merge branch 'ci/not_show_error_when_checkout_ref' into 'master'
...
CI: Not showing stdout nor stderr when checkout ref
See merge request espressif/esp-idf!10258
2020-09-03 23:45:07 +08:00
Ivan Grokhotkov
277a902dec
Merge branch 'bugfix/docker_gdb_python' into 'master'
...
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies (Github PR)
See merge request espressif/esp-idf!10257
2020-09-03 20:35:56 +08:00
Anton Maklakov
439f4e4f70
Update toolchain to esp-2020r3
...
Fixup more for PSRAM issue;
Allow GDB work correctly with Privileged Registers;
Based on GCC 8.4.0;
Update a fix of C++ exception crashs from the GCC mainline;
Fixup strptime_l() and some locale in libc;
Closes https://github.com/espressif/esp-idf/issues/5765
2020-09-03 14:09:38 +07:00
Fu Hanxi
6f675925d8
CI: Not showing stdout nor stderr when checkout ref
2020-09-03 12:17:50 +08:00
Martin Stejskal
be0372b1db
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies
...
It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.
Merges https://github.com/espressif/esp-idf/pull/5817
Closes https://github.com/espressif/esp-idf/issues/5284
2020-09-02 18:15:52 +02:00
Ivan Grokhotkov
c23a9d91d8
add code owners list
2020-09-02 18:04:27 +02:00
Jakob Hasse
20c068ef3b
cmock: added cmock as component
...
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2020-09-02 16:38:37 +08:00
Fu Hanxi
9ba194f78a
CI: Sonarqube: run python analysis with python 3
2020-09-02 14:42:07 +08:00
Anton Maklakov
587f97ab15
Merge branch 'ci/sonarqube_improvement' into 'master'
...
CI: Sonarqube: CI_MERGE_REQUEST_IID
See merge request espressif/esp-idf!10218
2020-09-02 10:23:44 +08:00
Michael (XIAO Xufeng)
ea63bd3de4
Merge branch 'feat/extract_hal_from_soc' into 'master'
...
hal: extract hal component from soc component
See merge request espressif/esp-idf!9992
2020-09-01 23:56:15 +08:00
Michael (XIAO Xufeng)
9d09f739da
Merge branch 'refactor/unit_test_ref_clock' into 'master'
...
unit_test:refactor ref clock to use RMT carrier
See merge request espressif/esp-idf!10045
2020-09-01 22:13:03 +08:00
Fu Hanxi
6c4ab5938c
fix the bug that will cause sonarqube fail when got issue to report but can't get CI_MERGE_REQUEST_IID because it's not a MR pipeline
2020-09-01 16:37:17 +08:00
Michael (XIAO Xufeng)
5425ef4ee4
hal: extract hal component from soc component
2020-09-01 13:25:32 +08:00
Anton Maklakov
5a9a42b079
Merge branch 'ci/sonarqube_improvement' into 'master'
...
CI: Sonarqube: do not use detached pipeline
See merge request espressif/esp-idf!10209
2020-08-31 23:54:44 +08:00
Fu Hanxi
478017e367
clean up the detached pipeline
2020-08-31 15:04:29 +08:00
David Cermak
6f1b8fe062
esp-modem: Remove esp-netif destroy from modem network glue code
...
To be in line with other interfaces, when deleting the driver and it's glue layer to esp-netif, we DO NOT delete the related esp-netif (since is was allocated and created outside of the glue code and it works the same way in esp-eth and esp-wifi driver/glue layers).
Closes https://github.com/espressif/esp-idf/issues/5486
2020-08-31 06:47:01 +00:00
morris
4dd649d533
unit_test:refactor ref clock to use RMT carrier
2020-08-31 14:25:23 +08:00
Ivan Grokhotkov
dd8cef9f01
Merge branch 'bugfix/dev_tty_cu_darwin_only_pr5462' into 'master'
...
idf_monitor: only mangle /dev/tty.* on Darwin
Closes IDFGH-3507
See merge request espressif/esp-idf!10169
2020-08-28 17:39:57 +08:00
Ivan Grokhotkov
f3cf90920e
Merge branch 'feature/sonarqube_static_code_analysis' into 'master'
...
CI: sonarqube static code analysis
Closes IDF-1661
See merge request espressif/esp-idf!8673
2020-08-28 15:47:35 +08:00
Angus Gratton
96b3e7f405
Merge branch 'bugfix/idf_py_disable_cmake_warnings_default' into 'master'
...
idf.py: disable cmake uninitialized variable warnings by default
Closes IDF-2026 and IDFGH-3847
See merge request espressif/esp-idf!10149
2020-08-26 16:46:21 +08:00
Angus Gratton
ad295037a8
idf.py: Disable CMake --warn-uninitialized option by default
...
Can still be enabled by passing --cmake-warn-uninitialized on the command line
Prevents CMake warnings printed by default if IDF_PATH is underneath the CMake
project directory.
The reason for this is that CMake --warn-uninitialized only enables checks
inside the project directory (ie top-level CMakeLists.txt directory and
subdirectories), it doesn't enable for files included from other directories.
(The only way to enable warnings in other directories is to pass
--check-system-dirs and this looks like it's only useful for CMake's own
developers as it prints a lot of warnings from inside CMake otherwise - see
https://gitlab.kitware.com/cmake/cmake/-/issues/19645 )
Plan to follow up with a later commit to clean up most of the warnings (which
aren't problems for CMake execution), but we'll also disable this option by
default to avoid this unexpected triggering of IDF warnings.
2020-08-26 09:53:56 +10:00
Angus Gratton
dde6222cdc
Merge branch 'bugfix/idf_py_bootloader_secure_boot' into 'master'
...
tool: Fix 'idf.py bootloader' error if Secure Boot is enabled
See merge request espressif/esp-idf!9752
2020-08-25 14:53:40 +08:00
Angus Gratton
bc5c508211
Merge branch 'feature/support_rsource_mconf' into 'master'
...
Support rsource in old kconfig
See merge request espressif/esp-idf!9982
2020-08-24 15:53:22 +08:00
Fu Hanxi
aeb3c02746
Add sonarqube code static analysis for idf project
2020-08-24 14:39:15 +08:00
Shivani Tipnis
810622017f
mfg_util: Update file handling to maintain line endings across various OS
...
Fixes: https://github.com/espressif/esp-idf/issues/4888
2020-08-24 06:37:56 +00:00
Jakob Hasse
52065ac44f
CI: Allow warning about python cryptgraphy
2020-08-20 18:00:35 +08:00
Renz Bagaporo
f77eeb34d5
ci: add rsource test app
2020-08-17 20:50:36 +08:00
Renz Bagaporo
86d3b962d2
tools: support rsource in MSYS config
2020-08-17 20:46:39 +08:00
Renz Bagaporo
0db3edd490
esp32: move sleep test to esp_system
2020-08-17 19:09:24 +08:00
Anton Maklakov
b6a266e2ac
Merge branch 'test/ci_add_s2_pre_build' into 'master'
...
ci: build s2 template app in pre_build of pre_check stage
See merge request espressif/esp-idf!9640
2020-08-11 14:13:36 +08:00
Michael (XIAO Xufeng)
e97e7281b2
Merge branch 'feature/tinyusb_cdc' into 'master'
...
Feature/tinyusb cdc
See merge request espressif/esp-idf!7212
2020-08-10 18:13:23 +08:00
Michael (XIAO Xufeng)
ad6609a561
ci: build s2 template app in pre_build of pre_check stage
...
This will fail pipeline earlier if template project of S2 cannot pass
the build.
The other builds for the template app, which is not CMake or default
optimization level are put into the build_template_app of build stage.
2020-08-10 18:00:39 +08:00
Ivan Grokhotkov
7acda7b8eb
Merge branch 'bugfix/panic_instr_fetch_prohibited' into 'master'
...
panic: don't interrupt the backtrace for InstrFetchProhibited exceptions
See merge request espressif/esp-idf!9851
2020-08-07 21:43:35 +08:00
Andrei Gramakov
84aa1c0cc3
usb: cdc support, streams redirection; ci, examples upd
...
tusb: cdc, tasks encapsulation, callbacks api, multiple interfaces
examples: added serial interface and usb console
ci: reimplemented cmake/make test in python with ignore lists
IDF-578
2020-08-06 15:26:08 +02:00
Ivan Grokhotkov
20cbdeab65
Merge branch 'feature/download_only_required_ut_bin' into 'master'
...
CI: Download only required bin for unit tests
Closes IDF-1608
See merge request espressif/esp-idf!9266
2020-08-06 10:50:59 +08:00
Ivan Grokhotkov
600665a563
Merge branch 'bugfix/esp32s2_o2_op' into 'master'
...
freertos: fix build error at -O2 optimization level
Closes IDFGH-3581
See merge request espressif/esp-idf!9444
2020-08-05 22:03:00 +08:00
Ivan Grokhotkov
481409ec05
panic: allow running specific test cases from command line
...
Small quality-of-life improvement, make it easier to run specific
test cases, when debugging the tests locally.
Take the optional list of test cases to run from the command line.
2020-08-05 12:00:50 +02:00
Ivan Grokhotkov
709730317b
panic: fix checks for corrupted backtrace in the test cases
...
"CORRUPTED" needs to be checked before ELF SHA256. Use
expect_backtrace in every test (which checks for it), remove extra
check for CORRUPTED.
2020-08-05 12:00:50 +02:00
Ivan Grokhotkov
5ff9cd495e
panic: skip over the first invalid PC in case of InstrFetchProhibited
...
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.
Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-08-05 12:00:50 +02:00
Fu Hanxi
ef2813a068
CI: Improve load env config log output
2020-08-05 07:49:02 +00:00
Angus Gratton
a9dd9e3017
Merge branch 'feature/embed_generated_files' into 'master'
...
cmake: allow embedding files to be dependent on a target
See merge request espressif/esp-idf!8535
2020-08-04 14:39:49 +08:00
Fu Hanxi
19ad15a1b4
modify example tests. delete unused arguments
2020-08-04 13:27:16 +08:00
Fu Hanxi
0478edc6ba
CI: download only required bin for unit-tests. Refactor AssignTest related code
2020-08-04 13:27:16 +08:00
Angus Gratton
e7b89e6ddc
Merge branch 'bugfix/esp32s2_panic_handler_iram' into 'master'
...
esp_common: allow placing panic handler into IRAM on ESP32-S2
Closes IDF-1639
See merge request espressif/esp-idf!9749
2020-07-29 13:54:19 +08:00
Angus Gratton
18fded7abb
Merge branch 'feature/build_doc_ci_tests' into 'master'
...
docs: add CI tests
Closes IDF-1648
See merge request espressif/esp-idf!9110
2020-07-29 13:54:01 +08:00
Anton Maklakov
d7db6673f5
Merge branch 'revert-1ba7dc22' into 'master'
...
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
See merge request espressif/esp-idf!9794
2020-07-29 10:32:43 +08:00
Michael (XIAO Xufeng)
6434c1e2bd
Merge branch 'feat/esp_flash_enable_s2_ut' into 'master'
...
esp_flash: fix several issues and enable unit test for ESP32-S2
Closes IDF-1409
See merge request espressif/esp-idf!8259
2020-07-28 18:15:41 +08:00
Marius Vikhammer
ba546a0d91
docs: Adds CI tests for the doc building process.
...
Adds test_sphinx_idf_extensions.py and test_docs.py for testing the documentation building process.
Both are run as a part of the host_test stage.
Closes IDF-1648
2020-07-28 17:48:19 +08:00
Ivan Grokhotkov
3e8833cda8
Merge branch 'feature/coredump_new_ci_tests' into 'master'
...
coredump: Add CI tests
See merge request espressif/esp-idf!8998
2020-07-28 17:22:43 +08:00
Angus Gratton
a2dc60b254
Merge branch 'feature/secure_boot_esp32s2' into 'master'
...
Feature/secure boot esp32s2
See merge request espressif/esp-idf!8254
2020-07-28 16:39:34 +08:00
Ivan Grokhotkov
16c73edc67
Merge branch 'refactor/add_alias_name_for_ets_common_api' into 'master'
...
esp_rom: extract common ets apis into esp_rom_sys.h
See merge request espressif/esp-idf!9701
2020-07-28 15:04:55 +08:00
Angus Gratton
9222f5473f
Merge branch 'bugfix/stack_check_error' into 'master'
...
esp_system: restore deleted no stack check flag
See merge request espressif/esp-idf!9721
2020-07-28 07:43:41 +08:00
Michael (XIAO Xufeng)
2bfd725e66
Merge branch 'feature/i2c++' into 'master'
...
I2C C++ API
See merge request espressif/esp-idf!7812
2020-07-27 20:05:42 +08:00
Ivan Grokhotkov
580fe804a8
Merge branch 'doc/esp32s2_jtag_guide' into 'master'
...
docs: update JTAG debugging guide for ESP32-S2
Closes FCS-469
See merge request espressif/esp-idf!9473
2020-07-27 19:17:46 +08:00
Angus Gratton
cc2b5b4e13
tool: Fix 'idf.py bootloader' error if Secure Boot is enabled
...
If Secure Boot is enabled, there's no bootloader flasher arguments in the
project (to encourage careful manual flashing), so this command would
fail with a KeyError.
2020-07-27 07:27:07 +00:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
Chen Jian Xing
56261ef9a2
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
...
This reverts merge request !9079
2020-07-27 05:06:28 +00:00
Michael (XIAO Xufeng)
0a65911df2
esp_flash: enable unit tests for ESP32-S2 external flash
2020-07-27 12:27:04 +08:00
Anton Maklakov
5593eae8cd
Merge branch 'bugfix/build_docs_check_link' into 'master'
...
build_docs: fix incorrect arguments for linkcheck
Closes IDFCI-65
See merge request espressif/esp-idf!9772
2020-07-27 11:09:21 +08:00
Angus Gratton
b9a1d82ea3
ci: Add test apps for ESP32-S2 Secure Boot
2020-07-27 00:01:10 +00:00
Supreet Deshpande
f3b914d0c5
Split unit test configs to fit into ESP32s2's memory
2020-07-27 00:01:10 +00:00
Ivan Grokhotkov
6467f5dd54
tools: idf.py: default to board/esp32s2-kaluga-1.cfg for ESP32-S2
...
NFC. Kaluga-1 config is same as devkitj + esp32s2.
2020-07-24 15:54:47 +02:00
Ivan Grokhotkov
ba717a298f
Merge branch 'bugfix/verify-directory-exists' into 'master'
...
Bugfix: add check for existence build directory
Closes IDF-984
See merge request espressif/esp-idf!9695
2020-07-24 19:53:27 +08:00
Marius Vikhammer
c54e9d9d5c
build_docs: fix incorrect arguments for linkcheck
2020-07-24 19:27:52 +08:00
Jakob Hasse
2d846414ce
Increased parallel for build_examples_cmake_esp32
2020-07-24 10:29:48 +08:00
Jakob Hasse
25424477f2
C++: I2C API
2020-07-24 08:36:16 +08:00
He Yin Ling
4c32c71db9
Merge branch 'feature/support_python3_autotest' into 'master'
...
test: run IT jobs with python3
See merge request espressif/esp-idf!9673
2020-07-23 16:07:43 +08:00
Angus Gratton
f24a132f67
Merge branch 'bugfix/unit_test_cases_missing' into 'master'
...
CI: fix unit test case output yaml file
See merge request espressif/esp-idf!9729
2020-07-23 11:01:57 +08:00
Ivan Grokhotkov
24e9d6b26a
esp_common: allow placing panic handler into IRAM on ESP32-S2
2020-07-22 21:57:58 +02:00
Chen Yudong
4088702077
test: auto test script supports python3
2020-07-22 16:14:21 +08:00
Alexey Gerenkov
0e3c7918e4
examples: Fixes 'apptrace_to_host' to work with updated OpenOCD tracing command
2020-07-22 06:49:27 +00:00
Alexey Gerenkov
f857ab85c3
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709'
2020-07-22 06:49:27 +00:00
Fu Hanxi
b490262e68
CI: fix search unit test build output path
2020-07-22 11:57:38 +08:00
Renz Bagaporo
837052c86f
esp_system: restore deleted no stack check flag
...
Restores the change of startup refactor changes removed the no stack
check protection flag when compiling the source file that contains
execution of constructors - which contains function to setup stack
guard. Restore that and update the source file, since this is in the 2nd
stage of the startup now.
Closes https://github.com/espressif/esp-idf/issues/5617
2020-07-22 11:57:18 +08:00
Mahavir Jain
19711855e2
Merge branch 'bugfix/convert-string-to-bytes' into 'master'
...
bugfix: convert string to bytes to fix TypeError
Closes IDF-1922
See merge request espressif/esp-idf!9636
2020-07-22 02:47:36 +08:00
Ivan Grokhotkov
ba874ccb04
Merge branch 'feature/freemodbus_add_tcp_master_slave' into 'master'
...
freemodbus: add tcp master and slave support
Closes IDFGH-1147 and IDF-452
See merge request espressif/esp-idf!7506
2020-07-22 00:34:06 +08:00
Alex Lisitsyn
d0b9829eef
examples: freemodbus add tcp support for common master/slave iface
...
Add TCP port files to provide Modbus TCP interface for communication
Add freemodbus add tcp support for common master/slave iface and tcp example based on socket API
The communication between master and slave checked for each example serial_master, serial_slave (use ModbusPoll TCP)
update tcp example according netif changes, fix ci issues
update TCP slave implementation
update example_test.py to to set IP through stdin
update API documentation
event bit instead of semahore to lock communication resource
update default options and master/slave port files
Closes https://github.com/espressif/esp-idf/issues/858
Closes IDF-452
2020-07-22 00:34:04 +08:00
Ivan Grokhotkov
ba5aa21720
Merge branch 'bugfix/idf_monitor_baudrate_arg_crash' into 'master'
...
idf monitor: fix crash when monitor baudrate argument set
Closes IDF-1902
See merge request espressif/esp-idf!9546
2020-07-21 22:07:04 +08:00
Ivan Grokhotkov
7f977094bd
Merge branch 'feature/idfpy_add_help_subcommand' into 'master'
...
idf.py: Add help and build-system-targets subcommands
Closes IDF-1884
See merge request espressif/esp-idf!9615
2020-07-21 22:06:14 +08:00
Angus Gratton
9fb7d893c9
Merge branch 'test/sync_test_app_cases_to_jira' into 'master'
...
test: sync test app cases to Jira
See merge request espressif/esp-idf!9694
2020-07-21 19:30:24 +08:00
martin.gano
25b4b977d0
Add checking if the build directory exists and move expression after docstring
2020-07-21 13:18:50 +02:00
Angus Gratton
650e2cb47f
Merge branch 'ci/workaround_multiple_ci_failures' into 'master'
...
CI: workaround multiple ci failures
See merge request espressif/esp-idf!9658
2020-07-21 18:03:41 +08:00
Jiang Jiang Jian
1ba7dc22cb
Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'
...
Bugfix/resume esp32s2 wifi unit test
See merge request espressif/esp-idf!9079
2020-07-21 17:39:57 +08:00
martin.gano
cb0bdb8bba
components: convert string to bytes to fix TypeError There is a string passed as an argument for function, but a format of a string seemingly refers to bytes therefore it needs to be converted to bytes Solves https://esp32.com/viewtopic.php?f=13&t=16529
2020-07-21 10:18:53 +02:00
Ivan Grokhotkov
8739282a1d
Merge branch 'feature/size_info_artifacts_for_apps' into 'master'
...
CI: add size info for binaries
Closes IDF-1709
See merge request espressif/esp-idf!8962
2020-07-21 16:00:07 +08:00
Fu Hanxi
6885421976
CI: add size info for binaries
2020-07-21 16:00:05 +08:00
Angus Gratton
442736c5d6
Merge branch 'refactor/common_rom_uart_apis' into 'master'
...
esp_rom: extract common uart apis into esp_rom_uart.h
See merge request espressif/esp-idf!9313
2020-07-21 15:24:21 +08:00
He Yin Ling
fef621435d
test: sync test app cases to Jira
2020-07-20 20:09:19 +08:00
Anton Maklakov
34b677d03b
ci: use the retry script to download
2020-07-20 15:18:32 +07:00
Anton Maklakov
299caccc93
ci: add a helper for retrying shell command
2020-07-20 15:18:32 +07:00
Angus Gratton
eb77e1b11a
Merge branch 'bugfix/startup_secure_options' into 'master'
...
esp_system: fix compilation error when security features are enabled
See merge request espressif/esp-idf!9678
2020-07-20 15:08:17 +08:00
Angus Gratton
f092054f3d
Merge branch 'feature/hidden_link_as_a_group' into 'master'
...
cmake: add hidden option to link components as group
See merge request espressif/esp-idf!9617
2020-07-20 08:42:03 +08:00
Angus Gratton
f83a61e2c8
Merge branch 'feature/ulp_riscv' into 'master'
...
feature/components: Initial support for ULP-RISC-V Coprocessor on esp32s2
Closes IDF-521
See merge request espressif/esp-idf!8781
2020-07-20 08:27:20 +08:00
He Yin Ling
ff6ef11603
CI: do not run cases likely to fail
2020-07-19 06:32:12 +00:00
He Yin Ling
cd478edeae
CI: disable cases with test env SSC_T5_1
2020-07-19 06:32:12 +00:00
He Yin Ling
1378337c52
CI: temp allow mesh job to fail as runner is not stable
2020-07-19 06:32:12 +00:00
Ivan Grokhotkov
c627a1b6a0
ci: add build test for CONFIG_SECURE_FLASH_ENCRYPTION_MODE_RELEASE
2020-07-17 21:04:08 +02:00
Ivan Grokhotkov
096ec3e88c
Merge branch 'feature/idfpy_envvar_help' into 'master'
...
idf.py: Add help for all options with environment variables
See merge request espressif/esp-idf!9356
2020-07-17 21:30:45 +08:00
morris
345606e7f3
esp_rom: extract common uart apis into esp_rom_uart.h
2020-07-17 16:00:59 +08:00
Felipe Neves
b6dba84323
ulp: added support to building code for riscv ULP coprocessor
2020-07-15 15:28:49 -03:00
Sergei Silnov
140c5800dd
idf.py: Add command to list build system targets
2020-07-15 16:43:17 +02:00
Ivan Grokhotkov
6e9b480679
ci: add startup test with -O2 optimization level
2020-07-15 12:50:51 +00:00
Angus Gratton
6fda77828f
ci: Allow test-management working dir to be missing on clone
2020-07-15 11:11:41 +00:00
Angus Gratton
eb43872361
version: Update to v4.3.0
...
v4.3.0-dev is tagged where the branches diverged, catching up with the
remaining metadata here.
2020-07-15 13:56:05 +10:00
Renz Bagaporo
7b9ab1e597
cmake: add hidden option to link components as group
...
Adds a hidden option to link components in projects as one big group for
debugging purposes. Makes it easy to single out if symbols are not
really defined or some requirements are missing for components leading
to undefined link errors.
2020-07-15 08:05:33 +08:00
Sergei Silnov
435c5564f4
idf.py: Add help subcommand
2020-07-14 17:07:32 +02:00
David Cermak
48aa58268e
CI: Public header check defines CI_HEADER_CHECK macro
...
This flags compilation checking in the CI so headers can use the macro to ignore specific compilation issues
2020-07-11 00:00:51 +08:00
Angus Gratton
f5b1f43a2b
Merge branch 'bugfix/cmake_error_on_windows' into 'master'
...
cmake: remove cmake ver specification for early exp script
See merge request espressif/esp-idf!9288
2020-07-10 12:58:48 +08:00
ChenJianxing
c0683d95cc
esp32s2: resume wifi unit test
2020-07-10 11:02:37 +08:00
Marius Vikhammer
30f075f0bb
idf monitor: fix crash when monitor baudrate argument set
...
Closes IDF-1902
2020-07-10 10:29:48 +08:00
Fu Hanxi
0b521d36ea
test if don't run build_test_apps in integration_test
2020-07-09 15:01:38 +08:00
Renz Bagaporo
565dc4ba4b
cmake: convert python path to cmake path
2020-07-09 12:07:45 +08:00
Renz Bagaporo
c957482d6d
cmake: remove cmake ver specification for early exp script
2020-07-09 12:07:45 +08:00
Marius Vikhammer
e6ad766d68
CI: add script for checking links in example READMEs
...
Closes IDF-1846
2020-07-08 10:39:33 +08:00
Ivan Grokhotkov
ea75605aa7
Merge branch 'feature/scan_test_at_pre_check' into 'master'
...
ci: scan_tests at pre_check stage to determine build/artifact behavior for example_test and custom_test
Closes IDF-1376
See merge request espressif/esp-idf!8447
2020-07-07 23:43:03 +08:00
Fu Hanxi
744ec42e9f
scan test when run regular_test
2020-07-07 16:25:57 +08:00
morris
a4d0033c03
esp_rom: extract common GPIO apis into esp_rom_gpio.h
2020-07-07 11:40:19 +08:00
Fu Hanxi
34f459c1e1
remove this line. it will block pipelines without unit test
2020-07-06 19:05:44 +08:00
Fu Hanxi
4087152305
remove build_or_not attr.
2020-07-06 19:05:44 +08:00
Fu Hanxi
270e7dec38
update after MR reviews
2020-07-06 19:05:44 +08:00
Fu Hanxi
a882353c32
change scan result path
2020-07-06 19:05:44 +08:00
Fu Hanxi
010d7e9023
apply to make build system
2020-07-06 19:05:44 +08:00
Fu Hanxi
d7639d5cf8
add build-all flag and BUILD_ALL_APPS ci environment variable
2020-07-06 19:05:44 +08:00
Fu Hanxi
a238b266c2
fix after rebase
2020-07-06 19:05:44 +08:00
Fu Hanxi
53aacef29c
code clean up
2020-07-06 19:05:44 +08:00
Fu Hanxi
ef85a60756
skip check_build_warning for builditems whose build
is false
2020-07-06 19:05:44 +08:00
Fu Hanxi
007b35ed25
comment check_build_warnings.py to test CI
2020-07-06 19:05:44 +08:00
Fu Hanxi
2d57fd7fca
update the build_apps.py, now it can recognize build
and preserve
keys
2020-07-06 19:05:44 +08:00
Fu Hanxi
ba12a549bb
update the find_apps.py, now it will generate build
and preserve
keys
2020-07-06 19:05:44 +08:00
Fu Hanxi
b26d42afe3
Now scan_tests will generate 'scan_<target>.json`
...
also updated CI yaml and shell scripts
2020-07-06 19:05:44 +08:00
Ivan Grokhotkov
59f5e9af37
Merge branch 'bugfix/monitor_wait_reconnect' into 'master'
...
Fix IDF Monitor so it will wait for the device to reconnect
Closes IDF-1640
See merge request espressif/esp-idf!8632
2020-07-06 15:18:48 +08:00
Ivan Grokhotkov
a46484400c
ci: tweak detection warning/error messages
...
Prevents make builds failing because 'tinycbor/src/cborerrorstrings.d'
file name is printed.
2020-07-01 10:47:37 +02:00
Ivan Grokhotkov
1d55a3c430
Merge branch 'bugfix/idf_env_fpga_warning_make' into 'master'
...
cmake, make: fix remaining IDF_ENV_FPGA warnings
See merge request espressif/esp-idf!9344
2020-06-30 22:25:54 +08:00
Sergei Silnov
85de9d4f16
idf.py: Add help for options with envvar defaults
2020-06-30 12:04:35 +02:00
Darian Leung
97721d469c
TWAI: Add ESP32-S2 support
...
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:
- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-06-30 16:56:03 +08:00
Roland Dobai
b9eb7cb7f0
tools: Fix IDF Monitor so it will wait for the device to reconnect
2020-06-29 09:18:05 +02:00
Angus Gratton
002a13a71a
ci provisioning: Add some experiments to check the runner's STA state
...
Not clear why sometimes it associates without negotiating a new DHCP lease.
2020-06-28 22:52:45 +00:00
Angus Gratton
ab55bea55a
esp_prov: Extend the timeout for HTTP connection to SoftAP
2020-06-28 22:52:45 +00:00
Angus Gratton
7934df3a6f
ci wifi_tools: Log the wpa_supplicant interface state when trying to connect
...
Trigger reconnection if wpa_supplicant seems to have dropped the connection.
2020-06-28 22:52:45 +00:00
Angus Gratton
5bdecb3db2
esp_prov: Refactor to use new 'wait_wifi_connected' function
...
Means all provisioning examples will have the same retry behaviour.
2020-06-28 22:52:45 +00:00
Angus Gratton
e969a5e5ff
ci provisioning: Use strings instead of "magic numbers" for connection state
2020-06-28 22:52:45 +00:00
Ivan Grokhotkov
1aacb6e2cf
tools: build_apps: fix make warning due to unused TEST_GROUPS variable
...
TEST_GROUPS can be included in the unit-test-app config file, to
restrict the list of tests to be executed. However this option is not
used at build time, so adding it as a CMake variable along with
TEST_COMPONENTS and other options results in a CMake warning.
Fix by not passing this variable to CMake, and not including it in the
final sdkconfig file.
2020-06-26 12:17:02 +02:00
Ivan Grokhotkov
23dd439bc8
ci: be more strict when checking for errors/warnings in build logs
...
Look for "error|warning" anywhere in the line, not just at the start.
2020-06-26 11:37:50 +02:00
Ivan Grokhotkov
b736eebf90
cmake: also pass IDF_ENV_FPGA in config.env
2020-06-26 11:37:50 +02:00
Ivan Grokhotkov
81ba01b9c5
ci: increase the number of unit test jobs
2020-06-25 19:24:46 +02:00
Ivan Grokhotkov
0f3aa8f520
Merge branch 'feature/idfpy_serial_ext_formatting' into 'master'
...
Tools: Update formatting at serial_ext.py
See merge request espressif/esp-idf!8954
2020-06-25 17:40:06 +08:00
Angus Gratton
40d7ea68af
Merge branch 'bugfix/ci_softap_example_test' into 'master'
...
Set sleep time to allow wlan0 to connect to softap
See merge request espressif/esp-idf!9258
2020-06-25 09:06:55 +08:00
Shivani Tipnis
76232fd263
ci: Set sleep time to allow wlan0 to connect to softap
2020-06-24 23:07:46 +05:30
Sylvio Alves
fb3c36b88d
coredump: Added CI tests
2020-06-24 10:51:06 -03:00
He Yin Ling
23801b3517
Merge branch 'bugfix/ci_debug_backend_import' into 'master'
...
CI: Ignore error if py_debug_backend is not installed
See merge request espressif/esp-idf!9269
2020-06-24 14:44:44 +08:00
Roland Dobai
50e817fc77
CI: Ignore error if py_debug_backend not installed
2020-06-23 13:45:12 +02:00
Roland Dobai
995676010e
Tools: Mention ESPPORT and ESPBAUD in idf.py --help
...
Closes https://github.com/espressif/esp-idf/issues/5461
2020-06-23 13:40:19 +02:00
morris
68955bb260
ci: increase test_jtag_arm parallel count
2020-06-23 11:32:34 +08:00
Ivan Grokhotkov
c140a66d3d
Merge branch 'feature/coredump_pygdbmi' into 'master'
...
espcoredump: use pygdbmi for interaction with GDB
Closes IDF-48
See merge request espressif/esp-idf!8841
2020-06-23 01:44:45 +08:00
Ivan Grokhotkov
5aae08e6b4
Merge branch 'feature/pyc_clean' into 'master'
...
tools/idf.py: Clean Python bytecode files
Closes IDFGH-3368
See merge request espressif/esp-idf!8907
2020-06-22 15:53:41 +08:00
Ivan Grokhotkov
b3a76a9d83
Merge branch 'feature/idf_monitor_debug_ws' into 'master'
...
tools/idf_monitor: add WebSocket client for IDE integration
Closes IDF-1719
See merge request espressif/esp-idf!9032
2020-06-22 15:50:11 +08:00
Ivan Grokhotkov
4e9e582134
Merge branch 'bugfix/check_missing_IDF_ENV_FPGA_environment' into 'master'
...
kconfig: fix IDF_ENV_FPGA not found
See merge request espressif/esp-idf!9200
2020-06-19 18:15:00 +08:00
Renz Bagaporo
3386316f81
docs: fix build issue requiring new location of cpu_start.c
2020-06-19 18:40:10 +10:00
Renz Bagaporo
fe12997a07
ci: update build system tests
2020-06-19 18:40:10 +10:00
Ivan Grokhotkov
cf155161c4
Merge branch 'feature/higher_level_com_gdb' into 'master'
...
CI: Use higher-level interaction with GDB in example tests and test apps
Closes IDF-1622
See merge request espressif/esp-idf!8840
2020-06-19 16:13:01 +08:00
Angus Gratton
b3ef89942f
Merge branch 'feature/cmake_overriding_components_new_features' into 'master'
...
CMake: useful features for overriding components
See merge request espressif/esp-idf!8220
2020-06-19 11:56:56 +08:00
Ivan Grokhotkov
23a679a7c5
tools: idf_monitor.py: show espcoredump.py error output on failure
2020-06-18 19:08:00 +02:00
Ivan Grokhotkov
50aabfa257
ci: update reference output of test_idf_monitor, minor cleanup
2020-06-18 19:08:00 +02:00
morris
c963440a97
kconfig: fix IDF_ENV_FPGA not found
2020-06-17 21:39:22 +08:00
Kiril Zyapkov
e64bc76495
idf_monitor: only mangle /dev/tty.* on Darwin
2020-06-17 11:52:30 +03:00
Ivan Grokhotkov
d1bf7a8743
Merge branch 'feature/retry_download_if_CRC_check_failed' into 'master'
...
ci: retry download if catched IOError/EOFError
See merge request espressif/esp-idf!9134
2020-06-17 16:03:49 +08:00
Fu Hanxi
23822e2e3f
ci: retry download if catched IOError/EOFError
2020-06-17 16:03:49 +08:00
Angus Gratton
b3e77c7ce9
Merge branch 'bugfix/embed_file_symbol_names' into 'master'
...
cmake: fix C identifier generation from embedded file
See merge request espressif/esp-idf!9078
2020-06-17 07:57:27 +08:00
Renz Bagaporo
9950c7f21d
ci: add test for component override features
2020-06-16 20:42:47 +08:00
Renz Bagaporo
bd55cdff02
cmake: allow calling get component property in early expansion
2020-06-16 20:42:00 +08:00
Renz Bagaporo
ebf07d353d
cmake: allow overriding kconfig, kconfig_projbuild on registration
2020-06-16 20:42:00 +08:00
Renz Bagaporo
f8d0c5770b
cmake: take note of component overriden dir
2020-06-16 20:42:00 +08:00
Renz Bagaporo
01a7db799f
cmake: fix C identifier generation from embedded file
2020-06-16 17:05:46 +08:00
Angus Gratton
1a9509a47f
Merge branch 'bugfix/parseexception_msg' into 'master'
...
ldgen: change exception message access
See merge request espressif/esp-idf!9121
2020-06-16 12:16:26 +08:00
Angus Gratton
61ab64439b
Merge branch 'bugfix/spi_flash_yield_coredump' into 'master'
...
fixes for core dump regressions
See merge request espressif/esp-idf!8978
2020-06-16 12:15:50 +08:00
Anton Maklakov
77c951858f
Merge branch 'test/deploy_docs_previow_host_test' into 'master'
...
ci: fix the issue that build_docs label has to be used with regular_test
See merge request espressif/esp-idf!9120
2020-06-16 11:42:36 +08:00
Ivan Grokhotkov
2db04d6e95
Merge branch 'feature/add_esp32s3_rom_symbol' into 'master'
...
add esp32s3 preview target and rom symbol & header
Closes IDFGH-3474
See merge request espressif/esp-idf!9127
2020-06-16 06:38:43 +08:00
Angus Gratton
534114879c
Merge branch 'bugfix/fix_extra_component_dirs_ordering' into 'master'
...
cmake: fix extra component dir ordering
See merge request espressif/esp-idf!7731
2020-06-15 12:16:52 +08:00
Michael (XIAO Xufeng)
f9f617cd4f
ci: fix the issue that build_docs label has to be used with regular_test
...
The deploy_docs_preview used to be in the last stage (deploy), which is
later than the post_check. However the label check in the post_check
stage will fail when build_docs is used without regular test. Move the
deploy_docs_preview to new earlier stage (test_deploy) to fix this.
Also move related job `clang_tidy_deploy` there.
2020-06-12 10:59:46 +08:00
Angus Gratton
eef0e178a0
Merge branch 'feature/msys2_env_update' into 'master'
...
windows: Update MSYS2 pre-compiled legacy build environment
Closes IDF-1289 and IDF-1526
See merge request espressif/esp-idf!9034
2020-06-12 07:26:09 +08:00
morris
067b1b91c2
global: add new target name: esp32-s3
...
add target name, chip ID, toochain descriptions for ESP32-S3
2020-06-11 21:40:08 +08:00
Ivan Grokhotkov
625bd5eb18
Merge branch 'feature/reassign_example_test_runners' into 'master'
...
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
See merge request espressif/esp-idf!9109
2020-06-11 14:22:05 +08:00
Fu Hanxi
bde4b1b350
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
2020-06-11 14:22:05 +08:00
Anton Maklakov
bb5d07b23e
Merge branch 'bugfix/gen_crt_py3_utf' into 'master'
...
Fixes issues encoding issues python3 scripts for unicode chars
See merge request espressif/esp-idf!9094
2020-06-11 10:40:54 +08:00
Renz Bagaporo
ea07ce1a5a
ldgen: change other accesses of exception message
...
Closes https://github.com/espressif/esp-idf/pull/5336
2020-06-11 08:19:02 +08:00
the-cat-that-codes
177c3d0f5a
Changed ParseException message argument
...
The 'message' attribute seems to be not usable since python 3.0 (see PEP #352 )
but 'msg' is a valid attribute for pyparsing.ParseException.
2020-06-10 23:16:01 +08:00
Roland Dobai
e67314f646
tools/idf_monitor: add WebSocket client for IDE integration
2020-06-10 10:56:20 +00:00
Angus Gratton
9a21b7e397
Merge branch 'bugfix/allow_extra_component_in_unit_test' into 'master'
...
allow unit test of extra-components
Closes IDFGH-3369
See merge request espressif/esp-idf!8906
2020-06-10 16:10:07 +08:00
Marius Vikhammer
c39b3730bf
ci: fix find_build_apps.py failure with py3 due to non ascii chars
...
find_build_apps.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.
2020-06-09 11:35:08 +08:00
Marius Vikhammer
11269df516
ci: fix check_public_headers.py failure with python3 due to non ascii chars
...
check_public_headers.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.
Also fixes error handling issues, as any uncaught exeception would cause the program
to run indefinitely.
2020-06-09 11:01:42 +08:00
Ivan Grokhotkov
1727306645
tools: fix diagnostic output in check_python_dependencies.py
...
If IDF_PYTHON_ENV_PATH was not set, an exception occurred:
Traceback (most recent call last):
File "/home/user/esp/esp-idf/tools/check_python_dependencies.py", line 108, in <module>
if idf_python_env_path not in sys.executable:
TypeError: 'in <string>' requires string as left operand, not NoneType
and the final line in the diagnostic message was not printed.
Fix to print the PATH if IDF_PYTHON_ENV_PATH is not set.
2020-06-08 18:14:39 +02:00
Felipe Neves
674a070a0d
idf_tools: adds .tgz as alowed extension
2020-06-08 10:34:05 -03:00
Ivan Grokhotkov
7283b99c97
Merge branch 'feature/dfu_select_device' into 'master'
...
Add ability to select a device for DFU flashing
Closes IDF-1652
See merge request espressif/esp-idf!8956
2020-06-08 15:55:04 +08:00
Roland Dobai
493c852b73
CI: Use higher-level interaction with GDB in example tests and test apps
2020-06-05 14:58:34 +00:00
Angus Gratton
7270c921be
Merge branch 'bugfix/idf_as_lib_not_in_top_level' into 'master'
...
CMake: Fix issue when `idf_build_process` is called from a subdirectory
Closes IDF-1651
See merge request espressif/esp-idf!8722
2020-06-04 16:51:55 +08:00
Angus Gratton
091ce8a124
msys2: Remove python version consideration in pacman commands
2020-06-04 18:42:52 +10:00
Roland Dobai
9930060ea8
tools/idf.py: Clean Python bytecode files
2020-06-03 12:29:25 +02:00
morris
d70961ad58
esp32s2: add more unit test for esp32s2
...
Most of the test cases are copied from esp32
add int_alloc test
add delay test
add random test
2020-06-03 13:16:13 +08:00
Ivan Grokhotkov
f4ea9d4cea
freertos: increase configMINIMAL_STACK_SIZE when building with -O0
...
FreeRTOS scheduler uses additional stack space, as in some functions
variables are placed onto the stack instead of registers.
This issue resulted in occasional stack overflows in dport task, when
compiling at -O0 optimization level.
- Increase the configMINIMAL_STACK_SIZE to 1kB.
- Enable the watchpoint at the end of stack in CI startup test for
this optimization level.
2020-06-02 18:51:16 +02:00
Ivan Grokhotkov
c0ed9349b0
test_apps: add build test for !CONFIG_SPI_FLASH_YIELD_DURING_ERASE
2020-06-02 15:42:24 +02:00
Ivan Grokhotkov
8c09968adc
test_apps: add coredump tests for int_wdt
2020-06-02 15:42:24 +02:00
Renz Christian Bagaporo
7f37fb81ca
cmake: fix extra component dir ordering
2020-06-02 15:43:03 +08:00
Ivan Grokhotkov
4f3624bbe9
Merge branch 'feat/add_multi_target_for_example_test' into 'master'
...
example test: Add multi target support
Closes IDF-1531 and IDF-807
See merge request espressif/esp-idf!8242
2020-06-02 10:36:44 +08:00
Angus Gratton
8b156a9095
Merge branch 'feature/switch_from_external_to_interanl_ram' into 'master'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
Closes IDFGH-3086
See merge request espressif/esp-idf!8785
2020-06-01 14:39:22 +08:00
Fu Hanxi
b76df30915
don't overwrite special cases dut
2020-06-01 13:39:09 +08:00
Fu Hanxi
3b17b9e393
panic_test contains some reassign dut cases
2020-06-01 12:08:57 +08:00
Fu Hanxi
377d3eaaa5
Move local target detection to ttfw_idf
...
rename upper_list to upper_list_or_str
minor fix for `unit_test.py` `is 'name'` -> `== 'name`
2020-06-01 12:08:57 +08:00
Angus Gratton
d15e9c0710
Merge branch 'bugfix/no_pyc_files' into 'master'
...
tools: Don't generate pyc files
See merge request espressif/esp-idf!8815
2020-05-29 14:07:24 +08:00
Angus Gratton
59f29cbca8
Merge branch 'feature/allow_rtc_memory_for_task_stacks' into 'master'
...
Add RTC Fast Memory to Dynamic Memory Pool
See merge request espressif/esp-idf!8390
2020-05-29 14:07:01 +08:00
Angus Gratton
7cbdc3ea66
Merge branch 'bugfix/ci_push_to_github_on_label' into 'master'
...
ci: Don't push to Github or deploy docs on customized pipelines
See merge request espressif/esp-idf!8870
2020-05-29 12:43:00 +08:00
Fu Hanxi
e99172fbac
make upper_list do not make str into list
2020-05-29 12:42:57 +08:00
Fu Hanxi
d06d2a2b9f
remove typing as a dependency.
...
return None if the input is None
2020-05-29 12:42:56 +08:00
Fu Hanxi
5c92d36078
Add list support for ttfw_idf test decorators. Only replicate supported keys
2020-05-29 12:42:56 +08:00
Fu Hanxi
e553092d62
move ci_target_check to ttfw_idf, move ci_target_filter to AssignTest
...
mark `supported_in_ci` for AssignTest filter.
2020-05-29 12:42:56 +08:00
Fu Hanxi
38c288bc0e
Add BOT_TARGET_FILTER
to _apply_bot_filter
...
fix the bug that will calculate twice if ci_target is a list.
2020-05-29 12:42:56 +08:00
Fu Hanxi
bc026133c5
add ci_target filter for target and local target check
2020-05-29 12:42:56 +08:00
Fu Hanxi
9f8b63da38
Pass current target to test_method **overwrite.
2020-05-29 12:42:56 +08:00
Fu Hanxi
6c98d7e4bd
Add multi target support for search examples
...
drop keyword `dut`, use `target` instead to assign`dut_class` to `Env`
2020-05-29 12:42:56 +08:00
Ivan Grokhotkov
4e70efac64
Merge branch 'bugfix/missing_doc_preview_comment' into 'master'
...
add some prefix for doc urls to make BOT recognize the preview doc url
See merge request espressif/esp-idf!8554
2020-05-29 04:50:25 +08:00
Ivan Grokhotkov
ac686ccd00
Merge branch 'feature/make_support_in_find_build_apps' into 'master'
...
ci: make supported in find_apps/build_apps
Closes IDF-1587
See merge request espressif/esp-idf!8429
2020-05-29 04:48:30 +08:00
Roland Dobai
0ff8ec66e4
Add ability to select a device for DFU flashing
2020-05-28 09:31:35 +02:00
jiangguangming
92eae20bca
add new config items for spiflash ci unit-test
2020-05-26 15:23:38 +08:00
morris
50b93ce130
fix uninitialized variable EXTRA_COMPONENT_DIRS
2020-05-26 12:44:58 +08:00
redengin
6eb4bb16ec
allow unit test of extra-components
...
Merges https://github.com/espressif/esp-idf/pull/5345
2020-05-26 12:44:58 +08:00
Angus Gratton
042a433678
Merge branch 'test/print_leak_delta' into 'master'
...
unit test: Always print the free memory delta after the test
See merge request espressif/esp-idf!8876
2020-05-25 15:25:52 +08:00
Angus Gratton
084e170a8f
Merge branch 'refactor/esp_ipc' into 'master'
...
Split esp_ipc to a seaparate component
Closes IDF-1295
See merge request espressif/esp-idf!8520
2020-05-25 15:03:04 +08:00
Anton Maklakov
aa25b169f7
Update toolchain to esp-2020r2
...
Fixes PSRAM issues, volatile loads with -O2, std::locale, C++ exception crashs, FDE sorting switchable;
Includes a 64-bit toolchain for Windows (win64);
Closes https://github.com/espressif/esp-idf/issues/5090
Closes https://github.com/espressif/esp-idf/issues/5112
Closes https://github.com/espressif/esp-idf/issues/5150
2020-05-25 10:27:05 +07:00
Fu Hanxi
da9ca49093
fix after rebase
2020-05-22 19:08:02 +08:00
Fu Hanxi
c35b010a3f
improve regex
2020-05-22 19:08:02 +08:00
Fu Hanxi
961a8cf85e
remove artifact config in ci.
2020-05-22 19:08:02 +08:00
Fu Hanxi
701b496621
some filename includes "error". so update the regex
2020-05-22 19:08:02 +08:00
Fu Hanxi
dc89e6df6e
make supported in find_apps/build_apps
2020-05-22 19:08:02 +08:00
sio13
76b9b3a11d
Update serial_ext.py
...
- replaced with oneliner
- removed default arguments
2020-05-22 12:00:00 +02:00
Angus Gratton
eb4ac07c96
unit test: Always print the free memory delta after the test
...
Prevents situations where the leak threshold is low and the
value slowly creeps up to be close to it, without developer
noticing.
2020-05-22 18:39:43 +10:00
KonstantinKondrashov
4275056423
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-05-22 16:23:53 +08:00
Angus Gratton
469b7bc4cf
ci: Don't push to Github or deploy docs on customized pipelines
...
BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running).
2020-05-22 15:04:39 +10:00
Roland Dobai
270d8b468a
tools: Don't generate pyc files
2020-05-20 12:07:51 +02:00
morris
fef40fdb72
ci: do fetch submodules for python lint
2020-05-20 10:50:10 +08:00
morris
d003f96a9d
gh_action: fix python lint
2020-05-20 10:50:10 +08:00
Roland Dobai
5f024e1cd4
Add protocol example tests
2020-05-19 12:17:32 +02:00
Angus Gratton
88d76d805a
Merge branch 'bugfix/idf_build_process_default' into 'master'
...
cmake: fix issue with setting defaults in idf_build_process
Closes IDFGH-3027
See merge request espressif/esp-idf!8537
2020-05-19 11:29:29 +08:00
Darian Leung
11d96b39d0
esp_ipc: Move to new component
...
This commit moves esp_ipc into a separate component.
2020-05-18 16:51:45 +08:00
Renz Christian Bagaporo
ba579d66ba
cmake: add comment that IDF build target must be global
2020-05-18 16:38:07 +08:00
Ivan Grokhotkov
514596cb81
Merge branch 'feature/idf_py_replace_run_with_call' into 'master'
...
tools: idf.py: replace the "run" method of Task with the magic "__call__" method
See merge request espressif/esp-idf!8763
2020-05-18 15:22:04 +08:00
Ivan Grokhotkov
3a6b8bb6e3
Merge branch 'bugfix/idf_py_double_loading_of_idf_ext' into 'master'
...
tools: idf.py: Don't load idf_ext.py in project folder twice
See merge request espressif/esp-idf!8764
2020-05-18 15:21:53 +08:00
Angus Gratton
0e4cd93ee9
Merge branch 'bugfix/kconfig_hex_values' into 'master'
...
kconfig: Fix two cases of hex values being handled incorrectly
Closes VSC-292
See merge request espressif/esp-idf!8372
2020-05-18 14:57:46 +08:00
Brian Pugh
8ed7fe3e3d
tools/idf.py: replace the "run" method of Task with the magic "__call__" method
...
Merges https://github.com/espressif/esp-idf/pull/5279
2020-05-15 19:44:07 +02:00
Brian Pugh
fa3d9573ce
tools/idf.py: prevent reloading duplicate extension paths. Do not load cwd if IDF_EXTRA_ACTIONS_PATH is not set.
...
Merges https://github.com/espressif/esp-idf/pull/5278
2020-05-15 19:39:36 +02:00
Renz Christian Bagaporo
13cd832b0c
ci: pushd and cd in one go in idf_build_process defaults test
2020-05-14 14:59:26 +00:00
Renz Bagaporo
740819529b
cmake: fix setting defaults in idf_build_process
...
Closes https://github.com/espressif/esp-idf/issues/5053
2020-05-14 14:59:26 +00:00
Renz Bagaporo
0f6308d69c
ci: test idf_build_process defaults set properly
2020-05-14 14:59:26 +00:00
Mahavir Jain
18c1838587
esp32s2: add config option to place RTC data in fast RAM
2020-05-14 13:12:26 +00:00
Roland Dobai
29c95d3919
CI: Require runner with PSRAM for himem example test
2020-05-13 18:19:44 +00:00
Angus Gratton
48399d3ce0
Merge branch 'bugfix/idf_py_actions_fix_spelling' into 'master'
...
tool: Fix spelling in core_ext.py
Closes IDFGH-3126
See merge request espressif/esp-idf!8718
2020-05-13 16:17:40 +08:00
Renz Bagaporo
a0f3f1e0cb
cmake: make __idf_build_target global
2020-05-13 15:38:20 +08:00
Scott Shawcroft
8c4dc88d27
tool: Fix spelling in core_ext.py
...
Closes: https://github.com/espressif/esp-idf/pull/5145
2020-05-13 14:50:43 +08:00
Ivan Grokhotkov
418b68a197
test_apps: add panic test
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
a63f65dd6f
ci: don't run build system tests on unit_test or custom_test labels
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
3fe4adc98d
ttfw: allow relative imports in test scripts
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
7d74cc4255
ttfw_idf: IDFApp: convert partition offset to int
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
952830ab12
ttfw_idf: IDFApp: add method to get SHA256(elf file)
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
26f6136a7d
ttfw: only send relevant DUT kwargs to serial.serial_for_url
2020-05-12 22:27:06 +02:00
Krzysztof Budzynski
08bd8bff7e
Merge branch 'docs/mass_mfg_update' into 'master'
...
Fix a typo according to DOC-158
See merge request espressif/esp-idf!8704
2020-05-12 18:36:35 +08:00
Wang Ning
5a28cc6ae3
Fix a typo according to DOC-158
2020-05-12 15:56:14 +08:00
Fu Hanxi
195eb883b4
Add idf_as_lib/build.sh to build_system_test
2020-05-07 10:09:54 +08:00
Roland Dobai
79e58eff8f
Add JTAG related example tests
2020-05-05 11:08:33 +02:00
Ivan Grokhotkov
d73470a8a6
Merge branch 'bugfix/loadable_elf_fixes' into 'master'
...
cmake: loadable elf fixes
See merge request espressif/esp-idf!8603
2020-05-05 17:02:48 +08:00
Ivan Grokhotkov
8a4cc99d90
test_apps: don't download partition table in loadable elf test
2020-05-05 09:45:51 +02:00
Angus Gratton
9b5f25ae2c
confserver: Always store hex values in sdkconfig with 0x prefix
...
This is not necessary for correct behaviour or to have valid sdkconfig files
(previous commit adds tests for this), but it's useful for consistency with
sdkconfig files generated by menuconfig.
As reported in https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-05 13:15:54 +10:00
Angus Gratton
16e14104f7
kconfig: Fix generation of hex outputs for Make & CMake
...
And add tests for hex output formatting in all output formats.
Previously, Make & CMake outputs only formatted hex values with the 0x prefix
if they had the 0x prefix in the sdkconfig file. Now this prefix is always
applied.
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-05 13:15:54 +10:00
Ivan Grokhotkov
255dd63122
ci: add loadable ELF build system test
2020-05-04 19:15:43 +02:00
Ivan Grokhotkov
5e95bc1d21
test_apps: make it possible to run gdb_loadable_elf app locally
2020-05-04 19:10:06 +02:00
Ivan Grokhotkov
1449496fb0
Merge branch 'bugfix/check_python_dependencies_diag' into 'master'
...
tools/check_python_dependencies: print diagnostic info on failure
See merge request espressif/esp-idf!8376
2020-05-04 23:30:23 +08:00
Ivan Grokhotkov
17d60faf17
Merge branch 'bugfix/ci_missed_deprecated_options' into 'master'
...
Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename
See merge request espressif/esp-idf!8585
2020-05-04 15:55:24 +08:00
Ivan Grokhotkov
70aa22615c
Merge branch 'feature/ut_parallel_build' into 'master'
...
unit_test: ut parallel build
Closes IDF-1570
See merge request espressif/esp-idf!8338
2020-05-04 15:52:59 +08:00
Ivan Grokhotkov
039e0dc603
Merge branch 'feature/idf_size_autodetect_chip' into 'master'
...
tools: Autodetect the target of MAP files in idf_size.py
Closes IDF-1566
See merge request espressif/esp-idf!8424
2020-05-04 15:51:28 +08:00
Angus Gratton
f9552baf97
Merge branch 'feature/dfu_build_flash_s2' into 'master'
...
Add build system support for programming ESP32-S2 using DFU utils
Closes IDF-579
See merge request espressif/esp-idf!8294
2020-05-04 14:57:51 +08:00
Ivan Grokhotkov
ec2e666a6e
Merge branch 'feature/ldgen_output_determinism' into 'master'
...
ldgen: determinism in mapping rule order
See merge request espressif/esp-idf!8475
2020-05-04 14:53:26 +08:00
Ivan Grokhotkov
1ddfe0d465
Merge branch 'feature/gdbgui_gdbinit_arg' into 'master'
...
tools/idf.py: add --gdbinit argument to gdb, gdbgui, gdbtui
See merge request espressif/esp-idf!8370
2020-05-04 13:23:27 +08:00
Ivan Grokhotkov
a55df7bcbf
Merge branch 'feature/set_target_chip_name' into 'master'
...
tools: allow alternative spellings of target name (ESP32-S2, ESP32S2)
See merge request espressif/esp-idf!8256
2020-05-04 13:21:24 +08:00
Roland Dobai
58bbd99b9c
Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename
2020-04-30 18:23:21 +02:00
Renz Bagaporo
89a255f5eb
ldgen: determinism in mapping rule order
...
This MR imposes some determinism in the mapping rule order in the output
file. For each section, the archives are arranged alphabetically
(ascending), and the mapping rules in each archive are arranged by
increasing specificity then alphabetically (ascending). The default
rules remain the very first rule for each section.
2020-04-30 18:20:00 +08:00
Fu Hanxi
18e79f4865
correct the app_update config for s2 chip
2020-04-30 06:47:49 +00:00
Fu Hanxi
c131a18059
load all yml files while assigning tests
2020-04-30 06:47:49 +00:00
Fu Hanxi
7709d4ccfd
Use IDF_TARGET to determine the build method and the output file name
2020-04-30 06:47:49 +00:00
Fu Hanxi
01ff4f621f
Add build_unit_test.sh to do find_apps and build_apps to unit_tests
...
modify unit-test-apps config files, use CONFIG_IDF_TARGET to set target.
if not set, then treat them as supported both targets.
2020-04-30 06:47:49 +00:00
Fu Hanxi
04342a73f2
Fix some python bugs left before
2020-04-30 06:47:49 +00:00
Ivan Grokhotkov
79976e7370
Merge branch 'feature/storage_examples' into 'master'
...
examples: Add storage example tests and migrate "loadable elf" test to test_apps
Closes IDF-1150 and IDF-1586
See merge request espressif/esp-idf!8174
2020-04-30 14:34:34 +08:00
Roland Dobai
ab9f714248
Add build system support for programming ESP32-S2 using DFU utils
2020-04-30 07:59:18 +02:00
Ivan Grokhotkov
2aaab7eeef
tools: add script to generate DFU binaries for ESP32-S2
2020-04-30 07:59:18 +02:00
Ivan Grokhotkov
7dad294061
tools/idf.py: add --gdbinit argument to gdb, gdbgui, gdbtui
...
Allows starting a debugging session with a custom set of init commands
2020-04-29 23:43:38 +02:00
Ivan Grokhotkov
7b79b52062
tools: allow alternative spellings of target name (ESP32-S2, ESP32S2)
...
by ignoring character case and hyphens in target name.
2020-04-29 23:42:18 +02:00
Krzysztof Budzynski
613a12a056
Merge branch 'docs/update_mass_mfg' into 'master'
...
docs: Include links to tools for flash operations
See merge request espressif/esp-idf!8518
2020-04-29 20:27:18 +08:00
Jiang Jiang Jian
922a0fa485
Merge branch 'feature/esp-hid-component' into 'master'
...
ESP-HID Component
See merge request espressif/esp-idf!6908
2020-04-29 17:24:02 +08:00
Hristo Gochkov
25281ef4de
Add HID Support to IDF
...
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00
Fu Hanxi
d41c130b68
add some prefix for doc urls to make BOT recognize the preview doc url
2020-04-29 15:41:53 +08:00
Roland Dobai
2d709c6384
Migrate "loadable elf" test from hello_world example to test_apps
2020-04-29 09:17:28 +02:00
Roland Dobai
819f7a4e57
examples: Add storage example tests
2020-04-29 09:16:18 +02:00
Shivani Tipnis
3f6e7a553b
docs: Include links to tools for flash operations
2020-04-29 11:19:02 +05:30
Angus Gratton
6dc6aa0063
Merge branch 'feature/system_example_tests' into 'master'
...
Add system example tests
Closes IDF-1148
See merge request espressif/esp-idf!8438
2020-04-29 13:43:45 +08:00
Renz Bagaporo
aed204ce6f
cmake: allow embedding to depend on a target
2020-04-29 12:34:25 +08:00
Roland Dobai
e1dc92b60b
Add system example tests
2020-04-28 14:52:15 +02:00
Roland Dobai
4f8e2699db
tools: Make Unicode from subprocess result in the CMake convert script
...
Fixes an issue with Python 3 in MSYS where it fails while trying to join
paths where one part is Unicode (default string on Python3) and the
second part are bytes (returned by the subprocess call).
Closes https://github.com/espressif/esp-idf/issues/5189
2020-04-27 16:15:52 +02:00
Anton Maklakov
3029ab343b
Merge branch 'test/ci_disable_ut_s2_wo_label' into 'master'
...
ci: disable the UT for S2 when label is not used
See merge request espressif/esp-idf!8480
2020-04-27 16:35:45 +08:00
Angus Gratton
3845b002b8
Merge branch 'bugfix/esp32s2_iram_dram_disable_tests' into 'master'
...
esp32s2: disable memprot for all CI tests (temporary)
See merge request espressif/esp-idf!8484
2020-04-27 13:16:44 +08:00
Michael (XIAO Xufeng)
9d98111652
Merge branch 'bugfix/spi_bus_lock_missing_semphrstatic' into 'master'
...
spi: fix config break and reduce overhead of the bus lock on SPI1
Closes IDFGH-3017
See merge request espressif/esp-idf!8221
2020-04-27 12:57:19 +08:00
Martin Vychodil
c9d2ad0ce5
esp32s2: disable memprot for all CI tests (temporary)
2020-04-26 22:38:53 +02:00
Michael (XIAO Xufeng)
ac63760ded
ci: disable the UT for S2 when label is not used
2020-04-26 16:29:49 +08:00
Ivan Grokhotkov
8a007dcbc2
Merge branch 'bugfix/ci_unterminated_sdkconfig_defaults' into 'master'
...
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci
See merge request espressif/esp-idf!8437
2020-04-23 22:49:18 +08:00
David Čermák
3d868ec05d
Merge branch 'bugfix/ppp_test_check_netif' into 'master'
...
ppp-test: addressing stability of PPP test
See merge request espressif/esp-idf!8373
2020-04-23 21:47:40 +08:00
Angus Gratton
8a349d7102
Merge branch 'fix/ci_example_test_prov' into 'master'
...
CI: Fix prov example test exception handle
See merge request espressif/esp-idf!8413
2020-04-23 17:00:10 +08:00
David Cermak
a245f5047a
ppp-test: wait for graceful disconnect when PPP shutdowns
2020-04-23 05:55:17 +00:00
David Cermak
b3749e38f9
ppp-test: check if ppp interface is active and IP address correct before starting the test
...
Addressing stability of pppos test:
* listing active network interfaces for presence of "ppp0" interface
* fixed IPv6 address regex to prevent ttfw accept partial address only
(less than 8 octets)
* workaround crash after exiting app_main()
2020-04-23 05:55:17 +00:00
Ivan Grokhotkov
28efe511f4
Merge branch 'bugfix/semihosting_write' into 'master'
...
Semihosting fixes for write and the semihost example
See merge request espressif/esp-idf!8290
2020-04-23 06:26:41 +08:00
Shivani Tipnis
745e979283
CI: Fix prov example test cryptography package version exception handling
2020-04-23 00:27:40 +05:30
Roland Dobai
14978aef70
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci
2020-04-22 15:29:06 +02:00
Roland Dobai
511135989c
tools: Autodetect the target of MAP files in idf_size.py
2020-04-22 13:12:56 +02:00
michael
fdf983e0c4
spi: fix config break and reduce overhead of the bus lock on SPI1
...
The SPI bus lock on SPI1 introduces two side effects:
1. The device lock for the main flash requires the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` to be selected, however this
option is disabled by default in earlier IDF versions. Some developers
may find their project cannot be built by their old sdkconfig files.
2. Usually we don't need the lock on the SPI1 bus, due to it's
restrictions. However the overhead still exists in this case, the IRAM
cost for static version of semaphore functions, and the time cost when
getting and releasing the lock.
This commit:
1. Add a CONFIG_SPI_FLASH_BYPASS_MAIN_LOCK option, which will forbid the
space cost, as well as the initialization of the main bus lock.
2. When the option is not selected, the bus lock is used, the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` will be selected explicitly.
3. Revert default value of `CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION`
to `n`.
introduced in 49a48644e4
.
Closes https://github.com/espressif/esp-idf/issues/5046
2020-04-22 16:06:13 +08:00
He Yin Ling
c2e068f0e4
Merge branch 'bugfix/ci_partition_table_detection' into 'master'
...
CI: Fix partition table detection if "partition" is in the project name
See merge request espressif/esp-idf!8223
2020-04-22 15:10:11 +08:00
Alexey Gerenkov
c0610a49b4
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200420'
2020-04-21 19:43:58 +03:00
Ivan Grokhotkov
28b9acabe2
Merge branch 'bugfix/shell_runner_fails_pacman' into 'master'
...
Fix cmake component management test on shell runners
See merge request espressif/esp-idf!8398
2020-04-20 18:23:42 +08:00
Sergei Silnov
44d77c7100
Fix cmake component management test on shell runners
2020-04-20 09:25:03 +02:00
Ivan Grokhotkov
8ee1ec1270
Merge branch 'bugfix/pyyaml_test_config_output_unicode' into 'master'
...
test_config: pyyaml will generate !!python/unicode in test_config
See merge request espressif/esp-idf!8288
2020-04-20 02:21:11 +08:00
Krzysztof Budzynski
e45794d0cb
Merge branch 'doc/pdf_generation' into 'master'
...
PDF generation for build doc
Closes IDF-1217 and IDF-1464
See merge request espressif/esp-idf!8110
2020-04-20 01:44:42 +08:00
Alex Lisitsyn
b1fe4c4cc6
freemodbus: add extern c block into common header for cpp
2020-04-17 17:56:50 +08:00
Ivan Grokhotkov
46e9aef6c9
tools/check_python_dependencies: print diagnostic info on failure
...
Helps collect more data for cases such as:
https://github.com/espressif/esp-idf/issues/5133
2020-04-16 11:58:16 +02:00
Marius Vikhammer
8a3d806798
doc: update CI to build PDF
2020-04-15 17:14:27 +08:00
Marius Vikhammer
407275f681
doc: add latex and PDF generation to build_docs
...
Adds options for generating tex-files and PDFs when building documentation
Closes IDF-1217
Closes IDF-1464
2020-04-15 17:14:22 +08:00
David Cermak
2c2f909133
idf.py: debug ext prints detailed info/hint on common openocd issues
2020-04-15 09:07:17 +02:00
David Čermák
e7b80f2b71
Merge branch 'feature/pppos_client_test' into 'master'
...
PPPoS client test
Closes IDF-310, WIFI-1652, IDFGH-2844, and IDFGH-2732
See merge request espressif/esp-idf!7794
2020-04-15 13:57:36 +08:00
Angus Gratton
e02f5fbbed
Merge branch 'bugfix/get_component_requirements' into 'master'
...
cmake: fix getting component requirements
See merge request espressif/esp-idf!8171
2020-04-15 13:52:49 +08:00
David Cermak
636621d1c5
pppos_client: Add a test application for pppos_client
...
Adding testing facilities for pppos-client including esp-modem component
and PPP client in lwip. Testing is provided with PPP server running on
rpi.
2020-04-14 21:46:07 +02:00
Mahavir Jain
d85d3d969f
Merge branch 'bugfix/remove_libsodium_s2_config' into 'master'
...
unit_test_app: remove libsodium config for esp32s2
See merge request espressif/esp-idf!8341
2020-04-14 20:19:48 +08:00
Ivan Grokhotkov
5cf8c68881
Merge branch 'bugfix/idf_py_ext_debug_ut_coex' into 'master'
...
idf.py: fix debug extenstion to work with unit tests
See merge request espressif/esp-idf!8306
2020-04-14 17:30:59 +08:00
Mahavir Jain
b83c3bbb66
unit_test_app: remove libsodium config for esp32s2
...
This configuration overflows DRAM size for esp32s2 and hence
resulting in CI failure. Removing this config as it does not
add any value in esp32s2 context.
2020-04-14 12:35:19 +05:30
Anton Maklakov
e24da716f3
Merge branch 'bugfix/ci_public_header_debug' into 'master'
...
ci: public header check to display error messages if verbose is off
See merge request espressif/esp-idf!8283
2020-04-12 01:21:59 +08:00
David Cermak
ec391ddfa1
idf.py: fix debug extenstion to work with unit tests
2020-04-09 14:54:10 +02:00
Ivan Grokhotkov
a521921788
Merge branch 'feature/build_app_readable_multi_target' into 'master'
...
build_app: make multi target support readable
See merge request espressif/esp-idf!8275
2020-04-09 16:40:57 +08:00
Fu Hanxi
5b2fa1a5ad
build_app: make multi target support readable
2020-04-09 16:40:57 +08:00
Anton Maklakov
445e847274
Merge branch 'bugfix/ci_app_test_dependency' into 'master'
...
CI: correct example vs. custom tests dependency
See merge request espressif/esp-idf!8258
2020-04-09 14:02:13 +08:00
David Cermak
ce0c70770d
ci: public header check to display error messages if verbose is off
...
Also added a command line option to reduce the analysis to a specific
directory only. This is useful for local execution for checking updated
headers with verbose flag set.
2020-04-09 07:44:55 +02:00
Ivan Grokhotkov
2e14149bff
Merge branch 'feat/monitor_remake_with_serial_arg' into 'master'
...
idf_monitor: support to re-flash with the using port
Closes IDFGH-2479 and IDF-836
See merge request espressif/esp-idf!6373
2020-04-09 05:43:32 +08:00
David Cermak
6d07bcd611
mqtt-tests: rename tests to match the actual group
2020-04-08 14:41:05 +02:00
David Cermak
25803b9dc4
ci: run custom-test separately from example-tests
2020-04-08 14:41:05 +02:00
Angus Gratton
8ded54a65d
Merge branch 'feature/easy_debug' into 'master'
...
idf.py: add debug related targets
Closes IDF-890
See merge request espressif/esp-idf!5602
2020-04-08 16:08:10 +08:00
Renz Bagaporo
bd8f616f82
cmake: fix getting component requirements
2020-04-08 05:42:15 +00:00
Angus Gratton
73825cfd8a
Merge branch 'bugfix/elf_dir' into 'master'
...
cmake: add elf dir information
See merge request espressif/esp-idf!8264
2020-04-08 12:41:23 +08:00
Fu Hanxi
76d118577e
test_config: fix the bug that will generate !!python/unicode
...
As an example, [7964999 example_test_002_](https://gitlab.espressif.cn:6688/espressif/esp-idf/-/jobs/7964999/artifacts/file/examples/test_configs/example_test_002_.yml )
2020-04-08 11:19:13 +08:00
David Cermak
3b5c3d6521
idf.py: debug targets for easier execution of openocd, gdb, gdbui
...
Support for execution of asynchronous target, such as openocd, which
by default runs in the background, but if it's the only target idf.py
outputs the openocd in the console waiting for termination by user.
Supports also blocking commands gdb and gdbtui to start a debugging
session in an active console.
Supports running gdbgui running a UI debugging session in a browser
window, using the active console for other commands, such as openocd
or monitor.
Supports combining the debug targets in one action list, such as
idf.py openocd gdbgui monitor
2020-04-07 17:37:48 +02:00
David Cermak
3116dfede7
msys2: add package mingw-w64-i686-gcc for installing python packages
2020-04-07 16:58:26 +02:00
Ivan Grokhotkov
ef47839628
Merge branch 'bugfix/macos_build_test' into 'master'
...
ci: use default Bash version in macOS test
See merge request espressif/esp-idf!8278
2020-04-07 18:15:42 +08:00
Renz Bagaporo
07f9978df7
cmake: add elf dir information
...
Solves https://www.esp32.com/viewtopic.php?f=13&t=14784&p=57557&hilit=assumes#p57557
2020-04-07 17:19:33 +08:00
Ivan Grokhotkov
98185db8ad
ci: use default Bash version in macOS test
2020-04-07 09:50:59 +02:00
michael
8aafb6b513
idf_monitor: support to re-flash with the using port
...
This commit make idf_monitor overwrite the ESPPORT environment variable
with the port it's using, and re-run make with the modified environment
variable. In this way, the make invoked will inherit the idf_monitor's
port.
Closes https://github.com/espressif/esp-idf/issues/4591
2020-04-07 01:44:26 +08:00
Alexey Gerenkov
e60edcfbcf
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200406'
2020-04-06 19:18:26 +03:00
Anton Maklakov
fa3131b870
Merge branch 'bugfix/bash_bin_env' into 'master'
...
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
Closes IDFGH-708
See merge request espressif/esp-idf!8235
2020-04-06 17:51:43 +08:00
David Cermak
a463e80d43
ci: fix ttfw ignoring test failure if exception in print_debug_info
2020-04-05 20:07:27 +02:00
Ivan Grokhotkov
b1f0ffffc3
ci: add UT job
2020-04-03 14:51:37 +02:00
Roland Dobai
512906fa32
CI: Fix partition table detection if "partition" is in the project name
2020-04-03 11:41:06 +02:00
Michael (XIAO Xufeng)
61ce037fc1
Merge branch 'feat/esp_flash_support_mxic' into 'master'
...
esp_flash: support MXIC flash chips
See merge request espressif/esp-idf!8037
2020-04-03 16:04:49 +08:00
Ivan Grokhotkov
e94288da31
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
...
Using the method from @cemeyer
(https://github.com/espressif/esp-idf/pull/3166 ):
find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} +
Closes https://github.com/espressif/esp-idf/pull/3166 .
2020-04-03 01:10:02 +02:00
David Cermak
09ca8a273c
ci: raise number of parallel job count for S2 unit tests
2020-04-02 11:43:03 +02:00
Michael (XIAO Xufeng)
15026d1b84
Merge branch 'bugfix/fix_adc_driver_for_esp32s2' into 'master'
...
Bugfix/fix adc driver for esp32s2
Closes IDF-1448, IDF-1449, IDF-1450, IDF-1451, and IDF-1458
See merge request espressif/esp-idf!7776
2020-04-02 11:02:21 +08:00
Michael (XIAO Xufeng)
3b429766bc
esp_flash: support MXIC flash chips
...
The default chip driver (chip_generic) use command 01H + 2 bytes to
clear the QE bit. However this will accidently change the configuration
register value of the MXIC chip.
MXIC chip driver is added to fix that.
2020-04-01 20:54:23 +08:00
Ivan Grokhotkov
168660aebf
Merge branch 'feature/toolchain_2020r1-RC1' into 'master'
...
Toolchain 2020r1 support bringing (esp32, esp32s2)
See merge request espressif/esp-idf!7509
2020-04-01 18:17:28 +08:00
Angus Gratton
ff427c9650
ci: Support joining sdkconfig.ci files that don't end in a newline
...
If trailing newline is missing, the last line of that item gets merged
with the first line of the next item.
2020-04-01 17:17:30 +11:00
fuzhibo
baa7898e35
driver(adc/dac): fix adc dac driver for esp32s2
...
1. update register file about adc; 2. fix adc driver; 3. add UT for adc/dac;
See merge request espressif/esp-idf!7776
2020-04-01 12:41:51 +08:00
Anton Maklakov
1441b671d6
Merge branch 'bugfix/ci_static_analysis_fail_on_new_issue' into 'master'
...
ci: update static analysis rules to fail on any new issue
Closes IDF-686 and IDF-973
See merge request espressif/esp-idf!6424
2020-03-30 15:36:42 +08:00
Ivan Grokhotkov
d4bac87630
Merge branch 'feature/idf_size_diff' into 'master'
...
tools: Add option to show differences between MAP files with idf_size.py
Closes IDF-604 and IDF-1122
See merge request espressif/esp-idf!7994
2020-03-30 05:17:14 +08:00
David Cermak
a2d55ddece
ci: update static analysis rules to fail on any new issue zeroing out limits for number of warnings which are tolerated
...
closes IDF-973
2020-03-27 18:46:39 +01:00
Ivan Grokhotkov
d14aad7e6d
Merge branch 'feature/install_export_in_fish' into 'master'
...
Add export and install scripts for fish shell
Closes IDFGH-2324 and IDFGH-2899
See merge request espressif/esp-idf!8134
2020-03-28 01:17:19 +08:00
Anton Maklakov
e5dab771dd
Update toolchain to esp-2020r1
...
Closes https://github.com/espressif/esp-idf/issues/3694
2020-03-27 20:06:53 +07:00
Jeroen Domburg
419848549e
Add fixes for gcc8 psram fix improvement
2020-03-27 20:04:47 +07:00
Michael (XIAO Xufeng)
a304421124
Merge branch 'feat/spi_bus_lock' into 'master'
...
SPI: support running SPI master and esp_flash on the same bus
See merge request espressif/esp-idf!6520
2020-03-27 19:59:43 +08:00
morris
39fd234576
tool: fix install.fish
2020-03-27 18:11:01 +08:00
Angus Gratton
02fe8fb1eb
Merge branch 'bugfix/monitor_encrypted_target' into 'master'
...
tools: Fix flashing encrypted binaries from IDF Monitor
Closes IDF-822
See merge request espressif/esp-idf!8090
2020-03-27 08:11:38 +08:00
Michael (XIAO Xufeng)
3ee81e0046
ci: split test config psram_2 into psram_3
2020-03-26 22:08:26 +08:00
Michael (XIAO Xufeng)
296d095e53
Merge branch 'bugfix/remove_dependency_in_timergroup_caps' into 'master'
...
remove dependency of timer_group_caps.h on soc.h
See merge request espressif/esp-idf!8116
2020-03-26 18:18:45 +08:00
Ivan Grokhotkov
7f18576e23
Merge branch 'bugfix/inline_get_cpu_id_hal_func' into 'master'
...
soc: put hal function to get core id in IRAM
See merge request espressif/esp-idf!8107
2020-03-26 18:14:51 +08:00
morris
0c6e1b9482
remove dependency of timer_group_caps.h on soc.h
2020-03-26 17:15:19 +08:00
Roland Dobai
9b16594444
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-26 07:51:59 +01:00
Michael (XIAO Xufeng)
826cc7ecb6
Merge branch 'feature/bringup_723_cmake_rmt_driver_update' into 'master'
...
RMT new features in ESP32S2
Closes IDF-1286
See merge request espressif/esp-idf!7401
2020-03-26 10:24:18 +08:00
Anton Maklakov
8252611edc
Merge branch 'feat/ci_decrease_ut_artifact_num' into 'master'
...
ci: temporarily remove some artifacts from UT build
See merge request espressif/esp-idf!8102
2020-03-25 17:26:46 +08:00
morris
4fc16e2374
rmt: prefix caps name with SOC_
2020-03-25 17:14:00 +08:00
morris
c91565d538
rmt: update rmt ll APIs
2020-03-25 13:19:03 +08:00
Michael (XIAO Xufeng)
322faa727f
ci: temporarily remove some artifacts from UT build
2020-03-25 12:42:35 +08:00
Renz Bagaporo
b2fd9dd51c
ci: add basic startup test for when CONFIG_COMPILER_OPTIMIZATION_NONE=y
2020-03-25 10:00:39 +08:00
Angus Gratton
62426a6c90
Merge branch 'refactor/use_new_component_registration_functions' into 'master'
...
CMake: Use new component registration function
See merge request espressif/esp-idf!8068
2020-03-25 08:02:42 +08:00
Ivan Grokhotkov
55c3c2b73d
Merge branch 'feature/vfs_optional' into 'master'
...
vfs: add option to disable VFS layer, saving some RAM and code size
See merge request espressif/esp-idf!7950
2020-03-24 21:11:28 +08:00
Ivan Grokhotkov
349dc125e8
Merge branch 'feature/espcoredump_resilient_stack_decoding' into 'master'
...
espcoredump: fix espcoredump to make it more resilient when decoding erroneous thread stack
Closes IDFGH-2802
See merge request espressif/esp-idf!7892
2020-03-24 21:08:57 +08:00
aleks@espressif.com
45c844c1d1
espcoredump: fix idf_monitor test artifacts
2020-03-24 11:48:18 +01:00
David Cermak
39011c055a
ci: fix rom header checker to validate *rom* on word boundaries
2020-03-23 12:19:38 +00:00
David Cermak
a5a750ba48
examples: add socket stdin utils to common connect component
2020-03-23 12:19:38 +00:00
David Cermak
995ef85e85
socket examples: add tests for server and client applications
2020-03-23 12:19:38 +00:00
Roland Dobai
66271f7a86
tools: Support showing differences of MAP files in JSON format
2020-03-23 12:04:07 +01:00
Roland Dobai
c81243b92b
tools: Add option to show differences between MAP files with idf_size.py
2020-03-23 12:04:07 +01:00
Roland Dobai
f6e1414ba6
tools: Remove unused toolchain-prefix argument from idf_size.py
2020-03-23 12:04:07 +01:00
Ivan Grokhotkov
286538e7af
Merge branch 'bugfix/ci_example_target_specific_defaults' into 'master'
...
ci: consider sdkconfig.defaults.TARGET_NAME in examples and test apps
See merge request espressif/esp-idf!8061
2020-03-23 15:48:15 +08:00
Renz Bagaporo
3d0967a58a
test: declare requirements and include dirs private
2020-03-23 10:58:50 +08:00
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Ivan Grokhotkov
3053119f60
ci: consider sdkconfig.defaults.TARGET_NAME in examples and test apps
2020-03-20 14:50:00 +01:00
Ivan Grokhotkov
2548a3e528
ci: add startup tests with VFS disabled
2020-03-20 14:07:10 +01:00
Ivan Grokhotkov
4f5d15ae93
ci: generate separate log files for each {example, test app} config
...
Otherwise the build log gets overwritten, and warnings in earlier
builds may be masked.
2020-03-20 00:01:16 +01:00
Ivan Grokhotkov
9b20b76ae6
Merge branch 'bugfix/s2_gcm_hw' into 'master'
...
aes: Fixed tag sometime being wrong for HW GCM
See merge request espressif/esp-idf!8009
2020-03-19 18:06:25 +08:00
Anton Maklakov
8b8897cfc5
Merge branch 'feature/update_tools' into 'master'
...
tools: Update Ninja and CMake
See merge request espressif/esp-idf!7764
2020-03-19 17:56:49 +08:00
Ivan Grokhotkov
e280b3a3d9
Merge branch 'feature/single_sysview_file_for_multicore' into 'master'
...
apptrace: Adds support for multi-core traces in single file to SystemView processing scripts
See merge request espressif/esp-idf!7298
2020-03-19 17:45:15 +08:00
Angus Gratton
207914a13a
Merge branch 'refactor/common_code_panic_handler' into 'master'
...
Panic handling common code refactor
See merge request espressif/esp-idf!7489
2020-03-19 11:23:57 +08:00
Ivan Grokhotkov
5a1b1d6a1d
tools: cmake: update to 3.16.4
2020-03-18 08:28:36 +00:00
Ivan Grokhotkov
8a6c507d14
tools: ninja: update to 1.10.0
...
Closes https://github.com/espressif/esp-idf/issues/4687
2020-03-18 08:28:36 +00:00
Marius Vikhammer
ffb9010cbe
aes: Fixed tag sometime being wrong for HW GCM
...
The GCM hardware accelerated algorithm for S2 would sometimes output
the wrong tag.
Added additional tests for AES and GCM
Re-enable HW GCM as default option
2020-03-18 08:44:38 +08:00
Mahavir Jain
6795fc194f
Merge branch 'fix/wifi_provisioning_uuid' into 'master'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script
See merge request espressif/esp-idf!7939
2020-03-17 12:00:32 +08:00
Ivan Grokhotkov
454293159d
Merge branch 'docs/update_esp32s2_oocd_target_name' into 'master'
...
Updates OpenOCD commands
See merge request espressif/esp-idf!7906
2020-03-17 01:15:10 +08:00
Alexey Gerenkov
6964cc5d3a
tools: Updates OpenOCD version to v0.10.0-esp32-20200309
2020-03-16 19:07:05 +03:00
Alexey Gerenkov
d5cd131da4
apptrace: Adds support for multi-core traces in single file to SystemView processing scripts
2020-03-16 15:17:36 +03:00
Prasad Alatkar
8419aa85a9
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-16 08:20:37 +00:00
Mahavir Jain
88fd09111c
Merge branch 'feature/prov_example_restructure' into 'master'
...
wifi_provisioning: Example restructuring
See merge request espressif/esp-idf!6901
2020-03-16 15:38:11 +08:00
Anton Maklakov
7355e550cc
Merge branch 'feature/public_headers_check_objects' into 'master'
...
CI: public header check script in python
Closes IDF-1324
See merge request espressif/esp-idf!7923
2020-03-16 13:23:00 +08:00
Angus Gratton
1a2ddcb77a
docs: deploy docs to production server from CI
2020-03-16 14:36:23 +11:00
Angus Gratton
416076665b
docs: use new sphinx_idf_theme theme, add variables to allow theme to build version footer
2020-03-16 14:36:23 +11:00
David Cermak
8f6645667e
CI: public header check script in python
...
Additional test compiling the header to produce assembly:
- checks if header really compiles (previously validated only by
preprocessor)
- checks that the header produced empty object, no inline code to be
present in public headers
Closes IDF-1324
2020-03-13 12:53:52 +01:00
Jiang Jiang Jian
57ad4afe7d
Merge branch 'bugfix/fix_esp32s2_enable_multi_phy_init_data_bin_err' into 'master'
...
esp32s2: fix when enable multi phy init data bin compile err.
Closes IDF-1459
See merge request espressif/esp-idf!7936
2020-03-13 19:47:00 +08:00
Piyush Shah
62626ac4b9
esp_prov: Add support for sending some abstract custom data
...
To be used with the provisioning/wifi_prov_mgr example
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-03-13 06:23:15 +00:00
Piyush Shah
156ae68275
provisioning_examples: Move older examples to legacy/ folder
...
Change the manager example folder name to wifi_prov_mgr to sound more meaningful.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-03-13 06:23:15 +00:00
Marius Vikhammer
3351376a11
AES: optimize AES-GCM
...
HW acceleration for GCM is now enabled by default
Closes IDF-1443
2020-03-12 10:20:24 +08:00
ChenJianxing
5019419496
esp32s2: fix when enable multi phy init data bin compile err.
2020-03-11 18:03:21 +08:00
Renz Christian Bagaporo
2b100789b7
esp32, esp32s2: move panic handling code to new component
2020-03-10 19:56:24 +08:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
Anton Maklakov
96ecd5bb53
Merge branch 'ci/build_bootloader_configs' into 'master'
...
ci: Fix CI testing of bootloader configs
See merge request espressif/esp-idf!7911
2020-03-09 19:08:39 +08:00
Ivan Grokhotkov
95c275109b
Merge branch 'refactor/add_target_name_for_parttool' into 'master'
...
parttool: don't print target name
See merge request espressif/esp-idf!7904
2020-03-09 18:57:44 +08:00
Michael (XIAO Xufeng)
81daaff050
Merge branch 'feature/usb_component' into 'master'
...
Feature/usb component
See merge request espressif/esp-idf!6897
2020-03-09 16:53:55 +08:00
morris
46ea7d815d
parttool: don't print target name
2020-03-09 15:05:04 +08:00
Andrei Gramakov
9d059be165
usb: added a tinyusb component; ci; soc.
...
ci: ignore s2-only projects from the cmake-make test
soc: refactored the usb part
2020-03-09 07:55:06 +01:00
Angus Gratton
a9e21060e1
Merge branch 'ci/fix_ut_s2_only' into 'master'
...
ci: fix the issue unit_test_s2 label cannot be used independently
See merge request espressif/esp-idf!7873
2020-03-09 13:35:23 +08:00
Angus Gratton
7b5bca9b93
unit test app: Use the new config names for DEBUG/RELEASE configs
...
Also build the bootloader to the same config level as the app
2020-03-09 11:55:52 +11:00
Angus Gratton
8de3ad8df1
ci: Build all bootloader configs when building the bootloader app
...
CI regression in 26efc5a6d0
2020-03-09 11:55:22 +11:00
Ivan Grokhotkov
f7d1ed5f32
Merge branch 'bugfix/idf_tools_check_virtualenv' into 'master'
...
tools: check if idf_tools.py install-python-env is called from a venv
Closes IDF-1095
See merge request espressif/esp-idf!7793
2020-03-07 18:07:41 +08:00
Roland Dobai
c35538ecee
tools: fix idf.py to be able to select a generator for build
2020-03-06 10:41:09 +01:00
Angus Gratton
a9854f7085
Merge branch 'feature/rmt_clock_support_ref_tick' into 'master'
...
rmt: support ref tick && refactor unit test && re-enable unit test on ESP32-S2
Closes IDFGH-1715
See merge request espressif/esp-idf!7614
2020-03-06 15:03:52 +08:00
Angus Gratton
2f1815f74e
Merge branch 'bugfix/cmake_issues' into 'master'
...
CMake bugfixes
See merge request espressif/esp-idf!7605
2020-03-06 14:36:59 +08:00
Angus Gratton
b393203b27
Merge branch 'feature/x509_cert_management' into 'master'
...
X509 certificate management
Closes IDF-296
See merge request espressif/esp-idf!5346
2020-03-06 14:29:53 +08:00
Angus Gratton
02e9e0621e
Merge branch 'bugfix/display_partition_table_info' into 'master'
...
partition_table: output partition table info for partition_table target
See merge request espressif/esp-idf!7638
2020-03-06 14:09:09 +08:00
Jiang Jiang Jian
b184504a84
Merge branch 'feature/support_multiple_phy_init_data_bin' into 'master'
...
feature: support multiple phy init data
Closes WIFI-648
See merge request espressif/esp-idf!6399
2020-03-06 12:20:43 +08:00
Michael (XIAO Xufeng)
8e348dcdcd
Merge branch 'bugfix/fix_driver_ut_i2s' into 'master'
...
bugfix(i2s): fix driver ut i2s
See merge request espressif/esp-idf!6946
2020-03-06 11:55:07 +08:00
ronghulin
ffd8c26780
feature: support multiple PHY init data
2020-03-05 16:14:00 +08:00
Michael (XIAO Xufeng)
27b194bdb9
ci: fix the issue unit_test_s2 label cannot be used independently
2020-03-05 11:10:49 +08:00
Renz Bagaporo
b239070442
ci: add test for partition_table target
2020-03-05 11:04:09 +08:00
Mahavir Jain
5f771fb7be
Merge branch 'bugfix/esp_wifi_memory_leak_test_failure' into 'master'
...
esp_wifi: fix occasional test failure due to memory leak indications
See merge request espressif/esp-idf!7823
2020-03-04 11:16:04 +08:00
Marius Vikhammer
947e3e94ed
Add ESP certificate bundle feature
...
Adds the ESP certificate bundle feature that enables users to bundle a
root certificate bundle together with their application.
Default bundle includes all Mozilla root certificates
Closes IDF-296
2020-03-04 10:51:43 +08:00
morris
acd4d4a40b
unit test using internal signal connection
2020-03-03 20:14:46 +08:00
morris
07088c6446
rmt: disable carrier feature by default
2020-03-03 20:14:46 +08:00
morris
3c43264f83
rmt: add RMT_CHANNELS_NUM in rmt_caps.h
2020-03-03 20:14:45 +08:00
Ivan Grokhotkov
b97b9418f8
Merge branch 'bugfix/improve_component_manager_test_output' into 'master'
...
Improve message for component manager tests
See merge request espressif/esp-idf!7765
2020-03-03 19:02:31 +08:00
Ivan Grokhotkov
39aad6e9f7
Merge branch 'bugfix/cmake_generators' into 'master'
...
tools: Force the order of cmake generators
Closes IDF-1444
See merge request espressif/esp-idf!7836
2020-03-03 18:33:30 +08:00
David Cermak
6176b5fbe6
MQTT: Add build only test for using mqtt API from C++
2020-03-03 07:07:57 +00:00
Mahavir Jain
8ae05e6547
esp_wifi: fix occasional test failure due to memory leak indications
...
Ensure that newly spawned task stack (dynamic) is getting freed up before
test completion and thus preventing false memory leak indication failure.
unit-test-app: add an API test_utils_task_delete
This API ensures that dynamic memory of deleted task gets freed up
before return. This helps for preventing false memory leak detections
in test failures.
2020-03-03 11:11:23 +05:30
xiongyu
b3ae9fa978
bugfix(i2s): Updated ESP32-S2 ADC DAC support
...
* Delete the relevant codes of ADC DAC of ESP32-S2.
2020-03-03 12:59:30 +08:00
xiongyu
faf898b659
bugfix(i2s): fix driver ut i2s
...
* Add test support for ESP32S2
* Add loop back test
* Support chip internal connection, no external wiring required.
* Delete the relevant codes of PDM of ESP32-S2 ll layer.
* fix dac dma mode issue
2020-03-03 11:58:53 +08:00
Angus Gratton
95f7b1985b
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-03 00:17:27 +00:00
Roland Dobai
2d97209475
tools: Force the order of cmake generators
2020-03-02 16:15:30 +01:00
Angus Gratton
6f7be93d53
Merge branch 'bugfix/cmake_convert_whitespace' into 'master'
...
cmake: Minor convert_to_cmake.py fixes
See merge request espressif/esp-idf!7066
2020-03-02 14:22:37 +08:00
Angus Gratton
c051eafa6a
Merge branch 'feature/test_confgen' into 'master'
...
Tools: Add tests for confgen.py
Closes IDF-480
See merge request espressif/esp-idf!7774
2020-03-02 12:46:51 +08:00
Angus Gratton
8887f79bef
cmake: Add warnings that convert_to_cmake.py doesn't calculate component requirements
...
Any component which requires another component will need this manually
added to its CMakeLists.txt file.
2020-03-02 14:45:03 +11:00
Angus Gratton
ee8557f69d
cmake: convert_to_cmake: Fix possible whitespace issues
...
As reported on forum:
https://esp32.com/viewtopic.php?f=2&t=13565&p=53476#p53453
split() with no arg will match any whitespace sequence not just
a single space, so takes care of case where two spaces are
inserted in the variable value.
2020-03-02 14:44:16 +11:00
Renz Christian Bagaporo
a5d49d4db5
tools: fix double builds with idf.py
2020-03-02 07:18:22 +05:00
Renz Christian Bagaporo
f64a3c2a66
cmake: utility to create a failing target
2020-03-02 07:18:22 +05:00
Roland Dobai
2816c3c536
tools: Fix idf_size.py
2020-02-28 11:55:53 +01:00
Roland Dobai
1821ee8851
tools: Add proper multi-chip support for idf_size.py
2020-02-27 19:50:05 +01:00
Supreet Deshpande
2f62b3af4a
Increase job count for heap tests
2020-02-27 17:54:09 +05:30
Mahavir Jain
5f897fd33c
Merge branch 'feat/secure_boot_v2_v41' into 'master'
...
feat/secure_boot_v2: Adding secure boot v2 support to ESP32-ECO3
Closes IDF-799
See merge request espressif/esp-idf!6778
2020-02-27 18:54:08 +08:00
Angus Gratton
d40c69375c
bootloader: Add fault injection resistance to Secure Boot bootloader verification
...
Goal is that multiple faults would be required to bypass a boot-time signature check.
- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32
Add some additional checks for invalid sections:
- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-02-27 14:37:19 +05:30
Anton Maklakov
5ea4d7ba61
Merge branch 'ci/ut_esp32s2_allow_schedule' into 'master'
...
ci: allow esp32s2 unit tests run by scheduled pipeline
See merge request espressif/esp-idf!7796
2020-02-27 14:48:10 +08:00
Michael (XIAO Xufeng)
7f8c827326
Merge branch 'bugfix/fix_driver_ut_pcnt' into 'master'
...
bugfix(pcnt): fix driver ut pcnt
See merge request espressif/esp-idf!6891
2020-02-27 11:29:28 +08:00
Michael (XIAO Xufeng)
9199207c67
ci: allow esp32s2 unit tests run by scheduled pipeline
2020-02-27 11:20:08 +08:00
Ivan Grokhotkov
5d399b459c
tools: check if idf_tools.py install-python-env is called from a venv
...
Closes IDF-1095
2020-02-26 14:03:38 +01:00
Sachin Parekh
301dacfb33
Exception handlers for LoadStoreError and LoadStoreAlignmentError
...
Configurable option to use IRAM as byte accessible memory (in single core mode) using
load-store (non-word aligned and non-word size IRAM access specific) exception handlers.
This allows to use IRAM for use-cases where certain performance penalty
(upto 170 cpu cycles per load or store operation) is acceptable. Additional configuration
option has been provided to redirect mbedTLS specific in-out content length buffers to
IRAM (in single core mode), allows to save 20KB per TLS connection.
2020-02-26 20:21:59 +08:00
Michael (XIAO Xufeng)
9d8e590d86
Merge branch 'fix/spi_flash_legacy_on_esp32s2' into 'master'
...
spi_flash: fix the reading issue using the ROM functions on ESP32-S2
See merge request espressif/esp-idf!7767
2020-02-26 18:04:51 +08:00
xiongyu
4d5c950770
bugfix(pcnt): fix driver ut pcnt
...
* Let `[ignore] case` return to freedom
1) Because this test uses its own ISR, we need to release it with `esp_intr_free` instead of `pcnt_isr_service_uninstall`.
2) `pcnt_evt_queue` needs to be created before the interrupt is registered and needs to be released at the end of each case.
* Add test support for ESP32S2
* Support chip internal connection, no external wiring required.
2020-02-26 16:52:53 +08:00
michael
f8fae4c80c
spi_flash: resume unit tests for ESP32-S2
2020-02-26 11:12:08 +08:00
Roland Dobai
c4421629c8
Tools: Add tests for confgen.py
2020-02-25 17:15:46 +01:00
Sergei Silnov
47bfd337d2
Improve message for component manager tests
2020-02-25 09:22:52 +01:00
Supreet Deshpande
b79606ca37
feat/secure_boot_v2: Adding tools support for secure boot v2 ECO3
2020-02-25 01:28:22 +05:30
Roland Dobai
5c0cd9417d
Docs: Encourage to used Python 3
2020-02-24 12:55:55 +01:00
Ivan Grokhotkov
5ccfc332ea
Merge branch 'feature/nvs_erase_check_init' into 'master'
...
NVS Flash: prevent erasing initialized partition
See merge request espressif/esp-idf!7615
2020-02-21 17:47:45 +08:00
Ivan Grokhotkov
b90a68f89b
Merge branch 'bugfix/esp32s2_trax' into 'master'
...
xtensa: add TRAX support for esp32s2
Closes IDF-1408
See merge request espressif/esp-idf!7683
2020-02-21 09:58:15 +08:00
Ivan Grokhotkov
cd114f656b
Merge branch 'fix/gdbstub_large_com_on_windows' into 'master'
...
idf_monitor: fix gdbstub issue opening large COM port number on Windows
See merge request espressif/esp-idf!7619
2020-02-21 09:56:42 +08:00
Angus Gratton
3b498a0576
Merge branch 'bugfix/confserver_hex_types' into 'master'
...
confserver: Standardize and document the handling of hex values
See merge request espressif/esp-idf!7437
2020-02-20 14:48:15 +08:00
Jakob Hasse
c6deffb8a2
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
2020-02-19 18:16:04 +01:00
Ivan Grokhotkov
240ec7444f
ci: add build test for TRAX feature
2020-02-19 14:02:35 +01:00
Ivan Grokhotkov
32ea031b19
Merge branch 'bugfix/bootloader_custom_console_pins' into 'master'
...
Fix bootloader build if custom UART pins are used (Github PR + ESP32-S2 + test)
See merge request espressif/esp-idf!7665
2020-02-19 16:56:15 +08:00
Ivan Grokhotkov
1cbb2287be
ci: add build test for custom console UART pins
2020-02-19 08:13:23 +01:00
Angus Gratton
dc63badbd2
Merge branch 'feature/add_subdirectory_if_exists' into 'master'
...
cmake: add subdirectory if exists utility
See merge request espressif/esp-idf!7302
2020-02-19 07:54:27 +08:00
Renz Christian Bagaporo
ab84c73244
cmake: add subdirectory if exists utility
2020-02-18 17:16:06 +05:00
Jakob Hasse
31edd48b43
C++: Moved all C++ examples to own folder
...
* moved C++ examples to a new cxx folder in
examples
* added experimental C++ component
* added ESPException class to the C++ experimental
component
* added test cases for ESPException and
corresponding test macros
2020-02-18 12:48:57 +08:00
Angus Gratton
a0644bf8ae
Merge branch 'test/resume_ut_esp32s2' into 'master'
...
ci: resume esp32s2 unit tests
See merge request espressif/esp-idf!7436
2020-02-18 10:58:14 +08:00
Angus Gratton
b92882a0e6
Merge branch 'bugfix/kconfig_cmake_escape' into 'master'
...
confgen.py: Escape special characters for cmake
Closes IDFGH-2677
See merge request espressif/esp-idf!7580
2020-02-18 08:13:13 +08:00
Michael (XIAO Xufeng)
b00cea250f
idf_monitor: fix gdb issue opening large COM port on Windows
...
The GDB uses CreateFile to open COM port on Windows. However this
function requires COM path to be `\\.\COMx` to open COM port whose
number is larger than 10.
Replace the port name from `COM` to `\\.\COM` when on Windows to fix
this.
2020-02-17 07:39:21 +00:00
Angus Gratton
d9d7a906b1
confserver docs: Merge the build-system docs info about confserver into the README
...
Add link into the README from the docs
2020-02-17 17:21:22 +11:00
Angus Gratton
89fb104747
confserver: Standardize and document the handling of hex values
...
Previously, server always sent back "hex" types as JSON integers but would only accept setting them as a
JSON string of hex digits. This still works, but also possible to use JSON integers in both directions.
Add tests for both representations, add a note in the README about types.
2020-02-17 17:21:22 +11:00
Anton Maklakov
8222ab7330
Merge branch 'bugfix/ci_no_attempts_no_custom_toolchain_url' into 'master'
...
ci: no stage attempts variables, no custom toolchain url
See merge request espressif/esp-idf!6689
2020-02-17 11:05:58 +08:00
michael
24b16b0b19
ci: resume esp32s2 unit tests
2020-02-15 18:28:24 +08:00
Ivan Grokhotkov
25041ba583
tools/idf_monitor: automatically decode UART core dumps
...
This adds detection of UART core dumps to IDF monitor. By default,
core dumps are not printed to the console, but are processed by
espcoredump.py using 'info_corefile' command. The result is printed
to stdout.
This feature can be disabled in menuconfig.
In the future this can be extended to allow running espcoredump.py
with 'dbg_corefile' argument, which is similar to the current GDB Stub
behavior.
Related to IDF-52.
2020-02-13 18:46:26 +01:00
Ivan Grokhotkov
605da33c3d
Merge branch 'fix/app_update_test_s2' into 'master'
...
app_update: fix unit tests
See merge request espressif/esp-idf!7581
2020-02-13 23:05:13 +08:00
Ivan Grokhotkov
cdb947113e
Merge branch 'feature/esp_event_multiple_register' into 'master'
...
ESP-Event: Feature/esp event multiple register
See merge request espressif/esp-idf!7384
2020-02-13 19:02:09 +08:00
michael
98ee6f55df
app_update: fix unit tests
2020-02-13 15:51:42 +08:00
Roland Dobai
935b34e829
confgen.py: Escape special characters for cmake
...
Closes https://github.com/espressif/esp-idf/issues/4751
2020-02-12 14:30:53 +01:00
Angus Gratton
c1d0daf36d
Merge branch 'refactor/restructure_soc_component' into 'master'
...
soc: separate abstraction, description and implementation
See merge request espressif/esp-idf!7261
2020-02-12 07:50:10 +08:00
Angus Gratton
80e03a2d2d
Merge branch 'bugfix/win_tools_installer_fixes' into 'master'
...
tools: Windows tools installer release v2.3
Closes IDFGH-2670 and IDFGH-1929
See merge request espressif/esp-idf!7550
2020-02-12 07:22:50 +08:00
Ivan Grokhotkov
69e91959ff
tools: bump version of windows tools installer to v2.3
...
Includes the following fixes:
- bc43d48e
: fix Windows Defender checkbox
https://github.com/espressif/esp-idf/issues/4225
- 7a18f02a
: idf_tools.py compatibility with virtualenv 20.0
- Fix extracting IDF to a destination on another drive
https://github.com/espressif/esp-idf/issues/4128
https://github.com/espressif/esp-idf/issues/4744
2020-02-11 19:05:17 +01:00
Ivan Grokhotkov
24e793baa3
tools: installer: add PYTHONUNBUFFERED=1 when calling idf_tools.py
...
Fixes the issue that there is no output from 'idf_tools.py install'
stage.
2020-02-11 19:05:17 +01:00
Ivan Grokhotkov
972aeec265
tools: installer: use bundled idf_tools when installing IDF 3.3.1, 4.0
...
This is a workaround for the 'no-site-packages' bug in the version of
idf_tools.py shipped in v4.0 and v3.3.1 (see 7a18f02ac
).
When installing IDF v4.0 and v3.3.1, the installer will use the
bundled version of idf_tools.py instead of the version which comes
with IDF.
2020-02-11 19:05:17 +01:00
Ivan Grokhotkov
b67a7f48a9
tools: installer: fix copying IDF to a destination on another drive
...
Closes https://github.com/espressif/esp-idf/issues/4128
Closes https://github.com/espressif/esp-idf/issues/4744
2020-02-11 19:05:17 +01:00
Jakob Hasse
9b4815e3c8
ESP Event: multiple registrations to one event
...
* It's possible now to register the same handler
several times to one specific event, using
a dynamic handle object.
2020-02-11 10:52:05 +01:00
Renz Christian Bagaporo
16e0c93e40
ci: solve public headers errors
2020-02-11 14:30:42 +05:00
Ivan Grokhotkov
bcd2358eb6
Merge branch 'bugfix/idf_tools_virtualenv' into 'master'
...
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0
See merge request espressif/esp-idf!7549
2020-02-11 16:42:41 +08:00
Angus Gratton
ab5dad3be5
Merge branch 'feature/esp_netif_flexible_init' into 'master'
...
esp netif: minor API update, more flexible wifi init
Closes IDFGH-2523
See merge request espressif/esp-idf!7487
2020-02-11 12:01:20 +08:00
Angus Gratton
7bd2677d5d
Merge branch 'bugfix/ci_doc_fixes' into 'master'
...
docs: CI fixes
See merge request espressif/esp-idf!7539
2020-02-11 06:38:34 +08:00
David Cermak
9bdcd40f2b
ESP-NETIF: add CI compile only tests for common init/config pattern in C/C++
2020-02-10 19:40:28 +01:00
Ivan Grokhotkov
7a18f02acd
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0
...
--no-site-packages is the default behavior since virtualenv 1.7
(released in Nov 2011). This option was removed in virtualenv 20.0.
2020-02-10 19:14:41 +01:00
Anton Maklakov
d6a5bb60da
ci: remove using IDF_XTENSA_TOOLCHAIN_URL because there are idf_tools.json and multi-target support
2020-02-10 18:05:21 +07:00
Angus Gratton
0441c5d744
docs ci: Use the final version of the esp-idf-doc-env image
...
(Content is the same)
2020-02-10 19:55:46 +11:00
Angus Gratton
f906095789
docs ci: Ensure deploy directory exists
2020-02-10 19:55:15 +11:00
Angus Gratton
59c39173f2
Merge branch 'feature/mqtt_unit_test' into 'master'
...
mqtt: basic set of unit tests, modify example tests to check ssl connect
See merge request espressif/esp-idf!7393
2020-02-10 15:10:56 +08:00
Angus Gratton
64654c0444
Merge branch 'fix/tools_py_environ_str' into 'master'
...
idf_py: fix the ESPPORT environ variable type issue
See merge request espressif/esp-idf!7433
2020-02-10 14:28:35 +08:00
Konstantin Kondrashov
daa9c30c8e
rmt/esp32s2: Update RMT: reg, struct, LL and test_utils/ref_clock.c
2020-02-09 20:03:31 +08:00
David Cermak
911be99054
mqtt-tests: migrate the publish-connection test from example-test to test-apps
2020-02-07 21:14:24 +01:00
Ivan Grokhotkov
627d9b3142
ci: test_build_system_cmake: ensure sdkconfig timestamp changes
...
idf.py bootloader runs very quickly on some build servers, so when
sdkconfig is modified, the next idf.py invocation doesn't pick up the
timestamp difference. Add some delays to make sure the change is
noticed.
2020-02-07 09:35:41 +01:00
Angus Gratton
3017bfb8e3
Merge branch 'feature/test_apps_v2' into 'master'
...
test apps (2nd attempt)
Closes IDF-641
See merge request espressif/esp-idf!7084
2020-02-07 15:23:26 +08:00
Angus Gratton
291735c7dd
docs: Move to Python 3.5+ and Sphinx 2.3
2020-02-07 16:47:50 +11:00
Angus Gratton
c7209b110e
check_python_dependencies: If overriding requirements.txt path, provide a pip command line
...
Advice about install.sh/install.bat, etc only works for the default requirements.txt
2020-02-07 16:37:45 +11:00
Angus Gratton
ac8e931179
confgen: Avoid including invisible (due to target) choice items in kconfig.rst renames
2020-02-07 16:37:45 +11:00
Anton Maklakov
fb3edc9c87
docs: Add features to build_docs.py: check warnings, check links, check GH links
...
The old check_doc_warnings.sh was deleted
2020-02-07 16:37:44 +11:00
Angus Gratton
ee03e04947
docs: Run build_docs script in ci
2020-02-07 16:37:44 +11:00
Angus Gratton
a148d8e6ba
docs: Refactor extensions into packages, update the add-ons-reference docs page
...
Includes converting some of the remaining standalone scripts into Sphinx extensions.
Make flake8 clean
2020-02-07 16:37:43 +11:00
Angus Gratton
e6211c7864
docs: add new top-level docs builder that builds docs for a single chip
2020-02-07 16:37:43 +11:00
David Cermak
30c6e27bcc
CI: document test-apps feature, updated test-apps structure
2020-02-06 16:46:41 +00:00
David Cermak
692deac5ae
CI: assign and target-test stages updated to run test-apps in the ci
2020-02-06 16:46:41 +00:00
Ivan Grokhotkov
e63764b468
CI: test-apps introduction
...
Introducing feature of adding arbitrary projects which could be build or
executed in the CI for the only purpose as testing
Closes IDF-641
2020-02-06 16:46:41 +00:00
Ivan Grokhotkov
cbf8b60466
ci: re-add the lost PEDANTIC_{C,CXX}FLAGS in CMake example builds
2020-02-06 16:15:58 +01:00
Angus Gratton
c9cc694dbb
Merge branch 'fix/ci_target_test' into 'master'
...
CI - Fix target variable default value
See merge request espressif/esp-idf!7424
2020-02-06 14:52:10 +08:00
Konstantin Kondrashov
739eb05bb9
esp32: add implementation of esp_timer based on TG0 LAC timer
...
Closes: IDF-979
2020-02-06 14:00:18 +08:00
Ivan Grokhotkov
902024f980
ci: fix build system test on macOS
...
Replaces ${var^^} expansion supported with Bash >= 4 with 'tr'
2020-02-05 19:05:04 +01:00
Angus Gratton
9ebb48ff9d
Merge branch 'bugfix/idf_fullclean_loses_target' into 'master'
...
idf.py: guess IDF_TARGET from sdkconfig/sdkconfig.defaults, error out if IDF_TARGET is inconsistent
Closes IDF-869 and IDF-1040
See merge request espressif/esp-idf!7486
2020-02-05 07:41:11 +08:00
KonstantinKondrashov
aa42177e19
app_update(s2): Enable app_update UTs
...
Closes: IDF-1007
2020-01-31 10:34:08 +00:00
Ivan Grokhotkov
9bff344ef5
idf.py: fail and show instructions on IDF_TARGET mismatch
...
Closes IDF-869
2020-01-31 11:08:22 +01:00
Angus Gratton
1d28aa0194
Merge branch 'bugfix/doc_visible_kconfigs_only' into 'master'
...
Docs: Omit kconfig configurations not available for the target
Closes IDF-1212
See merge request espressif/esp-idf!7473
2020-01-31 12:57:00 +08:00
Ivan Grokhotkov
a1c1af72bf
idf.py: guess IDF_TARGET from sdkconfig if CMakeCache doesn't exist
...
This solves the issue that target is changed to the default one after
idf.py fullclean.
Also allow setting the default target using sdkconfig.defaults, e.g.
CONFIG_IDF_TARGET="esp32s2"
Closes IDF-1040
2020-01-30 19:09:37 +01:00
Ivan Grokhotkov
9b7a038583
Merge branch 'bugfix/esp32s2_ut_reset_reason' into 'master'
...
unit-test-app: make compatible with ESP32-S2 reset reasons
See merge request espressif/esp-idf!7449
2020-01-30 18:12:01 +08:00
Roland Dobai
5454c268f7
Docs: Omit kconfig configurations not available for the target
2020-01-30 10:30:06 +01:00
Angus Gratton
f8e7285591
Merge branch 'feature/idfpy_add_baud_parameter_to_monitor' into 'master'
...
idf.py: add monitor-baud option to monitor command
Closes IDF-978
See merge request espressif/esp-idf!6613
2020-01-30 13:38:29 +08:00
Ivan Grokhotkov
f5d37c453a
unit-test-app: make compatible with ESP32-S2 reset reasons
...
ESP32-S2 has slightly different names of reset reasons, printed by
the ROM. Allow using ESP32 reset reason names in test cases.
2020-01-29 19:05:33 +01:00
Ivan Grokhotkov
ac1834e288
Merge branch 'feature/freertos_xtensa_folder' into 'master'
...
freertos: moved all xtensa specific files into a separated folder
See merge request espressif/esp-idf!7377
2020-01-29 17:04:34 +08:00
Rosa Elena Veiga Otero
af6541e773
tools: work around usbser.sys bug in idf_monitor
...
implemented workaround in idf_monitor for known usbser.sys bug which
causes changes in RTS signal to only be sent if DTR signal also changes.
Works by forcing a dummy change in DTR signal (re-assigning its current
value, as it has previously been done in the flashing tool)
Closes https://github.com/espressif/esp-idf/pull/4676
2020-01-28 11:47:45 +01:00
Angus Gratton
f5b82c5b1f
Merge branch 'bugfix/esptool_elf2image_flashmode' into 'master'
...
esptool_py: pass flash mode/frequency/size to elf2image
See merge request espressif/esp-idf!7440
2020-01-28 14:22:35 +08:00
Felipe Neves
429712c6eb
freertos: moved all xtensa specific files into a separated folder
2020-01-27 16:05:30 -03:00
Ivan Grokhotkov
37edc8f6e9
Merge branch 'feature/idf_docker_updates' into 'master'
...
Docker image improvements
Closes IDFGH-2559
See merge request espressif/esp-idf!7454
2020-01-28 02:28:34 +08:00
Ivan Grokhotkov
f74b83b5b4
Merge branch 'feature/idf_tools_doc' into 'master'
...
docs: add API guide page about IDF Tools
See merge request espressif/esp-idf!7378
2020-01-27 17:10:21 +08:00
Shivani Tipnis
770a1eae01
ci: Fix target variable default value
2020-01-27 09:05:23 +00:00
Ivan Grokhotkov
287d0039ff
tools/docker: enable ccache by default
2020-01-24 19:12:22 +01:00
Ivan Grokhotkov
54eed09d70
tools/docker: install CMake version provided in tools.json
...
Closes https://github.com/espressif/esp-idf/issues/4644
Closes IDFGH-2559
2020-01-24 19:11:56 +01:00
Ivan Grokhotkov
1cd6f67679
docs: add API guide page about IDF Tools
2020-01-24 14:02:21 +01:00
Ivan Grokhotkov
cbb6beccd9
ci: add build system tests for bootloader flash mode/freq/size
2020-01-23 17:03:52 +01:00
Ivan Grokhotkov
90af8531d8
esp32s2: remove -nostdlib accidentally added
...
-nostdlib was removed in 9a2af7a
and then accidentally added
in 1c2cc54
.
The issue manifested itself as a failure to link some symbols from
libgcc, even though libgcc should implicitly appear at the end of the
linker command line when -nostdlib is not given.
2020-01-23 17:00:31 +01:00
Angus Gratton
4e4bfb4348
Merge branch 'bugfix/ci_handle_retried_jobs' into 'master'
...
CI: fix CI fail when have retried build jobs
See merge request espressif/esp-idf!7435
2020-01-23 09:30:07 +08:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
Michael (XIAO Xufeng)
cff1815177
idf_py: fix the ESPPORT environ variable type issue
...
Python 2 expect the environ variables are all of type 'str', but
sometimes wrong 'unicode' type is given.
Here we force all variables that are not str to become str.
2020-01-22 12:05:08 +08:00
He Yin Ling
739affb5b0
ci: add find job id argument job status:
...
if we retry failed job, we will have 2 jobs with same name in one pipeline. we need to use status to find the retried job instead of failed job.
2020-01-22 10:04:54 +08:00
Angus Gratton
3c44ab4192
Merge branch 'bugfix/idf_tools_pylauncher' into 'master'
...
idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name
See merge request espressif/esp-idf!7421
2020-01-22 06:42:20 +08:00
Ivan Grokhotkov
cc3df01f8f
rom: add header guards in rom/opi_flash.h, fix error in rom/spi_flash.h
2020-01-21 11:58:10 +01:00
Ivan Grokhotkov
9746dbe643
idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name
...
Fixes the workaround added in 9279b72a6
.
2020-01-21 10:48:24 +01:00
Ivan Grokhotkov
2c3e6481bb
Merge branch 'feature/ci_check_cpp_guards' into 'master'
...
ci: add job to check for C++ guards in header files
Closes IDF-288
See merge request espressif/esp-idf!7050
2020-01-21 17:18:23 +08:00
Ivan Grokhotkov
c11f77cb1a
Merge branch 'feature/use_underlying_cmake_targets_for_idf_py' into 'master'
...
CMake: Use underlying flash targets for idf.py
See merge request espressif/esp-idf!7067
2020-01-21 17:05:47 +08:00
Ivan Grokhotkov
422791cd45
Merge branch 'bugfix/ulp_s2_linux_32bit' into 'master'
...
tools: mark ULP toolchain as not available on 32-bit Linux
Closes IDFGH-2533
See merge request espressif/esp-idf!7299
2020-01-20 17:32:42 +08:00
morris
1c2cc5430e
global: bring up esp32s2(not beta)
2020-01-16 17:41:31 +08:00
Michael (XIAO Xufeng)
a85b207d68
ci: temporarily disable ut for esp32s2beta
2020-01-16 17:41:31 +08:00
Angus Gratton
eaafe7f599
Merge branch 'feature/add_setting_project_version_from_kconfig' into 'master'
...
build: Add CONFIG_APP_PROJECT_VER to set the project version from Kconfig
See merge request espressif/esp-idf!7125
2020-01-16 15:54:14 +08:00
Ivan Grokhotkov
e9426d4ed1
Merge branch 'feature/improved_cxx_tests' into 'master'
...
Improved C++ tests
Closes IDF-1322
See merge request espressif/esp-idf!7283
2020-01-16 10:11:32 +08:00
KonstantinKondrashov
b49a657448
build: Add CONFIG_APP_PROJECT_VER to set the project version from Kconfig
2020-01-15 11:02:27 +00:00
Angus Gratton
ee899cb2aa
Merge branch 'feature/ver-4.2' into 'master'
...
global: bump version to 4.2
See merge request espressif/esp-idf!7335
2020-01-15 13:07:59 +08:00
Renz Christian Bagaporo
7ddd39ec7d
idf.py: use underlying flash targets
2020-01-15 03:36:47 +00:00
Renz Christian Bagaporo
38b3fbfbfb
cmake: add description to add_prebuild_library utility
2020-01-15 03:36:47 +00:00
Renz Christian Bagaporo
cc8bff703e
esptool_py: create flash target functions
2020-01-15 03:36:47 +00:00
Ivan Grokhotkov
5466ff3f4d
global: bump version to 4.2
2020-01-15 10:22:22 +08:00
Roland Dobai
3909208852
tools: Update kconfiglib to 13.7.1
...
This fixes the crash on MacOs under Python 3 and improves the menuconfig
colors on some terminals.
2020-01-14 09:30:05 +01:00
Angus Gratton
6662b60bc1
test: Move freertos & mbedtls tests to psram_2 config
...
Before:
psram before 2490560 (2490368 is the size allowed by partition)
psram after 2413136
psram_2 before 1218464
psram_2 after 1326320
2020-01-14 12:14:43 +10:00
Jakob Hasse
c8137c5298
C++: rtti unit tests, corresponding CI config
2020-01-13 16:39:21 +08:00
Ivan Grokhotkov
404d2ae908
test: increase number of unit test jobs
2020-01-13 16:13:44 +08:00
Angus Gratton
0929c91d1a
Merge branch 'bugfix/idf_monitor_windows_console' into 'master'
...
idf_monitor: Ignore OS-level errors writing to Windows Console
Closes IDF-810
See merge request espressif/esp-idf!5607
2020-01-13 12:13:42 +08:00
Ivan Grokhotkov
216dac8721
Merge branch 'test/add_esp32s2beta_ssc_build_job' into 'master'
...
test: add build ssc job for esp32s2beta
See merge request espressif/esp-idf!7068
2020-01-13 10:19:48 +08:00
Ivan Grokhotkov
763bd72c18
tools: mark ULP toolchain as not available on 32-bit Linux
...
Also install ULP toolchain by default on ARM Linux.
Closes https://github.com/espressif/esp-idf/issues/4621
2020-01-13 09:41:05 +08:00
Anton Maklakov
ac0c7cce9c
ci: fix tags for internal deploy jobs
2020-01-10 17:36:52 +07:00
David Cermak
2c0bd88786
ci: public header check: add test for sdkconfig values
...
if the CONFIG_XXX macros used then sdkconfig.h should be included.
Also added support for multi-process execution
2020-01-10 10:11:21 +01:00
David Cermak
cf9cab4723
ci: public header check: add test whether all headers compile
...
script checks cpp guards preprocessing with C and CPP compiler and
compares outputs. As a part of this check also a test whether all header
files compile is performed.
IDF-288
2020-01-10 09:44:39 +01:00
Ivan Grokhotkov
c6d6fe0316
ci: add job to check for C++ guards in header files
2020-01-10 09:44:39 +01:00
He Yin Ling
bb442bd015
test: add build ssc job for esp32s2beta
2020-01-10 14:14:51 +08:00
Ivan Grokhotkov
1fd7f21d8c
Merge branch 'bugfix/IDFGH-2036_2' into 'master'
...
Tools Setup: fixed WD task checkbox disabling
Closes IDFGH-2036
See merge request espressif/esp-idf!7204
2020-01-09 22:39:48 +08:00
Angus Gratton
b63d28730c
ci: Use real esp32s2beta target for all tests
2020-01-08 18:23:29 +11:00
Angus Gratton
65dad0d46f
build system: Remove some dependencies from esp32 & esp32s2beta
...
Possible now that wifi related source files are all in esp_wifi
2020-01-08 18:13:12 +11:00
Angus Gratton
f616d2f2de
esp_wifi: Move wifi OS adapter structures into esp_wifi component
2020-01-08 18:13:12 +11:00
Angus Gratton
8421114264
Merge branch 'feat/ut_disabled_for_targets' into 'master'
...
ut: use DISABLED_FOR_TARGETS macro in unit tests
See merge request espressif/esp-idf!7117
2020-01-08 09:22:29 +08:00
Martin Vychodil
bc43d48ec9
* use 'Windows Defender' substring to identify proper checkbox
...
https://github.com/espressif/esp-idf/issues/4225
2020-01-06 15:09:56 +01:00
michael
4220752aed
ut: Move tests back from "esp32" subfolder
...
DISABLED_FOR_TARGETS macros are used
Partly revert "ci: disable unavailable tests for esp32s2beta"
This partly reverts commit 76a3a5fb48
.
Partly revert "ci: disable UTs for esp32s2beta without runners"
This partly reverts commit eb158e9a22
.
Partly revert "fix unit test and examples for s2beta"
This partly reverts commit 9baa7826be
.
Partly revert "efuse: Add support for esp32s2beta"
This partly reverts commit db84ba868c
.
2020-01-06 17:13:53 +08:00
Shubham Kulkarni
563175d90a
mbedtls: Use SPIRAM strategy in example_test.py
2020-01-03 15:30:03 +05:30
Angus Gratton
4b03fa3053
Merge branch 'feature/idf_size_py_json_dump' into 'master'
...
idf_size.py: can write data to json file now
Closes IDF-1246
See merge request espressif/esp-idf!7046
2020-01-03 11:19:56 +08:00
Mahavir Jain
97c8b90083
Merge branch 'bugfix/advanced_https_ota_example' into 'master'
...
Bugfix for failing OTA example
Closes IDF-1080 and IDFGH-2249
See merge request espressif/esp-idf!6979
2020-01-02 17:29:35 +08:00
Jakob Hasse
53aadafac8
idf_size.py: can alternatively write data to file
...
* Also Changed json separators - no spaces at eol
2020-01-02 09:33:51 +08:00
morris
8f98c3746a
ci: increase parallel count for esp32s2 unitest
2020-01-01 13:58:50 +08:00
morris
13b98e17a6
ci: enable python2 lint
2020-01-01 13:04:50 +08:00
morris
e51bd6deaf
gh-action:fix python lint
2020-01-01 12:56:33 +08:00
Shubham Kulkarni
032a041395
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2019-12-31 14:18:16 +05:30
Angus Gratton
cf2f732b2c
Merge branch 'bugfix/heap_tests_esp32s2beta' into 'master'
...
bugfix/heap test failure fixing for esp32s2 beta
Closes IDF-1021
See merge request espressif/esp-idf!6659
2019-12-31 15:03:01 +08:00
Angus Gratton
91f953eba2
Merge branch 'bugfix/fix_python3_errors_for_ttfw' into 'master'
...
test: fix python3 errors for ttfw
See merge request espressif/esp-idf!7139
2019-12-31 14:45:15 +08:00
He Yin Ling
269af21ce6
test: fix multiple devices cases fail on python3
2019-12-30 20:21:00 +08:00
He Yin Ling
07f186a6a5
CI: reduce number of unit test jobs
2019-12-30 20:21:00 +08:00
He Yin Ling
f63e91b950
test: let unit test jobs use python3
2019-12-30 20:20:14 +08:00
He Yin Ling
8df08de486
ttfw: fix incorrect relative import for python3
2019-12-30 20:20:14 +08:00
Anthony Casagrande
874cfda54c
idf_size.py: Major performance improvements
...
Merges https://github.com/espressif/esp-idf/pull/4518
2019-12-30 17:14:49 +11:00
Angus Gratton
5139934767
bootloader_common: Fix esp_partition_get_sha256(), add unit tests
...
Regression in 438d513a95
Reported here: https://esp32.com/viewtopic.php?f=13&t=13250&p=52460
2019-12-30 13:47:47 +11:00
Alexey Gerenkov
eb2aa6fd67
apptrace: Adds HeapTraceEvent.callers property used by OpenOCD tests
2019-12-27 00:13:45 +03:00
michael
2dd12ae5f8
spi: fix speed test issues on esp32s2beta
...
Also support performance value for different targets.
2019-12-23 10:23:01 +08:00
Felipe Neves
cf95ea40d4
heap/test_leak: changed requested memory on leak checks to match the threshold
2019-12-20 13:35:56 -03:00
Ivan Grokhotkov
c0d12988d3
Merge branch 'feature/component_manager' into 'master'
...
Component manager for IDF (preview)
See merge request espressif/esp-idf!6929
2019-12-20 21:06:12 +08:00
Sergei Silnov
dfafa98253
Use component manager if available as python package
2019-12-19 16:48:36 +01:00
Angus Gratton
981d8c6c30
Merge branch 'feature/idfpy_list_targets' into 'master'
...
idf.py: add --list-targets option to list support targets
See merge request espressif/esp-idf!7049
2019-12-19 08:35:59 +08:00
Angus Gratton
2e43d107b4
idf_monitor: Ignore OS-level errors writing to Windows Console
...
Windows Console write or flush may fail (throwing WindowsError, a subclass of OSError) if the data
written can't be displayed. This may be the case if the serial port is producing garbage bytes.
Ignore the error, in the hope that the serial port may "come good" and write non-garbage later.
2019-12-18 23:35:35 +00:00
Sergei Silnov
97f7b918c1
idf.py: add --list-targets option to list support targets
2019-12-18 16:50:49 +01:00
Mahavir Jain
e8db1c4da0
Merge branch 'feature/enable_i2s_tests_on_esp32s2beta' into 'master'
...
Enable i2s and freertos test/s on esp32s2beta
See merge request espressif/esp-idf!6790
2019-12-18 17:51:54 +08:00
David Cermak
74d768fe6d
ci: updated mqtt weekend test for qemu support
...
Added default sdkconfig for qemu build for the mqtt publish example,
Added environment configuration for running the same test on target
or in qemu
Updated missing example tests per latest ttfw refactoring
2019-12-17 14:06:40 +01:00
David Cermak
cec408c760
ci: ttfw update to support qemu dut_class
...
Updated missing example tests per latest ttfw refactoring,
updated pythons requirements.txt for ttfw_idf
2019-12-17 14:06:40 +01:00
Ivan Grokhotkov
85c97967d5
tiny-test-fw: add QEMU DUT
2019-12-17 14:06:40 +01:00
Mahavir Jain
2e73c2818b
freertos: re-enable mutext test for esp32s2beta
2019-12-16 11:55:32 +05:30
Angus Gratton
f7b51c164d
Merge branch 'bufgix/esp_timer_set_alarm' into 'master'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time
Closes WIFI-1511
See merge request espressif/esp-idf!6960
2019-12-16 13:39:44 +08:00
Angus Gratton
8b219c0884
Merge branch 'bugfix/menuconfig_py3' into 'master'
...
tools: Fix menuconfig for Python 3
See merge request espressif/esp-idf!6991
2019-12-16 12:59:34 +08:00
Angus Gratton
9dbb7526c5
Merge branch 'bugfix/ulp_supported_version' into 'master'
...
ulp: remove 20190801 version, update supported version for Make
See merge request espressif/esp-idf!7014
2019-12-16 10:47:44 +08:00
Angus Gratton
433d046a2a
Merge branch 'feature/tools_installer_v2.2' into 'master'
...
tools: bump windows tools installer version to v2.2
Closes IDFGH-2036 and IDFGH-2202
See merge request espressif/esp-idf!6999
2019-12-16 07:20:43 +08:00
Ivan Grokhotkov
917889dfdf
ulp: remove 20190801 version, update supported version for Make
2019-12-15 21:39:42 +01:00
Sergei Silnov
767cde7b1c
idf.py: add monitor-baud option to monitor command
2019-12-13 21:40:21 +01:00
Ivan Grokhotkov
d021e71419
tools: bump windows tools installer version to v2.2
...
Includes the fix for Windows Defender exceptions installation.
Closes https://github.com/espressif/esp-idf/issues/4225
Closes https://github.com/espressif/esp-idf/issues/4354
Closes IDFGH-2036
Closes IDFGH-2202
2019-12-13 15:03:09 +01:00
Martin Vychodil
66aac70286
tools: WD exclusions support - internal improvements
...
* use {group} symbolic path instead of {autostartmenu) due to backward compatibility
* don't check Defender module existence in PS scripts (done by the installer)
2019-12-13 15:03:08 +01:00
Dmitry Yakovlev
8fe3ecd000
Added description for difference between ESP32 ULP and ESP32-S2 ULP
...
Jumpr instruction updated.
2019-12-13 18:38:57 +08:00
Angus Gratton
ecf85555b6
Merge branch 'bugfix/small_unit_test_fixes' into 'master'
...
test: Small unit test fixes
See merge request espressif/esp-idf!6981
2019-12-13 14:00:05 +08:00
KonstantinKondrashov
c6b681827d
target-test.yml: Increase parallel count +1 for ESP32_IDF, UT_T1_1
2019-12-13 13:51:47 +08:00
Angus Gratton
4f1d49d8c2
Merge branch 'feature/esp32s2beta_hw_crypto_support' into 'master'
...
hw crypto: activated hardware acceleration for esp32s2beta
Closes IDF-757
See merge request espressif/esp-idf!6615
2019-12-13 13:40:33 +08:00
Angus Gratton
40b657d4fe
Merge branch 'feature/prebuilt_binary_example' into 'master'
...
cmake: import prebuilt library
See merge request espressif/esp-idf!6838
2019-12-13 13:36:47 +08:00
Marius Vikhammer
c63684cf6c
hw crypto: activated hardware acceleration for esp32s2beta
...
Activated AES, RSA and SHA hardware acceleration for esp32s2 and enabled related unit tests.
Updated with changes made for ESP32 from 0a04034
, 961f59f
and caea288
.
Added performance targets for esp32s2beta
Closes IDF-757
2019-12-12 12:37:29 +08:00
Angus Gratton
ba07a7dd6c
unit-test: Update README for current usage of unit-test.py
...
Example command lines shown here were tested and Notes added
for anything which didn't work as expected.
2019-12-12 11:05:22 +11:00
Angus Gratton
9b8fffef53
unit_test.py: Add some additional console logging for context
2019-12-12 11:05:05 +11:00
Angus Gratton
18853ae509
ttfw: Fix the build directory detection when using the default build/ dir for binaries
2019-12-12 11:05:05 +11:00
Angus Gratton
b20eaf3306
ttfw: Fix exception message when an error occurs finding files to flash
2019-12-12 11:05:05 +11:00
Angus Gratton
9fa87f04da
unit_test.py: Allow identifying a unit test which has : in the name
2019-12-12 11:05:05 +11:00
Angus Gratton
0978fc1b84
unit_test: Log each test case to console as we run it
...
Include a dump of the test tags
2019-12-12 11:05:05 +11:00
Angus Gratton
d35debcd99
unit_test: Print the timeout value when an 'expect' times out
2019-12-12 11:05:04 +11:00
Angus Gratton
b18e7b94a2
ci: Keep build artifacts for 4 days
2019-12-12 09:39:27 +11:00
Angus Gratton
3b52eddf6b
Merge branch 'bugfix/optimize_some_build_system_tests' into 'master'
...
cmake: some optimizations to build system tests
See merge request espressif/esp-idf!6972
2019-12-12 06:34:54 +08:00
Roland Dobai
7ab43bffde
tools: Fix menuconfig for Python 3
2019-12-11 14:29:07 +01:00
Renz Christian Bagaporo
17876d3d73
cmake: some optimizations to build system tests
2019-12-11 16:43:47 +08:00
chenyudong
a6de0e8846
ci: fix job "check_wifi_lib_md5"
2019-12-11 13:10:23 +08:00
Angus Gratton
f78b2158b1
Merge branch 'bugfix/menuconfig_argv_encoding' into 'master'
...
menuconfig: fix the MENUCONFIG_STYLE encoding issue and CLI env issue
See merge request espressif/esp-idf!6910
2019-12-11 12:47:32 +08:00
Angus Gratton
563227d9f8
Merge branch 'bugfix/gitlab_api_error_with_python3' into 'master'
...
ci: fix fetch submodule error on python3
See merge request espressif/esp-idf!6961
2019-12-11 07:23:53 +08:00
Renz Christian Bagaporo
91b421c35f
cmake: implement utility to import prebuilt libraries
2019-12-10 19:22:25 +08:00
Angus Gratton
882f5d0b56
Merge branch 'bugfix/fix_s2_cpp_exceptions' into 'master'
...
C++: enable exceptions ESP32S2-beta
Closes IDF-1039
See merge request espressif/esp-idf!6579
2019-12-10 15:13:15 +08:00
Alex Lisitsyn
ba1ee4092a
freemodbus: fix merge issues
2019-12-10 14:30:25 +08:00
Alex Lisitsyn
44444208b7
freemodbus: update poll event processing
...
update modbus poll event loop processing to process multiple events
2019-12-10 14:27:09 +08:00
He Yin Ling
486f1a05b3
test: fix incorrect error type in xunit result
2019-12-10 13:50:32 +08:00
Jakob Hasse
78e4b0ff96
CXX: enable exceptions ESP32S2-beta
...
Closes IDF-1039
* Enabled test cases for -fno-exceptions to S2-beta again
* Added different reset tag for S2-beta
2019-12-10 10:23:00 +08:00
He Yin Ling
fe521c9d12
ci: fix fetch submodule error on python3
2019-12-10 09:38:31 +08:00
Ivan Grokhotkov
86e5bea50d
Merge branch 'bugfix/server_down_message' into 'master'
...
tools: Produce user friendly error during install when the server is down
Closes IDFGH-2175
See merge request espressif/esp-idf!6718
2019-12-09 22:48:32 +08:00
Ivan Grokhotkov
9859d8867d
Merge branch 'feature/sysview_json_traces' into 'master'
...
Support for converting SystemView traces to JSON format
See merge request espressif/esp-idf!5674
2019-12-09 22:46:13 +08:00
Ivan Grokhotkov
2f20ad523c
Merge branch 'bugfix/menuconfig_term_warning' into 'master'
...
Give info and warnings about the TERM environment variable
See merge request espressif/esp-idf!6717
2019-12-09 22:38:24 +08:00
Angus Gratton
58355f7e21
Merge branch 'refactor/update_xtensa_header_file' into 'master'
...
update xtensa header file
Closes IDF-1197
See merge request espressif/esp-idf!6872
2019-12-09 13:08:52 +08:00
morris
5efb1140ac
esptool: add chip and stub option
2019-12-09 09:48:16 +08:00
He Yin Ling
ca0ce7171d
CI: reduce number of test jobs
2019-12-08 20:32:11 +08:00
He Yin Ling
164e8ba21f
test: support loadable elf test cases:
...
loadable elf example is different for 2 reasons:
1. loadable elf binary don't have flasher_args.json, so we can't use normal
to get from CI artifacts
2. it don't have binary and don't need to downloaded binary to DUT. Some
related functions can be ignored
2019-12-08 20:32:11 +08:00
He Yin Ling
cca08b3d2b
CI: remove not exist file from executable-list.txt
2019-12-08 20:32:10 +08:00
He Yin Ling
a11b15b92b
CI: build system do not check submodule for CI
2019-12-08 20:32:10 +08:00
He Yin Ling
b4863551a9
CI: modify fetch submodule method:
...
download archive for submodules instead of clone
2019-12-08 20:32:10 +08:00
He Yin Ling
5d1be3bb8b
CI: raise import error instead of exit for ble tools
2019-12-07 10:34:54 +08:00
He Yin Ling
89f8e19850
CI: support only download artifacts by request:
...
use CI dependencies could waste a lot bandwidth for target test jobs, as
example binary artifacts are very large. Now we will parse required
artifacts first, then use API to download required files in artifacts.
2019-12-07 10:34:54 +08:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
He Yin Ling
4d45932c5e
CI: add utility gitlab_api
2019-12-07 10:34:54 +08:00
He Yin Ling
d621d0e88e
tiny-test-fw: move to tools/esp_python_packages:
...
make `tiny_test_fw` as a package and move to root path of idf python
packages
2019-12-06 17:29:47 +08:00
michael
3e55baea90
menuconfig: fix the MENUCONFIG_STYLE encoding issue and CLI env issue
...
1. Call cli with explicit argv
When using debugging tools like `pydbg.py --some_arg idf.py -G Ninga
build`, those tools usually call the python script with sys.argv
modified to correct value. But if the cli is called with argv blank, the
cli will get the argv again, and finally get the original command line,
which is incorrect for debugging.
2. Encode the style unicode string back to ascii in menuconfig cmd
On Windows MSYS python2.7, the unicode string set in os.environ will
cause the subprocess creating to fail. All os.environ values should be
strings.
2019-12-05 01:39:46 +08:00
Alexey Gerenkov
884717fb2f
apptrace: Adds support for converting SystemView traces to JSON format
2019-12-04 18:04:07 +03:00
Felipe Neves
b0491307fc
target-test: bumping test cases parallel count
2019-12-04 10:41:00 -03:00
Ivan Grokhotkov
562a3980b2
idf.py: fix fallback to build system target
2019-12-04 07:13:31 +00:00
Angus Gratton
af382a1b8e
Merge branch 'bugfix/update_menuconfig' into 'master'
...
Update kconfiglib from v12.14.0 to v13.3.2
See merge request espressif/esp-idf!6816
2019-12-04 15:06:09 +08:00
Angus Gratton
054724596d
Merge branch 'feature/add_ir_protocol_example_test' into 'master'
...
rmt: enable ir protocols example test
Closes IDF-906
See merge request espressif/esp-idf!6856
2019-12-04 14:35:22 +08:00
Angus Gratton
6563378812
Merge branch 'bugfix/ci_check_first' into 'master'
...
CI: Do trivial checks first in order to save build time
See merge request espressif/esp-idf!6671
2019-12-04 13:57:35 +08:00
Angus Gratton
bc36d20371
Merge branch 'feature/idfpy_exit_with_error_deprecated_options' into 'master'
...
idf.py: add exit_with_error for deprecated commands and options
Closes IDF-949
See merge request espressif/esp-idf!6704
2019-12-04 13:45:37 +08:00
Angus Gratton
38be5c140a
Merge branch 'feat/esp_ser_and_sdio_test' into 'master'
...
essl: new component to communicate with esp serial slave devices
Closes IDF-1002
See merge request espressif/esp-idf!6166
2019-12-04 11:03:14 +08:00
Ivan Grokhotkov
6647e0625d
Merge branch 'bugfix/IDFGH-2036' into 'master'
...
Fix for Windows Defender PS task hanging (IDF tools installation)
Closes IDFGH-2036
See merge request espressif/esp-idf!6796
2019-12-04 03:00:23 +08:00
Michael (XIAO Xufeng)
d158fa3f5c
sdio: add unit test between host and slave
2019-12-03 22:58:42 +08:00
Ivan Grokhotkov
a4addc88f2
ci: remove dependencies from link_check job
2019-12-03 10:40:30 +01:00
Roland Dobai
81b116b1b9
Update kconfiglib from v12.14.0 to v13.3.2
...
Thank you @ulfalizer for fixing the aquatic color theme in upstream
kconfiglib.
Now "xterm" or "screen" values of TERM environment variable is
sufficient to use our default blue menuconfig. "xterm-256color" or
"screen-256color" was necessary before this fix.
See https://github.com/espressif/esp-idf/issues/4387#issuecomment-557823262
2019-12-03 07:33:02 +00:00
morris
c43fe5e52e
rmt: enable ir protocols example test
2019-12-03 10:45:53 +08:00
Sergei Silnov
506c46fddc
idf.py: add exit_with_error for deprecation
2019-12-02 10:41:23 +01:00
Roland Dobai
b52b49c8b6
CI: Do check first in order to save build time
2019-12-02 09:58:31 +01:00
Roland Dobai
d1541c74a6
Give info and warnings about the TERM environment variable
2019-12-02 09:49:21 +01:00
Angus Gratton
0855fba8a6
Merge branch 'bugfix/reduce_ci_job_number'
...
Manually merge !6863
2019-12-02 15:01:10 +11:00
Angus Gratton
da4cb76f5a
test: Refactor TFW load_source() method to only take the file path
...
Fixes issues where example tests for persistent_sockets and advanced_tests both
loaded a module named "client", causing a race condition.
2019-11-28 19:25:52 +08:00
Jiang Jiang Jian
e2e2de95b4
Merge branch 'feature/check_wifi_lib_md5_on_host' into 'master'
...
esp_wifi: check header files MD5 on host
See merge request espressif/esp-idf!6656
2019-11-28 16:48:53 +08:00
He Yin Ling
6b6b42a0b5
ci: reduce the number of UT jobs
2019-11-28 10:44:31 +08:00
Renz Christian Bagaporo
e6ad330018
ble_mesh_wifi_coexist example: Disable Wi-Fi RX IRAM optimisation
...
Otherwise IRAM usage is too high in this example.
2019-11-28 09:20:00 +08:00
Ivan Grokhotkov
a9b7f74f7f
Merge branch 'bugfix/macos_link_toomany_open_files' into 'master'
...
build system: explicitly disable LTO plugin to reduce the number of simultaneously open files
Closes IDF-923 and IDFGH-1764
See merge request espressif/esp-idf!6776
2019-11-28 01:38:53 +08:00
Ivan Grokhotkov
568f0af61a
esp_wifi: check header files MD5 on host
2019-11-27 23:00:11 +08:00
Martin Vychodil
880197307a
Windows setup: fix Defender detection and add desktop shortcut option
...
* use Environment::Exit() to avoid PS process hanging
* old-fashioned exceptions
* try-catch-finally necessary
* disable Windows Defender Task when Defender module not installed
* cleanup script checks Defender module existence too
* fixed uninstall of Start Menu LNK
* use Command Prompt instead of Command Line wording
+ Desktop shortcut
* iterate through PSMODULEPATH when looking for WD module
JIRA IDFGH-2036
2019-11-27 13:40:51 +01:00
morris
dcd99b0ad1
enlarge example cmake build job parallel num
2019-11-27 14:14:08 +08:00
morris
c3ee156df0
ethernet: move netif glue && add ref counter
...
1. move netif glue into single file
2. add reference counter for Ethernet driver
2019-11-27 10:36:32 +08:00
Ivan Grokhotkov
f49a78d543
build system: explicitly disable LTO plugin
...
... to reduce the number of simultaneously open files at link time.
When plugin support is enabled in the linker, BFD's (and the
corresponding file handles) are cached for the plugin to use. This
results in quite a large number of simultaneously open files, which
hits the default limit on macOS (256 files).
Since we aren't using LTO now, disable it explicitly when invoking the
linker.
Closes IDF-923
Closes IDFGH-1764
Closes https://github.com/espressif/esp-idf/issues/3989
2019-11-26 19:12:56 +01:00
Roland Dobai
bd2fc9f832
Make menuconfig colors configurable
...
Closes https://github.com/espressif/esp-idf/issues/4387
2019-11-26 10:40:34 +01:00
Angus Gratton
a29f667b87
Merge branch 'bugfix/kconfig_write_empty_files' into 'master'
...
tools: Write Kconfig files always
See merge request espressif/esp-idf!6763
2019-11-26 13:58:49 +08:00
Angus Gratton
0d5056f683
Merge branch 'bugfix/idf_tool_git_worktree' into 'master'
...
tools: Don't use git work-tree in idf_tools.py and try to parse IDF version from C header
Closes IDFGH-2203
See merge request espressif/esp-idf!6743
2019-11-26 13:57:12 +08:00
Alex Lisitsyn
67f62a79c1
freemodbus: add modbus master ascii
...
add support of modbus master ascii
rename base dir name of master and slave example to be mb_slave, mb_master to avoid conflict with sdio/slave example test
add Kconfig option to enable ASCII and RTU mode separately
update ASCII options + remove cast for errors
added baudrate for examples into Kconfig
updated magic numbers for timer timeout
put ascii private definitions into one file
2019-11-26 13:16:25 +08:00
Angus Gratton
649f27c620
Merge branch 'bugfix/idfpy_cmake_cache_encoding' into 'master'
...
idf.py: add encoding option
Closes IDFGH-1905
See merge request espressif/esp-idf!6589
2019-11-26 11:50:15 +08:00
Sergei Silnov
dc4a5d06e3
idf.py: Fix error message for unknown target
2019-11-25 15:41:34 +01:00
Sergei Silnov
262ed0e72b
idf.py: Fix regression ignorance of --verbose flag
2019-11-25 11:47:55 +01:00
Angus Gratton
f2a1a6105a
Merge branch 'feat/mcpwm_hal'
...
Manual merge of !6626
2019-11-25 17:18:48 +11:00
Angus Gratton
129c9311ca
Merge branch 'bugfix/menuconfig_confirm' into 'master'
...
Menuconfig: Don't ask to save configuration when nothing has changed
Closes IDFGH-2148
See merge request espressif/esp-idf!6643
2019-11-25 13:42:27 +08:00
Angus Gratton
bf80a50c85
Merge branch 'bugfix/idf_tools_add_ULP_for_armel' into 'master'
...
tools: Add ULP utils for ARMEL
See merge request espressif/esp-idf!6800
2019-11-25 12:13:42 +08:00
michael
0f6dd34971
mcpwm: enable some unit tests again
2019-11-25 00:36:30 +08:00
He Yin Ling
d839f39ed8
Merge branch 'feature/ci_optimize_assign_test' into 'master'
...
CI: optimize assign test
See merge request espressif/esp-idf!6785
2019-11-24 19:22:41 +08:00
Anton Maklakov
0ed38ca24d
idf_tools.py: fix downloading for tools which have "on_request" options for some platforms.
...
'install' and 'download' options can be used for 'required' or 'all' tools
2019-11-24 19:11:33 +08:00
Anton Maklakov
11837f7f5d
tools: Add ULP utils for ARMEL
2019-11-24 12:02:50 +07:00
He Yin Ling
857d10a926
unit-test-app: print config name in test script
2019-11-23 20:40:23 +08:00
He Yin Ling
3c99de352c
tiny-test-fw: only load module from the same file one time:
...
we should only load one module once.
if we load one module twice, python will regard the same object loaded in the first time and second time as different objects.
it will lead to strange errors like `isinstance(object, type_of_this_object)` return False
2019-11-23 20:40:23 +08:00
He Yin Ling
9665c6ef66
unit-test-app: fix test script error when handling multiple unit test configs in one config file:
...
If we have multiple configs, we need to flash DUT with different binaries. But if we don't close DUT before apply new config, the old DUT will be reused, so new config name will not be applied.
2019-11-23 20:40:23 +08:00
He Yin Ling
1c65f1aed3
ci: reduce the number of unit test jobs
2019-11-23 20:40:23 +08:00
He Yin Ling
cb4c25bc67
ci: use more flexible assign for unit test cases
2019-11-23 20:39:19 +08:00
He Yin Ling
757e2d021e
tiny-test-fw: print useful debug info when assign test:
...
* total requirements (number of required jobs vs tags)
* unused CI jobs
* missing jobs (number of missing jobs vs tags)
2019-11-23 20:39:19 +08:00
He Yin Ling
b12a8bce5f
ci: optimize unit test assignment:
...
Currently we use config and test function as filter when assign cases to one CI job. It's not necessary as the runner can run test with different configs / test functions. Now we will try to assign as many cases to a job as possible, to reduce the amount of jobs required.
2019-11-23 20:39:19 +08:00
He Yin Ling
74ca3fc571
tiny-test-fw: revise unit test job config file:
...
`overwrite` should be included by each case config
2019-11-23 20:39:19 +08:00
Angus Gratton
b7b4cd3418
Merge branch 'bugfix/timer_group_reset_ut' into 'master'
...
timer: remove check for POWERON_RESET in the test case, add esp_reset_reason API for s2beta
See merge request espressif/esp-idf!6747
2019-11-23 14:04:41 +08:00
Ivan Grokhotkov
acdb2a5dc0
ci: add test job with ESP32S2BETA_IDF tag
2019-11-22 10:36:51 +01:00
Dmitry
1518c410bc
A switch between esp32 and esp32s2betta added to the ULP build process.
...
The new bin utils will have extension esp32s2ulp-elf, and they have to be placed to the bin directory.
2019-11-22 09:03:13 +03:00
Angus Gratton
7eb89ae868
Merge branch 'feature/idfpy_unknown_targets_fallback' into 'master'
...
idf.py: run build system target for unknown sub-commands
Closes IDF-748
See merge request espressif/esp-idf!6644
2019-11-22 13:22:23 +08:00
Angus Gratton
ea29c101cd
Merge branch 'bugfix/fix_iram_intr_alloc_test' into 'master'
...
ccomp_timer: fix broken unit test
See merge request espressif/esp-idf!6779
2019-11-22 08:41:50 +08:00
Ivan Grokhotkov
8ff801766a
Merge branch 'docs/update_oocd_config_on_cmd_line' into 'master'
...
Updates OpenOCD configuration file names in documentation
See merge request espressif/esp-idf!6226
2019-11-22 05:32:35 +08:00
Ivan Grokhotkov
38520d3b65
Merge branch 'feature/build_apps_script' into 'master'
...
tools: add build_apps.py, script to build multiple apps
Closes IDF-641
See merge request espressif/esp-idf!6101
2019-11-22 02:54:28 +08:00
Ivan Grokhotkov
30d21adcca
ci: don't add build_examples_make as a target_test dependency
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
e1aee5ad09
ci: reimplement build_examples_cmake using {find,build}_apps.py
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
0e6e7f49be
tiny-test-fw: add build config and target options
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
7ac8f28dda
tools: add build warnings checking script
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
9d15c1fd40
tools: add {find,build}_apps.py, scripts to build multiple apps
...
This commit adds a pair of scripts, find_apps.py and build_apps.py.
These scripts are intended to be used in various CI jobs, building
multiple applications with different configurations and targets.
The first script, find_apps.py, is used to prepare the list of builds:
1. It finds apps for the given build system.
2. For each app, it finds configurations (sdkconfig files) which need
to be built.
3. It filters out the apps and configurations which are not compatible
with the given target.
4. It outputs the list of builds into stdout or a file. Currently the
format is a list of lines, each line a JSON string. In the future,
the tool can be updated to output YAML files.
The lists of builds can be concatenated and processed with standard
command line tools, like sed.
The second script, build_apps.py, executes the builds from the list.
It can execute a subset of builds based on --parallel-count and
--parallel-index arguments.
These two scripts are intended to replace build_examples_make,
build_examples_cmake, and the custom unit-test-app logic (in the
Makefile and idf_ext.py).
Closes IDF-641
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
1be70588f3
Merge branch 'bugfix/idf_tools_guess_idf_path' into 'master'
...
idf_tools.py: when guessing IDF_PATH, set it in the enviroment
Closes IDF-1141 and IDFGH-2189
See merge request espressif/esp-idf!6752
2019-11-21 20:30:08 +08:00
Roland Dobai
be749395c4
Menuconfig: Don't ask to save configuration when nothing has changed
...
Closes https://github.com/espressif/esp-idf/issues/4303
2019-11-21 06:47:11 +00:00
Renz Christian Bagaporo
6540877f23
test_utils: move ccomp timer interrupt allocation/free to init/deinit
2019-11-21 11:59:46 +08:00
Angus Gratton
bc3233782b
Merge branch 'feature/remove_gcc5_support' into 'master'
...
global: remove gcc 5.2 support
Closes IDF-1131
See merge request espressif/esp-idf!6608
2019-11-21 09:08:41 +08:00
Ivan Grokhotkov
9a2af7ae33
global: remove gcc 5.2 support
2019-11-20 11:17:27 +01:00
He Yin Ling
bcf1f992ff
Merge branch 'ci/fix_iperf_example_test_failure' into 'master'
...
ci: fix iperf example test and LEDC unit test error
See merge request espressif/esp-idf!6754
2019-11-20 10:34:41 +08:00
Angus Gratton
bc9267aa24
Merge branch 'feature/use_cpu_time_for_tests' into 'master'
...
Cache compensated timer
See merge request espressif/esp-idf!6087
2019-11-20 08:33:27 +08:00
Anton Maklakov
bd49b3f315
Merge branch 'bugfix/soc_missing_tests' into 'master'
...
soc: fix unit tests not included in the build
See merge request espressif/esp-idf!6723
2019-11-20 00:32:43 +08:00
Roland Dobai
e533c88760
tools: Write Kconfig files always
...
Write COMPONENT_KCONFIGS_SOURCE_FILE and
COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE files always even when
COMPONENT_KCONFIGS or COMPONENT_KCONFIGS_PROJBUILD are empty variables
because kconfiglib expects them to exist.
2019-11-19 15:11:11 +01:00
Sergei Silnov
18c594e250
idf.py: run build system target for unknown commands
2019-11-19 13:28:00 +01:00
Angus Gratton
af945096b2
Merge branch 'bugfix/confgen_gen_source_from_build' into 'master'
...
Generate source files for kconfiglib from the build system
See merge request espressif/esp-idf!6433
2019-11-19 14:19:49 +08:00
He Yin Ling
ca217e04ec
ci: reduce the required num of jobs for ESP32S2 beta LEDC cases
2019-11-19 11:51:26 +08:00
Angus Gratton
3761441b0e
Merge branch 'bugfix/remove_stale_files' into 'master'
...
Remove accidentally merged and stale files
See merge request espressif/esp-idf!6658
2019-11-19 11:28:53 +08:00
He Yin Ling
613b9b613d
ci: fetch all submodules for iperf example test
2019-11-19 11:18:59 +08:00
Ivan Grokhotkov
9fa3974447
idf_tools.py: when guessing IDF_PATH, set it in the enviroment
...
This allows the processes launched from idf_tools.py to use the value
of IDF_PATH. One such example is the installation of Python packages,
when requirements.txt uses IDF_PATH to refer to the esp-windows-curses
package.
Closes https://github.com/espressif/esp-idf/issues/4341
2019-11-18 16:22:25 +01:00
Roland Dobai
8a02feb671
tools: Don't use git work-tree in idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/4355
2019-11-18 13:15:39 +01:00
Ivan Grokhotkov
93a8603c54
Merge branch 'feature/builtin_type_exceptions_test' into 'master'
...
C++: Throw builtin type exception test
See merge request espressif/esp-idf!6570
2019-11-18 19:34:05 +08:00
Alexey Gerenkov
1626f827d3
docs: Updates OpenOCD configuration file names
2019-11-18 13:33:32 +03:00
Angus Gratton
a032ce7cd7
ci: Add test configs for 32kHz crystals
2019-11-18 16:05:37 +07:00
Wang Jia Lin
be43bfe0c1
Merge branch 'bugfix/ledc_ut_esp32s2beta' into 'master'
...
bugfix(LEDC): fix ledc CI issue for esp32s2beta
Closes IDF-1011
See merge request espressif/esp-idf!6530
2019-11-18 16:19:42 +08:00
Renz Christian Bagaporo
c4dc63c4d8
ci: add jobs for tests
2019-11-18 10:29:42 +08:00
Renz Christian Bagaporo
df26ab13e2
test_utils: implement performance timer
2019-11-18 10:29:01 +08:00
Jakob Hasse
cd730b94be
C++: added unit tests for builtin type exceptions
2019-11-18 08:53:50 +08:00
Roland Dobai
84d5cc1c17
Generate source files for kconfiglib from the build system
2019-11-15 15:25:09 +00:00
Roland Dobai
98c629987f
tools: Produce user friendly error during install when the server is down
...
Closes https://github.com/espressif/esp-idf/issues/4329
2019-11-15 15:21:39 +01:00
Ivan Grokhotkov
c8a37c296a
ci: don't fetch all submodules in unit_test and example_test
2019-11-15 07:59:44 +00:00
Angus Gratton
83b468f707
Merge branch 'feature/idfpy_hidden_commands' into 'master'
...
idf.py: add support for subcommands hidden from help
See merge request espressif/esp-idf!6646
2019-11-15 12:41:43 +08:00
Jiang Jiang Jian
a9c1970c03
Merge branch 'bugfix/put_more_rx_code_to_iram' into 'master'
...
wifi: Put some rx code to iram
Closes WIFI-490 and WIFI-1041
See merge request espressif/esp-idf!6490
2019-11-15 10:58:22 +08:00
Ivan Grokhotkov
9e8fa4bb18
Merge branch 'feature/esp_netif_interface_update' into 'master'
...
tcpip_adapter refactor: ready for review
Closes IDF-39
See merge request espressif/esp-idf!5373
2019-11-14 21:27:53 +08:00
Angus Gratton
9efbe1bb47
Merge branch 'bugfix/support_worktree_on_cmake' into 'master'
...
cmake: support git worktree
See merge request espressif/esp-idf!6581
2019-11-14 16:00:47 +08:00
houwenxiang
30b2e02088
bugfix(LEDC):fix ledc CI issue for esp32s2beta.
2019-11-14 12:20:29 +08:00
Angus Gratton
17d0ada00a
Merge branch 'bugfix/idfpy_before_flash_option' into 'master'
...
idf.py: Add --before flag to esptool.py call
See merge request espressif/esp-idf!6577
2019-11-14 11:13:48 +08:00
xiehang
5e7f43f3d1
esp_wifi: Put some rx code to iram
2019-11-13 11:44:23 +00:00
David Cermak
76f612e14f
ci: increased number of parallel jobs to have enough runners for unit
...
tests
2019-11-13 12:36:26 +01:00
David Cermak
e535376257
tools: updated generator of error codes to names to ignore tcpip_adapter
...
compatibility types since the error codes are reused in esp-netif and in
tcpip_adapter mapped to the same number.
2019-11-13 12:36:26 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
Anton Maklakov
ef3016d0d3
Remove accidentally merged and stale files
2019-11-12 11:43:36 +07:00
Angus Gratton
b4653cf391
Merge branch 'bugfix/update_can_target_test' into 'master'
...
CAN: Reenable example tests, update job and environment labels.
See merge request espressif/esp-idf!6487
2019-11-12 11:09:50 +08:00
Sergei Silnov
2dbad4fe7b
idf.py: add support for subcommands hidden from help
2019-11-08 17:54:10 +01:00
Angus Gratton
8b38d79dd3
Merge branch 'feature/windows_ccache_enable' into 'master'
...
tools: export IDF_CCACHE_ENABLE on Windows by default
Closes IDF-955
See merge request espressif/esp-idf!6607
2019-11-08 18:57:26 +08:00
Angus Gratton
79d242edd3
Merge branch 'bugfix/py_requirements' into 'master'
...
Fix Python requirement for setuptools
See merge request espressif/esp-idf!6588
2019-11-08 18:03:20 +08:00
Angus Gratton
75488f1806
Merge branch 'bugfix/cmake_secure_boot' into 'master'
...
secure boot: CMake bug fixes
See merge request espressif/esp-idf!6523
2019-11-08 10:58:04 +08:00
Ivan Grokhotkov
d459f7bfe0
Merge branch 'bugfix/dockerfile_set_idf_branch' into 'master'
...
tools/docker: use correct branch and commit of IDF when building
Closes IDF-1120
See merge request espressif/esp-idf!6584
2019-11-08 03:08:45 +08:00
Ivan Grokhotkov
dd7dd08bfb
Merge branch 'bugfix/tinyfw_local_test' into 'master'
...
tiny-test-fw: restore the ability to run tests locally
See merge request espressif/esp-idf!6620
2019-11-07 21:27:58 +08:00
Roland Dobai
86fd13230e
CI: Don't download esp32s2beta builds into example tests
2019-11-07 06:56:03 +00:00
Ivan Grokhotkov
8d527243d9
tools/docker: use correct branch and commit of IDF when building
2019-11-06 17:58:23 +01:00
Ivan Grokhotkov
6306ea5a92
tiny-test-fw: fix running tests which use IDFDUT class
2019-11-06 15:31:16 +01:00
Ivan Grokhotkov
10abced362
Merge branch 'feature/update_toolchain_esp-2019r2' into 'master'
...
Introduce esp-2019r2 toolchain for both ESP32 and ESP32s2 targets
See merge request espressif/esp-idf!6575
2019-11-06 16:10:51 +08:00
Angus Gratton
5b33d6cf94
Merge branch 'feature/mbedtls_add_faster_modexp' into 'master'
...
mbedtls: Add a new (X^Y) mod M implementation (HAC 14.94)
Closes IDF-965
See merge request espressif/esp-idf!6418
2019-11-06 15:51:28 +08:00
Ivan Grokhotkov
c75bdcb429
tools: export IDF_CCACHE_ENABLE on Windows by default
2019-11-05 11:45:27 +01:00
Sergei Silnov
ca79a5ecb3
idf.py: add python path to flash instructions
...
Closes https://github.com/espressif/esptool/issues/449
2019-11-05 11:07:03 +01:00
H.Ogino
7e5d30cda4
idf.py: add encoding option
...
Merges https://github.com/espressif/esp-idf/pull/4106
Signed-off-by: Sergei Silnov <sergei.silnov@espressif.com>
2019-11-05 10:36:37 +01:00
KonstantinKondrashov
5ed8388f6b
mbedtls: Add Montgomery exponentiation implementation (HAC 14.94)
...
It gave us a better performance of RSA operations. (2~11 times)
The old modexp implementation (Z = X ^ Y mod M) loaded all the data into
the hw registers and was waiting for completion, but due to
the hardware RSA implementation, the calculations always started with 4096 bit,
which took a lot of time.
Measurement results (measurements were made for keys: 2048, 3072 and 4096 bits)
(Old) - Sliding-window exponentiation (HAC 14.85):
keysize = 2048 bits
RSA key operation (performance): public [93206 us], private [280189 us]
keysize = 3072 bits
RSA key operation (performance): public [293614 us], private [858157 us]
keysize = 4096 bits
RSA key operation (performance): public [653192 us], private [1912126 us]
Instead (Old) - Sliding-window exponentiation (HAC 14.85) was implemented
(New) - Montgomery exponentiation (HAC 14.94) which showed
better performance on private and public keys.
keysize = 2048 bits
RSA key operation (performance): public [14504 us], private [149456 us]
keysize = 3072 bits
RSA key operation (performance): public [35073 us], private [392743 us]
keysize = 4096 bits
RSA key operation (performance): public [58650 us], private [787186 us]
For this reason, the old implementation was removed
and the MBEDTLS_HARDWARE_MPI option was turned on by default.
Why the MPI_INTERRUPT option is removed:
the old implementation used calculations on the hardware and
it took a lot of time (10ms - 500ms). And in order not to stand idle
while waiting for completion, an interrupt option was added.
This made it possible to carry out other tasks during the calculation,
and this one to block. The new method is free from such a drawback and
the maximum duration of one RSA HW operation does not exceed 70us (usually 2-70 μs).
This option is no longer needed.
Closes: IDF-965
2019-11-05 16:33:11 +08:00
Renz Christian Bagaporo
9d33ad5e25
cmake: support git worktree
...
Use rev-parse to get the HEAD directory instead of manually looking for
it. This method works in the main repository, worktrees and submodules.
Closes https://github.com/espressif/esp-idf/issues/4136
2019-11-05 15:32:35 +08:00
Roland Dobai
70b6f5397f
Fix Python requirement for setuptools
2019-11-04 16:18:37 +01:00
Angus Gratton
ad79772e7e
Merge branch 'bugfix/cmake_sdkconfig_issues' into 'master'
...
cmake: fix sdkconfig related issues
Closes IDF-1086
See merge request espressif/esp-idf!6436
2019-11-04 18:30:49 +08:00
Anton Maklakov
c2db6a14c4
Introduce esp-2019r2 toolchain for both ESP32 and ESP32s2 targets
...
Adds support of POSIX libs like regex.h
closes https://github.com/espressif/esp-idf/issues/2407
closes https://github.com/espressif/esp-idf/issues/4257
ref https://github.com/espressif/esp-idf/issues/271
Also there are some changes in the toolchain's changelog
2019-11-04 16:14:57 +07:00
Renz Christian Bagaporo
2dd74d4b7a
ci: remove semicolon for cmake build system test
2019-11-03 16:52:06 +08:00
Renz Christian Bagaporo
42d4f39a9a
cmake: consider sdkconfig defaults value from environment
2019-11-03 16:43:58 +08:00
Renz Christian Bagaporo
b0bb53de06
ci: test multiple sdkconfig defaults
2019-11-03 16:43:58 +08:00
Renz Christian Bagaporo
bf1df9b5b5
cmake: do not check if sdkconfig exists
2019-11-03 16:43:58 +08:00
Renz Christian Bagaporo
d43cc4fa4b
cmake: allow multiple sdkconfig defaults to be specified
2019-11-03 16:43:58 +08:00
Michael (XIAO Xufeng)
748b79e94a
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM
...
The workaround for PSRAM that will occupy an SPI bus is enabled only when:
1. used on 32MBit ver 0 PSRAM.
2. work at 80MHz.
The test used to only check 32MBit by the config option, but for PSRAM
on Wrover-B module seems to use a newer version of 32MBit PSRAM. So it
expects the workaround to be enabled, but actually not.
This commit split the unit test into two parts:
1. check all SPI buses are available, for all configs except psram_hspi
and psram_vspi, run on regular runners (including Wrover and Wrover-B).
a hidden option is enabled so that the compiler knows it's not building
psram_hspi or psram_vspi.
2. check the specified bus are acquired, for config psram_hspi and
psram_vspi. This only run on special runner (legacy Wrover module).
2019-11-03 03:07:37 +00:00
tatsutaigu
e6ad82a0b2
idf.py: Add --before flag to esptool.py call
...
Merges https://github.com/espressif/esp-idf/pull/4125
2019-11-01 20:00:56 +01:00
Ivan Grokhotkov
88b5a9c4d6
ci: fix regression in build system tests
...
On macOS, rsync --exclude option accepts absolute paths as well as
relative ones. On Linux, it doesn't, which results in endless recursive
copying of test_build_system directory.
2019-11-01 15:43:21 +01:00
Ivan Grokhotkov
9ffd444e52
Merge branch 'feature/ci_macos_build_system_test' into 'master'
...
ci: add CMake build system test for macOS
See merge request espressif/esp-idf!6552
2019-11-01 18:41:30 +08:00
Ivan Grokhotkov
3da93b0a5e
Merge branch 'bugfix/win_s2_toolchain' into 'master'
...
tools: Fix toolchain installer for Windows and macOS
See merge request espressif/esp-idf!6548
2019-10-31 23:29:59 +08:00
Jiang Jiang Jian
02a756015d
Merge branch 'feature/wifi_merge_libs_to_master' into 'master'
...
esp_wifi: merge esp32s2beta WiFi library and fix WiFi deinit memory leak bug
See merge request espressif/esp-idf!6531
2019-10-31 20:56:39 +08:00
Ivan Grokhotkov
c0c75478fa
Merge branch 'feature/idfpy_extensions' into 'master'
...
idf.py: Support extensions for idf.py and move commands to separate files
Closes IDF-1041
See merge request espressif/esp-idf!6416
2019-10-31 15:47:59 +08:00
Ivan Grokhotkov
9279b72a6c
idf_tools.py: fix virtualenv issue for macOS with homebrew
2019-10-30 19:44:15 +01:00
Ivan Grokhotkov
f61fd8a664
tools: remove spaces from toolchain URLs
2019-10-30 19:44:15 +01:00
Ivan Grokhotkov
cfe9244a96
ci: add build system test on macOS
2019-10-30 19:44:15 +01:00
Ivan Grokhotkov
058d13c351
ci: fixes for CMake build system test on macOS
2019-10-30 18:59:38 +01:00
Roland Dobai
bdb08de875
tools: Fix toolchain installer for Windows
2019-10-30 15:43:25 +01:00
Ivan Grokhotkov
a088678dd4
unit-test-app: apply sdkconfig.defaults.esp32 for Make builds
2019-10-30 10:43:38 +01:00
Ivan Grokhotkov
92d4b86182
ci: add tests for sdkconfig.defaults.IDF_TARGET
2019-10-30 10:43:37 +01:00
Ivan Grokhotkov
142e49f4cc
unit-test-app: fix chip-specific sdkconfig options
...
DEFAULT_CPU_FREQ and ULP_COPROC_ENABLED options have chip-specific
names, and should be set in a chip-specific sdkconfig.defaults file.
This commit also changes the default CPU frequency for ESP32S2 unit
tests to 240 MHz.
2019-10-30 10:41:30 +01:00
Sergei Silnov
5e6aae3e04
Fix typo and naming format for extensions
2019-10-30 10:34:17 +01:00
Sergei Silnov
1c798393e2
Add idf.py extensions and move core actions to separate files
2019-10-30 10:34:17 +01:00
Xia Xiaotian
9afba2abf5
esp_wifi: merge esp32s2beta WiFi library to master branch
2019-10-29 19:41:33 +08:00
Roland Dobai
01887f71e7
Update kconfiglib to upstream version and replace mconf-idf
...
Special thanks to @ulfalizer for the helpful suggestions regarding
kconfiglib.
"rsource" option is available for relative path includes
Closes https://github.com/espressif/esp-idf/issues/4064
2019-10-29 10:40:04 +01:00
Darian Leung
81ddd9e291
CAN: Reenable example tests
...
This commit updates the CAN example tests and updates the job
and environment labels in the target-test.yml
2019-10-29 17:25:49 +08:00
Angus Gratton
f4ea7c5a46
cmake: Set uninitialized variable warnings in ULP & bootloader subprojects
...
Fixes issue where PYTHON was not being expanded when running ulp_mapgen.py,
causing Windows launch setting to be used - reported here:
https://esp32.com/viewtopic.php?f=13&t=12640&p=50283#p50283
2019-10-29 05:38:39 +00:00
Angus Gratton
e8881352c5
secure boot: Fix bug where verification key was not embedded in app
2019-10-29 12:46:09 +11:00
Angus Gratton
6e1aa985e7
ci: Increase INT_WDT_TIMEOUT_MS for PSRAM configs
...
This shouldn't be necessary, it's a workaround for a bug
in the config system.
2019-10-28 18:58:05 +11:00
Angus Gratton
8675a818f9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-22 13:51:49 +11:00
Ivan Grokhotkov
c7d8ef52ca
Merge branch 'fix/esp_flash_no_qe' into 'master'
...
esp_flash: fix the QE write issue in high freq, and support UT for external chips
Closes IDF-888
See merge request espressif/esp-idf!5736
2019-10-20 13:59:30 +08:00
Ajita Chavan
56f73d7720
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16
...
Closes https://github.com/espressif/esp-idf/issues/4010
2019-10-19 14:56:43 +08:00
Ivan Grokhotkov
1821873a1d
Merge branch 'feature/follow_symlinks_in_spiffsgen' into 'master'
...
spiffs: follow symlinks in spiffsgen
See merge request espressif/esp-idf!6280
2019-10-18 18:49:35 +08:00
Ivan Grokhotkov
5ca7cbfcc4
Merge branch 'bugfix/ci_test_idf_monitor' into 'master'
...
CI: Adjust the test parameters of IDF Monitor tests
See merge request espressif/esp-idf!6377
2019-10-18 18:01:11 +08:00
Ivan Grokhotkov
e8af0f264c
Merge branch 'feature/cxx_rtti_preparation_v2' into 'master'
...
C++: add provisions for optional RTTI support (v2)
See merge request espressif/esp-idf!6341
2019-10-17 16:22:06 +08:00
Angus Gratton
ae21d669b9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-17 18:22:08 +11:00
Angus Gratton
0f1923ab22
Merge branch 'bugfix/o2_build_warnings' into 'master'
...
Fix -O2 build warnings
Closes IDFGH-1945 and IDFGH-1946
See merge request espressif/esp-idf!6311
2019-10-17 13:09:28 +08:00
Angus Gratton
d3157910e0
ci: Fix "local variable referenced before assignment" if connecting to DUT fails
2019-10-17 14:38:49 +11:00
Roland Dobai
0744b6fadb
CI: Adjust the test parameters of IDF Monitor
2019-10-16 12:38:47 +02:00
Angus Gratton
50cb3ad622
ci: Update unit test jobs to match master
2019-10-16 15:16:46 +11:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
Jiang Jiang Jian
b76756b5ab
Merge branch 'feature/idf_monitor_detect_port' into 'master'
...
idf_monitor: Autodetect port
Closes IDFGH-1995
See merge request espressif/esp-idf!6345
2019-10-14 22:19:56 +08:00
Michael (XIAO Xufeng)
1e1d50376b
esp_flash: add unit test for external flash and QE toggling
...
Tests for external flash chips used to controlled by macros, one bin for
one chip. And tests are done manually. This commit refactored the test
so that all 3 chips can all run in single test.
2019-10-14 17:25:58 +08:00
Angus Gratton
5ce95f2bfd
Merge branch 'bugfix/ci_weekend_test_update' into 'master'
...
CI: weekend test fixes
See merge request espressif/esp-idf!6235
2019-10-14 15:30:33 +08:00
Roland Dobai
72040f2c44
idf_monitor: Autodetect port
...
Closes https://github.com/espressif/esp-idf/issues/4191
2019-10-14 08:06:43 +02:00
Ivan Grokhotkov
e763a3a96f
ci: add test build with -O2 -NDEBUG, cleanup
2019-10-13 16:21:08 +02:00
Ivan Grokhotkov
499d087c91
C++: add provisions for optional RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
This change allows RTTI to be enabled in menuconfig. For full RTTI
support, libstdc++.a in the toolchain should be built without
-fno-rtti, as it is done now.
Generally if libstdc++.a is built with RTTI, applications which do not
use RTTI (and build with -fno-rtti) could still include typeinfo
structures referenced from STL classes’ vtables. This change works
around this, by moving all typeinfo structures from libstdc++.a into
a non-loadable section, placed into a non-existent memory region
starting at address 0. This can be done because when the application
is compiled with -fno-rtti, typeinfo structures are not used at run
time. This way, typeinfo structures do not contribute to the
application binary size.
If the application is build with RTTI support, typeinfo structures are
linked into the application .rodata section as usual.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-13 14:46:44 +02:00
Hu Chao Ru
fc018987eb
add wifi init unit test cases
2019-10-11 13:00:57 +08:00
Angus Gratton
6df8658b5b
Merge branch 'bugfix/fixes_from_kconfiglib_update' into 'master'
...
Fix of menuconfig bug for MSYS2 and a couple of cosmetic changes
See merge request espressif/esp-idf!6255
2019-10-10 11:06:29 +08:00
Ivan Grokhotkov
f8a3da024a
Merge branch 'bugfix/treat_unreg_components_as_unresolved' into 'master'
...
CMake: Treat unregistered components as unresolved
See merge request espressif/esp-idf!5700
2019-10-09 23:53:57 +08:00
Jakob Hasse
e33153f633
Added basic C++ style guide
...
* C++ style guide
* Changed headings to "Title Case"
2019-10-09 12:25:48 +08:00
Marcin Borowicz
6153a0ab62
spiffs: follow symlinks feature during partition in spiffsgen
2019-10-08 17:55:59 +08:00
Per-Olov Jernberg
6435c9f3d5
idf_monitor: Exit with CTRL+X in menu
...
Currently, the only way of exiting the idf_monitor program is to hit the CTRL+] button, if your keyboard doesn't have that key unless you hit another modifier key, it's not super trivial to exit.
This change adds the option to exit with CTRL+T (for menu) then hitting X (or CTRL+X) for exiting.
Closes https://github.com/espressif/esp-idf/pull/4167
Closes https://github.com/espressif/esp-idf/issues/4129
2019-10-08 08:15:51 +00:00
Roland Dobai
56fcafc346
Fix cmake typo
2019-10-08 08:11:53 +00:00
Roland Dobai
d24086c529
tools: Fix idf.py menuconfig characters in MSYS2
2019-10-08 08:11:53 +00:00
Ivan Grokhotkov
cf7fe34cc2
ci: fix test assignment issue, rename env tag
2019-10-03 15:00:22 +02:00
Ivan Grokhotkov
5830f529d8
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-02 19:01:39 +02:00
Roland Dobai
15857d9cbb
Handle deprecated values in sdkconfig.defaults
...
The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092
2019-10-02 16:29:25 +00:00
Ivan Grokhotkov
391d7ee4c7
examples/ext_flash_fatfs: print out data partitions, add CI test
2019-09-30 17:53:14 +02:00
David Cermak
b494ffaf5b
ci: fix test build system when using template repository from a
...
different branch then master
2019-09-30 09:54:24 +02:00
David Cermak
d735f1d58d
ci: fix weekend test confguration update per latest refactoring of
...
grouping tests
2019-09-30 09:51:41 +02:00
Ivan Grokhotkov
c496268b10
Merge branch 'feature/load_elf' into 'master'
...
Support ELF files loadable with gdb
Closes IDF-335
See merge request espressif/esp-idf!5779
2019-09-27 19:36:25 +08:00
suda-morris
7c8c9cbb68
ethernet: enable unit test
2019-09-25 11:58:16 +08:00
Roland Dobai
5a916ce126
Support ELF files loadable with gdb
2019-09-24 07:19:50 +00:00
Ivan Grokhotkov
f7cae13d2a
tools: bump windows tools installer version to v2.1
...
Includes the following changes:
80ad09f23
allow changing the installation path
(a fix for https://github.com/espressif/esp-idf/issues/3806 )
9c5284e7b
verify that IDF_PATH doesn't contain spaces
aaf3dcbda
fix quoting of IDF_TOOLS_PATH
(a fix for https://github.com/espressif/esp-idf/issues/3807 )
e6e179294
tools: update idf_exe to 1.0.1
76dc87e9a
idf_exe: fix NULL pointer passed to WriteFile
(fixes for https://github.com/espressif/esp-idf/issues/3740 )
2019-09-24 06:00:31 +02:00
Ivan Grokhotkov
c780abc6a6
tools: update Windows installer build script
...
Replace the outdated build_installer.sh with the steps used in CI,
call build_installer.sh from CI. Move the signing part into the new
script, sign_installer.sh.
2019-09-24 06:00:31 +02:00
Ivan Grokhotkov
3bbb758bc5
idf_tools.py: add workaround for PermissionError in os.rename
...
Closes https://github.com/espressif/esp-idf/issues/4063
Closes https://github.com/espressif/esp-idf/issues/3819
2019-09-24 06:00:31 +02:00
X-Ryl669
81ffc87371
idf_tools.py: pass --work-tree instead of -C option to git
...
Older versions of git do not support -C option. Use --work-tree option
instead.
Closes https://github.com/espressif/esp-idf/issues/4018
Merges https://github.com/espressif/esp-idf/pull/4019
2019-09-24 06:00:31 +02:00
Ivan Grokhotkov
6a9288bc73
Merge branch 'bugfix/IDF-306' into 'master'
...
Installer: support for WD exclusions (IDF Tools)
See merge request espressif/esp-idf!6062
2019-09-24 11:59:00 +08:00
Martin Vychodil
a3a130d0d6
Installer: support for WD exclusions (IDF Tools)
...
JIRA IDF-306
2019-09-23 14:42:32 +02:00
Angus Gratton
f991f812ab
unit test: Fix bug in idf.py ut-apply-config- targets
...
Bug was this sequence:
1. old sdkconfig file has some settings (maybe target=esp32s2beta)
2. idf.py builds a new sdkconfig.defaults file with full new settings
3. new settings includes something that conflicts with the old settings (for example,
CONFIG_IDF_TARGET=esp32 and BT_ENABLE=y)
4. confgen tries to apply the new "defaults" to the existing sdkconfig, settings end up a mix of both due to the conflicts
Fix is to generate the sdkconfig file directly.
2019-09-23 06:26:49 +02:00
Angus Gratton
a68b400b9a
Merge branch 'refactor/update_spi_ethernet_api' into 'master'
...
ethernet: update spi ethernet api
See merge request espressif/esp-idf!6123
2019-09-20 18:15:25 +08:00
KonstantinKondrashov
db84ba868c
efuse: Add support for esp32s2beta
...
Updated:
- CI test_esp32s2beta_efuse_table_on_host.
- efuse_table_gen.py.
- esp_efuse_table.csv file and generated headers files.
- splitted esp32 and esp32s2beta parts.
- unit tests and api efuse.
2019-09-20 16:59:46 +10:00
Angus Gratton
adfc06a530
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-20 10:28:37 +10:00
Angus Gratton
01a8e566b8
Merge branch 'bugfix/cmake_case_insenstive_filesystem' into 'master'
...
cmake: Account for IDF_PATH case mismatches on case insensitive filesystems
See merge request espressif/esp-idf!6137
2019-09-19 19:33:36 +08:00
suda-morris
dc5b8a9a8f
ethernet: test apps can build with ethernet disabled
2019-09-19 09:41:21 +00:00
Angus Gratton
b48daafb0c
Merge branch 'fix/nimble_example_test' into 'master'
...
nimble_example_test: Fix BlePeripehral Test thread stuck issue
See merge request espressif/esp-idf!5510
2019-09-19 11:11:08 +08:00
Angus Gratton
36ba5bc5ee
cmake: Account for IDF_PATH case mismatches on case insensitive filesystems
2019-09-19 12:30:52 +10:00
Ivan Grokhotkov
bf68285689
Merge branch 'feature/compile_option_O0' into 'master'
...
build_system: add new compiler optimization levels
See merge request espressif/esp-idf!5686
2019-09-17 16:54:55 +08:00
Angus Gratton
44c89c0e9f
Merge branch 'bugfix/idf_py_dependent_tasks' into 'master'
...
idf.py: Fix execution order for dependent tasks
Closes IDF-901 and IDFGH-1710
See merge request espressif/esp-idf!5859
2019-09-17 16:26:25 +08:00
Angus Gratton
96b96ae244
Merge branch 'bugfix/cmake_component_names' into 'master'
...
CMake: Component name related bugfixes
See merge request espressif/esp-idf!5921
2019-09-17 11:16:25 +08:00
Sergei Silnov
1faa69a01b
idf.py: Fix execution order for dependent tasks
...
Closes https://github.com/espressif/esp-idf/issues/3948
Add tests for idf.py
Move param check from cmake to idf_py test
Refactor task processing for idf.py
Add code comments
Fix an issue when options for dependent tasks are ignored
Add check for dupes in command list
2019-09-16 22:48:57 +08:00
Sergei Silnov
2d03af30ab
Add idf.py --version option
...
Update docs on how to check IDF version
Show dependencies check information only in verbose mode
2019-09-16 20:32:26 +08:00
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
Sergei Silnov
c57dfbc0b8
python: Fix yaml.load warnings
...
Since pyyaml 5.1 yaml.load without specifing loader is deprecated
Details: https://msg.pyyaml.org/load
To keep code compatible with older versions of pyyaml
and keep best perfomance CLoader with fallback to Loader is used.
2019-09-13 10:29:38 +00:00
Shivani Tipnis
8ee727fb9a
nimble_test: Fix nimble example test CI
2019-09-13 08:18:43 +00:00
Angus Gratton
d6b39a8f9d
Merge branch 'bugfix/use_local_kconfiglib' into 'master'
...
Use kconfiglib from $IDF_PATH/tools/kconfig_new
See merge request espressif/esp-idf!6078
2019-09-13 14:46:42 +08:00
Angus Gratton
146a0f8e14
Merge branch 'feature/idf_py_depeprecation_parameter_flag' into 'master'
...
idf.py: Add support for deprecation of command/options
See merge request espressif/esp-idf!5433
2019-09-13 14:30:27 +08:00
Angus Gratton
49698e15f3
docs: Don't build any docs for the esp32s2beta component
...
Re-enable failing CI for warnings in the docs build
This config hack can be removed once IDF-523 is implemented.
2019-09-13 14:08:21 +10:00
Roland Dobai
1dcdc56a7f
Use kconfiglib from $IDF_PATH/tools/kconfig_new
2019-09-11 14:30:31 +02:00
Wang Fang
bea507378e
Add Chinese translation for README files in components and tools folders, including:
...
1. components/nvs_flash/nvs_partition_generator/README_CN.rst
2. components/wear_levelling/README_CN.rst
3. tools/mass_mfg/docs/README_CN.rst
2019-09-06 20:18:19 +08:00
Andrew
4fdaeb6b6e
cmake: Add new compiler optimization levels definitions
...
Rename and add multiple kconfig compiler options. New compiler options
COMPILER_OPTIMIZATION_PERF and COMPILER_OPTIMIZATION_NONE have been added.
Optimize "Debug" and "Release" options to "Default" and "Size" respectively.
This commit also does the following:
- The COMPILER_OPTIMIZATION_PERF option introduced multiple bug.
This commit fixes those bugs.
- build.yml also updated to test for the new optimization options.
2019-09-06 17:37:19 +08:00
Michael (XIAO Xufeng)
852ccd127a
ci: switch to use cmake as build system for example test
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
76a3a5fb48
ci: disable unavailable tests for esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
eb158e9a22
ci: disable UTs for esp32s2beta without runners
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
eac802357a
ci: support build esp32s2beta UT
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
3a9ae4acc6
ci: pass target from build stage to unit test
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
4558824150
IDFDUT: seperate into different classes
...
The DUT should be created as the correct sub classes. This can be done
in the config file (UT_xxx_x.yml) Filter
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
1f580e3f0e
idf.py add support for esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
5b6bd40bc6
idf_py: support new command set-target
...
Instead of using -DIDF_TARGET, this command is more intuitive:
1. Can limit the choice of targets
2. Easy to understand this is a destructive command
3. Easy to remember, and have an entry in the --help menu
2019-09-04 10:53:25 +10:00
Angus Gratton
b08dcefafb
Merge branch 'bugfix/idf_py_ccache_options' into 'master'
...
idf.py: Add way to enable CCache by default, remove dead CCache options code
Closes IDF-948
See merge request espressif/esp-idf!5971
2019-09-03 12:56:20 +08:00
Angus Gratton
5b9576e282
Merge branch 'bugfix/hide_component_internal_targets' into 'master'
...
cmake: hide component internal targets
See merge request espressif/esp-idf!5866
2019-09-03 09:24:34 +08:00
Angus Gratton
002104b262
Merge branch 'bugfix/err_code_collision' into 'master'
...
Fix error code collisions and re-enable CI check
Closes IDF-832
See merge request espressif/esp-idf!5923
2019-09-03 08:30:40 +08:00
Angus Gratton
9a7ab28cc2
idf.py: Add environment variable to enable ccache by default
2019-09-03 10:25:28 +10:00
Angus Gratton
9134643807
idf.py: Remove dead code around ccache base dir
2019-09-02 10:56:43 +10:00
Angus Gratton
f4763a3e1a
Merge branch 'bugfix/idf_py_fix_property_dict' into 'master'
...
idf.py: Fix PropertyDict implementation
See merge request espressif/esp-idf!5775
2019-09-02 08:51:13 +08:00
Angus Gratton
a7e8d87d3e
Merge branch 'bugfix/error_out_on_uninit_git' into 'master'
...
cmake: fix build failure when git repo is initialized but no first commit
Closes IDFGH-1676
See merge request espressif/esp-idf!5914
2019-08-30 16:27:28 +08:00
Roland Dobai
612db28b6f
Fix error code collision and CI check
2019-08-29 08:14:08 +00:00
Angus Gratton
1c7aff809d
Merge branch 'bugfix/test_esp_efuse_table_on_host' into 'master'
...
CI: Fix path in the Efuse table test
See merge request espressif/esp-idf!5924
2019-08-29 10:15:47 +08:00
Angus Gratton
ec3510854f
Merge branch 'bugfix/pass_esp_platform_to_early_expansion' into 'master'
...
CMake: Pass ESP_PLATFORM to early expansion
See merge request espressif/esp-idf!5932
2019-08-29 10:09:51 +08:00
Renz Christian Bagaporo
ba2ec73d59
cmake: fix build failure when git repo is initialized but no first commit
...
Closes https://github.com/espressif/esp-idf/issues/3920
2019-08-28 09:53:37 +08:00
Per Malmberg
31cdd38744
Make sure ESP_PLATFORM is defined when processing CMake files.
2019-08-28 09:44:06 +08:00
Renz Christian Bagaporo
826568a120
cmake: introduce BUILD_COMPONENT_ALIASES
...
This commit makes it so that BUILD_COMPONENT holds only the component,
and a new property BUILD_COMPONENT_ALIASES hold the full name of the
component.
This also removes erroneous check for duplicate components, as this can
never happen:
(1) if two components have the same name but different prefixes,
the internal names are still unique between them
(2)if two components happen to have the same name and same prefix, the
latter would override the former
2019-08-27 20:40:29 +08:00
Roland Dobai
474f6d9d98
Fix path in the Efuse table test
2019-08-27 11:58:45 +02:00
Renz Christian Bagaporo
88320062b8
cmake: make build components available before immediately
...
Previous implementation only builds list of components included in the
build during component registration.
Since the build components is known as the requirements expansion is
ongoing, update the list here instead.
2019-08-27 15:24:31 +08:00
Roland Dobai
f2a4131c24
Tools: Fix shebang for MacOs
...
Revert a change introduced in d296aad2a9
for intended compatibility with BSD which breaks the build on MacOs:
"clang: error: unknown argument: '-n'" for "echo".
BSD users will have to use some workaround since MacOs is a supported
OS of IDF and BSD is not.
2019-08-26 13:53:52 +02:00
Ivan Grokhotkov
aa087667df
Merge branch 'bugfix/add_openocd_arm' into 'master'
...
Tools: Add OpenOCD for the ARM architecture
See merge request espressif/esp-idf!5878
2019-08-26 19:36:22 +08:00
Mahavir Jain
8e7c71a1a0
Merge branch 'bugfix/cmake_src_exclude_issue' into 'master'
...
cmake: fix issue with handling of EXCLUDE_SRCS
See merge request espressif/esp-idf!5869
2019-08-23 14:21:16 +08:00
Ivan Grokhotkov
12c9d9a564
spi_flash: remove duplicate definition of spi_flash_unlock
...
The other (static) definition is in flash_ops.c, all references are
also in flash_ops.c.
2019-08-23 12:37:55 +08:00
Roland Dobai
8bf1ef2bfe
Tools: Add OpenOCD for the ARM architecture
2019-08-22 16:51:04 +02:00
suda-morris
5a09de8245
cbor: add tinycbor library and example
2019-08-22 17:44:29 +08:00
Mahavir Jain
1248f17749
cmake: fix issue with handling of EXCLUDE_SRCS
2019-08-22 13:17:44 +05:30
Angus Gratton
f85ba3516f
Merge branch 'bugfix/fix_project_ver_issue' into 'master'
...
CMake: fix retrieving PROJECT_VER
See merge request espressif/esp-idf!5842
2019-08-22 10:47:06 +08:00
Renz Christian Bagaporo
72ddc940e0
cmake: hide internal targets
...
Use imported library, which does not create additional rules, but still
allows attaching arbitraty properties instead of custom targets. This
allows the targets to not appear in the target list of IDEs such as
CLion.
2019-08-22 09:39:24 +08:00
Angus Gratton
fe376f9f04
Merge branch 'bugfix_kconfig_deps_missing' into 'master'
...
kconfig: Add -MP option so .d files include empty targets
See merge request espressif/esp-idf!5820
2019-08-21 16:19:59 +08:00
Angus Gratton
5a3bad6119
Merge branch 'feature/freebsd_build_system' into 'master'
...
build systems: Changes to work on FreeBSD
Closes IDFGH-1657
See merge request espressif/esp-idf!5821
2019-08-21 16:18:47 +08:00
Renz Christian Bagaporo
4690152eca
cmake: make default version 1
2019-08-21 12:46:38 +08:00
Renz Christian Bagaporo
3eecd43b31
cmake: fix issue with checking build process args
2019-08-21 12:20:46 +08:00
Sergei Silnov
58418c790a
idf.py: Add support for deprecation of command/options
2019-08-20 16:10:25 +02:00
Angus Gratton
60eec0e969
Merge branch 'bugfix/set_mconf_idf_build_dir' into 'master'
...
cmake: set build dir for mconf-idf
See merge request espressif/esp-idf!5819
2019-08-20 13:10:36 +08:00
Angus Gratton
60d46f9795
Merge branch 'feat/idf_py_set_target' into 'master'
...
idf_py: support new command set-target
See merge request espressif/esp-idf!5785
2019-08-20 12:30:50 +08:00
Angus Gratton
0a0bb09585
Merge 'master' into feature/esp32s2beta_update
2019-08-20 13:55:23 +10:00
Tomoyuki Sakurai
d296aad2a9
build systems: Changes to work on FreeBSD
...
Merges https://github.com/espressif/esp-idf/pull/2029
2019-08-19 15:33:55 +10:00
Angus Gratton
450a29e8ba
Merge branch 'feature/cmake_check_mconf_version' into 'master'
...
cmake: check mconf-idf binary version
Closes IDF-835
See merge request espressif/esp-idf!5799
2019-08-19 13:08:33 +08:00
Angus Gratton
701ec9dae0
Merge branch 'feat/idf_monitor_event_queue_block' into 'master'
...
idf_monitor: fix the bug that idf_monitor not blocked when no log printed
See merge request espressif/esp-idf!5805
2019-08-19 13:06:31 +08:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Angus Gratton
74be271f62
kconfig: Add -MP option so .d files include empty targets
...
Prevents make-level errors when switching IDF versions, as headers may be removed.
Similar to some mentioned here:
https://github.com/espressif/esp-idf/issues/712
2019-08-19 11:42:39 +10:00
Michael (XIAO Xufeng)
026ec388a6
idf_py: support new command set-target
...
Instead of using -DIDF_TARGET, this command is more intuitive:
1. Can limit the choice of targets
2. Easy to understand this is a destructive command
3. Easy to remember, and have an entry in the --help menu
2019-08-17 00:06:14 +08:00
Michael (XIAO Xufeng)
24f91617d7
idf_monitor: fix the bug that idf_monitor not blocked when no log printed
...
Inspired by @no1seman, @negativekelvin and @pglen on Github. (In post oder)
Resolves https://github.com/espressif/esp-idf/issues/3884
2019-08-16 17:56:51 +08:00
Renz Christian Bagaporo
ded0ac352d
cmake: set build dir for mconf-idf
...
Fixes an issue where if idf_build_process is called in a CMake
subdirectory, menuconfig looks for the mconf-idf binary in the wrong
place (in the subdirectory build dir instead of root binary dir).
2019-08-16 17:46:50 +08:00
Angus Gratton
423fb9573b
confserver: Fix NamedTemporaryFile use on Windows
...
Can't have the file open twice, so need to close and delete after reopening.
2019-08-16 19:24:37 +10:00
Ivan Grokhotkov
74fe282b73
cmake: check mconf-idf binary version
...
Print a warning if an outdated version of mconf-idf is found in
the PATH.
2019-08-15 17:25:26 +02:00
Angus Gratton
ee6b1399aa
Merge branch 'feature/exclude_rom_from_example_header_files' into 'master'
...
exclude rom headers in examples
Closes IDF-557
See merge request espressif/esp-idf!5051
2019-08-15 10:50:01 +08:00
Angus Gratton
f8b1ef1b14
ci: kconfig rules: Allow any file starting with KConfig.* to be sourced
2019-08-14 16:50:30 +10:00
Sergei Silnov
5b9e38fe4e
idf.py: Fix PropertyDict implementation
2019-08-13 11:35:51 +02:00
Ivan Grokhotkov
0a74227cfa
bump version to 4.1
2019-08-13 10:09:52 +02:00
Angus Gratton
f58d2ea34d
esp32s2: Add SUPPORTED_TARGETS for remaining bluetooth examples
2019-08-13 17:14:16 +10:00
Angus Gratton
9a3606781f
ci: Lower limit for number of examples (S2 Beta has 81 right now)
2019-08-13 17:14:16 +10:00
suda-morris
b1497f2187
exclude rom headers in examples
...
1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component
2019-08-13 11:10:22 +08:00
Angus Gratton
5e39718c22
Merge branch 'bugfix/component_set_properties' into 'master'
...
CMake: Set component properties
See merge request espressif/esp-idf!5738
2019-08-13 10:23:30 +08:00
Angus Gratton
b0ef3cdc9f
Merge branch 'bugfix/check_include_dirs' into 'master'
...
CMake: Check if component include dirs are directories
See merge request espressif/esp-idf!5701
2019-08-12 12:45:11 +08:00
Renz Christian Bagaporo
87ebdaa74e
cmake: set component properties
2019-08-09 20:51:20 +08:00
Angus Gratton
01f7e7cc16
Merge branch 'bugfix/confgen_sdkconfig_renames' into 'master'
...
tools: Support sdkconfig.rename files from outside IDF in confgen.py
Closes IDF-659
See merge request espressif/esp-idf!5551
2019-08-09 14:21:19 +08:00
Renz Christian Bagaporo
08de39c226
cmake: check include directories
2019-08-09 08:40:17 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Renz Christian Bagaporo
4df98b5489
cmake: treat unregistered components as unresolved
2019-08-06 11:14:44 +08:00
suda-morris
3753283ef3
idf_tool: fix unicode decode error
...
Closes https://github.com/espressif/esp-idf/issues/3841
2019-08-06 10:31:34 +08:00
Angus Gratton
ac5508efd5
Merge branch 'feature/idf_monitor_key_piority' into 'master'
...
idf_monitor: improve the responding of console commands
See merge request espressif/esp-idf!5585
2019-08-05 09:55:45 +08:00
Anton Maklakov
12403e39b4
tools: Fix the build examples script to run locally
2019-08-01 16:28:56 +07:00
Ivan Grokhotkov
e8191912c8
Add -Wstrict-prototypes check in CI
2019-08-01 16:28:56 +07:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Anton Maklakov
50629eec27
tools: Add a script to fix up empty prototypes
2019-08-01 16:28:55 +07:00
Michael (XIAO Xufeng)
a2155ff52d
idf_monitor: improve the responding of console commands
2019-08-01 11:55:42 +08:00
Angus Gratton
3b42e173e9
Merge branch 'maint/update_tool_openocd-v0.10.0-esp32-20190708' into 'master'
...
tools: Update recommended OpenOCD version to v0.10.0-esp32-20190708
See merge request espressif/esp-idf!5565
2019-07-30 12:51:05 +08:00
Angus Gratton
8dbe1f024e
Merge branch 'bugfix/pthread_fixes' into 'master'
...
pthread fixes
Closes IDFGH-1437
See merge request espressif/esp-idf!5646
2019-07-30 09:41:31 +08:00
Angus Gratton
477c7bb789
Merge branch 'feature/idf_tools_installer_ci' into 'master'
...
Build Windows tools installer in CI
Closes IDF-201
See merge request espressif/esp-idf!5583
2019-07-29 19:16:18 +08:00
Ivan Grokhotkov
b1bb90a596
Merge branch 'bugfix/partition_tables_update_note' into 'master'
...
global: update note in the partition tables
See merge request espressif/esp-idf!5636
2019-07-29 19:00:44 +08:00
Ivan Grokhotkov
6cff19adb6
ci: add jobs to build idf_exe, cmdlinerunner, tools installer
2019-07-29 06:13:52 +02:00
Ivan Grokhotkov
3c63f49591
examples: remove non-existent options from sdkconfig.defaults
2019-07-29 04:57:38 +02:00
Ivan Grokhotkov
e9de7b1df3
pthread: remove ESP32_ prefix from Kconfig options
...
pthread implementation is not chip-specific, so this prefix is not
needed.
2019-07-29 04:43:49 +02:00
Ivan Grokhotkov
3e17c69e4f
tools: idf_tools.py: allow downloading for a different platform
2019-07-28 07:27:00 +02:00
Ivan Grokhotkov
26800ed71e
global: update note in the partition tables
...
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.
2019-07-27 10:28:16 +02:00
Ivan Grokhotkov
842432fb65
Merge branch 'bugfix/dont_rerun_reconfig_on_tests' into 'master'
...
Don't re-run reconfig on tests executed with same parameters
Closes IDF-732
See merge request espressif/esp-idf!5335
2019-07-25 12:24:03 +08:00
Ivan Grokhotkov
80ad09f230
tools: installer: allow changing installation path
...
Installation path can now be changed in a subsequent install,
without uninstalling and logging out.
The default value of the installation path is set to
IDF_TOOLS_PATH environment variable, if it was already set by the
previous installation, or by the user.
Closes https://github.com/espressif/esp-idf/issues/3806
2019-07-24 06:44:30 +02:00
Sergei Silnov
e36a76d940
idf_ext.py: don't rerun reconfig for tests when possible
2019-07-23 16:15:33 +02:00
Ivan Grokhotkov
1271008dd8
tools: tools.json: don't require ulp-binutils and openocd on x86 Linux
...
Fixes https://esp32.com/viewtopic.php?f=13&t=11540
2019-07-23 06:57:36 +02:00
Ivan Grokhotkov
b70ac4deb7
tools: idf_tools.py: improve error message when no downloads found
...
...for the given platform.
Previously would raise AssertionError.
2019-07-23 06:55:30 +02:00
Ivan Grokhotkov
9c5284e7b5
tools: installer: verify that IDF_PATH doesn't contain spaces
2019-07-22 09:29:49 +02:00
Ivan Grokhotkov
aaf3dcbda0
tools: installer: fix quoting of IDF_TOOLS_PATH
...
IDF_TOOLS_PATH may contain spaces, so needs to be properly quoted.
Closes https://github.com/espressif/esp-idf/issues/3807
2019-07-22 09:29:49 +02:00
Ivan Grokhotkov
024176c509
ci: build IDF docker image in CI
2019-07-18 06:18:04 +00:00
Ivan Grokhotkov
dd443f61e8
tools: add Dockerfile
2019-07-18 06:18:04 +00:00
Alexey Gerenkov
e9faf132b4
tools: Update recommended OpenOCD version to v0.10.0-esp32-20190708
2019-07-17 13:11:24 +00:00
Roland Dobai
bd21960955
tools: Support sdkconfig.rename files from outside IDF in confgen.py
2019-07-16 20:18:19 +02:00
Angus Gratton
56afdedf7c
Merge branch 'bugfix/do_not_require_new_target_link_library_signature' into 'master'
...
CMake: Do not force use of new target_link_libraries signature
See merge request espressif/esp-idf!5471
2019-07-16 13:36:35 +08:00
Renz Christian Bagaporo
d3e814fe19
cmake: set COMPONENT_DIR in early expansion
...
Gives same treatment to COMPONENT_DIR as COMPONENT_PATH in
https://gitlab.espressif.cn:6688/espressif/esp-idf/merge_requests/4557
Closes https://github.com/espressif/esp-idf/issues/3771
2019-07-12 16:22:18 +08:00
Ivan Grokhotkov
1ea68e6093
Merge branch 'feature/build_example_make_on_trigger' into 'master'
...
ci: don't build examples with Make in regular jobs
See merge request espressif/esp-idf!5498
2019-07-11 13:59:15 +08:00
He Yin Ling
663ed11509
unit-test-app: use stripped config name in test case ID:
...
We could split cases of same config into multiple binaries as we have limited rom space. So we should regard those configs like `default` and `default_2` as the same config.
2019-07-11 10:01:05 +08:00
Ivan Grokhotkov
edd7f90b77
ci: don't build examples with Make on pushes
...
Still build the examples with make on:
- triggered pipelines
- master, release branches, tags
- scheduled and manual (web) pipelines
2019-07-10 17:16:53 +02:00
Ivan Grokhotkov
56e3f2780d
ci: add unit test job
2019-07-10 22:44:11 +08:00
Ivan Grokhotkov
41b6811f45
unit-test-app: split default, release, single_core configs
2019-07-10 22:44:11 +08:00
Ivan Grokhotkov
847e00d17b
Merge branch 'bugfix/idf_exe_crash' into 'master'
...
tools: fix idf.py.exe crash on Windows 7
Closes IDFGH-1471
See merge request espressif/esp-idf!5484
2019-07-10 16:20:13 +08:00
Ivan Grokhotkov
e6e1792946
tools: update idf_exe to 1.0.1
2019-07-09 14:15:09 +02:00
Ivan Grokhotkov
15bcb79712
idf_exe: bump version to 1.0.1
2019-07-09 14:15:09 +02:00
Ivan Grokhotkov
76dc87e9ad
idf_exe: fix NULL pointer passed to WriteFile
...
For an unknown reason, passing NULL pointer instead of &written worked
on Windows 10 and on Windows 7 when stdout is not redirected.
Closes https://github.com/espressif/esp-idf/issues/3740
2019-07-09 14:15:09 +02:00
Ivan Grokhotkov
896d675248
idf_tools.py: add another platform string to handle Windows x86
2019-07-09 14:11:19 +02:00
Angus Gratton
6410f7a259
cmake: Fix some bugs building mconf-idf from scratch
...
- Makefile didn't quite work with out-of-tree build unless there was already an in-tree build done.
- CMake needs to delete some of the in-tree build artifacts or they're used instead of the correct
files.
2019-07-09 20:02:44 +08:00
Angus Gratton
222146845c
docs: Make CMake build system default, mark GNU Make as legacy option
...
All `-cmake` suffixes are removed
Where a GNU Make option is renamed, the `-legacy` suffix is used
2019-07-09 14:32:26 +10:00
Renz Christian Bagaporo
2a5b02097b
cmake: do not force use of new signature for target_link_libraries
2019-07-08 19:43:57 +08:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Angus Gratton
c3cc096af0
Merge branch 'ci/cmake_examples_multichip_support' into 'master'
...
ci: multichip build support for examples
See merge request espressif/esp-idf!5384
2019-07-08 12:29:25 +08:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
Roland Dobai
f3d6219c46
tools: Fix indentation in confgen.py
2019-07-06 09:17:31 +02:00
Mahavir Jain
46c8497f01
Merge branch 'bugfix/prov_tool_desc_readme' into 'master'
...
esp_prov : Minor refactoring in argument dependent logic and other changes
See merge request espressif/esp-idf!5430
2019-07-05 17:18:32 +08:00
Michael (XIAO Xufeng)
181fd70a9a
ci: multichip build support for examples
2019-07-05 17:06:25 +08:00
Anton Maklakov
c9cf0afb6e
tools: Add a script for switching to real submodules in forks
2019-07-05 11:12:06 +07:00
Shivani Tipnis
cc75721f9c
mfg_util: Optimise by adding subparser changes w.r.t similar changes in nvs util changes
2019-07-05 01:13:27 +00:00
Shivani Tipnis
bfd1eeefa2
Add NimBLE bleprph,blecent,blehr example tests
2019-07-05 08:14:04 +08:00
Ivan Grokhotkov
cd89182458
Merge branch 'bugfix/confgen_avoid_write_to_conf' into 'master'
...
tools: avoid using directly _write_to_conf from Kconfiglib
Closes IDFGH-1246
See merge request espressif/esp-idf!5423
2019-07-04 22:36:23 +08:00
Ivan Grokhotkov
564dbabf49
Merge branch 'bugfix/confgen_hex_value' into 'master'
...
tools: Fix hex parsing in confgen.py
Closes IDFGH-1273
See merge request espressif/esp-idf!5439
2019-07-04 22:35:54 +08:00
Anurag Kar
61923d37b6
esp_prov : Minor refactoring in argument dependent logic
...
Other changes:
* Command line argument name and descriptions updated and formatted
* Some exception messages updated for clarity
* READMEs updated for tool and all provisioning examples
* Minor update in example test scripts due to change in esp_prov.get_transport() API
* Transport_HTTP now forces connect on initialization
2019-07-04 15:02:07 +05:30
Roland Dobai
510042160d
tools: avoid using directly _write_to_conf from kconfiglib
...
Closes https://github.com/espressif/esp-idf/issues/3543
2019-07-04 10:35:34 +02:00
Roland Dobai
3bd4003e98
tools: Fix hex parsing in confgen.py
...
Closes https://github.com/espressif/esp-idf/issues/3568
2019-07-04 10:35:03 +02:00
He Yin Ling
a626061f3c
tools: fix exception in checkout ref script:
...
decode bytes before searching with RegEx
2019-07-04 16:31:35 +08:00
He Yin Ling
9ecd0436f5
tools: fix idf_tools.py exception with python3
...
use `subprocess.Popen` when catch TypeError:
```
Traceback (most recent call last):
File "tools/idf_tools.py", line 1249, in <module>
main(sys.argv[1:])
File "tools/idf_tools.py", line 1245, in main
action_func(args)
File "tools/idf_tools.py", line 1038, in action_install
tool_obj.find_installed_versions()
File "tools/idf_tools.py", line 468, in find_installed_versions
ver_str = self.check_version()
File "tools/idf_tools.py", line 426, in check_version
version_cmd_result = run_cmd_check_output(cmd, None, extra_paths)
File "tools/idf_tools.py", line 176, in run_cmd_check_output
result = subprocess.run(cmd, capture_output=True, check=True, input=input_text)
File "/opt/pyenv/pyenv-1.2.6/versions/3.5.5/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'
```
2019-07-04 15:06:00 +08:00
Angus Gratton
533c080bc1
Merge branch 'bugfix/cmake_mconf_build' into 'master'
...
cmake: Fix some bugs building mconf-idf from scratch
See merge request espressif/esp-idf!5413
2019-07-04 13:38:20 +08:00
Ivan Grokhotkov
b293518ec7
Merge branch 'feature/optimize_ci_config_file' into 'master'
...
CI: use features from latest Gitlab in CI config file
See merge request idf/esp-idf!4896
2019-07-04 10:56:45 +08:00
Mahavir Jain
28f1cdf5ed
Merge branch 'feature/local_ctrl_no_sec' into 'master'
...
ESP Local Ctrl Feature Added
See merge request idf/esp-idf!5348
2019-07-04 00:45:29 +08:00
Anurag Kar
b75f8b1b20
ESP Local Control Feature Added
...
List of changes:
* New component esp_local_ctrl added
* Example added under examples/protocols/esp_local_ctrl
* Documentation added under protocols/esp_local_ctrl
* Demo client side app esp_local_ctrl.py added under examples/protocols/esp_local_ctrl/scripts
* protocomm_ble : protocomm_ble_config_t given struct name for allowing forward declaration
* esp_prov/transport_softap renamed to transport_http
* transport_http module supports verification of server certificate
* transport_http module performs name resolution before connection
2019-07-03 21:31:04 +05:30
He Yin Ling
e390dd3eab
CI: use include
to split large CI config file
2019-07-03 16:59:50 +08:00
He Yin Ling
6eca80a989
CI: try to use the correct branch of other projects used in CI:
...
1. revision defined in bot message
2. branch name (or tag name) of current IDF
3. CI_MERGE_REQUEST_TARGET_BRANCH_NAME
4. branch name parsed from `git describe`
5. default branch
2019-07-03 16:53:34 +08:00
He Yin Ling
81dd9d4e27
CI: use parallel attribute in CI config file
2019-07-03 16:53:34 +08:00
Angus Gratton
2639d5b6c3
cmake: Fix some bugs building mconf-idf from scratch
...
- Makefile didn't quite work with out-of-tree build unless there was already an in-tree build done.
- CMake needs to delete some of the in-tree build artifacts or they're used instead of the correct
files.
2019-07-03 18:40:55 +10:00
Sergei Silnov
b7ca18edcd
idf.py Run reconfigure on ccache option change.make --no-ccache default
2019-07-02 13:37:55 +02:00
Ivan Grokhotkov
22dfac7405
mconf-idf: update to v4.6.0.0-idf-20190603
2019-07-01 18:08:02 +02:00
Ivan Grokhotkov
4f5f30d37d
tools: add fallback tools.json for IDF v3.x
2019-07-01 18:08:02 +02:00
Ivan Grokhotkov
04d24c750a
tools: new installer for Windows
2019-07-01 18:08:02 +02:00
Ivan Grokhotkov
12b6da0388
tools: {install,export}.{bat,sh} tools
2019-07-01 14:51:44 +02:00
Ivan Grokhotkov
3d866694c9
tools.json: add idf.py.exe
2019-07-01 14:51:44 +02:00
Ivan Grokhotkov
916c0c5754
idf.py.exe wrapper program for Windows
2019-07-01 14:51:43 +02:00
Ivan Grokhotkov
1a2bf4d8ff
idf_tools: print additional info when download verification fails
2019-07-01 14:51:43 +02:00
Angus Gratton
f8d2188e93
Merge branch 'bugfix/win_flash_app_cmd' into 'master'
...
tools: Accept CTRL-T + A for app-flash in idf_monitor
Closes IDF-736
See merge request idf/esp-idf!5376
2019-07-01 15:51:44 +08:00
Angus Gratton
9ef37270f6
Merge branch 'bugfix/make_ccache_opt_in' into 'master'
...
cmake: make use of ccache opt-in
See merge request idf/esp-idf!5368
2019-07-01 15:48:31 +08:00
Angus Gratton
f1e07663c4
cmake: Use environment variables file for all config binaries
2019-07-01 15:54:27 +10:00
Angus Gratton
26db058339
cmake kconfig: Pass environment variables to confgen.py via a file
...
Works around "command line too long" errors when using Windows
and CMake < 3.11
Closes IDF-711
2019-07-01 15:54:10 +10:00
Angus Gratton
bd69998516
mconf-idf: Use same 'simple expand' logic, same as kconfig-frontends
...
Previously, wordexp() was used. However for providing Windows builds
of mconf-idf we can't use wordexp() so we use this simplified
environment variable expansion code instead.
The reasoning here is to make the behaviour consistent across Windows
(CMake vs GNU Make), Linux & macOS mconf.
2019-07-01 00:38:55 +00:00
Renz Christian Bagaporo
72a5762525
cmake: make use of ccache opt-in
2019-06-29 00:22:57 +00:00
Ivan Grokhotkov
39a5fbdfee
Merge branch 'bugfix/idf_py_fix_subcommand_options' into 'master'
...
idf.py: Fix subcommand options
Closes IDF-740
See merge request idf/esp-idf!5386
2019-06-29 00:15:13 +08:00
Ivan Grokhotkov
dcd5e9cf08
Merge branch 'bugfix/ci_fix_mirror-submodule-update' into 'master'
...
tools: Keep script behaviour
See merge request idf/esp-idf!5362
2019-06-28 23:57:14 +08:00
Sergei Silnov
56db269fb5
idf.py: Fix subcommand options
2019-06-28 10:07:38 +02:00
Angus Gratton
265d7dc4e5
Merge branch 'bugfix/fix_secure_boot_support' into 'master'
...
Fixes to secure boot support in CMake
See merge request idf/esp-idf!4977
2019-06-28 15:38:59 +08:00
Angus Gratton
d9ca915fa4
Merge branch 'bugfix/cmake_project_vars_not_set_by_redefinition' into 'master'
...
cmake: set variables set by project call
See merge request idf/esp-idf!5187
2019-06-28 15:31:10 +08:00
Xia Xiaotian
99ef587a05
run WiFi on ESP32SBETA
2019-06-28 11:34:49 +08:00
Anton Maklakov
e5de1991d4
tools: Keep script behaviour
2019-06-28 10:05:31 +07:00
Renz Christian Bagaporo
67909fe2a0
ci: test fail on build time works
2019-06-28 10:54:21 +08:00
Renz Christian Bagaporo
e4a4063e4c
cmake: fix issue with fail at build time
...
Fix issue that next build retry does not succeed once the requirement is
satisfied.
2019-06-28 10:54:21 +08:00
Roland Dobai
f56b7d4a1d
tools: Accept CTRL-T + A for app-flash in idf_monitor
...
"CTRL-A" cannot be captured in Windows command line, so "A" can be used
instead.
2019-06-27 12:21:09 +02:00
Sergei Silnov
aecd0f9ae4
Add subcomand options that become global
2019-06-26 10:00:21 +02:00
Sergei Silnov
afc30b09bc
idf.py: Add positional arguments to subcommands
2019-06-26 10:00:21 +02:00
Anurag Kar
9c0ee28670
wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager
...
List of changes in components/wifi_provisioning:
* Manager version is now v1.1
* .proto files and protocomm handler added for sending Wi-Fi scan command and receiving scan results
* Implemented handlers for wifi_scan protocomm endpoint
* Update manager context data structure to hold scan state and results
* scheme_softap now runs Wi-Fi in APSTA mode
* Wi-Fi is started in AP mode when provisioning is started. This is necessary for scan list to work
* Docs updates with information about new wifi_scan endpoint
List of changes in tools/esp_prov:
* Added functions for sending and receiving protobuf messages compatible with wifi_scan protocomm endpoint
* Added feature to display/refresh scan results and accept user selection at runtime
* New functions:
* get_version() : only returns the protocol version string
* has_capability() : check is a capability is present according to proto-ver response
* wifi_scan feature is provided only if the `wifi_scan` capability is present
Other changes:
* Replace recursive mutex with plain mutex
* assert on return value of mutex give / take calls
* replace all calls with macros ACQUIRE_LOCK and RELEASE_LOCK
* some checks added in scanning related private APIs
* free and nullify scanning context and state if service is stopped while ongoing scan
2019-06-26 05:24:20 +00:00
Angus Gratton
12f4541f19
Merge branch 'bugfix/stdoutflush' into 'master'
...
Stdoutflush: Flushing stdout to avoid issues with 64k char limits
See merge request idf/esp-idf!4698
2019-06-26 10:07:41 +08:00
Angus Gratton
2c26eb2213
Merge branch 'feature/flash_encryption' into 'master'
...
Change flash encryption workflow to development / release
See merge request idf/esp-idf!4125
2019-06-26 09:04:03 +08:00
Kondal Kolipaka
9550176f83
Addressing PR comments
2019-06-26 00:42:13 +00:00
Kondal Kolipaka
bc48a9c92f
Stdoutflush: Flushing stdout to avoid issues with 64k char limits
2019-06-26 00:42:13 +00:00
Hemal Gujarathi
a68c7c21e1
Improve flash encryption documentation and add Development & Release modes
...
This MR improves existing flash encryption document to provide simplified steps
Adds two new modes for user: Development & Release
Adds a simple example
Supports encrypted write through make command
2019-06-25 23:41:18 +00:00
Anton Maklakov
008ad9af47
ci: Use relative submodule URLs over IDF. Correct CI accordindly
...
Clean up `before_script`s
Update `check_submodule_sync`
Remove tools/ci/mirror* stuff
2019-06-25 22:24:45 +07:00
Anton Maklakov
3b3b891282
ci: Remove unused IS_PRIVATE and IS_PUBLIC environment
2019-06-25 22:24:45 +07:00
Angus Gratton
9bca2f878a
Merge branch 'feature/gcc_8_msys_update_simple' into 'master'
...
update MSYS package for esp32-2019r1 toolchain
See merge request idf/esp-idf!5199
2019-06-25 14:14:08 +08:00
Angus Gratton
a54a3fc92e
Merge branch 'bugfix/idfpy_print_filter' into 'master'
...
tools: Port the filtering option of IDF Monitor to the idf.py toolchain
Closes IDF-543
See merge request idf/esp-idf!4416
2019-06-25 13:36:03 +08:00
Angus Gratton
9a412d3a08
Merge branch 'feature/use_new_component_registration_apis' into 'master'
...
Use new component registration API
See merge request idf/esp-idf!4898
2019-06-25 10:24:11 +08:00
Angus Gratton
391eba07e4
Merge branch 'bugfix/kconfig_source_comment' into 'master'
...
tools: Fix Kconfig checker for comments and source after help
See merge request idf/esp-idf!5275
2019-06-25 10:22:12 +08:00
Angus Gratton
396131433a
Merge branch 'feature/idf_size_json' into 'master'
...
idf_size: Support JSON output
Closes IDF-264
See merge request idf/esp-idf!4987
2019-06-24 19:06:12 +08:00
Renz Christian Bagaporo
047cf71c01
tools: update make converter to use new component registration api
2019-06-21 19:53:29 +08:00
Renz Christian Bagaporo
e9bc46db71
tools: use new component registration api for unit test app
2019-06-21 19:53:29 +08:00
Angus Gratton
d1da76e369
Merge branch 'bugfix/misc_cmake_changes' into 'master'
...
Follow up CMake changes/fixes
See merge request idf/esp-idf!5267
2019-06-21 13:27:55 +08:00
Ivan Grokhotkov
a9157aaba9
Merge branch 'bugfix/ut_ci_test_fail_because_failed_to_reset' into 'master'
...
ci: fix random unit test CI failure
See merge request idf/esp-idf!5264
2019-06-20 16:08:51 +08:00
Renz Christian Bagaporo
11924d76cb
cmake: clarify build trimming docs
...
How idf_build_component and the COMPONENTS argument to idf_build_process
interact is not clear/misleading. Clarify their interaction in the docs.
Closes: https://github.com/espressif/esp-idf/issues/3630
2019-06-20 16:02:22 +08:00
Renz Christian Bagaporo
64d37f5cb9
cmake: fix issues with build process
...
Fix issue when COMPONENTS are is not specified for idf_build_process,
no component is included in the build.
2019-06-20 16:02:22 +08:00
Renz Christian Bagaporo
2fff500a1c
cmake: export IDF_TARGET to menuconfig
...
Pass value of IDF_TARGET to menuconfig invocation.
2019-06-20 16:02:22 +08:00
Renz Christian Bagaporo
8424822150
cmake: set CONFIG_DIR build property
...
Add CONFIG_DIR as a build property, so that components don't have to
derive it from one of the generated config files.
2019-06-20 16:02:22 +08:00
Roland Dobai
0150982ae3
tools: Fix Kconfig checker for comments and source after help
2019-06-20 09:48:04 +02:00
Angus Gratton
b2ae2601fd
Merge branch 'feat/backtrace_in_ut' into 'master'
...
esp32: Refactor backtraces to be iterative, add printing backtrace at runtime and when UT fails
Closes IDF-93
See merge request idf/esp-idf!3825
2019-06-20 09:28:34 +08:00
Anton Maklakov
442b57b3ee
ci: Adjust more 'spawn' settings in test_confserver
2019-06-19 20:50:53 +07:00
Darian Leung
037c079e9a
esp32: Refactor backtrace and add esp_backtrace_print()
...
This commit refactors backtracing within the panic handler so that a common
function esp_backtrace_get_next_frame() is used iteratively to traverse a
callstack.
A esp_backtrace_print() function has also be added that allows the printing
of a backtrace at runtime. The esp_backtrace_print() function allows unity to
print the backtrace of failed test cases and jump back to the main test menu
without the need reset the chip. esp_backtrace_print() can also be used as a
debugging function by users.
- esp_stack_ptr_is_sane() moved to soc_memory_layout.h
- removed uncessary includes of "esp_debug_helpers.h"
2019-06-19 18:30:18 +08:00
suda-morris
3f7a571c90
fix errors when ci testing for esp32
2019-06-19 15:31:47 +08:00
Angus Gratton
484eb7cd07
Merge branch 'feature/mdns_unit_tests' into 'master'
...
mdns: add initial unit tests
See merge request idf/esp-idf!5088
2019-06-19 14:43:51 +08:00
He Yin Ling
304e7119ce
ci: fix random unit test CI failure:
...
we use `-` command to check if DUT reset pass. If we input `-` command
during DUT bootup, DUT could only receive `\n` and print test cases.
Print test cases could take long time and lead to reset check timeout.
Now we will add delay after reset, and enlarge reset check timeout to
solve this problem.
2019-06-18 12:22:00 +08:00
suda-morris
c5c716e9d7
esp_wifi: fix wrong path of phy_init_data
...
Closes https://github.com/espressif/esp-idf/issues/3482
2019-06-18 11:29:09 +08:00
Angus Gratton
6b7c5dc37e
Merge branch 'feature/clang_static_analysis' into 'master'
...
add clang static analysis jobs
Closes IDF-91
See merge request idf/esp-idf!3752
2019-06-18 08:42:00 +08:00
Kirill Chalov
4faf2de035
Doc/review api ref storage
2019-06-17 14:23:52 +08:00
David Cermak
c4f3afd4b5
ci: add clang static analysis jobs
...
Clang tidy 9.0.0 is to perform static analysis of IDF sources. All component sources are analysed with default sdkconfig configuration, based on examples/get-started/hello_world project (compilation commands are extracted from default build commands for this project). Configuration of static analysis is defined in tools/ci/static-analysis-rules.yml
Closes https://github.com/espressif/esp-idf/issues/145
2019-06-14 20:24:36 +02:00
Roland Dobai
da978bc5a1
tools: Port the filtering option of IDF Monitor to the idf.py toolchain
2019-06-14 17:45:20 +02:00
Angus Gratton
df0b8db400
Merge branch 'feature/allow_multiple_fragment_definitions_for_library_v4.0' into 'master'
...
Allow multiple mapping fragments to map same library
See merge request idf/esp-idf!4713
2019-06-14 14:07:59 +08:00
Anton Maklakov
a98141cc0a
ci: keep executables list sorted to pass tests
2019-06-13 12:42:53 +07:00
Angus Gratton
78b7b137ad
Merge branch 'feature/otatool_parttool_python_api' into 'master'
...
otatool, parttool Python API
See merge request idf/esp-idf!5077
2019-06-13 10:31:29 +08:00
Angus Gratton
60d28bb72f
Merge branch 'bugfix/spiflash_kconfig' into 'master'
...
spi_flash: Fix Kconfig indentation
Closes IDFGH-1307
See merge request idf/esp-idf!5195
2019-06-13 10:18:14 +08:00
Angus Gratton
eac356ef4a
Merge branch 'feature/idf_version_header' into 'master'
...
esp_common: add esp_idf_version.h header to define IDF version
Closes IDF-253
See merge request idf/esp-idf!4596
2019-06-13 09:41:35 +08:00
Ivan Grokhotkov
7680f520f9
unit-test-app: disable CONFIG_MBEDTLS_HARDWARE_MPI for esp32s2beta
2019-06-13 01:43:38 +08:00
Ivan Grokhotkov
25a383c521
test_utils: update for esp32s2beta
2019-06-12 16:10:11 +08:00
David Cermak
e6801912c5
mdns: added initial suite of api unit tests
2019-06-12 08:18:25 +02:00
Roland Dobai
7971845fd4
idf.py: Don't expect "_" env. variable to be available from PowerShell
2019-06-12 08:04:28 +02:00
Roland Dobai
22d070e0af
spi_flash: Rename long Kconfig options
2019-06-12 08:03:07 +02:00
Ivan Grokhotkov
8cfa574ad6
Merge branch 'bugfix/ci_test_confserver_timeout' into 'master'
...
ci: Adjust the test_confserver timeout to 2 seconds
See merge request idf/esp-idf!5184
2019-06-12 13:48:19 +08:00
Renz Christian Bagaporo
7edef74347
cmake: set variables set by project call
...
ESP-IDF overrides project() definition for user convenience. This
redefinition lacks setting the variables documented at
the project command documentation
https://cmake.org/cmake/help/v3.5/command/project.html in the parent
scope.
This commit sets those variables.
Closes https://github.com/espressif/esp-idf/issues/3611 .
2019-06-12 11:01:59 +08:00
Renz Christian Bagaporo
8ee90ee2f1
ldgen: allow multiple mapping fragments to map same library
2019-06-12 10:48:54 +08:00
Renz Christian Bagaporo
87aa341e97
ldgen: mapping rules should be grouped by archive
2019-06-12 10:48:54 +08:00
Ivan Grokhotkov
67148e37a6
tools/windows: update toolchain URL in MSYS build script
2019-06-11 22:21:44 +08:00
Renz Christian Bagaporo
3882e48e8a
cmake: use new signature form of target_link_library to link components
...
!4452 used setting LINK_LIBRARIES and INTERFACE_LINK_LIBRARIES to link
components built under ESP-IDF build system. However, LINK_LIBRARIES does
not produce behavior same as linking PRIVATE. This MR uses the new
signature for target_link_libraries directly instead. This also moves
setting dependencies during component registration rather than after all
components have been processed.
The consequence is that internally, components have to use the new
signature form as well. This does not affect linking the components to
external targets, such as with idf_as_lib example. This only affects
linking additional libraries to ESP-IDF libraries outside component processing (after
idf_build_process), which is not even possible for CMake<v3.13 as
target_link_libraries is not valid for targets not created in current
directory. See https://cmake.org/cmake/help/v3.13/policy/CMP0079.html#policy:CMP0079
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
f0f861ccd9
ldgen: use user input filename for processed template
...
Previously ldgen determines the output file name on its own. This commit
makes it so that user can dictate what the output file name will be
for the processed template, if the user needs it for something else.
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
297b2c5a39
cmake: evaluate component requirements in one go
...
!4452 simplified early expansion by using an early expansion script that
only does one thing: get the public and private requirements for each
component, albeit one by one. This was also dependent on parsing
the command output of the expansion script. This commit makes it so that a list of all
components to be processed to passed to the expansion script, generating a cmake
file that sets each component requirements in one go.
This also makes sure that only components that registered themselves get
included in the final build list.
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
33dd7011be
cmake: expand build components before generating config
...
!4452 had config generation first before building the component list
to be used in the build. This proved to be detrimental when a new target
is added as config generation would consider configs from both targets.
2019-06-11 18:09:26 +08:00
Angus Gratton
767455dbeb
Merge branch 'bugfix/check_for_new_cmakecache_vars' into 'master'
...
idf.py: Add check for new cmake cache values
Closes IDF-658
See merge request idf/esp-idf!5106
2019-06-11 14:16:14 +08:00
Angus Gratton
1b5c05e54c
Merge branch 'bugfix/confgen_compat_defs' into 'master'
...
confgen.py: don't output compatibility definitions for options which are not defined
See merge request idf/esp-idf!5162
2019-06-11 14:13:20 +08:00
Renz Christian Bagaporo
7f7a9272f0
examples: create example for both Python and CLI otatool interfaces
2019-06-11 13:17:14 +08:00
Renz Christian Bagaporo
5d41322412
examples: create example for both Python and CLI parttool interfaces
2019-06-11 13:17:14 +08:00
Renz Christian Bagaporo
63bd57c1d7
partition_table: implement Python API for parttool
...
Closes https://github.com/espressif/esp-idf/issues/1494
2019-06-11 13:17:14 +08:00
Angus Gratton
a37ad24137
cmake: Always pass IDF_TARGET into mconf, avoid error about uninitialized environment variable
2019-06-11 13:07:37 +08:00
Ivan Grokhotkov
73b30af2b3
confgen.py: don't output compatibility definitions for options which are not defined
...
For example, if a renamed option CONFIG_NEW is a bool with value "n", kconfiglib will not generate a define for it in the Kconfig file. The define (#define CONFIG_NEW 1) will only be generated if the option is "y" or "m".
However the compatibility definition was always generated: #define CONFIG_OLD CONFIG_NEW. This broke the #ifdef checks which depended on the old option names.
2019-06-11 13:07:37 +08:00
Ivan Grokhotkov
7dcc5f4d15
idf.py: pass correct toolchain prefix to the monitor
2019-06-11 13:07:37 +08:00
suda-morris
84b2f9f14d
build and link hello-world for esp32s2beta
2019-06-11 13:07:37 +08:00
suda-morris
61ce868396
make bootloader_support support esp32s2beta
2019-06-11 13:07:02 +08:00
suda-morris
c926f7515e
add toolchain setting for esp32s2
2019-06-11 13:06:32 +08:00
Angus Gratton
02f1e9fc20
Merge branch 'feature/prov_mgr' into 'master'
...
Wi-Fi Provisioning Manager
See merge request idf/esp-idf!4805
2019-06-11 09:46:50 +08:00
Angus Gratton
d0ed0d3f9c
Merge branch 'fix/mfg_util' into 'master'
...
mfg_util: Fix incorrect number of csv files creation for multiple values with REPEAT tags
See merge request idf/esp-idf!5044
2019-06-11 09:22:07 +08:00
Angus Gratton
e08b787d79
ci: Adjust the test_confserver timeout to 2 seconds
...
On a VM, it seems like 500ms is sometimes a very short time...
2019-06-11 10:16:15 +10:00
Shivani Tipnis
b0bfe937aa
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags
2019-06-10 12:08:58 +00:00
Sergei Silnov
2557442ae9
cmake: fix crosstool-NG version check regex
2019-06-10 09:51:40 +00:00
Anurag Kar
a92ace034f
esp_prov : Support new JSON format of version string while maintaining backward compatibility
...
Other changes:
* Version check only happens if command line argument is specified
* Minor bugfix in processing apply_config response
2019-06-10 15:13:50 +05:30
Ivan Grokhotkov
912c75372c
confgen.py: don't output compatibility definitions for options which are not defined
...
For example, if a renamed option CONFIG_NEW is a bool with value “n”,
kconfiglib will not generate a define for it in the Kconfig file. The
define (#define CONFIG_NEW 1) will only be generated if the option is
“y” or “m”. However the compatibility definition was always
generated: #define CONFIG_OLD CONFIG_NEW. This broke the #ifdef
checks which depended on the old option names.
This commit wraps each compatibility definition:
#ifdef CONFIG_NEW
#define CONFIG_OLD CONFIG_NEW
#endif
so that the CONFIG_OLD definition is only generated if CONFIG_NEW is
defined.
2019-06-10 06:56:07 +00:00
Ivan Grokhotkov
b2bfa8ed95
ci: fix idf.py syntax in new build system tests
2019-06-07 22:03:15 +08:00
Angus Gratton
50d2e6b69b
Merge branch 'bugfix/cmake_extra_component_dirs' into 'master'
...
CI: additional CMake build system tests wrt EXTRA_COMPONENT_DIRS
See merge request idf/esp-idf!5104
2019-06-07 07:49:30 +08:00
Ivan Grokhotkov
4b0b2c6fda
Merge branch 'feature/action_specific_flags' into 'master'
...
idf.py: add support for action specific options
Closes IDF-501, IDFGH-1276, and IDFGH-1275
See merge request idf/esp-idf!5029
2019-06-07 00:44:09 +08:00
Angus Gratton
345748b7bb
Merge branch 'feature/fixed_static_dram_size_pr3222' into 'master'
...
esp32: Allow fixed static RAM size and DRAM heap size
Closes IDFGH-780
See merge request idf/esp-idf!5043
2019-06-06 17:11:46 +08:00
Gautier Seidel
542e544faa
esp32: Allow fixed static RAM size and DRAM heap size
...
Merges https://github.com/espressif/esp-idf/pull/3222
2019-06-06 18:23:04 +10:00
Sergei Silnov
7a6ff35a2a
idf.py: Add check for new cmake cache values
2019-06-05 11:43:53 +02:00
Anton Maklakov
dcc9459690
tools, ci: Use non-interactive mode for idf_tools in CI
2019-06-05 15:56:03 +07:00
Angus Gratton
4988b26e38
Merge branch 'feature/gcc_8' into 'master'
...
Switch GCC to 8.2 (esp32-2019r1 toolchain release)
Closes IDF-103
See merge request idf/esp-idf!5068
2019-06-05 12:53:01 +08:00
Ivan Grokhotkov
ca323fbaad
update toolchain to esp32-2019r1 release
...
Closes https://github.com/espressif/esp-idf/issues/1445 (std::to_string)
Closes https://github.com/espressif/esp-idf/issues/1876 (std::chrono_steady_clock)
Closes https://github.com/espressif/esp-idf/issues/1995 (std::timed_mutex)
Closes https://github.com/espressif/esp-idf/issues/2149 (addr2line)
Closes https://github.com/espressif/esp-idf/issues/2308 (lsiu/lsip)
Closes https://github.com/espressif/esp-idf/issues/2449 (c++17)
Closes https://github.com/espressif/esp-idf/issues/3258 (objdump)
2019-06-04 23:43:29 +08:00
Renz Christian Bagaporo
c308d7bed6
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS
...
Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253
2019-06-04 13:37:19 +08:00
Angus Gratton
045aaf6fb0
Merge branch 'feature/add_xxx_periph_h' into 'master'
...
soc: Add xxx_periph.h for all modules
Closes IDF-192
See merge request idf/esp-idf!4952
2019-06-04 13:24:14 +08:00
Angus Gratton
a83b4cfc1c
Merge branch 'bugfix/cmake_menuconfig' into 'master'
...
Tools: Fix CMake menuconfig used with combination of MSYS and CMD
Closes IDFGH-1248
See merge request idf/esp-idf!5089
2019-06-04 07:06:40 +08:00
Sergei Silnov
20156f9702
idf.py: Add support for action specific options
...
Changes argument parsing mechanism from argparse to a new one, that provides better support for extensions and options that are only applicable to specific subcommands,
Breaking changes:
1. All global options should go before subcommands, i.e. `idf.py build -C ~/some/project` will not work anymore, only `idf.py -C ~/some/project build` is acceptable
2. To provide multiple values to an option like `--define-cache-entry` it's necessary to repeat option many times, i.e. `idf.py -D entry1 entry2 entry3` will not work, right way is: `idf.py -D entry1 -D entry2 -D entry3`
At the moment there are 3 options like this: `--define-cache-entry` in base list and `--test-components` and `--test-exclude-components` in the unit test extensions
3. Drops `defconfig` and `bootloader-clean` subcommands
Closes https://github.com/espressif/esp-idf/issues/3570
Closes https://github.com/espressif/esp-idf/issues/3571
2019-06-03 13:07:02 +02:00
Konstantin Kondrashov
399d2d2605
all: Using xxx_periph.h
...
Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .
Cleaned up header files from unnecessary headers (releated to soc/... headers).
2019-06-03 14:15:08 +08:00
Angus Gratton
2f471cb046
Merge branch 'bugfix/pc_ble_example_uuid' into 'master'
...
protocomm_ble : Example updated to use custom 128bit service UUID
See merge request idf/esp-idf!5100
2019-06-03 13:23:46 +08:00
Roland Dobai
5b15686e29
docs: Kconfig formatting rules and backward compatibility of options
2019-05-29 14:56:23 +02:00
Roland Dobai
5034a57605
Tools: Fix CMake menuconfig used with combination of MSYS and CMD
2019-05-29 14:35:57 +02:00
Anurag Kar
1831a375ec
protocomm_ble : Example updated to use custom 128bit service UUID
...
Also removed old hardcoded UUIDs from README of esp_prov
2019-05-29 13:53:08 +05:30
Angus Gratton
31b854e17d
Merge branch 'feature/do_not_use_link_groups' into 'master'
...
Do not use link groups
See merge request idf/esp-idf!4897
2019-05-29 15:18:31 +08:00
Angus Gratton
05be37c87c
idf_size: Support JSON output
...
Pass -DOUTPUT_JSON=1 to get JSON formatted output from CMake targets
2019-05-29 17:11:53 +10:00
Angus Gratton
154fc74f76
Merge branch 'bugfix/nvs_typedef_naming_pr3239' into 'master'
...
nvs: Append _t to nvs_handle & nvs_open_mode types
Closes IDFGH-891
See merge request idf/esp-idf!4783
2019-05-29 08:14:00 +08:00
Angus Gratton
80fb837b29
Merge branch 'bugfix/kconfig_checker_message' into 'master'
...
Tools: Produce a clearer message for Kconfig prefix errors
See merge request idf/esp-idf!5054
2019-05-29 08:10:31 +08:00
Angus Gratton
550b1897c8
Merge branch 'feature/idf_tools_dir_2' into 'master'
...
IDF tools metadata file and IDF_TOOLS_PATH support
See merge request idf/esp-idf!4411
2019-05-28 13:39:47 +08:00
Angus Gratton
22514c1dd9
cmake: For gcc8 use linker to find paths to libc, libm, libstdc++, etc
...
Removes the need to know/guess the paths to these libraries. Once we are gcc 8 only, we
can remove -nostdlib and no additional arguments are needed for system libraries.
The catch is: any time IDF overrides a symbol in the toolchain sysroot, we need
an undefined linker marker to make sure this symbol is seen by linker.
2019-05-28 12:54:37 +08:00
Renz Christian Bagaporo
83ce35d638
cmake: do not use link groups
2019-05-28 10:51:02 +08:00
Angus Gratton
801f5d6e82
Merge branch 'bugfix/more_cmake_fixes' into 'master'
...
More CMake fixes
See merge request idf/esp-idf!5060
2019-05-27 15:48:25 +08:00
Angus Gratton
b2e54a9cc6
ci: Add IDF_DEPRECATED macro for things we only deprecate in our CI passes
2019-05-27 17:43:38 +10:00
Ivan Grokhotkov
8f7e01baed
tools: add metadata file and idf_tools.py
2019-05-24 17:04:23 +08:00
Ivan Grokhotkov
8d1a9c07a0
tools/check_python_dependencies: make aware of IDF_TOOLS_PATH
2019-05-24 17:04:23 +08:00
Ivan Grokhotkov
8d136a103b
idf.py: allow overriding the program name
2019-05-24 17:04:23 +08:00
Ivan Grokhotkov
74247ed7f5
ci: keep executables list formatted
2019-05-24 17:04:23 +08:00
Renz Christian Bagaporo
25b539d4fc
cmake: make project includes know gcc version as well
2019-05-23 18:39:31 +08:00
Renz Christian Bagaporo
74c6c926ea
nghttp: move HAVE_CONFIG_H compile definition to component
2019-05-23 18:39:31 +08:00
Renz Christian Bagaporo
f125a9aaf4
cmake: restore creation of kconfig_menus.json
2019-05-23 18:39:31 +08:00
Roland Dobai
a52451258e
Fix cmake confserver target
2019-05-23 08:29:05 +02:00
Angus Gratton
c879aff6f5
Merge branch 'bugfix/cmake_git_describe' into 'master'
...
cmake: Project & IDF git revisions: Show un-annotated tags and -dirty flag
See merge request idf/esp-idf!5042
2019-05-23 12:36:49 +08:00
Angus Gratton
95dcfecedc
cmake: Project & IDF git revisions: Show un-annotated tags and -dirty flag
...
Adds --tags and --dirty flags to cmake git_describe() calls, and not
pass the HEAD commit hash (incompatible with --dirty)
Makes IDF_VER output the same as in Make build system
Thanks to @william-ferguson-au for reporting this:
https://github.com/espressif/esp-idf/issues/3378#event-2355460974
2019-05-23 13:46:23 +10:00
Roland Dobai
d97d3c2bc7
Tools: Produce a clearer message for Kconfig prefix errors
2019-05-22 15:48:30 +02:00
Angus Gratton
e8ade3c68d
Merge branch 'feature/Kconfig_rename' into 'master'
...
Rename Kconfig options
Closes IDF-265
See merge request idf/esp-idf!4883
2019-05-22 11:08:36 +08:00
Roland Dobai
1ad2283641
Rename Kconfig options (components/bootloader)
2019-05-21 09:32:55 +02:00
Roland Dobai
997b29a9ca
Rename Kconfig options (components/esptool_py)
2019-05-21 09:32:55 +02:00
Roland Dobai
a1bddb923b
Rename Kconfig options (components/bt)
2019-05-21 09:09:01 +02:00
Roland Dobai
24a2e5a17e
Rename Kconfig options (components/tcpip_adapter)
2019-05-21 09:09:01 +02:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Roland Dobai
d4af5e6fff
Rename Kconfig options (components/ethernet)
2019-05-21 09:09:01 +02:00
Roland Dobai
92950db44e
Rename Kconfig options (components/lwip)
2019-05-21 09:09:01 +02:00
Roland Dobai
e9f1011b1b
Rename Kconfig options (components/driver)
2019-05-21 09:09:01 +02:00
Roland Dobai
64c2aa15aa
Rename Kconfig options (components/freertos)
2019-05-21 09:09:01 +02:00
Roland Dobai
c5000c83d2
Rename Kconfig options (root)
2019-05-21 09:09:01 +02:00
Roland Dobai
1af263ebb2
tools: Check syntax also of Kconfig.in files
2019-05-21 09:09:01 +02:00
Roland Dobai
979e1e32cb
tools: Ignore sdkconfig.rename files from the example directory
2019-05-21 09:09:01 +02:00
Roland Dobai
67e7cd8a0f
tools: Kconfig checker ignores test files
2019-05-21 09:09:01 +02:00
Roland Dobai
254c1c1085
Confgen: link config options to parent choices in the docs
2019-05-21 09:09:01 +02:00
Roland Dobai
30ca5c7a88
Confgen: Fix prefix removal to work for exact match only
2019-05-21 09:09:01 +02:00
Renz Christian Bagaporo
b4ad6c1426
cmake: refactor quick check given component dirs
2019-05-20 19:24:17 +08:00
Renz Christian Bagaporo
e1726a91ce
cmake: project includes should know about ESP_PLATFORM variable
2019-05-20 18:24:34 +08:00
Renz Christian Bagaporo
e3eb945fd2
cmake: restore use of GNU extensions from libc
2019-05-20 18:24:34 +08:00
Renz Christian Bagaporo
5175a152d9
cmake: exclude dot-dirs from added components
2019-05-20 18:24:34 +08:00
Renz Christian Bagaporo
078c69e689
cmake: remove redundant variable setting
2019-05-20 18:24:34 +08:00
Angus Gratton
826acbc3de
Merge branch 'bugfix/custom_bootloader_subproject_build' into 'master'
...
CMake: Fix custom bootloader does not override original
See merge request idf/esp-idf!5000
2019-05-20 13:58:03 +08:00
Ivan Grokhotkov
6ca07eca68
esp_common: add version definitions in code and build system
...
Closes https://github.com/espressif/esp-idf/issues/2482
Closes IDF-253
2019-05-20 13:14:56 +08:00
Angus Gratton
113e02aa3a
Merge branch 'bugfix/idf_py_fixes' into 'master'
...
idf.py fixes from GitHub
Closes IDFGH-1005 and IDFGH-1006
See merge request idf/esp-idf!5012
2019-05-20 12:22:19 +08:00
Renz Christian Bagaporo
1cf6964386
ci: check that custom bootloader overrides original
2019-05-17 15:17:54 +08:00
Angus Gratton
5c0ce79f59
idf.py: Fix encoding issue with serial port names on Windows
...
Closes https://github.com/espressif/esp-idf/issues/3334
2019-05-17 14:25:53 +08:00
Angus Gratton
907471ce41
Merge branch 'feature/cmake_changes_for_4.0' into 'master'
...
CMake for 4.0
See merge request idf/esp-idf!4452
2019-05-17 14:21:48 +08:00
Angus Gratton
f91d969c13
idf.py: Use mingw32-make for version check
...
Closes https://github.com/espressif/esp-idf/issues/3333
2019-05-16 21:20:10 +08:00
Anurag Kar
015922f8d9
esp_prov : Runtime discovery of Service UUID and endpoint name mapping
...
List of changes:
* Retrieve UUID property from Bluez device object before connecting to retrieve UUID contained in advertisement
* Read Characteristic User Descriptions attribute of each UUID for mapping endpoint names
* To support older implementations with hardcoded Name-UUID map, revert to fallback mode in order if advertisement data has no UUID field
2019-05-15 12:27:03 +00:00
Angus Gratton
f9043c43c9
Merge branch 'bugfix/win_py_case_insensitive' into 'master'
...
idf.py: Add more case-insensitive support on Win
See merge request idf/esp-idf!4991
2019-05-15 14:16:52 +08:00
Angus Gratton
3f7bd872ac
Merge branch 'refactor/power_management' into 'master'
...
power_management: Using port*_CRITICAL_ISR to be consistent with FreeRTOS
See merge request idf/esp-idf!4412
2019-05-15 12:27:58 +08:00
Renz Christian Bagaporo
7493bd2e28
cmake: add command to get config value
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
de9bb5a160
cmake: fix scope issues
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
477fa49fc0
examples: update idf_as_lib example to use new api
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
c564d1730f
esp_common: append gc sections link flag
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
d214bb912f
examples: update with build system changes
2019-05-14 18:01:14 +08:00
Anton Maklakov
eb867aeff3
idf.py: Add more case-insensitive support
2019-05-14 11:45:39 +07:00
Angus Gratton
99f8a811fd
cmake: Warn if something which looks like a component directory isn't
...
Otherwise, fails build at the add_subdirectory stage
2019-05-13 19:57:39 +08:00
Angus Gratton
3cf56ea6b6
cmake: Fix menuconfig target
...
need to load mconf path as build property
2019-05-13 19:57:39 +08:00
Renz Christian Bagaporo
c6dc47b3e2
cmake: build system changes
2019-05-13 19:57:39 +08:00
Sachin Parekh
e6a714480d
unit-test-app: freertos_compliance config added
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
d803465ec6
ref_clock: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Angus Gratton
b4979f9c2a
Merge branch 'bugfix/restore_ccache_use' into 'master'
...
CMake : Restore ccache use
Closes IDFGH-673
See merge request idf/esp-idf!4944
2019-05-10 10:16:04 +08:00
Renz Christian Bagaporo
afe57d6ff4
ci: check that build uses ccache when present
2019-05-07 12:00:41 +08:00
Roland Dobai
bfe5b13905
tools/gen_esp_err_to_name.py: Don't include already included headers
2019-05-06 15:08:37 +02:00
Roland Dobai
20bd142077
Fix paths to the new esp_common in the ESP error code generator
2019-05-06 15:07:27 +02:00
Renz Christian Bagaporo
459dd29444
cmake: restore ccache use when present
...
Closes https://github.com/espressif/esp-idf/issues/3116
2019-05-06 20:04:07 +08:00
Ivan Grokhotkov
1ca60c46f1
Merge branch 'bugfix/kconfig_no_split_headers' into 'master'
...
kconfig: Don't create "split" directory structures under build/include/config
Closes IDFGH-962
See merge request idf/esp-idf!4768
2019-05-05 11:31:34 +08:00
Roland Dobai
6ccdca5114
idf.py: Detect symlinks on Windows during fullclean
...
Closes https://github.com/espressif/esp-idf/issues/3377
2019-05-02 10:03:11 +02:00
Angus Gratton
1ed3be9c79
Merge branch 'feature/use_libraries_directly_with_ldgen' into 'master'
...
Pass libraries as arguments to ldgen directly
See merge request idf/esp-idf!4887
2019-04-29 08:49:42 +08:00
Angus Gratton
3694ed30eb
Merge branch 'bugfix/ldgen_fails_when_wifi_ram_opt_off' into 'master'
...
ldgen: do not generate rules when no condition is true
See merge request idf/esp-idf!4757
2019-04-29 08:44:13 +08:00
Renz Christian Bagaporo
b1ecd75d83
ldgen: pass component libraries directly
2019-04-26 20:06:53 +08:00
Ivan Grokhotkov
ca6cff7637
Merge branch 'bugfix/fix_build_cmake_example_failing' into 'master'
...
Fix false positive errors with CMake example builds
See merge request idf/esp-idf!4608
2019-04-26 18:20:53 +08:00
Roland Dobai
23ee93ea76
Rename deprecated Kconfig options in a backward compatible way
2019-04-24 12:53:02 +02:00
Renz Christian Bagaporo
2522268c20
ldgen: do not generate rules when no condition is true
...
Closes https://github.com/espressif/esp-idf/issues/3295
2019-04-24 18:25:24 +08:00
He Yin Ling
af4daf6a22
test: include chip in test case ID
2019-04-19 14:39:44 +08:00
He Yin Ling
b75400294a
test: collect unit-test performance items and save to report
2019-04-19 14:39:44 +08:00
He Yin Ling
0462620a23
tiny-test-fw: support save performance to junit report:
...
1. support get performance from DUT
2. update performance to `testcase.stdout` in JunitReport
2019-04-19 12:17:13 +08:00
Angus Gratton
a20d02b7f1
Merge branch 'feature/remove_dependency_to_soc' into 'master'
...
global: remove dependency to soc everywhere except driver and kernel components
See merge request idf/esp-idf!4678
2019-04-18 08:08:41 +08:00
Anton Maklakov
3bb7dba995
Merge branch 'bugfix/use_libc_gnu_extensions' into 'master'
...
build: Add a standard way to use GNU extensions from libc
See merge request idf/esp-idf!4769
2019-04-17 16:22:37 +08:00
Anton Maklakov
410f5c3f7d
build: Add a standard way to use GNU extensions from libc, since we have a general configured newlib in the toolchain
2019-04-17 12:08:36 +07:00
Ivan Grokhotkov
bb4f5617ab
test: clean up "leaks" tags from most unit tests
2019-04-16 20:07:40 +08:00
Michael (XIAO Xufeng)
562af8f65e
global: move the soc component out of the common list
...
This MR removes the common dependency from every IDF components to the SOC component.
Currently, in the ``idf_functions.cmake`` script, we include the header path of SOC component by default for all components.
But for better code organization (or maybe also benifits to the compiling speed), we may remove the dependency to SOC components for most components except the driver and kernel related components.
In CMAKE, we have two kinds of header visibilities (set by include path visibility):
(Assume component A --(depends on)--> B, B is the current component)
1. public (``COMPONENT_ADD_INCLUDEDIRS``): means this path is visible to other depending components (A) (visible to A and B)
2. private (``COMPONENT_PRIV_INCLUDEDIRS``): means this path is only visible to source files inside the component (visible to B only)
and we have two kinds of depending ways:
(Assume component A --(depends on)--> B --(depends on)--> C, B is the current component)
1. public (```COMPONENT_REQUIRES```): means B can access to public include path of C. All other components rely on you (A) will also be available for the public headers. (visible to A, B)
2. private (``COMPONENT_PRIV_REQUIRES``): means B can access to public include path of C, but don't propagate this relation to other components (A). (visible to B)
1. remove the common requirement in ``idf_functions.cmake``, this makes the SOC components invisible to all other components by default.
2. if a component (for example, DRIVER) really needs the dependency to SOC, add a private dependency to SOC for it.
3. some other components that don't really depends on the SOC may still meet some errors saying "can't find header soc/...", this is because it's depended component (DRIVER) incorrectly include the header of SOC in its public headers. Moving all this kind of #include into source files, or private headers
4. Fix the include requirements for some file which miss sufficient #include directives. (Previously they include some headers by the long long long header include link)
This is a breaking change. Previous code may depends on the long include chain.
You may need to include the following headers for some files after this commit:
- soc/soc.h
- soc/soc_memory_layout.h
- driver/gpio.h
- esp_sleep.h
The major broken include chain includes:
1. esp_system.h no longer includes esp_sleep.h. The latter includes driver/gpio.h and driver/touch_pad.h.
2. ets_sys.h no longer includes soc/soc.h
3. freertos/portmacro.h no longer includes soc/soc_memory_layout.h
some peripheral headers no longer includes their hw related headers, e.g. rom/gpio.h no longer includes soc/gpio_pins.h and soc/gpio_reg.h
BREAKING CHANGE
2019-04-16 13:21:15 +08:00
Angus Gratton
9a5e93c286
kconfig: Don't create "split" directory structures under build/include/config
...
Reported in https://github.com/espressif/esp-idf/issues/3299
If a config item contains a reserved filename in Windows like _CON_ then an invalid
directory is created.
We don't rely on this feature all, so disable it.
2019-04-15 05:28:46 +00:00
Ivan Grokhotkov
b3a235945e
ci: don’t look for project CMakeLists in common_components
2019-04-15 03:32:05 +00:00
Renz Christian Bagaporo
7150ac61cd
ldgen: rename common module
2019-04-13 08:59:32 +08:00
Mahavir Jain
1cfa09d4e8
aws_iot: moving AWS IoT to independent repository
...
Like other cloud frameworks, AWS IoT will also be supported through
independent repository, https://github.com/espressif/esp-aws-iot
2019-04-12 05:36:05 +00:00
Konstantin Kondrashov
5021129e71
Add support a [leaks] tag for UT
2019-04-12 09:31:23 +08:00
Anton Maklakov
2e6c8cdce3
esp32: disable -Wframe-address
...
Since the behavior is well defined on Xtensa with Window ABI we can
suppress a frame-address warning. Also fix the CMAKE_C*_FLAGS parsing.
2019-04-10 13:52:30 +08:00
Anton Maklakov
5a203a5371
sysview: fix test case for compatibility with new binutils
...
Since the ‘addr2line’ works correctly in the new version of binutils,
line numbers are different.
2019-04-10 13:48:57 +08:00
Angus Gratton
c064e00842
Merge branch 'bugfix/make_bootloader_depends_on_target' into 'master'
...
make bootloader depend on IDF_TARGET
See merge request idf/esp-idf!4704
2019-04-10 13:07:52 +08:00
Angus Gratton
49d04250e9
Merge branch 'fix/mfg_util_todo_leftback' into 'master'
...
mfg_util: Remove to-do line leftback
See merge request idf/esp-idf!4707
2019-04-09 09:18:44 +08:00
suda-morris
78034879a8
make bootloader depend on IDF_TARGET
2019-04-08 11:08:06 +08:00
Renz Christian Bagaporo
c81ebbf38e
ldgen: add backward-compatibility with previous mapping fragment style
2019-04-04 16:33:56 +08:00
Shivani Tipnis
3996316524
mfg_util: Remove todo line leftback
2019-04-04 13:59:52 +05:30
Renz Christian Bagaporo
90ee405afd
ldgen: update component linker fragment files
2019-04-04 15:57:34 +08:00
Renz Christian Bagaporo
7900178b7c
ldgen: update tests for common fragment parsing
2019-04-04 15:56:46 +08:00
Renz Christian Bagaporo
7dcef2c33c
ldgen: implement common fragment parsing
2019-04-04 15:56:14 +08:00
Angus Gratton
34e89c46de
Merge branch 'update/mfg_util' into 'master'
...
mfg_util: Add changes to mfg_util as per changes in nvs_util
See merge request idf/esp-idf!3573
2019-04-04 14:40:33 +08:00
Angus Gratton
5136b76798
Merge branch 'feature/micro-ecc-only-in-bootloader' into 'master'
...
Use micro_ecc library only in bootloader
See merge request idf/esp-idf!4082
2019-04-04 14:26:48 +08:00
morris
f5b03c9ea3
misc adjustment of esp32 component
2019-04-03 19:57:46 +08:00
Shivani Tipnis
a88b40483d
mfg_util: Add changes to mfg_util as per changes in nvs_util
...
revert changeson this file
Update README for mfg util
Update to correct coding style of script
2019-04-03 11:31:49 +05:30
Ivan Grokhotkov
43d3e75125
Merge branch 'feature/derive_esp_wifi_from_esp32' into 'master'
...
derive esp_wifi from esp32 component
See merge request idf/esp-idf!4602
2019-04-02 10:13:15 +08:00
Alexey Gerenkov
3914f17d26
apptrace: Adds test for logtrace_proc script
2019-04-01 19:31:45 +03:00
Alexey Gerenkov
8c6a924cdf
sys_view: Adds processing scripts for heap & log traces
2019-04-01 19:31:45 +03:00
Ivan Grokhotkov
d52ecb71d6
Merge branch 'feature/spiffs_image_generator' into 'master'
...
SPIFFS Image Generator
See merge request idf/esp-idf!4156
2019-04-01 20:08:40 +08:00
morris
79bb5de426
derive esp_wifi from esp32 component
2019-04-01 20:04:52 +08:00
Mahavir Jain
fcff80ecf8
fix cmake build for bootloader
2019-04-01 15:47:01 +05:30
morris
dbdb299bb1
create xtensa component
...
1. move xtensa specific files out of esp32 component
2. merge xtensa-debug-module component into xtensa
2019-03-27 20:24:28 +08:00
Anton Maklakov
da90966828
Merge branch 'feature/mqtt_weekend_tests' into 'master'
...
introducing weekend tests for mqtt and fuzzer test (mdns, LWIP)
Closes IDF-540
See merge request idf/esp-idf!4230
2019-03-27 19:12:33 +08:00
morris
a2f07b0806
move common include files from esp32 into esp_common
2019-03-26 11:57:03 +08:00
Renz Christian Bagaporo
8ba10bf3dc
spiffs: Implement spiffs image generation
2019-03-25 12:51:52 +08:00
Renz Christian Bagaporo
3a4354c770
ci: fix cmake example build fail
2019-03-24 16:51:48 +08:00
David Cermak
f05228be36
tiny-test-fw: update sdkconfig python dictionary to contain values without trailing newlines
2019-03-22 11:37:26 +01:00
Ivan Grokhotkov
24bd5f3267
ci: add mirror for tinydtls submodule
2019-03-22 14:27:08 +08:00
Angus Gratton
80dd3ae749
Merge branch 'bugfix/cmake_component_path' into 'master'
...
cmake: Set COMPONENT_PATH during early expansion of dependencies
Closes IDFGH-787
See merge request idf/esp-idf!4557
2019-03-22 07:13:11 +08:00
Ivan Grokhotkov
940a1f6e79
Merge branch 'feature/separate_rom_from_esp32' into 'master'
...
separate rom from esp32 component to esp_rom
Closes IDF-542
See merge request idf/esp-idf!4500
2019-03-21 22:10:45 +08:00
Ivan Grokhotkov
ffa8bed7c8
Merge branch 'bugfix/nvs_util_write_single_page_big_blob_data' into 'master'
...
nvs_util: Fix to support write operation of multiple single page big blob data
See merge request idf/esp-idf!4268
2019-03-21 19:10:29 +08:00
Ivan Grokhotkov
eee89118d9
Merge branch 'feature/idf_monitor_save_log' into 'master'
...
tools: Create log files from IDF Monitor
Closes IDF-364
See merge request idf/esp-idf!4414
2019-03-21 19:06:31 +08:00
morris
c159984264
separate rom from esp32 component to esp_rom
...
1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
2019-03-21 18:51:45 +08:00
Ivan Grokhotkov
4fc548112e
Merge branch 'bugfix/ldgen_type_1_fails_on_windows' into 'master'
...
Fix library path parsing in windows
Closes IDFGH-733
See merge request idf/esp-idf!4516
2019-03-21 18:38:51 +08:00
Conrad Meyer
85653acfb4
check-lxdialog.sh: Support libintl on FreeBSD
...
To unbreak "make menuconfig."
Merges https://github.com/espressif/esp-idf/pull/3168
2019-03-21 15:06:24 +08:00
Sarena Meas
e24ac7a346
Add another auto-generated file to .gitignore.
...
* Update tools/kconfig/.gitignore for auto-generated file *.o.
Merges https://github.com/espressif/esp-idf/pull/3073
2019-03-21 15:06:24 +08:00
Shivani Tipnis
60b5cdde20
nvs_util: Fix to support write of multiple singlepage big blob data
...
Closes https://github.com/espressif/esp-idf/issues/3011
2019-03-20 08:15:36 +00:00
Angus Gratton
abdc9f50d8
cmake: Set COMPONENT_PATH during early expansion of dependencies
...
Works around bug where components/soc/CMakeLists.txt was testing "EXISTS
${COMPONENT_PATH}/${SOC_NAME}" and this test could pass during early
expansion if COMPONENT_PATH was empty and a directory /esp32 exists
on Windows.
Closes https://github.com/espressif/esp-idf/issues/3195
2019-03-20 10:45:45 +11:00
He Yin Ling
0a3975e80d
test: handle exception by unit test script:
...
unit test script will detect exception, we don't need to let test fail
when exception happened.
2019-03-19 11:24:08 +08:00
He Yin Ling
b85e9e5cda
tiny-test-fw: support translate backtrace in IDFDUT
2019-03-19 11:24:08 +08:00
He Yin Ling
f11eba7802
tiny-test-fw: support detect exception in IDFDUT
2019-03-19 11:24:08 +08:00
Roland Dobai
2a419fa599
tools: Create log files from IDF Monitor
2019-03-18 19:33:20 +01:00
Renz Christian Bagaporo
9ce7ffb440
ldgen: fix library path parsing in windows
...
Closes https://github.com/espressif/esp-idf/issues/3173
2019-03-18 03:47:38 +08:00
Angus Gratton
f6665cf90b
Merge branch 'bugfix/esp_prov_ble_rw_except' into 'master'
...
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic
See merge request idf/esp-idf!4503
2019-03-15 21:10:53 +08:00
Angus Gratton
6400714d9b
Merge branch 'feature/confserver_v2' into 'master'
...
confserver: Add v2 confserver protocol with separate visibility info
See merge request idf/esp-idf!4162
2019-03-15 14:49:05 +08:00
Ivan Grokhotkov
416b756ea4
Merge branch 'bugfix/name_conflict_esp32_project_ld' into 'master'
...
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
See merge request idf/esp-idf!4484
2019-03-15 11:42:20 +08:00
Angus Gratton
a44f43c2ea
confserver: Send an error response if JSON request is malformatted
2019-03-15 14:31:45 +11:00
Angus Gratton
6897dab2de
confserver: In protocol V2, a "load" should only send back changes not all items
2019-03-15 14:31:45 +11:00
Angus Gratton
02802a5113
confserver: Add support for new V2 protocol
...
V2 adds:
* Independent result for visibility (showing/hiding menus)
* Includes adding IDs for all items (menus & symbols) in kconfig_menus.json
Still backwards compatible with V1, with some small changes (menu items now listed in results).
Also added some protocol docs, changed the "listening on stdin" message to come after any kconfiglib warnings
2019-03-15 14:31:45 +11:00
Angus Gratton
f02ceb747e
Merge branch 'bugfix/idf_py_windows_relpath' into 'master'
...
idf.py: Fix Windows issue if project and IDF are on different drives
Closes IDFGH-478
See merge request idf/esp-idf!4404
2019-03-15 09:36:25 +08:00
Anurag Kar
048cd2a887
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic
...
This is useful in the context of provisioning when server initiates disconnection if secure session establishment fails.
2019-03-14 18:33:34 +05:30
Angus Gratton
a79c5b8271
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
...
Linker script generator produces build/esp32/esp32.common.ld from
components/esp32/ld/esp32.common.ld.in
This works fine until IDF is downgraded to V3.1 which uses components/esp32/ld/esp32.common.ld and
doesn't track build/esp32/esp32.common.ld at all.
At this point, the linker runs in the build/esp32 directory and "-T esp32.common.ld" picks up the
linker script generated .ld file, which causes mis-builds.
As reported on forums: https://esp32.com/viewtopic.php?f=13&t=9684&p=40105
2019-03-14 09:59:31 +11:00
KonstantinKondrashov
126d6b2de2
tools/test_build_system: Add tests with long IDF_VER
2019-03-13 20:43:33 +08:00
Konstantin Kondrashov
f8ca296438
cmake: Trim IDF_VER to fit a 32-bit field
2019-03-13 20:04:43 +08:00
Angus Gratton
5107f9f9b2
Merge branch 'bugfix/confgen_expr_value' into 'master'
...
confgen: Fix bug with JSON metadata conditional range generation
See merge request idf/esp-idf!4402
2019-03-13 13:54:17 +08:00
Renz Christian Bagaporo
5fb1c1ad3e
ci: test full build never runs '/usr/bin/env python' or similar
2019-03-12 17:26:54 +08:00
Renz Christian Bagaporo
d0b2d5ec95
cmake: Fix for Python files executed directly, not via PYTHON variable
...
A problem if the Python interpreter used for idf.py (or set via PYTHON
variable) didn't match
"/usr/bin/env python" (or the associated executable for .py files, on
Windows).
Closes https://github.com/espressif/esp-idf/issues/3160
Possibly also fix for https://github.com/espressif/esp-idf/issues/2936
Adds build system test to catch any future direct execution of Python in
the standard build process.
2019-03-12 13:31:44 +08:00
Angus Gratton
4a575d5449
idf.py: Fix Windows issue if project and IDF are on different drives
...
Closes https://github.com/espressif/esp-idf/issues/2753
2019-03-11 04:31:13 +00:00
Angus Gratton
de7daa14a9
Merge branch 'bugfix/msys_cancel_idfpy' into 'master'
...
tools: re-run idf.py in MSYS with winpty
Closes #67
See merge request idf/esp-idf!4341
2019-03-11 12:27:36 +08:00
He Yin Ling
1a9f019d2a
unit-test-app: increase factory partition size
2019-03-10 06:21:37 +00:00
He Yin Ling
323a790f01
test: fix CI UT job pass even ut app bootup fail
2019-03-10 06:21:37 +00:00
Roland Dobai
ef250ced1b
tools: re-run idf.py in MSYS with winpty
...
This is done in order to cancel subprocesses on keyboard interrupt
(CTRL+C).
2019-03-07 14:47:19 +01:00
Ivan Grokhotkov
5f3bd38d3d
Merge branch 'bugfix/cmakeSpaceProcessForCOMPONENT_SRCS' into 'master'
...
add spaces2list for COMPONENT_SRCS
See merge request idf/esp-idf!4427
2019-03-07 15:11:51 +08:00
morris
9297b07a97
cmake: add spaces2list for COMPONENT_SRCS
...
According to ESP-IDF Cmake build system document, COMPONENT_SRCS should support using spaces to sperate source files.
Closes https://github.com/espressif/esp-idf/issues/3130
2019-03-06 20:55:38 +08:00
Anton Maklakov
88ec05cba2
ci: Fix the parsing of submodule paths
2019-03-06 19:37:34 +08:00
Angus Gratton
673441aba0
confgen: Fix bug with JSON metadata conditional range generation
...
When generating JSON metadata for ranges where there are conditional ranges (ie different allowed range
depending on another config setting), the JSON metadata would always have the last named range as
the expression was not evaluated properly.
Thanks to ulfalizer on GitHub for pointing this out.
Closes https://github.com/espressif/esp-idf/issues/2195
2019-03-01 15:38:23 +11:00
Konstantin Kondrashov
b8141f3ad8
efuse: Fix make/cmake build systems and docs
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
91676b8620
build_system: Add support efuse
2019-02-28 07:31:29 +00:00
Angus Gratton
fab11e1cec
Merge branch 'bugfix/cmake_psram_fix_flag' into 'master'
...
cmake: Fix psram workaround compiler flag application
See merge request idf/esp-idf!4335
2019-02-27 13:20:21 +08:00
Ivan Grokhotkov
1bc831f074
Merge branch 'bugfix/esp_timer_monotonic_test' into 'master'
...
esp_timer: fix occasional failures in "esp_timer_get_time returns monotonic values" test
See merge request idf/esp-idf!4340
2019-02-27 11:08:53 +08:00
Angus Gratton
da390618c2
cmake: Fix psram workaround compiler flag application
...
Previously, this compiler flag was not being applied
regardless of CONFIG_SPIRAM_CACHE_WORKAROUND setting.
Explanation: add_compile_options() only applies to
source files added after the function is run, or in
subdirectories added after the function is run. In
this case, no new source files were being added after
this function was run.
2019-02-26 04:07:51 +00:00
Ivan Grokhotkov
d3724dc35d
esp_timer: fix occasional failures in "monotonic values" test
...
1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.
2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.
3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.
4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.
2019-02-26 02:01:29 +00:00
Roland Dobai
7c959904b5
tools: Test IDF Monitor after it is ready to receive data
2019-02-25 10:35:09 +01:00
Ivan Grokhotkov
1aa8e8d38e
Merge branch 'bugfix/make_extra_component_dirs' into 'master'
...
make: fix issues related to EXTRA_COMPONENT_DIRS
See merge request idf/esp-idf!4253
2019-02-22 16:00:31 +08:00
Ivan Grokhotkov
6e88822807
Merge branch 'bugfix/kconfig_flex_arg' into 'master'
...
kconfig: fix compatibility with very old versions of flex
See merge request idf/esp-idf!4263
2019-02-22 15:49:11 +08:00
Renz Christian Bagaporo
24284b3afd
ldgen: remove resolution of template includes
2019-02-22 08:25:56 +08:00
Angus Gratton
5b182eefc1
Merge branch 'bugfix/spiram_linker_wildcards' into 'master'
...
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
See merge request idf/esp-idf!4152
2019-02-19 13:28:10 +08:00
Anurag Kar
a1d37c833c
protocomm : version endpoint behavior simplified
...
List of changes:
* Version endpoint now sends the set version string instead of verifying the incoming version string. This simplifies fetching version info from the provisioning application.
* esp_prov script updated to expect version string as response.
2019-02-15 10:45:34 +00:00
Angus Gratton
1867da48af
Merge branch 'bugfix/cmake_unit_test_fail' into 'master'
...
Use flasher_args.json for flashing CMake CI unit test
See merge request idf/esp-idf!4225
2019-02-15 08:55:14 +08:00
Renz Christian Bagaporo
50e860fe8c
ci: test relink on template included file change
2019-02-14 18:58:48 +08:00
Renz Christian Bagaporo
acd0be8239
cmake,make: add dependencies on template included scripts
2019-02-14 18:58:48 +08:00
Renz Christian Bagaporo
022a1da4e9
ldgen: create python script to find linker script includes
2019-02-14 18:58:48 +08:00
Renz Christian Bagaporo
bb552dd19c
ci: use flasher_args.json for cmake ci run
2019-02-14 08:33:46 +00:00
Renz Christian Bagaporo
c6b07eec54
ci: copy flasher_args.json to unit test output folder
2019-02-14 08:33:46 +00:00
Ivan Grokhotkov
fed0f846a4
kconfig: fix compatibility with very old versions of flex
...
See 4e762e4918
Closes https://github.com/espressif/esp-idf/issues/2703
2019-02-14 11:17:48 +08:00
Ivan Grokhotkov
7df598a062
make: fix issues related to EXTRA_COMPONENT_DIRS
...
1. When one of the COMPONENT_DIRS points to a component directory
(i.e. a directory containing component.mk, not a directory of multiple
components), and there is a subdirectory in it which also contains
a component, the subdirectory was mistakenly added to the list of
components and compiled.
For example:
main/
component.mk
main.c
test/
component.mk
test_main.c
Would compile test_main.c and link libtest.a.
2. When one of the COMPONENT_DIRS points to a component directory, and
the parent directory contained a directory with the same name as
another component, that directory would be mistakenly added to the
COMPONENT_PATHS.
For example:
esp/
esp-idf/
esp32/
(random stuff)
mycomponent/
component.mk
mycomponent.c
myproject/
main/
Makefile
and Makefile sets EXTRA_COMPONENT_DIRS=$(realpath ../mycomponent),
then "esp32" directory which is at the same level as mycomponent
was added to COMPONENT_PATHS.
3. If EXTRA_COMPONENT_DIRS pointed to a directory with a list of
components, and one of the subdirectories was not a component, but
had the same name as another component, than that directory would be
mistakenly added to COMPONENT_PATHS instead of the real esp32
component directory.
For example:
my_components/
my_component/
component.mk
my_component.c
esp32/
(some random stuff)
and EXTRA_COMPONENT_DIRS would point to my_components/, then "esp32"
directory would be added to COMPONENT_PATHS instead of the real esp32
component directory.
2019-02-13 16:34:50 +08:00
Roland Dobai
80cb4a1a18
tools: Don't use backslashes in Kconfigs and ignore long lines to avoid errors
...
Closes https://github.com/espressif/esp-idf/issues/3012
2019-02-01 11:33:41 +01:00
Roland Dobai
bcd584a63f
tools: check for incorrect case used in Kconfig filenames
2019-02-01 11:33:41 +01:00
Roland Dobai
d1dd3ab0d3
tools: Recognize backslashes in Kconfigs with CR+LF line endings
2019-02-01 11:33:41 +01:00
Ivan Grokhotkov
58b5394266
Merge branch 'bugfix/git_describe_always_for_cmake' into 'master'
...
tools: Add --always option to git describe for Cmake
See merge request idf/esp-idf!4107
2019-01-30 17:48:11 +08:00
Angus Gratton
0a2b54d2e3
Merge branch 'bugfix/correct_kconfigs' into 'master'
...
Correct Kconfigs according to the coding style
See merge request idf/esp-idf!4172
2019-01-30 09:24:22 +08:00
Angus Gratton
6b80955ac7
Merge branch 'update/esptool_repo_sync' into 'master'
...
ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo
See merge request idf/esp-idf!4194
2019-01-30 09:21:59 +08:00
Roland Dobai
4d156fd734
tools: replace absolute URLs in Kconfig docs
2019-01-29 16:27:02 +01:00
Angus Gratton
a672e4f44b
Merge branch 'bugfix/disable_kconfig_redundant_config_warnings_on_merge' into 'master'
...
Disable warnings on redundant config merge
See merge request idf/esp-idf!4168
2019-01-29 22:03:05 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
morris
7528dc0f20
ethernet: support new PHY (IP101)
...
1. Add support for new PHY IP101.
2. Re-enable GPIO0 output mode.
3. Clean up some docs.
2019-01-29 14:08:35 +08:00
Angus Gratton
392e820c5e
ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo
2019-01-29 15:06:11 +11:00
Renz Christian Bagaporo
00e53f447a
confgen: disable config override warnings
2019-01-29 11:17:02 +08:00
Renz Christian Bagaporo
178bbfad43
kconfiglib: allow disabling of config override warnings
...
Patches ESP-IDF copy of kconfiglib.py with modifications in commit
b65baa47f69ae4c3993876a7edf0da0075aa70ff from kconfiglib repository.
2019-01-29 11:16:25 +08:00
Renz Christian Bagaporo
5a4fe0bac8
confgen: disable redundant assignment warning
2019-01-25 18:35:58 +08:00
Renz Christian Bagaporo
d6b5f43ea0
kconfiglib: allow disabling of redundant definition warnings
...
Patches ESP-IDF copy of kconfiglib.py with modifications in commit
94c63de77c7a3422347e59e168b05174d0b9e84d from kconfiglib repository.
2019-01-25 18:35:58 +08:00
KonstantinKondrashov
3d1e064e1a
tools: Add unit tests
2019-01-24 12:13:38 +08:00
KonstantinKondrashov
187f9945bc
tools: Add --always option to git describe for Cmake
...
Fixed differences in getting of the project version for Make and Cmake.
2019-01-24 12:06:55 +08:00
Angus Gratton
58acac883d
Merge branch 'bugfix/regenerate_sdkconfig_fails' into 'master'
...
Fix issues with regenerating sdkconfig on modification
Closes #58
See merge request idf/esp-idf!4115
2019-01-24 11:56:52 +08:00
Angus Gratton
7f307423c1
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
...
Works around bug reported on forums where any source file ending in *lock.c or *creat.c
was being linked to IRAM.
https://esp32.com/viewtopic.php?f=13&t=8909&p=37362#p37362
Also moves all related functionality to newlib component.
2019-01-24 11:30:05 +08:00
Ivan Grokhotkov
07645955a2
Merge branch 'bugfix/bootloader_map_size' into 'master'
...
bootloader: fix incorrect mapping size
See merge request idf/esp-idf!3175
2019-01-23 16:56:58 +08:00
Ivan Grokhotkov
b65a088791
tinyfw: update to support new esptool argument
2019-01-22 18:40:25 +08:00
Sagar Bijwe
05220d9cda
CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.
...
When IDF_PATH is not set by the user, cmake infers the same through
other means and sets it as an environment variable. However, some
sub-invocation of cmake may not see this variable as it is not set
in the parent. This change adds a custom command for exporting IDF_PATH
just before invoking ldgen so that IDF_PATH can be used in Kconfig
without any errors.
2019-01-21 17:02:31 +05:30
KonstantinKondrashov
bf925869fe
tool: Add unit test for Kconfig gen
2019-01-16 08:16:09 +08:00
Renz Christian Bagaporo
08f472ad1e
cmake: only generate sdkconfig on top level project
2019-01-16 08:16:09 +08:00
Renz Christian Bagaporo
61329f60c3
confgen: base config creation on output type args
2019-01-16 08:16:09 +08:00
Ivan Grokhotkov
1ad8b96fed
Merge branch 'bugfix/mqtt_tests_local_broker' into 'master'
...
MQTT tests: connect to local broker when running in CI to make the tests more reliable
See merge request idf/esp-idf!3926
2019-01-14 16:29:43 +08:00
David Cermak
b13a536041
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-11 15:30:15 +01:00
Roland Dobai
00eefe0ef3
Check & correct Kconfig files
2019-01-11 13:05:55 +01:00
He Yin Ling
431653bba8
unit-test: fix 2 issues in unit test script:
...
1. Gitlab will only regard failure (not error) as failed case. Use log
failure instead of log error, to display all error msg in test result
2. fix failed case not recognized by test script when failed during
reset DUT
2019-01-10 09:51:17 +00:00
He Yin Ling
783cb692e8
unit-test-app: support passing parameter with signals
2019-01-10 09:51:17 +00:00
Sergei Silnov
0f61930872
python: Add check if current python is inside virtual environment
2019-01-08 12:21:33 +01:00
Angus Gratton
3c94b6e10a
Merge branch 'test/fix_failed_to_download_in_example_test' into 'master'
...
test: fix failed to download in example test
See merge request idf/esp-idf!4061
2019-01-03 15:14:22 +08:00
He Yin Ling
1c54630eaa
test: fix failed to download in example test:
...
1. example test uses auto detect flash size. we need to call
`detect_flash_size` before write flash
2. fix incorrect baudrate used: when using WROVER-Kits, it's likely that download with baudrate 921600
will fail. If we don't reset serial setting in decorator, 921600 will
become the default baudrate. This causes all the subsequent
communication fails
3. do hw reset after used esptool function
2019-01-02 20:49:03 +08:00
Roland Dobai
aca6e7b66a
tools: Be more helpful to MSYS32 users with package installation
2019-01-02 07:53:57 +01:00
Angus Gratton
6578673ed4
Merge branch 'feature/esp_platform_cmake_pr2601' into 'master'
...
cmake: Add ESP_PLATFORM in CMake build (PR 2601)
See merge request idf/esp-idf!3823
2019-01-02 14:03:52 +08:00
Renz Christian Bagaporo
50fa7c5a89
cmake: fix unable to start confserver on windows
2018-12-23 19:52:58 +08:00
Angus Gratton
849088d467
cmake: Add ESP_PLATFORM in idf_set_variables() as well
...
(Handles case where idf.py is not being used.)
Ref https://github.com/espressif/esp-idf/pull/2601
2018-12-21 18:59:28 +11:00
Per Malmberg
25333b59c2
Add ESP_PLATFORM to build environment.
...
Merges https://github.com/espressif/esp-idf/pull/2601
2018-12-21 18:59:28 +11:00
Ivan Grokhotkov
88dc626fd7
Merge branch 'feature/example_defconfig_ci' into 'master'
...
ci, examples: use sdkconfig.ci as an extra defaults file, if present
See merge request idf/esp-idf!3934
2018-12-21 12:14:57 +08:00
Angus Gratton
16854e1f40
Merge branch 'bugfix/cmake_list_component_config_alphabetically' into 'master'
...
List menuconfig component config items alphabetically via component name
See merge request idf/esp-idf!3939
2018-12-21 07:50:31 +08:00
Angus Gratton
78487123bf
Merge branch 'feature/cut_len_for_header_struct' into 'master'
...
build: Add trimming PROJECT_VER and PROJECT_NAME vars
See merge request idf/esp-idf!3927
2018-12-21 07:45:22 +08:00
Roland Dobai
0ad452e7b7
ci: Multi-device tests cannot run under Python 3
2018-12-20 12:44:33 +01:00
Roland Dobai
4ca2b149e5
examples, tools: Fix Python3 deprecation warning for the imp module
2018-12-20 12:44:33 +01:00
Renz Christian Bagaporo
16c88bf320
cmake: list items in component config via alphabetical component name
2018-12-20 19:08:00 +08:00
Angus Gratton
7b13308549
Merge branch 'feature/pystyle_tools' into 'master'
...
tools: Fix the Python coding style
See merge request idf/esp-idf!3901
2018-12-20 10:36:01 +08:00
Angus Gratton
ee7b660163
Merge branch 'bugfix/windows_install_prerequisites_idf_path' into 'master'
...
windows_install_prerequisites: Fix bug if IDF_PATH is not set
See merge request idf/esp-idf!3874
2018-12-20 09:19:03 +08:00
Roland Dobai
bfa9610f58
tools: Fix the Python coding style
2018-12-19 11:56:24 +01:00
Angus Gratton
769bd4a4af
linker: When using section type attributes, create unique sections
...
* Prevents section type conflict errors if (say) const & non-const data
is put into the same section (ie with DRAM_ATTR)
* Allows linker --gc-sections to remove unused custom sections
2018-12-19 04:42:04 +00:00
Konstantin Kondrashov
7b68e346fa
build: Fix a warning from git describe
...
Fixed a fatal message when run `git describe`.
2018-12-18 15:58:22 +08:00
Angus Gratton
b3249d56f3
unit tests: Fix retrying with a new baud rate in IDFDUT.start_app()
2018-12-18 14:09:29 +11:00
Angus Gratton
f6e857c2b9
unit tests: Keep serial port open when running esptool
...
* Call esptool directly not via subprocess
* Use the same serial port instance for listener thread and esptool
* Includes some refactoring for encapsulation of App vs DUT members
2018-12-18 14:09:29 +11:00
Angus Gratton
0a27cfa850
unit_test.py: Allow importing tiny-test-fw from IDF_PATH as well as TEST_FW_PATH
2018-12-18 14:09:05 +11:00
Angus Gratton
972cf1b416
Merge branch 'bugfix/ldgen_make_build_regression' into 'master'
...
Fix 'command not found' error when building on linux with make
See merge request idf/esp-idf!3977
2018-12-18 06:41:23 +08:00
Renz Christian Bagaporo
911d2352ac
ci: detect command not found build errors
2018-12-17 14:04:49 +08:00
Angus Gratton
480fb72b46
Merge branch 'bugfix/prov_example_tests' into 'master'
...
Fix provisioning example tests
See merge request idf/esp-idf!3667
2018-12-17 13:06:44 +08:00
Ivan Grokhotkov
da2116f55c
Merge branch 'bugfix/build_system_test_fixes_windows' into 'master'
...
Various fixes for build tests on Windows
See merge request idf/esp-idf!3944
2018-12-14 20:19:51 +08:00
Renz Christian Bagaporo
5d6e21795b
tools: fix makefile converter windows path issue
2018-12-13 18:20:51 +08:00
Renz Christian Bagaporo
5511541d20
ci: fix build test with IDF_PATH unset on Windows
2018-12-13 18:20:51 +08:00
Jiang Jiang Jian
d75ab3208f
Merge branch 'test/add_case_to_detect_ds2ds_issue' into 'master'
...
test: add case to detect ds2ds issue
See merge request idf/esp-idf!3834
2018-12-13 14:49:30 +08:00
Anurag Kar
66a9762b2a
esp_prov : python coding style fixed as per conventions
2018-12-13 11:03:43 +05:30
Anurag Kar
5e0d222188
esp_prov : Added config option for enabling exception throw from within APIs
...
Example tests updated to enable exception throwing feature of esp_prov
2018-12-13 11:01:33 +05:30
Anurag Kar
3fe8065b7f
provisioning : tweak example test timeouts to reduce failures
2018-12-13 11:01:33 +05:30
Anton Maklakov
240c343805
cmake: Put a variable to the cache to have access one in other cmake files
2018-12-13 12:29:27 +08:00
Roland Dobai
b0a43f07d9
tools: Print useful error message from idf_monitor when toolchain isn't available
2018-12-12 08:22:45 +01:00
Konstantin Kondrashov
c0f5e58bdc
build: Add trimming PROJECT_VER and PROJECT_NAME vars
2018-12-11 11:23:53 +08:00
Ivan Grokhotkov
7ecdb1bb27
ci, examples: use sdkconfig.ci as an extra defaults file, if present
...
- Allows placing CI-specific settings into sdkconfig.ci file
- Allows substituting environment variables in sdkconfig.ci
2018-12-10 16:29:24 +08:00
Anton Maklakov
0652a4b714
ci: Use more pedantic checking for examples and ut
2018-12-10 12:34:16 +08:00
Anton Maklakov
ac18b1024a
cmake: Add support for EXTRA_CFLAGS and EXTRA_CXXFLAGS
2018-12-10 12:34:16 +08:00
Anton Maklakov
812a49bd0d
Merge branch 'bugfix/shell_exit' into 'master'
...
scripts: Fix shell exit
See merge request idf/esp-idf!3908
2018-12-07 00:49:52 +08:00
Angus Gratton
8c7a6be627
Merge branch 'bugfix/ldgen_make_escaping' into 'master'
...
make/ldgen: Fix generation of ldgen.section_infos file when shell is bash
See merge request idf/esp-idf!3893
2018-12-06 13:27:36 +08:00
Angus Gratton
54532c6189
build example tests: Use portable "sed -i" form
2018-12-06 15:28:18 +11:00
Angus Gratton
ff71ea9202
Merge branch 'bugfix/win_path_print' into 'master'
...
tools: correct printed path on MS Win
See merge request idf/esp-idf!3853
2018-12-06 07:18:32 +08:00
Anton Maklakov
34109c4171
scripts: Fix shell exit. Really exit from current process, not from child process
2018-12-05 21:25:16 +08:00
Angus Gratton
9f8587360c
ldgen: Fix crash if --sections argument not supplied
2018-12-05 18:29:28 +11:00
Roland Dobai
4749b118bc
tools: fix idf.py monitor for MSYS
2018-12-05 07:52:25 +01:00
Angus Gratton
d50af8bd53
Merge branch 'bugfix/no_tests_for_unit_test_example' into 'master'
...
cmake: fix error in converting project variables to namespaced ones
See merge request idf/esp-idf!3887
2018-12-05 12:58:42 +08:00
Angus Gratton
36be9b36dd
Merge branch 'bugfix/fix_menuconfig_for_windows' into 'master'
...
Fix various errors for menuconfig on Windows
Closes #50
See merge request idf/esp-idf!3848
2018-12-05 11:34:49 +08:00
Ivan Grokhotkov
8a7b46aa90
Merge branch 'feature/anti_rollback_exp' into 'master'
...
esp32: Add firmware version to app
See merge request idf/esp-idf!3461
2018-12-05 11:10:04 +08:00
Renz Christian Bagaporo
b11238df4d
ci: add test for setting EXTRA_COMPONENT_DIRS
2018-12-05 10:51:10 +08:00
Renz Christian Bagaporo
0d5660fbde
cmake: fix error in converting project variables to namespaced ones
...
Closes https://github.com/espressif/esp-idf/issues/2764
2018-12-05 10:51:10 +08:00
Renz Christian Bagaporo
50d7067391
cmake: fix mconf path for existing mconf
...
Fixes https://github.com/espressif/esp-idf/issues/2771
Fixes https://github.com/espressif/esp-idf/issues/2722
2018-12-05 07:54:59 +08:00
Angus Gratton
2b557523ba
Merge branch 'bugfix/generic_cmake_gc_sections' into 'master'
...
generic cmake: Always use gc-sections when linking IDF libraries
See merge request idf/esp-idf!3873
2018-12-04 11:01:51 +08:00
Angus Gratton
2946b5f384
Merge branch 'bugfix/ldgen_cmd_args_too_long' into 'master'
...
Fix issue with generating linker script using Windows command line
See merge request idf/esp-idf!3865
2018-12-04 10:42:58 +08:00
Angus Gratton
4c8c88af22
windows_install_prerequisites: Fix bug if IDF_PATH is not set
...
if IDF_PATH is empty, [ -n ] test passes needs to be [ -n "" ]
Closes https://github.com/espressif/esp-idf/issues/2769
TW27714
2018-12-04 11:02:49 +11:00
Angus Gratton
89826e8f47
generic cmake: Always use gc-sections when linking IDF libraries
...
Required for some IDF binary libraries
Reported on forum: https://esp32.com/viewtopic.php?f=13&t=7535&p=34863#p34852
TW27733
2018-12-04 10:47:00 +11:00
Konstantin Kondrashov
3b9cb25fe1
esp32: Add firmware version to app
...
Added a new structure esp_app_desc_t. It has info about firmware:
version, secure_version, project_name, time/date build and IDF version.
Added the ability to add a custom structure with a description of the firmware.
The esp_app_desc_t is located in fixed place in start of ROM secotor. It is located after structures esp_image_header_t and esp_image_segment_header_t.
app_version is filed from PROJECT_VER variable (if set in custom make file) or PROJECT_PATH/version.txt or git repo (git describe).
Add API to get app_desc from partition.
2018-12-03 16:52:04 +08:00
Renz Christian Bagaporo
a7a1c32a8e
cmake, make: fix long cmd line args for ldgen
2018-12-03 12:26:38 +08:00
Angus Gratton
554cf77963
Merge branch 'bugfix/convert_to_cmake' into 'master'
...
Fix minor issue with convert_to_cmake script
See merge request idf/esp-idf!3666
2018-12-03 11:39:12 +08:00
Roland Dobai
f7281c75c7
tools: correct the coding style of check_python_dependencies.py
2018-11-30 13:43:28 +01:00
Roland Dobai
98bc172f58
tools: correct printed path on MS Win
2018-11-30 13:43:28 +01:00
Angus Gratton
a34a27010b
Merge branch 'feature/partition_tools' into 'master'
...
Partition level tools
See merge request idf/esp-idf!3355
2018-11-30 14:15:51 +08:00
Angus Gratton
c22512d27f
Merge branch 'bugfix/ldgen_error_messages' into 'master'
...
ldgen: Improve error output when linker input is invalid
See merge request idf/esp-idf!3824
2018-11-30 11:15:23 +08:00
Angus Gratton
f845af840f
Merge branch 'bugfix/build_fail_on_idf_as_lib' into 'master'
...
cmake: fix error on building idf as lib when env IDF_PATH is not set
See merge request idf/esp-idf!3832
2018-11-30 10:59:18 +08:00
He Yin Ling
b0154cbf58
unit-test-app: fix the RegEx to detect test case:
...
tags are not correctly parsed if eol do not contain `\r`
2018-11-29 23:06:16 +08:00
He Yin Ling
5ae3a11c8d
tiny-test-fw: fix exception when expect RegEx:
...
match.groups() could return None. We can't do decode on None object.
2018-11-29 23:06:16 +08:00
Ivan Grokhotkov
499fdbd33d
Merge branch 'feature/fatfs_alloc_extram_option' into 'master'
...
fatfs: add option to prefer ext. RAM for internal buffers
See merge request idf/esp-idf!3821
2018-11-29 22:59:01 +08:00
Ivan Grokhotkov
bbeb62547e
fatfs: add option to prefer ext. RAM for internal buffers
2018-11-29 19:26:46 +08:00
Mahavir Jain
a3785792eb
tools/ci: add test case for convert_to_cmake script
...
Following issue was already fixed with earlier commit-id f4cfca4353
Here additional build test case is added and marking issue as closed.
Closes: https://github.com/espressif/esp-idf/issues/2660
2018-11-29 15:15:13 +05:30
Ivan Grokhotkov
56e4c6e5a3
Merge branch 'bugfix/menuconfig_fails_on_cmake' into 'master'
...
Fix menuconfig fail on cmake
Closes #48
See merge request idf/esp-idf!3826
2018-11-29 16:10:21 +08:00
Renz Christian Bagaporo
ba6058ba58
cmake: fix error on building idf as lib when env IDF_PATH is not set
2018-11-29 15:40:16 +08:00
Renz Christian Bagaporo
da1f3ea12a
kconfig: pass env variable to menuconfig invocation
2018-11-29 13:22:10 +08:00
Renz Christian Bagaporo
f6375952bb
kconfig: specify full path of built mconf
2018-11-29 13:16:13 +08:00
Angus Gratton
073dbe6d1d
Merge branch 'bugfix/idf_monitor_tests' into 'master'
...
Adjust the timeout of the idf_monitor tests
See merge request idf/esp-idf!3802
2018-11-29 11:03:25 +08:00
Angus Gratton
d4a5682e7d
ldgen: Improve error output when linker input is invalid, don't create output file until end of process
2018-11-29 12:41:35 +11:00
Ivan Grokhotkov
2c7fc07aae
Merge branch 'bugfix/various_ldgen_fixes' into 'master'
...
Fix multiple ldgen issues
Closes #47
See merge request idf/esp-idf!3799
2018-11-29 01:46:02 +08:00
Renz Christian Bagaporo
b926764385
examples: add otatool and parttool examples
2018-11-28 17:28:20 +08:00
Renz Christian Bagaporo
bceec35d0e
cmake: use otatool and parttool for build
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
8ca6904d55
ota: implement otatool functionality
2018-11-28 15:57:20 +08:00
Angus Gratton
06eebfe15f
Merge branch 'bugfix/ignore_windows_conf_tools' into 'master'
...
gitignore: Add mconf-idf.exe and conf-idf.exe
See merge request idf/esp-idf!3806
2018-11-28 15:46:15 +08:00
Renz Christian Bagaporo
4c83f456ab
cmake: generate sections info for all static libs as in make
2018-11-28 14:24:21 +08:00
Renz Christian Bagaporo
a9c784339d
ldgen: fix error on parsing archive from sections info
2018-11-28 14:14:54 +08:00
Renz Christian Bagaporo
22b4c95d1e
ldgen: add traceback in case of exception
2018-11-28 14:14:54 +08:00
Angus Gratton
6f8e2b018f
Merge branch 'feature/generic_cmake_support' into 'master'
...
Generic CMake Support
See merge request idf/esp-idf!3543
2018-11-28 10:42:47 +08:00
Angus Gratton
fac12d0dae
Merge branch 'bugfix/windows_install_prerequisites' into 'master'
...
windows_install_prerequisites: Fix generation of PATH command
See merge request idf/esp-idf!3798
2018-11-28 09:11:08 +08:00
Angus Gratton
f7811671ae
gitignore: Add mconf-idf.exe and conf-idf.exe
...
Problem since f6cd55d2ac
Closes https://github.com/espressif/esp-idf/issues/2751
2018-11-28 12:05:29 +11:00
Renz Christian Bagaporo
f1f0bd4b1c
ci: update for running cmake examples
2018-11-27 19:56:52 +08:00
Roland Dobai
cedc0b6643
Adjust the timeout of the idf_monitor tests
2018-11-27 09:53:56 +01:00
Renz Christian Bagaporo
37d30c7a6e
cmake: separate app from idf lib project
...
mbedtls: import mbedtls using unmodified cmake file
2018-11-27 13:59:24 +08:00
Angus Gratton
b7f56e86ba
windows_install_prerequisites: Fix generation of PATH command
...
Accidental regression in 7c8d5d2782
- escape
character didn't move with PATH.
Reported on forum https://esp32.com/viewtopic.php?f=13&t=8201
2018-11-27 09:36:43 +11:00
Roland Dobai
1b464d23a9
tools: Correct coding style of idf_monitor
2018-11-26 15:02:39 +01:00
He Yin Ling
1c65f18422
Merge branch 'test/enhanced_junit_test_result' into 'master'
...
test: enhanced junit test result
See merge request idf/esp-idf!2766
2018-11-26 16:35:08 +08:00
Angus Gratton
03c59658cb
Merge branch 'bugfix/test_idf_monitor_hangs' into 'master'
...
tools: Fix idf_monitor test case occasional hangup or failure
Closes #39
See merge request idf/esp-idf!3651
2018-11-26 15:29:55 +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
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
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
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
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
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
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
Shivani Tipnis
e1774cb6f9
Update minimum version for cryptography package required
2018-11-19 11:13:37 +05:30
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
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
Ivan Grokhotkov
d4ef2135f0
ci: support building examples with external components
2018-11-19 12:36:31 +08:00
Renz Christian Bagaporo
364f98b67e
cmake: fix for parsing unit test config
2018-11-16 12:00:39 +00:00
Renz Bagaporo
63411fc556
tools: implement linker script generation
2018-11-16 12:42:02 +08:00
Ivan Grokhotkov
7b86247428
unit-test: use TEST_GROUPS to filter tests for psram_vspi and psram_hspi
2018-11-15 12:27:05 +00:00
Ivan Grokhotkov
09e4321e97
unit test: allow filtering tests for configs using TEST_GROUPS
2018-11-15 12:27:05 +00:00
Mahavir Jain
79043882d9
tools: fix cmake build script for sdkconfig test
2018-11-14 22:50:12 +08:00
Anton Maklakov
8e1c91ac7d
cmake: fix the creation dummy main to avoid rebuilding
2018-11-14 22:39:54 +08:00
Angus Gratton
beada90b06
Merge branch 'bugfix/cmake_utf_decode' into 'master'
...
tools: Fix Unicode decode error & indentation error
See merge request idf/esp-idf!3669
2018-11-13 09:54:28 +08:00
Ivan Grokhotkov
7efb3926c5
Merge branch 'feature/build_system_multi_target' into 'master'
...
build system: support for multiple targets (CMake only)
See merge request idf/esp-idf!3499
2018-11-12 15:30:36 +08:00
Angus Gratton
a96deceb27
Merge branch 'feature/cmake_secure_boot_support' into 'master'
...
CMake : Secure Boot support added
See merge request idf/esp-idf!3522
2018-11-12 09:09:30 +08:00
Ivan Grokhotkov
ccfa134533
build system: support for multiple targets
2018-11-11 21:46:02 +08:00
Ivan Grokhotkov
e2ca285fae
confgen.py: allow multiple defaults files
2018-11-11 21:44:35 +08:00
Roland Dobai
f4cfca4353
tools: Fix UTF decode error
2018-11-08 13:02:03 +01:00
Ivan Grokhotkov
621e316725
Merge branch 'feat/psram_support_hspi' into 'master'
...
esp32: support to use hspi to output clock for 4M psram
See merge request idf/esp-idf!3377
2018-11-06 20:34:41 +08:00
Anurag Kar
1f6622b2d1
CMake : Secure Boot support added
2018-11-06 17:09:55 +05:30
Ivan Grokhotkov
e4b68c49f2
Merge branch 'bugfix/py3_ci_enable' into 'master'
...
Enable Python 3 bot tests in master
See merge request idf/esp-idf!3615
2018-11-05 19:49:32 +08:00
Ivan Grokhotkov
761d44bd36
Merge branch 'bugfix/xts_compile_err' into 'master'
...
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
See merge request idf/esp-idf!3506
2018-11-05 16:58:38 +08:00
Roland Dobai
e77d15042d
CI: Update Python 3 ignore list
2018-11-05 08:11:02 +01:00
Roland Dobai
d4ba3bd2eb
idf_ext.py: Fix Python 3 compatibility issue
2018-11-05 08:11:02 +01:00
Angus Gratton
74d8806af0
Merge branch 'bugfix/build_example_make' into 'master'
...
Better detection failures in built_examples
See merge request idf/esp-idf!3604
2018-11-02 13:04:40 +08:00
Angus Gratton
3f82d21d0e
Merge branch 'test/fix_unit_test_script_cant_process_test_command' into 'master'
...
test: fix UT script can't process cmd after reset
See merge request idf/esp-idf!3372
2018-11-02 13:02:42 +08:00
David Cermak
8ce1f55b59
mqtt: example tests refactored to provide descriptive failures, addapted to python23, removed workarround for launching without mqtt-paho package
2018-11-01 09:04:09 +01:00
Sagar Bijwe
fbcc160675
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
2018-11-01 12:08:45 +05:30
Anton Maklakov
0fb6f619c5
ci: Detect undetectable failures in build_examples
2018-11-01 11:38:41 +08:00
Anton Maklakov
124919bfc6
ci: Count build_example jobs in decimal instead of octal
2018-11-01 10:52:19 +08:00
Michael (XIAO Xufeng)
ff346f92af
psram: add test for 4M psram
2018-10-29 20:26:30 +08:00
He Yin Ling
2b4e34171b
test: fix UT script can't process cmd after reset:
...
There's still a small chance that can't process command issue still
happen on some runners. Now we change the way to detect if the runner
reset finished: input `-` to check test history for a few times until it
succeeded. If DUT can process check history command, then it should be
able to process other test commands.
2018-10-26 08:42:22 +00:00
Angus Gratton
f55509bd3f
Merge branch 'bugfix/py3_ci' into 'master'
...
Fix Python3 compatibility issues
See merge request idf/esp-idf!3487
2018-10-26 13:45:19 +08:00
Angus Gratton
76fcee55a6
Merge branch 'bugfix/idf_pyserial_error' into 'master'
...
idf.py: Import from pyserial after packages have been checked
See merge request idf/esp-idf!3519
2018-10-26 12:58:03 +08:00
Roland Dobai
f59358dad3
idf.py: Import from pyserial after packages have been checked
...
Closes https://github.com/espressif/esp-idf/issues/2573
2018-10-25 08:38:00 +02:00
Roland Dobai
9daf51e6be
Fix Python 3 compatibility issues
2018-10-24 11:20:54 +02:00
He Yin Ling
722a7e3b53
CI: only create required jobs when use bot to trigger test:
...
Gitlab CI now allow us to define if a job need to be created by
varialbes. This commit add label to CI jobs, so we can make some jobs
not created in certain scenarios when we trigger pipeline with @bot.
2018-10-24 09:19:39 +00:00
Angus Gratton
7c29a39d6f
Merge branch 'feature/ci_multi_python' into 'master'
...
CI: Support switching between various versions of Python
See merge request idf/esp-idf!3520
2018-10-24 17:00:38 +08:00
Renz Bagaporo
cc774111bf
cmake: Add support for test build
2018-10-20 12:07:24 +08:00
Roland Dobai
824e5fac23
CI: Support switching between various versions of Python
2018-10-19 11:12:11 +02:00
Ivan Grokhotkov
3e65ce3e93
Merge branch 'bugfix/unit_tests_tcpip_adapter' into 'master'
...
unit tests: Only initialise tcpip_adapter() when needed by the test
See merge request idf/esp-idf!3364
2018-10-19 12:33:09 +08:00
Ivan Grokhotkov
c76f71cd5f
Merge branch 'bugfix/move_ringbuf_lib_to_iram' into 'master'
...
esp_ringbuf: fix default placement from flash to IRAM
See merge request idf/esp-idf!3452
2018-10-18 22:57:46 +08:00
Ivan Grokhotkov
ebe0e2939a
Merge branch 'bugfix/ci_missing_outputs' into 'master'
...
Tiny-test-fw: Fix string comparison which cases ignore of test cases
See merge request idf/esp-idf!3458
2018-10-18 22:41:48 +08:00
Ivan Grokhotkov
d91b18080b
unit test: split psram config into two configs to free up IRAM
2018-10-17 23:34:07 -05:00
Angus Gratton
dac6fd3434
cmake: Fix Windows issue running menuconfig in Command Prompt if winpty on Path
...
Previous version assumed having winpty on the Path meant that it would be needed,
but some tools (like Atlassian Sourcetree) permanently add winpty to the path.
Symptom is arrow keys not working in menuconfig dialog.
2018-10-18 09:56:16 +11:00
Angus Gratton
da0f9717be
Sign IDF Tools installer with 'osslsigncode', update to V1.2
...
Uninstaller is still unsigned, as currently building and signing in 'wine'
and running Linux osslsigncode inside Inno Setup inside wine is awkward.
Closes https://github.com/espressif/esp-idf/issues/1909
TW20810
2018-10-18 09:56:16 +11:00
Angus Gratton
efd62a50b9
windows: Add License (GPL) display to IDF Tools installer
2018-10-18 09:56:16 +11:00
Angus Gratton
0798251355
windows: Add Python dependencies, openocd, and ULP to installer
2018-10-18 09:56:16 +11:00
Angus Gratton
159ff6e08e
unit tests: Only initialise tcpip_adapter() when needed by the test
...
Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.
2018-10-17 22:53:46 +00:00
Roland Dobai
374f92c0a0
Tiny-test-fw: Fix string comparison which cases ignore of test cases
...
Example tests from examples/protocols/http_server/ were silently ignored
because of incompatible string comparisons.
2018-10-17 11:07:04 +02:00
Angus Gratton
dad3531f96
Merge branch 'update/mfg_gen' into 'master'
...
Update mfg utility and nvs partition utility to make Python2 and Python3 compatible
See merge request idf/esp-idf!3243
2018-10-17 15:23:27 +08:00
Jeroen Domburg
81e35a142a
Spiram: Add option to reserve MMU banks; add himem API to make use of those banks
2018-10-15 14:32:58 +08:00
Shivani Tipnis
7c08fcccaf
util: Update docs as per review comments
2018-10-12 11:04:49 +05:30
Shivani Tipnis
5bee9faf49
tools: Add Python2 and Python3 compatibility support to nvs util tool and mfg tool
2018-10-12 11:04:49 +05:30
Shivani Tipnis
0f6bcec2bc
nvs_part_gen: Add changes to partition size input
2018-10-12 11:04:49 +05:30
Shivani Tipnis
302d339640
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
1f49e64730
Update mfg utility as per updated nvs partition util
2018-10-12 11:04:49 +05:30
Shivani Tipnis
fb31788504
nvs_part_gen: Add changes to partition size input
2018-10-12 11:04:49 +05:30
Shivani Tipnis
807e72adce
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
17c907b35e
Update mfg utility as per updated nvs partition util
2018-10-12 11:04:49 +05:30
Angus Gratton
299704cec3
Merge branch 'feature/unified_provisioning' into 'master'
...
provisioning: This patch adds the unified provisioning support
See merge request idf/esp-idf!2812
2018-10-10 16:29:11 +08:00
Angus Gratton
7313e39fde
Merge branch 'feature_add_path_tools_pr2410' into 'master'
...
add_path.sh: cmake: add tools folder to the path
See merge request idf/esp-idf!3344
2018-10-05 12:34:10 +08:00
Angus Gratton
ee0ebc1e1a
Merge branch 'test/enhanced_unit_test_config_dependency' into 'master'
...
test: enhanced config dependency support for CI
See merge request idf/esp-idf!3383
2018-10-05 09:21:30 +08:00
Anurag Kar
84f094453b
Examples : Added provisioning examples, tests and client tool.
...
* BLE and softAP provisioning examples added along with tests.
* An application specific example added for demonstrating custom provisioning scheme.
* tools/esp_prov/esp_prov.py can be used as a provisioning client for SoftAP, BLE and CLI based transports.
Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
2018-10-02 19:07:28 +05:30
Amey Inamdar
3ba8eed60a
protobuf-c : Added Google's protocol buffer C library as sub-module
...
Source https://github.com/protobuf-c/protobuf-c
Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
2018-10-02 19:07:28 +05:30
Angus Gratton
246a608db0
windows: Special check for some MSYS2 Python packages
...
MSYS2 MINGW requires some particular MSYS2-specific packages.
Closes https://github.com/espressif/esp-idf/issues/2480
Closes https://github.com/espressif/esp-idf/issues/2474
Closes https://github.com/espressif/esp-idf/issues/2486
2018-10-01 17:21:48 +10:00
Angus Gratton
319fa2264f
windows: Update MSYS2 environment, add Python requirements to setup script
2018-10-01 16:16:49 +10:00
He Yin Ling
b4fe43912f
ci: adjust expire time for CI artifacts:
...
set shorter time to save some space on server. For those artifacts need
to be stored for long time, we can manually press "keep" button in job page.
Also add a CI job to check if all artifacts have set expire time.
2018-09-29 03:54:14 +00:00
He Yin Ling
737f33e379
test: enhanced config dependency support for CI:
...
allow define complex conditions for the dependency of each tag.
2018-09-27 15:23:44 +08:00
Anton Maklakov
7c8d5d2782
docs, scripts: Correct the priority of the PATH setting
2018-09-27 14:55:37 +08:00
Ivan Grokhotkov
5ebf4f7022
Merge branch 'feature/move_rtc_data_rtc_rodata_to_RTC_FAST_seg' into 'master'
...
esp32: Add option to place .rtc_data and .rtc_rodata into the RTC_FAST segment
See merge request idf/esp-idf!2128
2018-09-27 13:05:06 +08:00
Ivan Grokhotkov
84d2f510ea
Merge branch 'bugfix/ci_example_test' into 'master'
...
tools: Make Utility.console_log accept Unicode and byte strings as well
See merge request idf/esp-idf!3367
2018-09-27 11:26:44 +08:00
Ivan Grokhotkov
ea7e6bd8f6
Merge branch 'feature/py23_kconfig_new' into 'master'
...
tools: Make kconfig_new Python3-compatible and enable Python3 in idf.py
See merge request idf/esp-idf!3304
2018-09-27 11:26:32 +08:00
Ivan Grokhotkov
6baf743212
Merge branch 'bugfix/lwip_compat_headers' into 'master'
...
lwip: add compatibility headers for sntp.h and esp_ping.h
See merge request idf/esp-idf!3231
2018-09-27 11:21:37 +08:00
Ivan Grokhotkov
135eef767f
Merge branch 'bugfix/idf_ver_out_of_tree' into 'master'
...
cmake: pass repository path to git when doing git describe
See merge request idf/esp-idf!3328
2018-09-27 11:21:25 +08:00
Roland Dobai
9ea9d111c8
tools: Make Utility.console_log accept Unicode and byte strings as well
2018-09-26 12:56:00 +02:00
Angus Gratton
607d899503
Merge branch 'feature/py23_examples' into 'master'
...
Examples: Add Python 2&3 support
See merge request idf/esp-idf!3237
2018-09-26 08:41:42 +08:00
Ivan Grokhotkov
e1ac237169
Merge branch 'doc/fix_config_links' into 'master'
...
doc: Fix config links, add navigation lists to config items page
See merge request idf/esp-idf!3310
2018-09-25 18:23:24 +08:00
Roland Dobai
975688b97f
examples: Use flushed print to see logs on the CI server
2018-09-25 08:05:56 +02:00
Roland Dobai
17b7959de9
Examples: Add Python 2&3 support
2018-09-25 08:05:56 +02:00
Sagar Bijwe
48fccbf5dd
nvs_flash: Add support for nvs encryption
2018-09-24 11:25:21 +05:30
Roland Dobai
bf443a763f
tools: Support overwrite of includes for gen_esp_err_to_name.py
...
gen_esp_err_to_name.py includes files like
components/lwip/include/apps/esp_ping.h as "apps/esp_ping.h" because all
subdirectories of "include" are used. If "components/lwip/include/apps"
is in the path of the compiler instead of "components/lwip/include" then
include "apps/esp_ping.h" will fail. This fix allows to process lines
like:
'// gen_esp_err_to_name.py: some text "esp_ping.h" some text'
in header files for overwriting the include.
2018-09-21 14:09:37 +08:00
Ivan Grokhotkov
2e6e87816c
Merge branch 'feature/crosstool_backport' into 'master'
...
Backport of work of gcc8 toolchain to v3
See merge request idf/esp-idf!3154
2018-09-21 14:07:41 +08:00
Angus Gratton
9421f6611f
doc: Render config items "Found in:" as a set of links to menus
2018-09-21 11:05:13 +10:00
Anton Maklakov
90d4a1d1e9
cmake: Add a compatible old GCC flag, fix the cmake example building
2018-09-20 18:53:15 +08:00
Anton Maklakov
9a55557ad8
build system: Add a compatible old GCC flag
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
c2a04f6517
unity: silence unused const variables warning
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
91fa1764e5
docs: generate toolchain download links
2018-09-20 18:53:14 +08:00
Anton Maklakov
ab21644df4
toolchain: Set the supported toolchain version in a separate file
2018-09-20 18:53:13 +08:00
Ivan Grokhotkov
59d590ff48
cmake: pass repository path to git when doing git describe
...
Fixes getting IDF version in out-of-tree builds
2018-09-20 16:18:25 +08:00
Roland Dobai
130a8ea324
tiny-test-fw: Detect either 'download.config' or 'flash_project_args'
2018-09-20 06:39:04 +00:00
Angus Gratton
593abe0768
Merge branch 'test/fix_ut_cant_process_test_command' into 'master'
...
test: fix ut can't process test command
See merge request idf/esp-idf!3306
2018-09-20 14:38:25 +08:00
Ivan Grokhotkov
af453841ea
Merge branch 'bugfix/ci_cmake_examples' into 'master'
...
CI/cmake: Fix cmake example build failures, gcov
See merge request idf/esp-idf!3296
2018-09-20 12:05:07 +08:00
Angus Gratton
9add51bc6d
doc: Re-add summaries of what children each menu item has
...
Slightly different to the original version of this, but same goal.
2018-09-19 17:27:48 +10:00
Roland Dobai
173e6aab3e
tools: Make kconfig_new Python3-compatible and enable Python3 in idf.py
2018-09-19 08:38:09 +02:00
Angus Gratton
b38a6da74b
cmake: Fix some failing example builds, fix gcov
2018-09-19 14:38:19 +10:00
He Yin Ling
44e8ec584f
test: ut can't process test command:
...
check ut reset done condition is not correct. If bootup pattern already
exist in cache, we will return without waiting for DUT bootup.
2018-09-19 09:40:59 +08:00
Roland Dobai
da6479e6b7
Correct Python 3 support for some test related scripts
2018-09-18 09:55:51 +00:00
Mahavir Jain
4ec9aa9a00
cmake: prefer version.txt
for IDF_VER if available
2018-09-14 17:25:17 +05:30
Ivan Grokhotkov
d56a400709
Merge branch 'bugfix/cmake_create_dummy_main_windows' into 'master'
...
cmake: use built-in file function to create dummy main
See merge request idf/esp-idf!3253
2018-09-14 15:18:36 +08:00
Ivan Grokhotkov
31c14a5ee4
Merge branch 'feature/py3_espcoredump' into 'master'
...
espcoredump: Add tests and Python3 support
See merge request idf/esp-idf!3212
2018-09-14 12:39:30 +08:00
Renz Christian Bagaporo
946f55db85
cmake: add ulp components build support
2018-09-13 14:54:59 +08:00
Angus Gratton
7848cfdde7
Merge branch 'feature/mqtt_component' into 'master'
...
added tuan's mqtt library into idf
See merge request idf/esp-idf!2851
2018-09-13 09:06:09 +08:00
Ivan Grokhotkov
d928465151
cmake: use built-in file function to create dummy main
2018-09-12 20:21:38 +08:00
Ivan Grokhotkov
8a38a2332a
cmake: don't add main component Kconfig twice
2018-09-12 19:37:25 +08:00
He Yin Ling
d4eca3abf5
Merge branch 'bugfix/multi_divece_cant_detect_case' into 'master'
...
fix the bug of multi device framework that dut can't detect case
See merge request idf/esp-idf!3176
2018-09-12 18:29:34 +08:00
Ivan Grokhotkov
ff2cea0df2
Merge branch 'bugfix/cmake_lambda' into 'master'
...
idf.py: Make the lambda function Python 2 & 3 compatible
See merge request idf/esp-idf!3245
2018-09-12 17:36:03 +08:00
Alex Lisitsyn
ec5eb1e5c2
esp32: Add option to place.rtc_data and .rtc_rodata into the RTC_FAST segment
...
Changes:
KConfig: The option CONFIG_ESP32_RTCDATA_IN_FAST_MEM is added in Kconfig file for esp32 component.
esp32.common.ld: added support of RTC_DATA_ATTR, RTC_RODATA_ATTR data placement into appropriate segment according to Kconfig option.
esp32.ld: linker script is modified to set alias for memory segment selected by Kconfig option to place data. The segments for force placement are added for RTC_FAST_ATTR, RTC_SLOW_ATTR attributes.
esp_attr.h: added new attributes RTC_FAST_ATTR, RTC_SLOW_ATTR for force placement into fest/slow memory.
test_rtc_fast.c: Added unit test cases to check data placement into appropriate memory segment.
Updated documentation for RTC_DATA_ATTR, RTC_FAST_ATTR, RTC_SLOW_ATTR in deep_sleep_stub.rst file.
TW#18001
Closes https://github.com/espressif/esp-idf/issues/1553
2018-09-12 09:25:13 +02:00
houchenyao
73a763fecb
fix the bug that multi device's dut can't detect case
2018-09-12 07:18:00 +00:00
David Cermak
23345d2021
MQTT: Integrate esp-mqtt library into idf
...
added docs and tests for mqtt library, small fixes (removed warnings, option for custom outbox, websocket bug fixed for longer transports). refactored to use common tcp_transport component, support for CMake build system.
Closes #2108
2018-09-12 08:00:59 +02:00
Roland Dobai
dff7a2a302
idf.py: Make the lambda function Python 2 & 3 compatible
2018-09-11 13:11:04 +02:00
Roland Dobai
c3d99dd2e4
Encourage to install python packages without administrative rights
...
Using 'sudo pip install' can cause a lot of problems because usually
there are a couple of Python interpreters installed. This fix encourages
developers to use `pip install --user` instead which is safer.
2018-09-11 08:54:37 +02:00
Roland Dobai
b9e1869538
espcoredump: Add tests and Python3 support
2018-09-11 08:53:06 +02:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Angus Gratton
36bc73e5a6
idf.py: Choose a default serial port for all targets if '-p' is not given
2018-09-06 20:32:49 +08:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Zhang Yan Jiao
3578fe39e0
Feature/sync lwip as submodule
2018-09-06 19:43:08 +08:00
Roland Dobai
9538059f84
CI: Simplify running commands with several versions of Python
2018-09-06 11:50:17 +02:00
Angus Gratton
b1380707e4
Merge branch 'bugfix/ci_github_deploy' into 'master'
...
ci: Fix spurious pipeline failure when deploying a tag to GitHub
See merge request idf/esp-idf!3021
2018-09-05 18:07:24 +08:00
Angus Gratton
b355854d4d
Merge branch 'master' into feature/cmake
2018-09-05 10:35:04 +08:00
Ivan Grokhotkov
4197ee746a
Merge branch 'bugfix/monitor_win_encoding' into 'master'
...
idf_monitor: Fix Unicode decoding on Windows
See merge request idf/esp-idf!3157
2018-09-04 20:31:37 +08:00
Angus Gratton
6fa52ca8fe
cmake: Call check_python_dependencies.py from idf.py & cmake
2018-09-03 18:37:53 +08:00
Angus Gratton
ae4efeb3dc
mconf: Don't include system headers in dependency files
...
Fixes issue where build gets stuck because of .d files in the
tools/kconfig directory.
Closes https://github.com/espressif/esp-idf/issues/712
2018-09-03 03:45:15 +00:00
Roland Dobai
276cba1103
idf_monitor: Fix Unicode decoding on Windows
...
Closes https://github.com/espressif/esp-idf/issues/2348
2018-08-31 12:20:55 +02:00
Angus Gratton
a6282e3e5e
cmake idf.py: Print flasher file arguments in order of file offset
...
Previously, order was random
2018-08-31 12:29:38 +08:00
Angus Gratton
c921f14128
cmake: Generate list of components with dependent items first, use deterministic ordering
...
Guarantees that a component's project_include.cmake will be called after its dependent components'
project_include.cmake. Because of cycles in the dependency graph, this is less useful than you'd
think but it gives a strong guarantee for any component which is not part of a cycle.
Also applies deterministic ordering (ordering is initialised as COMPONENT_REQUIRES_COMMON then all
COMPONENTS in alphabetical order, but then the sorting by dependencies is applied.)
2018-08-31 12:29:13 +08:00
Roland Dobai
7cfef29eb8
Docs: Check Python packages
2018-08-30 13:20:42 +02:00
Angus Gratton
5fbfd20f10
Merge branch 'master' into feature/cmake
2018-08-30 18:52:31 +08:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
Angus Gratton
7440d5f920
Merge branch 'feature/py3_idf_size' into 'master'
...
tools: Support Python 3 in idf_size.py
See merge request idf/esp-idf!2849
2018-08-30 18:12:17 +08:00
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Angus Gratton
cb158f1194
cmake: Account for missing partition CSV file at cmake runtime
...
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)
2018-08-29 20:22:55 +08:00
Renz Bagaporo
071aaea66b
Place embedded data on flash
2018-08-29 20:22:55 +08:00
Angus Gratton
408463d0bf
cmake idf.py: Fix bug in JSON parsing when printing flash commands
2018-08-29 20:22:55 +08:00
Angus Gratton
a56b3abf84
kconfiglib: Allow CONFIG_xxx= to disable booleans
...
But replace all sdkconfig.defaults to use the explicit =n (more correct)
2018-08-29 19:39:17 +08:00
Roland Dobai
5cdff46370
tools: Support Python 3 in idf_size.py
2018-08-27 13:39:07 +02:00
Roland Dobai
bc307c920c
tiny-test-fw: Print more useful info when download.config doesn't exist
2018-08-27 12:47:08 +02:00
Angus Gratton
3adf41a5fe
Merge branch 'feature/py3_idf_monitor' into 'master'
...
tools: Support Python3 in idf_monitor
See merge request idf/esp-idf!2930
2018-08-27 12:29:38 +08:00
Angus Gratton
2c8c210a66
Merge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'
...
tools: support python3 in gen_esp_err_to_name.py
See merge request idf/esp-idf!2827
2018-08-27 12:29:03 +08:00
Angus Gratton
6c95285bdb
Merge branch 'bugfix/app_update_test' into 'master'
...
app_update: Change NUM_PIN_APP_TEST for unit test
See merge request idf/esp-idf!3050
2018-08-27 08:46:02 +08:00
He Yin Ling
783d63488b
Merge branch 'bugfix/multi_case_test' into 'master'
...
test: fix the multi device stop thread bug
See merge request idf/esp-idf!3039
2018-08-24 19:54:34 +08:00
Konstantin Kondrashov
4e28799709
app_update: Change NUM_PIN_APP_TEST for unit test
...
Fixed error when `make TESTS_ALL=1`
2018-08-24 16:52:27 +08:00
Roland Dobai
79b9948cdf
tools: support python3 in gen_esp_err_to_name.py
2018-08-24 08:13:01 +02:00
Roland Dobai
7118f4734b
tools: Support Python3 in idf_monitor
...
Closes https://github.com/espressif/esp-idf/pull/1284
2018-08-24 08:12:19 +02:00
houchenyao
df83323ee3
bugfix:fix the multi device stop thread bug
2018-08-23 08:51:16 +00:00
Roland Dobai
62cad3a7d7
Add python-future by using python requirements file
2018-08-23 08:28:57 +02:00
Sachin Parekh
7a5400ce77
make dump_otadata: Displays app ota_seq and crc on console
2018-08-22 16:51:36 +08:00
Angus Gratton
7b4626f824
ci: Fix spurious pipeline failure when deploying a tag to GitHub
...
Everything succeeds, but because [ -z ${CI_COMMIT_TAG} ] on the last line returns non-zero, it
fails the job.
2018-08-22 13:11:18 +10:00
Ivan Grokhotkov
4dd7233b20
Merge branch 'feature/reset_reason' into 'master'
...
Add API to get reset reason
See merge request idf/esp-idf!2871
2018-08-21 11:34:12 +08:00
Ivan Grokhotkov
fd61c1440b
tiny-test-fw: invoke expect callbacks in order of appearance
...
Previously the callbacks were invoked in the same order as the list of
patterns to be matched.
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
b600a908c4
unit test: fix regex for detecting abort
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
164e324fe2
Merge branch 'feature/bootloader_unit_tests' into 'master'
...
app_update: Add unit tests for ota, factory, test partitions
See merge request idf/esp-idf!2565
2018-08-17 14:39:50 +08:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Konstantin Kondrashov
1da0483619
app_update: Add unit tt pests for ota, factory, test partitions
2018-08-16 09:57:32 +05:00
Tian Hao
ab73e0ff13
tools: fix ci example build report reassign warnning
2018-08-16 11:12:22 +08:00
Jiang Jiang Jian
886bf4b88e
Merge branch 'bugfix/btdm_ecdh_public_key_not_check' into 'master'
...
component/bt: Fixed the vulnerability released by Bluetooth org when using…
See merge request idf/esp-idf!2933
2018-08-13 15:44:13 +08:00
yulong
72eaaff9fe
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.
...
1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.
2018-08-13 14:08:11 +08:00
Angus Gratton
48bd67524d
cmake: Only rewrite componend_depends.cmake if it changes
2018-08-13 15:37:03 +10:00
Angus Gratton
70288f864e
cmake: Expand components relative to PROJECT_PATH correctly
2018-08-13 15:37:03 +10:00
Angus Gratton
191557db02
docs: Copy CMake docs to a separate set of directories
...
Required first step before merging back to mainline.
2018-08-13 15:37:03 +10:00
Angus Gratton
50e7b116c1
docs: Add gen-version-specific-includes.py to executables list
2018-08-13 13:37:23 +10:00
Angus Gratton
6bd58beac5
tiny-test-fw: Increase default expect timeout to 10 seconds
...
Fix CI failures due to (for example) DHCP lease taking more than 5s to be negotiated.
2018-08-03 16:55:50 +10:00
Roland Dobai
1d1533ee8e
expat: Move libexpat into submodule and update to version 2.2.5
2018-07-31 13:25:00 +02:00
Angus Gratton
321b1e0205
Merge branch 'feature/unit_tests_command_line' into 'master'
...
tools: Allow running unit tests from command line
See merge request idf/esp-idf!2589
2018-07-31 11:38:22 +08:00
Roland Dobai
40486c8723
tools: Allow running unit tests from command line
...
Add argument parsing to unit_test.py to allow running unit tests from
command line.
2018-07-30 13:05:41 +02:00
David Cermak
1ef13c524c
asio: initial idf port of asio library without ssl
2018-07-30 06:28:43 +00:00
Angus Gratton
97286b3107
Merge branch 'feature/cmd_flash_reset_ota_data' into 'master'
...
make: Add feature to cmd 'make flash' - reset ota_data partition
See merge request idf/esp-idf!2611
2018-07-30 13:52:43 +08:00
He Yin Ling
85bc2d5967
tiny-test-fw: support ignore test cases in CI assign test stage
2018-07-27 19:44:15 +08:00
He Yin Ling
316d087960
tiny-test-fw: fix exception during print debug info:
...
DUT log is unicode, might not be able to encode
2018-07-27 19:44:15 +08:00
He Yin Ling
bffcea09df
CI: erase nvs partition before test:
...
Latest NVS partition bin can't be parsed by old IDF revision. Need to erase before test.
2018-07-27 17:22:24 +08:00
Konstantin Kondrashov
de2b1cb02a
make: Add feature to cmd 'make flash' - reset ota_data partition
...
Add a command `make erase_ota` - erases otadata if it there is in the
partition table otherwise error 'Partition table does not have ota_data partition'.
Closes https://github.com/espressif/esp-idf/issues/1821
2018-07-25 11:22:15 +00:00
Ivan Grokhotkov
d50c03cc7d
Merge branch 'bugfix/unit-test-build-fix' into 'master'
...
unit-test-app: don’t include project.mk for ut- targets
See merge request idf/esp-idf!2619
2018-07-24 20:48:12 +08:00
Ivan Grokhotkov
b0af8ad22f
unit-test-app: don’t include project.mk for ut- targets
...
If project.mk is included twice in recursive invocation of Make, some
variables defined on the first pass will not be redefined on the
second pass. Rather than cleaning up these variables before calling
Make recursively, don’t include IDF project.mk at all, if one of the
ut- targets is requested.
2018-07-24 09:54:55 +03:00
Angus Gratton
466ec6d9ac
Merge branch 'bugfix/ci_use_mirror_for_public' into 'master'
...
ci: Use local mirrors on the public branches too
See merge request idf/esp-idf!2836
2018-07-24 12:19:24 +08:00
Anton Maklakov
d5f666dee3
ci: Use local mirrors on the public branches (master, release-) too
...
Use DONT_USE_MIRROR=1 to force using the original repositories if you need
2018-07-23 17:04:38 +08:00
Angus Gratton
57342c449d
Merge branch 'feature/tools_mass_mfg' into 'master'
...
Add files for mass manufacturing tool
See merge request idf/esp-idf!2716
2018-07-23 13:10:17 +08:00
Ivan Grokhotkov
999c3dbf0e
Merge branch 'feature/test_exclude_components' into 'master'
...
build: Add TEST_EXCLUDE_COMPONENTS
See merge request idf/esp-idf!2648
2018-07-20 19:43:46 +08:00
Shivani Tipnis
35205d8513
Add files and docs for mass mfg
2018-07-20 10:41:11 +05:30
Angus Gratton
aa4d77467b
Merge branch 'bugfix/esp_err_ignore_dirs' into 'master'
...
esp32: Do not document error codes defined in examples
See merge request idf/esp-idf!2732
2018-07-18 08:29:53 +08:00
He Yin Ling
4f971619fa
tiny-test-fw: save DUT log in different thread:
...
We found some SD card on Raspberry Pi could have very bad performance.
It could take seconds to save small amount of data.
If the DUT receives data and save it as log, then it stops receiving data until log is saved.
This could lead to expect timeout. As an workaround to this issue,
``BaseDUT`` class will create a thread to save logs.
Then data will be passed to ``expect`` as soon as received.
2018-07-13 07:04:05 +00:00
He Yin Ling
b452cea04e
tiny-test-fw: fix incorrect wait timeout in expect
2018-07-13 07:04:05 +00:00
He Yin Ling
5f26b36f0f
tiny-test-fw: filter examples with test level
2018-07-13 07:04:05 +00:00
He Yin Ling
23d98aa358
tiny-test-fw: print expect failure when test fails
2018-07-13 07:04:05 +00:00
Ivan Grokhotkov
46639bab85
Merge branch 'bugfix/crlf_auto_conversion' into 'master'
...
Convert CRLF (Windows line endings) to LF (Unix style), add CI check
See merge request idf/esp-idf!2119
2018-07-13 11:44:57 +08:00
He Yin Ling
01efe9a300
Merge branch 'feature/ci_support_test_one_case_multiple_times' into 'master'
...
CI: support test one case multiple times by @bot
See merge request idf/esp-idf!2692
2018-07-12 19:57:21 +08:00
He Yin Ling
05d74d532e
Merge branch 'bugfix/tiny_test_fw_filter_invalid_serial_port' into 'master'
...
tiny-test-fw: filter out invalid IDF ports
See merge request idf/esp-idf!2745
2018-07-12 19:56:48 +08:00
Roland Dobai
bb4c8b725c
Tools: Correct line endings in idf_monitor tests
2018-07-12 19:10:37 +08:00
Angus Gratton
74245d27d3
ci: Add line endings check for CRLF in repository
2018-07-12 19:10:37 +08:00
He Yin Ling
15858895a4
CI: support test one case multiple times by @bot
2018-07-11 10:22:13 +08:00
He Yin Ling
5edc9f9752
tiny-test-fw: filter out invalid IDF ports
2018-07-11 00:00:40 +08:00
Konstantin Kondrashov
bec14ad8ee
build: Add TEST_EXCLUDE_COMPONENTS
...
To exclude during the build process of unit tests some components.
2018-07-10 13:44:41 +05:00
Roland Dobai
20f80da723
esp32: Do not document error codes defined in examples
2018-07-10 07:57:54 +02:00
Roland Dobai
c1ae49dda1
Test the IDF Monitor through sockets
...
Creates a socket by socat and sends tests to the idf_monitor through it.
2018-07-09 08:37:40 +02:00
Ivan Grokhotkov
6ee3cf67bd
Merge branch 'feature/nvs_part_gen_improvements' into 'master'
...
Feature/nvs part gen improvements
See merge request idf/esp-idf!2555
2018-07-04 17:33:13 +08:00
Angus Gratton
91e7a6e7a3
Merge branch 'bugfix/console_performance' into 'master'
...
idf_monitor: Fix console performance
See merge request idf/esp-idf!2570
2018-07-03 14:04:23 +08:00
Ivan Grokhotkov
eb85c4ec15
tiny-test-fw: handle case when ESPPORT is not set
...
Fix bug introduced in 8a88dd35
, where .decode was called on result of
os.getenv, which was None if ESPPORT was not set.
2018-07-02 21:45:27 +08:00
He Yin Ling
0c3e34b79a
tiny-test-fw: add class diagram to document
2018-07-02 10:40:23 +00:00
Ivan Grokhotkov
6a626f7984
tiny-test-fw: add requirements.txt, small docs tweaks
2018-07-02 10:40:23 +00:00
Ivan Grokhotkov
8a88dd3590
tiny-test-fw: IDFDUT: in the absence of configuration, try ESPPORT first
2018-07-02 10:40:23 +00:00
Piyush Shah
8369bd244b
nvs_partition_generator: Modifications to enable using the utility as a Python library
...
And also use directly as an executable
2018-07-02 15:39:52 +05:30
houchenyao
9223639010
stop main thread when one failed
2018-06-26 11:02:23 +08:00
Ivan Grokhotkov
858cfc2950
esp_err_to_name.py: guess IDF_PATH if not set in environement
...
Fixes the issue that esp_err_to_name.py would fail when called in
documentation build process, when there was no IDF_PATH set.
2018-06-21 15:22:56 +08:00
Roland Dobai
797340f7f8
idf_monitor: Fix console performance
...
51e42d8e92
introduced filtering options which handles the last (unterminated) line
with a delay. This introduced poor performance for console applications
when the user interacts with the ESP32 device in the same line because
there is an artificial delay for each key-press.
bb152030a0
decreased the delay but there are still delays for each key-presses.
The current fix makes only one delay per line instead of each
key-presses. When an unterminated line is detected then no more
"delayed" print is used for the given line.
Fixes https://github.com/espressif/esp-idf/issues/2054
2018-06-19 13:29:57 +02:00
Angus Gratton
d0b8f2865f
docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com
2018-06-19 11:23:33 +00:00
Angus Gratton
73f6fb9fe7
Merge branch 'feature/spi_functions_in_iram' into 'master'
...
feature(spi_master): allow to place functions into IRAM to get higher efficiency
See merge request idf/esp-idf!2538
2018-06-19 07:25:12 +08:00
Angus Gratton
bf10447b82
cmake: Fix issues when IDF_PATH is not set in environment
...
Support cases where IDF_PATH may be passed in on the cmake command line,
or inferred from a (hardcoded absolute or relative) path to project.cmake
2018-06-18 14:48:03 +10:00
Angus Gratton
43b6c76bba
Merge branch 'feature/expansion_space_for_bootloader' into 'master'
...
partition_table: Moving to custom offset
See merge request idf/esp-idf!2263
2018-06-18 12:34:53 +08:00
Sagar Bijwe
fd7b794e81
FATFS support without wear levelling
...
This change allows readonly FATFS to be mounted without wear levelling
support. This will provide the customers a simple way to mount FATFS images
generated on host and flashed onto the chip during factory provisioning.
Since NVS encryption is not supported yet and NVS entry size is limited,
the change will provide an easy alternative for securing the provisioning data
by just marking FATFS parition as encrypted.
2018-06-16 16:02:35 +08:00
Ivan Grokhotkov
d9f8311b9d
docs: add error codes reference
2018-06-15 15:49:24 +08:00
Michael (XIAO Xufeng)
9c23b8e596
feature(spi_master): allow to place functions into IRAM to get higher efficiency
2018-06-14 20:22:40 +08:00
Roland Dobai
bb152030a0
Fix the console performance issue
...
The IDF monitor waits for one second before printing the last
unterminated line. This is necessary for the correct filtering.
However, this causes poor performance, for example, in the case of the
system/console example.
This fix reduces the waiting time which improves the response time of
the console example and doesn't seem to influence the monitor filter.
Closes https://github.com/espressif/esp-idf/issues/2054
2018-06-13 08:05:31 +02:00
Ivan Grokhotkov
7663782e8d
unity: allow test task stack size to be configured
2018-06-11 23:26:56 +08:00
Ivan Grokhotkov
9b1876a458
unit-test-app: allow specifying subset of tests for configuration
...
For some test configurations, not all tests need to be run. This
change allows adding a comment in the configuration file of the
following form:
unit-test-app makefile will use it to determine which components to
build. If the comment is not present, all components will be built
(TESTS_ALL=1).
Also add test configuration for libsodium. It is a separate test
configuration due to the large binary size generated when building
libsodium tests.
2018-06-11 23:26: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
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
be829afe6e
Merge branch 'feature/cmake_confserver' into 'feature/cmake'
...
cmake: Add JSON configuration server for external config tool integration
See merge request idf/esp-idf!2410
2018-06-08 07:32:09 +08:00
Angus Gratton
6065d2fd08
kconfig: Add confserver.py to expose sdkconfig to clients
2018-06-07 14:23:08 +10: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
Angus Gratton
46b723e5ed
cmake: Fix COMPONENT_SRCEXCLUDE functionality
2018-06-06 16:27:44 +10:00
Roland Dobai
51e42d8e92
idf_monitor: add support for filtering options
2018-06-05 12:23:27 +02:00
Angus Gratton
8bb4c694ce
cmake: Add COMPONENT_SRCEXCLUDE option
2018-05-31 14:46:39 +10:00
Angus Gratton
fdccc19485
cmake build system test: Fix path to sdkconfig.h
2018-05-31 14:46:39 +10:00
Angus Gratton
6b9784cc45
Merge branch 'master' into feature/cmake_update
2018-05-31 14:46:23 +10:00
Ivan Grokhotkov
74928b9bcb
ci: check for executable flag on source files
2018-05-29 20:07:45 +08:00
Angus Gratton
c70f9db369
confgen: Don't write environment-loaded configuration items to sdkconfig
2018-05-29 16:34:45 +10:00
Angus Gratton
580cfeaaae
idf.py: Print flashing steps at the end of each build
2018-05-29 16:34:45 +10:00
Angus Gratton
f6cd55d2ac
config: Rename mconf to mconf-idf & conf to conf-idf
...
These versions of conf/mconf are forked from the upstream, and the CMake system allows mconf-idf to
be installed externally on the path. So the best option is to rename.
Includes changes to Windows installer for v1.1
2018-05-29 16:34:45 +10:00
Angus Gratton
61aff5162c
mconf: Don't print a recommendation to use 'make' if CMake build system is in use
...
Also add some cmake dependencies to rebuild mconf if its source files change.
2018-05-29 16:34:45 +10:00
Angus Gratton
be4956fe7c
docs: Add some tips about setting the Python interpreter, and a specific check in idf.py
...
Don't show the "Python 2 interpreter" option in menuconfig when using CMake.
This is a stop-gap until we support Python 2 & 3 together in ESP-IDF (soon).
Closes https://github.com/espressif/esp-idf/issues/1924
2018-05-29 16:34:45 +10:00
Angus Gratton
a1fac97f1a
cmake: Fix set_default using value from environment
...
Fixes issue with idf.py passing through Python interpreter, as reported in
https://github.com/espressif/esp-idf/issues/1924
2018-05-29 16:34:45 +10:00
Angus Gratton
cc104eb05b
cmake: Add sdkconfig.h directory to include paths list not just compiler args
...
Also move into 'build/config/' subdir, remove creation of empty include/config dir.
2018-05-29 16:34:45 +10:00
Angus Gratton
2f4079ebb2
cmake: Hide serial port settings in menuconfig when using cmake
2018-05-29 16:34:45 +10:00
Angus Gratton
10eab26854
unit test app: Require 4MB flash
...
PSRAM config unit tests had outgrown the 0x14000 byte allocated factory size.
2018-05-25 12:16:26 +10:00
He Yin Ling
1a1514b69c
unit-test-app: udpate CI related part to README
2018-05-24 03:40:03 +00:00
He Yin Ling
a68b93d6f3
tiny-test-fw: show descriptive error when test case assignment fails:
...
Will give hint when any job failed to assign:
```
Please add the following jobs to .gitlab-ci.yml with specific tags:
* Add job with: psram, ESP32_IDF, UT_T1_1
* Add job with: psram, ESP32_IDF, UT_T1_1
```
2018-05-24 03:40:03 +00:00
He Yin Ling
3b24bc42d2
CI: assign unit test cases according to sdkconfig:
...
We have built unit-test-app with different configs.
Currently we use the config name as tags to match runners.
It's not easy to add new configs (need to update tags to existed runners).
Now we'll parse required test runner tags from `sdkconfig` file.
For example, if config enables `CONFIG_SPIRAM_SUPPORT`, then it requires `psram` tag.
This will make adding new configs easier.
In this commit we change the one behavior of assign test: match keys of
cases should be exactly the same with job tags. This fixes cases select
jobs include their tags, and jobs requires those tags can't be assigned.
2018-05-24 03:40:03 +00:00
Angus Gratton
035dc66cce
Merge branch 'bugfix/esp_err_to_name_windows' into 'master'
...
gen_esp_err_to_name.py: Use normal file I/O instead of mmap()
See merge request idf/esp-idf!2425
2018-05-22 11:31:17 +08: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
Angus Gratton
b14bbd4205
gen_esp_err_to_name.py: Use normal file I/O instead of mmap()
...
mmap is different on Python for Windows
2018-05-21 17:34:18 +10:00
Roland Dobai
18e83bcd53
Allow VFS file descriptors in select()
2018-05-18 08:06:33 +02:00
He Yin Ling
9e7a69be88
example test: integrate wifi throughput test to CI
2018-05-15 13:42:27 +08:00
He Yin Ling
2b068f3ceb
tiny-test-fw: fix misc bugs:
...
1. configs are not functional
* decorator will be executed when search case, need to set default config before search case.
2. fix DUT encode/decode errors
* python3 serial don't support write string/unicode, need to convert to bytes first.
* python2 string could failed to encode/decode non-acsii chars
3. fix bug that log folder not created
4. fix bug that test suite name is not correctly passed:
* the keyward arg should be `test_suite_name` not `test_name`
5. fix bug that test stopped on failed case
6. fix DUT `read` don't return all data cache
* `_DataCache.get_data` should first copy all data from queue to data cache and then return to user.
7. fix bug that `expect_all` failed even all expected item passed
8. optimize error info for expect
* print pattern for regular expression when match failed
9. fix bug that set default config doesn't work
2018-05-15 03:29:31 +00:00
He Yin Ling
98d1f05ab5
tiny-test-fw: add utilities:
...
1. Attenuator: control programmable attenuator
2. PowerControl: control APC PDU to power on/off devices
3. LineChart: use matplotlib to draw line chart
2018-05-15 03:29:31 +00:00
He Yin Ling
3b3a915552
tiny-test-fw: implement env.get_pc_nic_info
:
...
this method is used to get mac/ipv4/ipv6 address for one NIC
2018-05-15 03:29:31 +00:00
Ivan Grokhotkov
e9cbf96bd1
mbedtls: re-add version 2.9.0 as a submodule
2018-05-09 23:15:28 +08:00
Angus Gratton
526496ba20
ci: Allow bot to control branch used for esp-idf-template
2018-05-08 14:44:25 +08:00
Angus Gratton
6f31674b28
cmake: Add ESPORT/ESPBAUD environment variables to idf.py & docs
2018-05-07 18:45:49 +08:00
Angus Gratton
c7f19e76d7
docs: Move main docs to cover CMake
...
Add "GNU Make build system" doc with "cheat sheet" for moving to new system
2018-05-07 18:45:49 +08:00
Angus Gratton
8453806a8c
idf.py: Fix 'idf.py monitor' build & flash targets
2018-05-04 16:05:25 +10:00
Ivan Grokhotkov
0d65f3b7f9
Merge branch 'bugfix/light_sleep_fixes' into 'master'
...
light sleep fixes
See merge request idf/esp-idf!2242
2018-05-02 20:09:36 +08:00
Angus Gratton
9ec14decce
cmake: Fix idf_size.py merge errors
2018-05-01 17:27:39 +10:00
Angus Gratton
c7307de63e
cmake: Automatically pull in winpty for menuconfig, monitor if needed
2018-05-01 17:27:39 +10:00
Angus Gratton
c42b791aaa
cmake: Use prebuilt mconf on Windows
...
Closes https://github.com/espressif/esp-idf/issues/1905
2018-05-01 17:27:39 +10:00
Angus Gratton
99e02d4e42
windows: New ESP-IDF Tools Installer
...
Working on 64-bit Windows only due to Ninja binary.
2018-04-30 10:18:33 +10:00
Angus Gratton
381be65472
cmake: Build all examples in CI
...
Includes some fixes for compile errors/warnings in examples.
2018-04-30 10:18:33 +10:00
Angus Gratton
858b95a924
cmake: Add build system tests
2018-04-30 09:59:20 +10:00
Angus Gratton
1cb5712463
cmake: Add component dependency support
...
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their
requirements.
2018-04-30 09:59:20 +10:00
Angus Gratton
56902f0054
cmake: Write configuration & component metadata to project_description.json
2018-04-30 09:59:20 +10:00
Angus Gratton
f1d3bfc0c7
cmake: Add new flasher_args.json file for IDE parsing, document metadata files better
2018-04-30 09:59:20 +10:00
Angus Gratton
2a3e2b8eed
doc: Use confgen.py to build docs from same code path as config generation
2018-04-30 09:59:20 +10:00
Angus Gratton
b44c8b125f
cmake: Style cleanup, add cmake linter to gitlab CI
2018-04-30 09:59:20 +10:00
Angus Gratton
2ea359ad0c
cmake: Cleanups to work with Windows
2018-04-30 09:59:20 +10:00
Angus Gratton
6bdc49b6e4
cmake: set CCACHE_BASEDIR & CCACHE_NOHASHDIR when using ccache
...
Dramatically improves build performance when building multiple
projects in different directories.
2018-04-30 09:59:20 +10:00
Angus Gratton
9d88d13f77
cmake: convert_to_cmake.py script for converting IDF GNU Make projects
2018-04-30 09:59:20 +10:00
Angus Gratton
2816cf1d67
cmake: Change data_file_to_c to data_file_embed_asm for objcopy compatibility
...
Now generates _binary_filename_start / _binary_filename_end as well as more useful naming.
2018-04-30 09:59:20 +10:00
Angus Gratton
12be399762
cmake: Add link-time dependencies for linker script files
...
Requires some hackery around limitations in CMake's LINK_DEPENDS
2018-04-30 09:59:20 +10:00
Angus Gratton
88df8fd293
cmake: Use cmake_lint project, tidy up all CMake source files
2018-04-30 09:59:20 +10:00
Angus Gratton
15d5e88618
cmake: Automatically include ccache if it's on the path
2018-04-30 09:59:20 +10:00
Angus Gratton
9f8cdd3572
cmake: Add "Preview release" getting start guide & build system documentation
2018-04-30 09:59:20 +10:00
Angus Gratton
95e17d6d92
cmake: Allow GetGitRevisionDescription to take arbitrary directory paths
2018-04-30 09:59:20 +10:00
Angus Gratton
7d9ba66f83
idf.py: Add reconfigure command
2018-04-30 09:59:20 +10:00
Angus Gratton
4d7bc8e8ba
idf.py: Improve status output, error message output
2018-04-30 09:59:20 +10:00
Angus Gratton
abef220b13
cmake: Allow selecting toolchain file based on config
...
Refactor IDF "project" functionality under a wrapping of the default
"project" command, so we can tweak it a bit...
Will need more testing in other environments.
2018-04-30 09:59:20 +10:00
Angus Gratton
04a944598f
cmake: Export compile_commands.json as part of build
2018-04-30 09:59:20 +10:00
Angus Gratton
efb5928934
idf.py build & flash tool
...
Generate flasher args files & .json project info file as part of cmake build
2018-04-30 09:59:20 +10:00
Angus Gratton
7eaf2f4bdb
kconfig: Allow out of tree building, build under cmake build directory
2018-04-30 09:59:20 +10:00
Angus Gratton
cb99531d15
cmake: Generate PHY init data partition as part of the build
2018-04-30 09:59:20 +10:00
Angus Gratton
0bdc12256e
cmake: Add "size" target, update idf_size.py for different linker behaviour
2018-04-30 09:59:20 +10:00
Angus Gratton
1f8e07fd8f
cmake: Add sdkconfig.defaults support
2018-04-30 09:59:20 +10:00
Angus Gratton
be962a9444
cmake: Re-run cmake if submodule commits change or a submodule is deinit-ed
2018-04-30 09:59:20 +10:00
Angus Gratton
4f1a856dbf
cmake: Remove defaults for COMPONENT_SRCDIRS, COMPONENT_SRCS, COMPONENT_ADD_INCLUDEDIRS
...
* Philosophical: "explicit is better than implicit".
* Practical: Allows useful errors if invalid directories given in components as the defaults aren't
always used. Also trims the -I path from a number of components that have no actual include
directory.
* Simplifies knowing which components will be header-only and which won't
2018-04-30 09:59:20 +10:00
Angus Gratton
3fac2b2ddc
cmake: Refactor bootloader_subproject into the bootloader component itself
2018-04-30 09:59:20 +10:00
Angus Gratton
674d398c93
cmake: Add partition table, and .bin file targets
2018-04-30 09:59:20 +10:00
Angus Gratton
3ae4822115
cmake: Add partition table generation
2018-04-30 09:59:20 +10:00
Angus Gratton
ce6748873d
cmake: Add embedding files in components support
...
Add subscribe_publish AWS example and fixes to allow it to build.
2018-04-30 09:59:20 +10:00
Angus Gratton
134f2238bd
cmake: Refactor main cmake project logic
2018-04-30 09:59:20 +10:00
Angus Gratton
7f29593a7d
cmake: Bootloader subproject & "clean" cleanup
2018-04-30 09:59:20 +10:00
Angus Gratton
067a19ad88
cmake: Move global IDF-specific compiler/linker options out of the toolchain file
...
Should restore compatibility with cmake pre-v3.7
2018-04-30 09:59:20 +10:00
Angus Gratton
f04525095f
cmake: Move third-party cmake modules to their own directory
2018-04-30 09:59:20 +10:00
Angus Gratton
68e75dd0df
cmake: Detect missing or out of date submodules during cmake pass
2018-04-30 09:59:20 +10:00
Angus Gratton
35f521afb6
cmake: Add toolchain version check
2018-04-30 09:59:20 +10:00
Angus Gratton
99a2359c5c
confgen: Create config file if missing
2018-04-30 09:59:20 +10:00
Angus Gratton
c671a0c3eb
build system: Initial cmake support, work in progress
2018-04-30 09:59:20 +10:00
Angus Gratton
a538644560
config: Add new Python & kconfiglib-based config management tool
2018-04-30 09:59:20 +10:00
Ivan Grokhotkov
48379b8bbe
unit-test.py: increase timeout for test app start up
2018-04-26 18:52:45 +08:00
Ivan Grokhotkov
c61c2a63d0
unity: flush test name before starting the test, use printf everywhere
...
Unit test runner expects to see the test name echoed after test
selection is made. If the unit test immediately goes into sleep mode,
UART output will not be complete, and test runner will not see the
test name. This flushes the stream buffer and waits for UART FIFO to
be empty before starting the test.
Additionally some parts of code used unity_printf and some used
printf. Since unity_printf was only useful during very early tests
when newlib was not available, replace all its usages with printf.
2018-04-26 18:52:45 +08:00
Angus Gratton
fa3205737f
partition_table: Check configured flash size fits in partition table
...
Check happens at build time, so flash size config may need to be changed.
Also fixes MD5_OPT undefined warning, closes https://github.com/espressif/esp-idf/issues/1867
2018-04-26 09:51:55 +10:00
Ivan Grokhotkov
907248b6a7
Merge branch 'feature/nvs_coverage' into 'master'
...
NVS: add power off recovery and coverage test into CI
See merge request idf/esp-idf!2246
2018-04-24 23:42:00 +08:00
Ivan Grokhotkov
4e982d4b18
Merge branch 'feature/idf_size_report_symbols' into 'master'
...
Feature/idf-size: report per-archive symbols and their sizes
See merge request idf/esp-idf!1956
2018-04-20 23:55:19 +08:00
Ivan Grokhotkov
6185e722c3
Revert "Merge branch 'feature/vfs_select' into 'master'"
...
This reverts merge request !2074
2018-04-20 11:51:41 +08:00
Ivan Grokhotkov
9d0751e2b1
ci: support jobs which don’t run unless triggered by name
...
By default, any job will run unless a filter is given, in that case
the filter will determine if the job should run or not. Some jobs do
not need to be run by default, and should only be triggered using the
bot. For such jobs, BOT_NEEDS_TRIGGER_BY_NAME can added to
environment variables.
2018-04-19 15:08:08 +08:00
Ivan Grokhotkov
88d0d6ffb0
Merge branch 'feature/vfs_select' into 'master'
...
Allow VFS file descriptors in select()
See merge request idf/esp-idf!2074
2018-04-19 15:06:02 +08:00
Ivan Grokhotkov
96b4a45cde
Merge branch 'feature/remove_make_dependency_on_git' into 'master'
...
make: remove build system dependency on `git` using some hooks
See merge request idf/esp-idf!2211
2018-04-19 13:01:12 +08:00
Roland Dobai
6852d653bd
Allow VFS file descriptors in select()
2018-04-17 11:25:30 +02:00
Ivan Grokhotkov
790049b3dd
build: remove some debug lines printed when V=0
...
With V=0, build process would print “including .../Makefile.projbuild" lines, causing problems for print_flash_cmd target.
The issue was due to the way macro expansion works in make. To delay evaluation of info function until the execution of expanded block, two dollar signs are required.
Test for print_flash_cmd target added.
2018-04-17 08:04:38 +08:00
Mahavir Jain
4a7ca68596
tools/ci: add test case for build without dependency on git
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-04-13 17:15:17 +05:30
Ivan Grokhotkov
bcbcdf6f99
build: fix excluding source files outside of component root
...
Since !2190 , source files located outside of the component root
produce object files inside build directory. This change fixes
handling of COMPONENT_OBJEXCLUDE variable for such files. Tests are
added.
2018-04-12 14:28:54 +08:00
Roland Dobai
33480d1a2c
Enable -Wwrite-strings when compiling IDF's own C files
2018-04-10 08:53:33 +02:00
Angus Gratton
53234ef2bc
Merge branch 'refactor/rtc_split_module' into 'master'
...
bugfix(rtc): make sure peripherals (DAC, HALL) are turned off before conversion.
See merge request idf/esp-idf!1848
2018-04-04 09:00:58 +08:00
Ivan Grokhotkov
d7c8866896
Merge branch 'test/support_multi_stage_unit_test_case' into 'master'
...
unit-test-app: support multi stage unit test case
See merge request idf/esp-idf!2139
2018-04-03 18:20:16 +08:00
He Yin Ling
fee844d22c
unit-test-app: support multi stages test
2018-03-30 11:38:49 +08:00
Michael (Xiao Xufeng)
cef8baf424
bugfix(rtc): make sure peripherals (DAC, HALL) are turned off before conversion.
...
refactor structure of ``rtc_module.c`` to make it more clearly.
Closes https://github.com/espressif/esp-idf/issues/1517
2018-03-28 17:10:01 +08:00
Anton Maklakov
f3d61015f7
build: Fix problems with building kconfig and generating sdkconfig
...
We had some problems:
simultaneous compiling of kconfig in the same tree;
attempt to use menuconfig in some examples and ut in batch mode (w/o interactive console)
Also increase debug abilities in CI:
force non-interactive building;
add variable DEBUG_SHELL to toggle verbosity of scripts
2018-03-28 10:39:20 +08:00
Angus Gratton
6acb38af4c
Merge branch 'bugfix/idf_monitor_windows10' into 'master'
...
idf_monitor: Fix bug with Windows 10 sometimes printing a character twice
See merge request idf/esp-idf!1964
2018-02-27 06:21:53 +08:00
Angus Gratton
672f8b057e
Merge branch 'feature/idf_size_sort_archives' into 'master'
...
Feature/idf size sort on size
See merge request idf/esp-idf!1957
2018-02-22 07:31:56 +08:00
Angus Gratton
3e83cfd77c
idf_monitor: Fix bug with Windows 10 sometimes printing a character twice
...
Turns out when IOError is thrown by the console, the character is
also successfully displayed.
Revisits fix from https://github.com/espressif/esp-idf/issues/1136
As reported https://esp32.com/viewtopic.php?f=14&t=4766&p=20637
2018-02-21 08:35:43 +11:00
Kedar Sovani
c8ef747c0a
idf_size: Report per-symbol size from the map file
...
Report as per the relevant sections output in the 'archives' output
2018-02-19 17:13:56 +05:30
Kedar Sovani
c9e6ed7d60
idf_size: Sort output on total-size instead of filename
2018-02-19 11:50:46 +05:30
Roland Dobai
4322e31c98
Make it easier to look up error messages
...
tools/gen_esp_err_to_name.py generates
components/esp32/esp_err_to_name.c for lookup of the error codes from
all of the IDF project and easily identify all codes in one place
2018-02-15 14:19:03 +01:00
He Yin Ling
532107c958
Merge branch 'test/ut_script' into 'master'
...
test: use the tiny-test-fw to run the unit test in CI
See merge request idf/esp-idf!1558
2018-02-06 18:03:22 +08:00
Ivan Grokhotkov
7ade59db6a
Merge branch 'bugfix/idf_monitor_fixes' into 'master'
...
idf_monitor bug fixes
See merge request idf/esp-idf!1889
2018-02-05 20:59:33 +08:00
houchenyao
5b8a9478a3
CI: new CI ut framework, and can run it in local PC
2018-02-05 06:58:22 +00:00
houchenyao
cb3c88fb2f
unit-test-app: use '-' to show test history
2018-02-05 06:58:22 +00:00
houchenyao
1e4508bc8d
tiny-test-fw: fix dut for python2 and python3
2018-02-05 06:58:22 +00:00
Angus Gratton
11bf72aace
Update cJSON to v1.7.1
...
* Fix buffer overflow issue in cJSON 1.6.0
* Change cJSON structure to git submodule
Closes https://github.com/espressif/esp-idf/issues/1577
2018-02-05 14:15:26 +08:00
Angus Gratton
4eab275a51
idf_monitor: Fix remaining case of Windows "console write fails" bug
...
Closes https://github.com/espressif/esp-idf/pull/1567
2018-02-01 14:05:56 +08:00
Angus Gratton
19d3d25ec2
idf_monitor: Aggressively clean up any interactive gdb session
...
At least on Linux, this can get stuck sometimes and cause terminal weirdness.
2018-02-01 14:05:53 +08:00
Angus Gratton
853736afe2
Toolchain: Update to version 1.22.0-80-g6c4433a
...
Includes updated prebuilt Windows MSYS2 environment.
2018-01-10 07:49:24 +00:00
Anton Maklakov
b902d00fa0
CI: Fix an occasional error caused by reordering the commands along with 'tee' in the script
2018-01-05 12:46:34 +08:00
Anton Maklakov
20616fc0f5
CI: Fix a sporadic bug when building of the examples. Add logs to the artifacts
2017-12-28 19:20:48 +08:00
Angus Gratton
b62e5a4b4e
idf_monitor: Fix Windows 10 bug in cases where second console write also fails
...
Although in my tests the second write always passes, people have reported
different results.
Closes https://github.com/espressif/esp-idf/issues/1136 (again)
2017-12-15 16:45:44 +11:00
michael
cb810ccbe1
feat(monitor): add pause feature.
2017-12-14 13:48:03 +08:00
michael
a8f89009a4
feat(monitor): add new feature allowing disabling log display.
2017-12-14 13:48:03 +08:00
krzychb
78aa1ec704
Resolves: Warning '-s option given but default rule can be matched'. Closes https://github.com/espressif/esp-idf/issues/1338
2017-12-11 22:53:39 +01:00
Ivan Grokhotkov
82aeb18c3f
Merge branch 'test/UT_master_slave_mode' into 'master'
...
unit-test-app: support multiple devices test cases
See merge request !1220
2017-12-11 15:22:51 +08:00
houchenyao
7a31b93fa3
unit-test-app: support multiple devices test cases:
...
current unit-test-app don't support test components need to communicate
with each other (like GPIO, SPI ...). Now we add multiple devices mode
to unit test app, support writing and running test with multiple DUTs.
please refer to `docs/api-guides/unit-tests.rst` for detail.
2017-12-07 13:57:26 +08:00
Ivan Grokhotkov
2b92119840
Merge branch 'bugfix/freertos_check_task_waiting_termination' into 'master'
...
Freertos Task Deletion backport and FPU documentation
See merge request !1591
2017-12-07 11:55:10 +08:00
Darian Leung
38afa32cfb
freertos/fix SMP bug with Idle task clean up
...
This commit backports vTaskDelete() behavior from FreeRTOS v9.0.0 which
allows for the immediate freeing of task memory if the task being deleted
is not currently running and not pinned to the other core. This commit also
fixes a bug in prvCheckTasksWaitingTermination which prevented the
Idle Task from cleaning up all tasks awaiting deletion. Each iteration of the Idle
Task should traverse the xTasksWaitingTermination list and clean up all tasks
not pinned to the other core. The previous implementation would cause
prvCheckTasksWaitingTermination to return when encountering a task
pinned to the other core whilst traversing the xTasksWaitingTermination list.
The test case for vTaskDelete() has been updated to test for the bugfix and
backported deletion behavior.
2017-12-05 18:13:56 +08:00
Angus Gratton
579201bcdc
Merge branch 'bugfix/windows_mingw32_gcc' into 'master'
...
windows: Allow "make menuconfig" to work if ming32 gcc is also installed
See merge request !1587
2017-12-04 06:22:33 +08:00
Ivan Grokhotkov
f0547d58e4
esp_timer: add documentation, expose profiling option in Kconfig
2017-11-29 11:44:46 +08:00
Ivan Grokhotkov
067c0e1ffe
Merge branch 'bugfix/cpp_unit_tests_not_executed_by_ci' into 'master'
...
CI: fix C++ unit test cases not executed by CI
See merge request !1589
2017-11-27 12:48:12 +08:00
Angus Gratton
7683bdbce2
Merge branch 'bugfix/monitor_windows10_crash' into 'master'
...
monitor: Fix Windows 10 crash since Fall Creators Update
See merge request !1567
2017-11-27 07:22:44 +08:00
Angus Gratton
02304ad83e
Merge branch 'feature/freertos_backported_functions' into 'master'
...
freertos/backport and test v9.0.0 functions
See merge request !1515
2017-11-24 08:49:59 +08:00
He Yin Ling
dd371289aa
CI: fix C++ unit test cases not executed by CI
2017-11-23 17:14:23 +08:00
Darian Leung
c1d101dd41
freertos/backport and test v9.0.0 functions
...
This commit backports the following features from FreeRTOS v9.0.0
- uxSemaphoreGetCount()
- vTimerSetTimerId(), xTimerGetPeriod(), xTimerGetExpiryTime()
- xTimerCreateStatic()
- xEventGroupCreateStatic()
- uxSemaphoreGetCount()
Functions backported previously
- xTaskCreateStatic()
- xQueueCreateStatic()
- xSemaphoreCreateBinaryStatic(), xSemaphoreCreateCountingStatic()
- xSemaphoreCreateMutexStatic(), xSemaphoreCreateRecursiveMutexStatic()
- pcQueueGetName()
- vTaskSetThreadLocalStoragePointer()
- pvTaskGetThreadLocalStoragePointer()
Unit tests were also written for the functions above (except for pcQueueGetName
which is tested in a separate Queue Registry MR). The original tlsp and del cb test case
was deleted and integrated into the test cases of this MR.
2017-11-23 14:18:09 +08:00
Angus Gratton
f41431022b
windows: Allow "make menuconfig" to work if ming32 gcc is also installed
...
Closes https://github.com/espressif/esp-idf/issues/1296
2017-11-23 14:31:04 +11:00
Angus Gratton
4d34251ff3
windows: Update precompiled env link & toolchain in setup script
2017-11-23 11:55:23 +11:00
Ivan Grokhotkov
6e1453e864
Merge branch 'feature/bot' into 'master'
...
CI: support customize test with @bot
See merge request !1502
2017-11-21 18:43:56 +08:00
Ivan Grokhotkov
2eae440646
unit-test-app: reduce startup delay, clean up
2017-11-20 17:51:27 +08:00
Ivan Grokhotkov
5117364c13
unit-test-app: don't print the list of tests by default
...
This reduces unit-test-app startup time when there are a lot of tests
included, speeding up unit tests in CI.
2017-11-20 17:51:27 +08:00
Angus Gratton
19598fa6d3
monitor: Fix Windows 10 crash since Fall Creators Update
...
Closes https://github.com/espressif/esp-idf/issues/1136
2017-11-20 17:47:43 +11:00
Alexey Gerenkov
692a890232
esp32: Adds Stack Smashing Protection Feature
...
These changes add posibility to enable GCC stack protector via menuconfig
for all source files in project.
2017-11-17 12:08:36 +03:00
He Yin Ling
9395a702ef
test: check and collect performance via CI
2017-11-16 17:48:30 +08:00
Darian Leung
d1853dbbc0
FreeRTOS/make Queue Registry and Run Time Stats configurable
...
This commit makes the configQUEUE_REGISTRY_SIZE and
configGENERATE_RUN_TIME_STATS configurable in menuconfig.
- configQUEUE_REGISTRY_SIZE can now be set in menuconfig.
- The functions vQueueAddToRegistry() and vQueueUnregisterQueue() were made
SMP compatbile
- pcQueueGetName() was backported from FreeRTOS v9.0.0
- Added test case for Queue Registry functions
- configGENERATE_RUN_TIME_STATS can now be enabled in menuconfig. CCOUNT or
esp_timer can be selected as the FreeRTOS run time clock in menuconfig as
well, although CCOUNT will overflow quickly.
- Run time stats collection (in vTaskSwitchContext) and generation (in
uxTaskGetSystemState) have been made SMP compatible. Therefore
vTaskGetRunTimeStats() now displays the run time usage of each task as a
percentage of total runtime of both CPUs
Squash
2017-11-14 15:50:31 +08:00
Ivan Grokhotkov
7632c6a80c
Merge branch 'test/UT_reset_check' into 'master'
...
Test/ut reset check
See merge request !1086
2017-11-10 11:30:46 +08:00
Ivan Grokhotkov
d1f6030921
Merge branch 'bugfix/from_github' into 'master'
...
Bug fixes from Github
See merge request !1487
2017-11-10 11:13:04 +08:00
He Yin Ling
c6f7a38536
CI: support customize test with @bot
2017-11-08 11:36:16 +08:00
houchenyao
f80824a2d8
test: support test for UT cases expect to reset
2017-11-07 12:19:39 +08:00
Ivan Grokhotkov
6b420b2452
unit tests: add psram configuration
2017-11-06 11:23:15 +08:00
Angus Gratton
2c72223a4e
Merge branch 'bugfix/protect_spiflash_regions' into 'master'
...
spi_flash: Abort on writes to dangerous regions (bootloader, partition table, app)
See merge request !1452
2017-11-04 12:40:21 +08:00
Angus Gratton
670733df9f
spi_flash: Abort on writes to dangerous regions (bootloader, partition table, app)
...
Can be disabled or made into a failure result in kconfig if needed.
2017-11-03 15:52:27 -07:00
Krzysztof Bociurko
5827fd8c71
idf_monitor: Fixed a bug where pressing a key that doesn't encode into
...
a proper ASCII character, terminated the monitor with an exception
2017-11-03 16:47:30 +08:00
Ivan Grokhotkov
849ad9b37b
tools/unit-test-app: fix build warning
2017-11-03 15:49:09 +08:00
He Yin Ling
cd1223a25e
CI: integrate example test to CI
2017-10-31 19:16:26 +08:00
He Yin Ling
47a9a4a614
test: add test fw for example test
2017-10-31 17:42:19 +08:00
Ivan Grokhotkov
59b7d98fec
Merge branch 'feature/dfs' into 'master'
...
Dynamic frequency scaling
See merge request !1189
2017-10-22 12:34:11 +08:00
Darian Leung
a6854b72cd
freertos/make trace facility configurable
...
This commit makes configUSE_TRACE_FACILITY and
configUSE_STATS_FORMATTING_FUNCTIONS configurable in kconfig. Test cases fro the
functions enabled by the two configurations above have also been added.
Test cases for the following functions have been added...
- uxTaskGetSystemState()
- uxTaskGetTaskNumber()
- vTaskSetTaskNumber()
- xEventGroupClearBitsFromISR()
- xEventGroupSetBitsFromISR()
- uxEventGroupGetNumber()
- uxQueueGetQueueNumber()
- vQueueSetQueueNumber()
- ucQueueGetQueueType()
Test cases for the following functions were not required...
- prvListTaskWithinSingleList()
- prvWriteNameToBuffer()
- vTaskList()
2017-10-20 15:17:17 +08:00
Ivan Grokhotkov
90bbcbcdc0
unit tests: fix warnings, build with -Werror
...
- libsodium: silence warnings
- unit tests: fix warnings
- spiram: fix warnings
- ringbuf test: enable by default, reduce delays
2017-10-19 21:35:23 +08:00
He Yin Ling
0a5b678e58
CI: support test UT with different config by CI
2017-10-19 21:35:20 +08:00
Ivan Grokhotkov
3d150be4e1
unit-test-app: new targets for building different configurations
2017-10-19 21:35:19 +08:00
Ivan Grokhotkov
bfeecd2b56
freertos: deprecate XT_CLOCK_FREQ
...
- freertos: add deprecated definition for XT_CLOCK_FREQ
- flash_ops: don't use XT_CLOCK_FREQ
- unity: don't use XT_CLOCK_FREQ
- hw_random: don't use XT_CLOCK_FREQ
- core_dump: don't use XT_CLOCK_FREQ
- app_trace: don't use XT_CLOCK_FREQ
- xtensa_init: init xt_tick_divisor
2017-10-18 14:19:19 +08:00
Ivan Grokhotkov
2b3325b1ab
unit tests: fix ref_clock value obtained due to overflow
2017-10-18 14:19:15 +08:00
Angus Gratton
69e92ee320
unit tests: If heap tracing is enabled in sdkconfig, leak trace each test
2017-10-17 15:29:25 +08:00
Angus Gratton
6f07e0797d
Unit tests: If a test fails due to corrupting memory, don't print a misleading source file name
2017-10-17 14:46:08 +08:00
Angus Gratton
d20fbffae1
idf_monitor: Demangle C++ names
2017-10-17 14:46:08 +08:00
Angus Gratton
0a52dbccca
Merge branch 'bugfix/spi_reset_race' into 'master'
...
periph_ctrl: Refactor to add periph_module_reset(), avoid potential race in SPI DMA workaround
See merge request !1349
2017-10-13 08:51:36 +08:00
Angus Gratton
5d8bd1aa9e
Merge branch 'bugfix/libsodium_mbedtls_sha' into 'master'
...
libsodium: Fix mbedTLS SHA256 & SHA512 implementation, make optional
See merge request !1329
2017-10-13 08:50:24 +08:00
Angus Gratton
d98934d56b
doc: Fix mentions of Cygwin-style paths to Unix-style
...
Cygwin-style is really only /cygpath/xxx and IDF doesn't support these.
Closes https://github.com/espressif/esp-idf/pull/1033
2017-10-09 14:22:53 +11:00
Angus Gratton
acff3c9c59
libsodium: Fix mbedTLS SHA256 & SHA512 implementation, make optional
...
* Only direct invocation of cypto_hash_sha256 & crypto_hash_sha512 produced correct output.
* Some remaining header file mixups, so changed approach to wrapping the state structures.
* Fixes https://github.com/espressif/esp-idf/issues/1044 (crypto_sign problems)
* Add option to disable mbedTLS implementation for SHA256 & SHA512 in libsodium
2017-10-06 11:51:55 +11:00
Angus Gratton
0dd9b899b7
periph_ctrl: Refactor to add periph_module_reset(), avoid potential race in SPI DMA workaround
...
Also refactor use of direct clock access in unit test ref_clock (probably not a real issue)
2017-10-02 17:48:16 +11:00
michael
7370f2913d
test: update the format of TEST_ASSERT macro series in `unity.c
`
2017-09-27 19:56:46 +08:00
Angus Gratton
c4e65d6a95
Merge branch 'bugfix/build_kconfig_deps' into 'master'
...
build: make clean should remove all .d files in tools/kconfig
See merge request !1302
2017-09-22 12:42:37 +08:00
Angus Gratton
976135c3a8
Merge branch 'bugfix/build_system_regen_component_vars' into 'master'
...
build system: Fix bug requiring "make clean" after IDF updates or menuconfig changes
See merge request !1293
2017-09-22 12:42:00 +08:00
Angus Gratton
a361a00405
build: make clean should remove all .d files in tools/kconfig
...
Causes a problem that can't be fixed by "make clean" if the
host OS headers have moved around.
ie https://esp32.com/viewtopic.php?f=13&t=3098&p=14487
2017-09-22 10:27:32 +10:00
Angus Gratton
ab531c0b48
doc: Add steps to update Windows environment installations
2017-09-21 16:57:06 +10:00
Angus Gratton
53d12a6212
build system tests: Don't unix2dos .git files, build directories
2017-09-20 18:21:29 +10:00
Angus Gratton
85ce07e6fd
build system: Fix bad partial builds after updates, sdkconfig changes
...
Fixes accidental regression merging 9903ea1c11
.
Add test case for this kind of rebuilding.
2017-09-20 18:11:15 +10:00
Ivan Grokhotkov
01c0c4b661
unit-test-app: initialize partition table info before starting the test
2017-09-19 10:39:44 +08:00
Angus Gratton
0db01b4a4d
windows: Update windows prereq script & precompiled environment download
2017-09-18 18:26:57 +10:00
Angus Gratton
61e3a5bd16
windows: Update toolchain & MSYS package download links
2017-09-13 17:27:47 +08:00
Angus Gratton
e250dbb433
windows: Add workaround for "git submodule" stray output bug
...
TW10271
2017-09-13 17:27:47 +08:00
me-no-dev
dd87deb278
Add SPIFFS Component to IDF
2017-09-11 19:56:40 +03:00
Angus Gratton
1c7b8aa3a5
Heap tracing support
2017-09-07 16:32:05 +10:00
Angus Gratton
64bfdf56bb
Unit tests: enable comprehensive heap poisoning checks
2017-09-07 16:32:05 +10:00
Angus Gratton
5222428dde
unit tests: Check heap integrity after each test, check for obvious leaks
2017-09-07 16:32:05 +10:00
Angus Gratton
4809c70899
Merge branch 'feature/register_heaps_runtime' into 'master'
...
heap: Support adding new heap regions at runtime
See merge request !1159
2017-09-07 10:18:21 +08:00
Deomid Ryabkov
9903ea1c11
Add --warn-undefined-variables to MAKEFLAGS
...
Fix warnings where undefined vars are used.
Make Kconfig emit "FOO=" for unset bool options
To ensure make variables are always defined, even if empty.
When writing auto.conf, include symbols disabled by dependency to make sure all make variables are always defined.
Fixes espressif/esp-idf#137
Cherry-picked from https://github.com/espressif/esp-idf/pull/138
2017-09-05 16:10:46 +10:00
Angus Gratton
5361c08989
heap: Support adding new heap regions at runtime
...
To facilitate this, the list of registered heap regions is now a linked list
(allowing entries to be appended at runtime.)
2017-09-05 14:07:02 +10:00
Angus Gratton
f487bb19d7
Merge branch 'bugfix/ci_build_examples_more' into 'master'
...
CI build_examples: Fix build flakiness
See merge request !1191
2017-09-04 16:02:12 +08:00
Angus Gratton
867b20837f
build system: Explicitly disallow 'clean' along with non-cleaning targets
...
Too hard to stage the dependencies so that all clean steps complete before any build steps begin. Also, using and then
deleting and then regenerating SDKCONFIG_MAKEFILE in one pass is really hard to manage successfully.
2017-09-04 17:40:15 +10:00
Angus Gratton
97efaab27b
build system tests: Run inside PWD same as build_examples.sh
2017-09-04 17:40:15 +10:00
Angus Gratton
2544355301
build_examples: Small cleanups
...
* Override MAKEFLAGS via make not via shell variables
* Remove build_examples in gitlab-ci
* Don't use mktemp for any logs
2017-09-04 17:40:15 +10:00
Jeroen Domburg
34372a091c
Add initial SPI RAM support. This adds support for an ESP-PSRAM32 chip connected to the default flash pins and GPIO 16 and 17. The RAM is mapped to address 0x3F800000, but otherwise ignored by esp-idf as of yet.
2017-09-04 12:05:49 +08:00
Ivan Grokhotkov
5666fc0a56
Merge branch 'feature/esp_timer_improvements' into 'master'
...
esp_timer improvements
See merge request !1172
2017-09-01 16:14:01 +08:00
Ivan Grokhotkov
d2acf1ce77
sleep: add light sleep, factor out APIs common for deep/light sleep
2017-09-01 10:36:14 +08:00
Ivan Grokhotkov
9a2c62cf2b
unity: add reference clock for use in unit tests
2017-09-01 10:34:36 +08:00
Ivan Grokhotkov
3d8390fa8a
ci: put example log files on the build volume
2017-08-31 23:00:48 +08:00
Ivan Grokhotkov
a25eb825e1
Merge branch 'bugfix/dport_protect_crypto' into 'master'
...
add protection for crypto registers in DPORT
See merge request !928
2017-08-30 11:45:35 +08:00
Ivan Grokhotkov
80486240c6
unity: log error codes as hex
...
Error codes are normally defined as hex numbers in header files, so
changing the assert macro to print them as hex as well.
2017-08-29 08:35:23 +08:00
Angus Gratton
0ea4cd67dd
mbedtls: Remove "unsafe" warning, enable AES by default & make SHA/MPI optional
2017-08-25 16:08:03 +10:00
Ivan Grokhotkov
b9cdbfea87
Merge branch 'test/UT_SDMMC' into 'master'
...
Enable SDMMC driver test cases
See merge request !1106
2017-08-24 14:41:39 +08:00
houchenyao
cf64c7e9a6
unit test: add sd env and spi env for sdmmc
2017-08-22 21:01:34 +08:00
Ivan Grokhotkov
6f52cf0f9d
Merge branch 'bugfix/ci_fix_getting_sources' into 'master'
...
CI: Fix the spell for more reliable getting the sources
See merge request !1127
2017-08-22 20:03:12 +08:00
Ivan Grokhotkov
141b1174c6
idf_monitor: send CR when ENTER is pressed
...
Other terminal emulators (screen, minicom) default to sending CR when
ENTER is pressed on the keyboard. Make behavior of idf_monitor
consistent with them.
2017-08-21 15:58:28 +08:00
Ivan Grokhotkov
d7d6f1e376
idf_monitor: use cancellation and Console.getkey from pyserial 3.3.0+
...
Between 3.1.0 and 3.3.0, pyserial had thread cancellation implemented
using a select, which blocked on the stdin and an auxiliary pipe. When
thread had to be cancelled, a byte would be sent into the pipe,
unblocking stdin.
Unfortunately, this method suffers from a problem with using select on
a StreamReader (which represents the decoder wrapped around stdin).
In some cases, when the TTY sends an escape sequence in response to
an escape sequence received from serial, this escape sequence will not
be read from stdin until some key is pressed.
In https://github.com/pyserial/pyserial/commit/cab3dab , this method
was replaced with an TIOCSTI ioctl. This change makes sure we use the
new cancellation method even if the script is running with older
pyserial.
2017-08-21 15:58:28 +08:00
Anton Maklakov
618e56abf9
CI: Fix the spell for more reliable getting the sources
2017-08-21 11:52:49 +08:00
Kedar Sovani
8348a71847
ethernet: remove CONFIG_ETHERNET
...
1. Hello World application shows no footprint difference before and
after this change
2. examples/ethernet/ethernet application compiles properly (can't
test with my board)
2017-08-18 08:31:43 +05:30
Kedar Sovani
63c738de4c
sdkconfig: Remove rest of the references to WIFI_ENABLED
2017-08-16 15:55:42 +05:30
Alexey Gerenkov
c2c9149a24
esp32: Apptrace API enhancement
...
- User down buffer configuration support
- bugfix: ring buf - avalable write size undeflow
- SysView down buf support updated
2017-07-24 19:57:44 +03:00
Anton Maklakov
341cc8221c
CI: Make the list of examples permanent between jobs
...
Because the results of the 'find' command are not sorted by name.
2017-07-20 16:46:49 +08:00
Angus Gratton
b88c8d19fd
Merge branch 'bugfix/project_makefile_recompile' into 'master'
...
build system: Updating project Makefile should trigger a full rebuild
See merge request !990
2017-07-20 10:10:00 +08:00
Angus Gratton
17adb40ca8
bootloader: Calculate SHA256 hash of image on every boot
...
Makes app image booting more reliable (256-bit rather than 8-bit verification.)
Some measurements, time to boot a 655KB app.bin file and run to app_main() execution.
(All for rev 1 silicon, ie no 340ms spurious WDT delay.)
80MHz QIO mode:
before = 300ms
after = 140ms
40MHz DIO mode:
before = 712ms
after = 577ms
40MHz DIO mode, secure boot enabled
before = 1380ms
after = 934ms
(Secure boot involves two ECC signature verifications (partition table, app) that take approx 300ms each with 80MHz CPU.)
2017-07-19 18:31:59 +10:00
Angus Gratton
d664e32394
build system: Use component.mk for all components, refactor bootloader build
...
For config-only components, component.mk should now contain "COMPONENT_CONFIG_ONLY := 1"
Also refactored some of the generation of linker paths, library list. This required cleaning up the way the bootloader
project works, it's now mostly independent from the parent.
2017-07-19 09:10:48 +10:00
Angus Gratton
b7fc16a408
build system: Updating project Makefile should trigger a full rebuild
...
Project Makefile can set CFLAGS, macro defines, etc.
2017-07-13 10:51:24 +08:00
Angus Gratton
c46e2edcae
Merge branch 'bugfix/make_size_windows' into 'master'
...
make size: Fix map file parsing error on Windows
See merge request !932
2017-07-12 17:31:49 +08:00
Anton Maklakov
3cd10899e6
CI: Work around problem with running the initial 'make clean' in parallel ( #18 )
...
Just don't pass '-j' to the 'make clean' command
2017-07-07 11:03:25 +08:00
Anton Maklakov
f0b6256490
build: Fix test for the first time 'make clean' and error handling in build_examples
...
Now the tests do not pass
Before we had incorrect code of the error code checking
in build_examples.sh for that case and did nothing in test_build_system.sh.
2017-07-07 11:03:25 +08:00
Anton Maklakov
2a6b7794ab
CI: Fix the unbound variables in scripts
2017-07-06 18:52:08 +08:00
Anton Maklakov
1b3594ade1
Merge branch 'bugfix/ci_wrong_getting_sources' into 'master'
...
Fix the getting sources
See merge request !953
2017-07-06 18:43:53 +08:00
Anton Maklakov
f194a6bdba
CI: Fix the getting sources
...
Fix the getting sources for a case if the required commit is missed
in the remote submodule repository.
Also add more diagnostic.
2017-07-06 16:48:07 +08:00
Angus Gratton
fd9d889e62
mbedtls unit tests: Allow for longer timeout using software SHA
...
Hardware SHA runs SHA operations faster than software...
2017-07-06 15:54:01 +08:00
Anton Maklakov
8dc340d2ea
CI: Add script for synchronization of the local mirrors for submodules
...
You should use it manually when any submodule in the esp-idf has changed
You can mark to exclude some of them in mirror-list.txt
2017-06-30 12:07:06 +08:00
Anton Maklakov
52445ee541
CI: Use local mirrors for submodules
...
The CI uses the mirror-submodule-update.sh for non-permanent reassignment
of 3rdparty sub-modules to local mirrors (only for 'non-master' branches).
List of the mirrors in mirror-list.txt
You can use the script locally to speed up data retrieval on network problems
check_submodule_sync job uses 'GIT_STRATEGY: clone' to check the availability of public sources
2017-06-30 12:06:02 +08:00
Angus Gratton
f52519d7a2
CI: Use custom get_full_sources.sh script instead of gitlab-ci's strategies
...
Work around problems caused by failed submodule clones corrupting
the working directory on the build runner.
Add 10 retries for cloning submodules.
2017-06-30 12:05:17 +08:00
Anton Maklakov
35609de417
CI: Move the ci-related staff to a separate directory
2017-06-30 11:57:07 +08:00
Angus Gratton
a8f08dc5da
make size: Fix map file parsing error on Windows
...
Closes https://github.com/espressif/esp-idf/issues/739
2017-06-29 12:54:13 +10:00
Ivan Grokhotkov
9b955f4c9f
Merge branch 'feature/sysview_via_apptrace' into 'master'
...
sysview via apptrace
See merge request !708
2017-06-29 08:40:13 +08:00
Angus Gratton
90f1d42a9b
Merge branch 'feature/better_make_size' into 'master'
...
build system: Add idf_size.py tool for better "make size" output
See merge request !874
2017-06-28 06:11:56 +08:00
Alexey Gerenkov
8d43859b6a
esp32: SEGGER SystemView Tracing Support
...
Implements support for system level traces compatible with SEGGER
SystemView tool on top of ESP32 application tracing module.
That kind of traces can help to analyse program's behaviour.
SystemView can show timeline of tasks/ISRs execution, context switches,
statistics related to the CPUs' load distribution etc.
Also this commit adds useful feature to ESP32 application tracing module:
- Trace data buffering is implemented to handle temporary peaks of events load
2017-06-27 20:52:43 +03:00
Angus Gratton
5dca92377d
test runner: Print test name when starting, print filter description
...
Makes it easier to run tests manually.
2017-06-26 15:38:46 +10:00
Angus Gratton
5055290baf
build system: Add idf_size.py tool for better "make size" output & analysis
...
Add new "make size_components" and "make size_files" targets for analysing makeup of the ELF file.
Plain "make size" output now looks like this:
Total sizes:
DRAM .data size: 11156 bytes
DRAM .bss size: 22304 bytes
Used static DRAM: 33460 bytes ( 294220 available, 10.2% used)
Used static IRAM: 80480 bytes ( 50592 available, 61.4% used)
Flash code: 421463 bytes
Flash rodata: 103824 bytes
Total image size:~ 616923 bytes (.bin may be padded larger)
2017-06-21 15:43:22 +10:00
Ivan Grokhotkov
b78a8ae035
unit-test-app: increase space for factory partition to 1280K
2017-06-15 18:15:36 +08:00
Angus Gratton
211580bf4f
Add libsodium v1.0.12
...
Run some unit test cases based (poorly) around sodium's test infrastructure.
Increase in unity test task stack is due to signature tests, load a lot of data onto the stack.
2017-06-14 15:51:08 +10:00
Angus Gratton
5a1a8b4637
Merge branch 'bugfix/resume_task_cpu1_when_scheduler_disabled' into 'master'
...
Fix bug waking a task on CPU1 when scheduler is disabled
See merge request !819
2017-06-09 07:10:10 +08:00
Angus Gratton
f40ae10a5d
freertos: add test case for ISRs waking tasks when scheduler disabled
2017-06-05 16:12:20 +10:00
Anton Maklakov
91718cc776
unit-test-app: Fix incorrect CR+LF sequence.
...
This caused problems with handling output by grep, sed, etc
2017-06-05 10:51:48 +08:00
He Yin Ling
9b39be9559
CI: fix bug of duplicated unit test case ID:
...
need to compare if different file names has the same hash value.
use relative path to IDF to keep test case ID consist.
2017-06-03 11:38:05 +08:00
Anton Maklakov
144d345b3b
unit-test-app: Fix capability to use !<filter> to inverse that filter
2017-06-01 12:23:14 +08:00
Ivan Grokhotkov
972d1d9242
Merge branch 'feature/ci_test_config_autogen' into 'master'
...
CI: auto generate configs for test jobs
Currently CI test jobs are static configured by several pre-generated config files.
This approach have several disadvantages:
1. not flexible to select test cases to run, which is important feature of @bot
2. difficult to update test as we need to pre-generate quite a lot files
3. need to maintain extra config files in IDF
4. not flexible to support new test apps or chips, can't use some new features of test bench
Therefore we'll add assign_test stage between build and test, to generate configs for test jobs.
See merge request !738
2017-05-19 11:56:45 +08:00
Henrik Maier
b95bef4d9b
Update idf_monitor.py to make --toolchain-prefix argument work
...
--toolchain-prefix command line argument was not taken into account when specified
Merges https://github.com/espressif/esp-idf/pull/617
2017-05-18 10:47:19 +10:00
Angus Gratton
ca4f5b9ee6
unit test runer: Add capability to use ![tag] to run all-tests-except-tag
...
Mostly useful for running ![ignore] to skip ignored tests.
2017-05-10 17:22:30 +10:00
Ivan Grokhotkov
04eb6f6129
Merge branch 'feature/save_esptool_flash_args' into 'master'
...
CI: save download config in CI build jobs:
IDF built app download config may change with some modification.
save the download configs for built APP in build stage.
then we can use the correct download config in test stage.
See merge request !676
2017-05-08 15:48:28 +08:00
He Yin Ling
b045df6507
CI: remove auto assign case script for UT:
...
we'll now auto assign all test cases in assign_test_case job. remove the
duplicated functions in unit test script.
2017-05-08 11:44:45 +08:00
Ivan Grokhotkov
33b8b7855e
Merge branch 'bugfix/spiflash_fatfs_fixes_and_tests' into 'master'
...
FATFS fixes and tests
This MR includes a set of fixes related to FATFS, SDMMC, and wear levelling:
- `esp_vfs_fat_spiflash_mount` uses `FM_SFD` flag when creating the partition. The volume layout (given in `VolToPart` variable) was not compatible with SFD mode, so mkfs was failing. This fixes the volume layout to use "autodetect" for both volumes. Merges https://github.com/espressif/esp-idf/pull/559 .
- fix `prepend_drive_to_path`function, which didn't prepend drive to path (while consuming 2k of stack space)
- fix stack overflow in vfs_fat_link function which allocated two 4kbyte `FIL` structures on the stack
- fix support for having two FATFS instances (in flash and SD) mounted at the same time
- unit tests written for FATFS on SDMMC are made common between SDMMC and WL implementations; FATFS unit tests on WL will run during CI
- fix inconsistent definition of PATH_MAX and ARG_MAX (TW12207, TW12104, https://github.com/espressif/esp-idf/issues/289 )
See merge request !732
2017-05-05 17:03:17 +08:00
Ivan Grokhotkov
a428af8c9f
unit tests: change type of flash_test partition to ‘fat’
...
This change makes the spi_flash test partition usable for WL and FATFS
tests.
2017-05-05 15:21:37 +08:00
Angus Gratton
72c7941b5e
Unit tests: Add FreeRTOS timer tests
2017-05-05 14:38:15 +10:00
He Yin Ling
2b273388dd
CI: save download config in CI build jobs:
...
IDF built app download config may change with some modification.
save the download configs for built APP in build stage.
then we can use the correct download config in test stage.
2017-05-02 13:17:56 +08:00
Angus Gratton
66726ec166
freertos: Enable vTaskSuspend()/vTaskResume() API
...
Adds relevant unit tests.
TW11878
2017-04-26 12:50:20 +10:00
Ivan Grokhotkov
b540322dc1
Merge branch 'feature/wear_levelling' into 'master'
...
wear levelling
This MR adds wear levelling component. It presents an interface similar to the interface of spi_flash and esp_partition. Inside, it stores data inside a partition to in a way that reduces worst case number of erase cycles for any given sector.
Also included are APIs similar to the ones provided for SDMMC to mount FAT filesystem on top of the wear levelling partition. A simple example shows how this API can be used.
Ref TW10338.
See merge request !567
2017-04-25 19:46:11 +08:00
Alexey Gerenkov
55f1a63faf
esp32: Adds functionality for application tracing over JTAG
...
- Implements application tracing module which allows to send arbitrary
data to host over JTAG. This feature is useful for analyzing
program modules behavior, dumping run-time application data etc.
- Implements printf-like logging functions on top of apptrace module.
This feature is a kind of semihosted printf functionality with lower
overhead and impact on system behaviour as compared to standard printf.
2017-04-17 23:26:29 +03:00
Ivan Grokhotkov
8f76fe1d7f
move Catch framework header into tools directory
2017-04-17 11:01:18 +08:00
Angus Gratton
b99d5df922
unit tests: Shrink unit test partition table so tests can run on 2MB of flash
2017-04-13 17:55:49 +10:00
He Yin Ling
6a759e7cef
CI: fix bug in generating UT CI runner config:
...
the first case ID in filter is incorrect. Should put test case ID but
not test case itself to the filter.
2017-04-10 15:35:32 +08:00
He Yin Ling
678a7b53f7
CI: revise unit test parser
2017-04-06 19:09:16 +08:00
antti
bda63abb40
CI: modify unit test parser to parse unit test cases from build files
...
Previously test cases were parsed from test files
2017-04-06 17:40:55 +08:00
Angus Gratton
45581dbaca
freertos: Delay context switch from queue/task APIs until exiting critical section
...
Closes #374 : https://github.com/espressif/esp-idf/issues/374
2017-04-04 10:10:08 +10:00
Angus Gratton
987631b9a0
windows: Don't expand PATH when generating setup
...
Ref #467 https://github.com/espressif/esp-idf/issues/467
2017-03-30 12:09:50 +11:00
Angus Gratton
16ef01dc69
Merge branch 'bugfix/windows_setup' into 'master'
...
Windows setup improvements
* Tweak Makefile to significantly reduce startup time on Windows (also reduced on other platforms, but less obvious.)
* Revise windows setup installation script to fix various issues, use latest toolchain.
* Tweak Windows config docs
See merge request !597
2017-03-28 10:49:08 +08:00
Angus Gratton
f5aee6a6e6
windows config: Update Windows setup script, pre-installed image, instructions.
...
Add notes about MSYS2 package mirrors & HTTP proxies for users in China.
Closes #260 https://github.com/espressif/esp-idf/issues/260
Closes #281 https://github.com/espressif/esp-idf/issues/281
Closes #200 https://github.com/espressif/esp-idf/issues/200
Closes #430 https://github.com/espressif/esp-idf/pull/430
Accomplishes similar goals to #264 https://github.com/espressif/esp-idf/pull/264
2017-03-27 11:02:49 +11:00
Ivan Grokhotkov
710c853adc
Merge branch 'bugfix/spi_flash_lock_period' into 'master'
...
SPI flash operations lock for shorter periods
Based on bug report here:
https://esp32.com/viewtopic.php?f=13&t=1489&p=6816#p6773
Long SPI flash erase (and possibly write/read) cycles block all tasks on both CPUs for an extended period, and can lead to WiFi dissassociation (and general priority inversion.)
This MR inserts preemption breaks into large operations (all erases, writes every 8KB, reads every 16KB).
Overhead of a single spi_flash_guart_start()/spi_flash_guard_end() cycle measured at approx 67us (assuming no preemption.)
See merge request !600
2017-03-24 15:55:42 +08:00
Angus Gratton
e88226c256
idf_monitor: Use ANSI color codes for all output we inject into stderr
2017-03-23 10:41:14 +08:00
Angus Gratton
8352e7e9ec
unit test: Measure test wall time with CCOUNT, so it includes time w/ interrupts off
2017-03-22 15:35:54 +08:00
Angus Gratton
5f3b9876b8
idf_monitor: Fix issues using Ctrl-F/Ctrl-A/gdb with older pyserial
...
Previously error was "AttributeError: 'Console' object has no attribute 'cancel'"
2017-03-21 16:08:06 +08:00
Angus Gratton
e477ce93e9
idf_monitor: Small fixes (baud rate, EOL, /dev/tty.X on macOS, Ctrl-T on failure)
...
* "make monitor" not passed the configured baud rate
Closes #436 https://github.com/espressif/esp-idf/issues/436
* Pass toolchain prefix from sdkconfig into monitor tool
* Allow setting EOL in idf_monitor.py, use CRLF by default
* Detect if /dev/tty.X is used on macOS, warn and replace with /dev/cu.X
* If a build fails or gdb exits, ignore Ctrl-T (allowing Ctrl-T Ctrl-A/F to be same key sequence everywhere)
* Add a note about winpty on Windows
Ref 02fdf8271d (commitcomment-21369196)
2017-03-21 16:00:32 +08:00
Angus Gratton
02fdf8271d
Merge branch 'feature/idf_monitor' into 'master'
...
Expand 'make monitor' support
New 'make monitor' idf_monitor tool for better monitor output. Running 'make monitor' will now:
* Automatically look up code addresses via addr2line and print function, source file, line number in terminal.
* Can reset the ESP32 by typing Ctrl-T Ctrl-R.
* Can run "make flash" by typing Ctrl-T Ctrl-F.
* Can run "make app-flash" by typing Ctrl-T Ctrl-A.
* If gdb stub starts, monitor will automatically run gdb and connect. When gdb exits, ESP32 resets and monitor resumes.
* Exit is still Ctrl-[
Have some more features I'd like to add (log output to file, crash dump support) but I think this is at the point of being useful.
See merge request !565
2017-03-15 10:41:08 +08:00
Angus Gratton
2156408d45
Merge branch 'feature/aws_iot_sdk' into 'master'
...
Amazon AWS IoT SDK
Amazon IoT SDK component, plus two examples derived from their Linux samples.
See merge request !132
2017-03-14 10:21:08 +08:00
Angus Gratton
da660b234c
AWS IoT Device SDK Support
...
Use device cert/key embedded in firmware, or loaded from filesystem.
2017-03-13 17:23:29 +08:00
antti
1e2c5cc151
fix unit test app to print tests in the same order they are given in files
2017-03-13 12:06:49 +08:00
Angus Gratton
1544544f8a
tools: New idf_monitor 'make monitor' tool for smarter monitor output
2017-03-13 09:31:45 +08:00
Angus Gratton
fd8703bd2a
Merge branch 'bugfix/unit_test_parser_only_dirs' into 'master'
...
unit tests: Make UnitTestParser ignore non-directories inside 'components' dirs
Tiny fix to UnitTestParser script behaviour, if you happen to have any stray files in your "components" directories.
See merge request !561
2017-03-09 06:58:02 +08:00
Angus Gratton
e014d268fe
unit tests: Make UnitTestParser ignore non-directories inside 'components' dirs
2017-03-07 10:16:52 +11:00
Ivan Grokhotkov
66552c228c
unit-test-app: default to 4MB flash
2017-03-04 14:56:41 +08:00
Ivan Grokhotkov
8911e666a0
Merge branch 'feature/docs_partition_ota_flash' into 'master'
...
Partition/SPI/OTA docs & OTA new functionality
* Update partition, SPI flash & OTA docs to reflect functionality changes
* Refactor OTA implementation to perform checks mentioned in API doc
* Add new functions to OTA API: esp_ota_get_running_partition() & esp_ota_get_next_update_partition() functions
* Add spi_flash_cache2phys() & spi_flash_phys2cache() functions to support esp_ota_get_running_partition()
See merge request !513
2017-03-03 11:27:01 +08:00
Angus Gratton
f29768c404
Build system: Add new BATCH_BUILD flag to disable interactive parts of the build
...
Mostly useful for Eclipse (where accidentally running interactive
config hangs the build), but also good for CI and other automated
build systems.
2017-02-22 11:59:37 +11:00
Angus Gratton
c0f155f6ff
kconfig: Ignore Windows host-compiled executables
2017-02-22 11:59:37 +11:00
Angus Gratton
8dede8f8a4
Eclipse: Process Windows paths correctly using cygpath
...
Includes splitting the Windows Eclipse setup doc into a separate page,
as it has so many additional steps.
Addresses github #17 and #166
https://github.com/espressif/esp-idf/issues/17
https://github.com/espressif/esp-idf/issues/166
2017-02-22 11:59:37 +11:00
Angus Gratton
d28ee9a25e
build system: Account for Windows behaviour of make wildcard for some dirs
...
See github #166
2017-02-22 11:59:37 +11:00
Angus Gratton
f687725e97
unit tests: Use a unit test app partition table, configure spi_flash to use data partition
2017-02-22 10:26:04 +11:00
Angus Gratton
473f2cff51
kconfig: Remove gperf 3.1+ incompatible kconf_conf_id forward declaration
...
Forward declaration was unused. gperf 3.1+ changed parameter type from
'unsigned int' to 'size_t'.
2017-02-14 10:01:44 +11:00
antti
0501507d6b
CI: add script for parsing unit test cases for CI from test files
...
Add python script that parses list of unit test cases for CI from component test folder
Modify .gitlab-ci.yml to run this script as part of build unit tests stage
2017-01-18 17:08:20 +08:00
Ivan Grokhotkov
5b2888e113
unity: fix testcase initializer for compiling with C++
2017-01-06 14:56:02 +08:00
Jeroen Domburg
6f0a494cae
Add testcase, fix executable memory allocated in shared dram/iram region
2016-12-15 15:03:22 +08:00
Angus Gratton
f1390fa7c9
Merge branch 'bugfix/conf_across_mountpoints' into 'master'
...
Create temp config in the same dir as target
Fixes case where SDK and app are on different mounts
(In our usage of kconfig, dirname is the empty string & basename is the full path to sdkconfig)
Github pull request https://github.com/espressif/esp-idf/pull/151
See merge request !309
2016-12-15 07:07:27 +08:00
Deomid Ryabkov
6380245d3d
Create temp config in the same dir as target
...
Fixes case where SDK and app are on different mounts
2016-12-12 16:16:14 +00:00
Jeroen Domburg
bf57594ebe
Merge branch 'feature/intr_alloc' into 'master'
...
Add dynamic interrupt allocation mechanism
This adds:
- Dynamic allocation of interrupts. Pass it the features of the interrupt you want, it'll set you up with an int.
- Shared interrupts. Enables multiple peripheral drivers to use the same interrupt.
- Marking what interrupts are fully executable from IRAM; if an int isn't marked like that it will get disabled once flash cache gets disabled.
Also:
- Modifies driver to be in line with these changes
See merge request !254
2016-12-09 14:00:39 +08:00
Jeroen Domburg
cb9ef19d3b
Also add intr_alloc magic to rtc code
2016-12-08 12:57:57 +08:00
Jeroen Domburg
ae8c37e0b6
Add disabling/enabling of shared interrupt, add testcase for interrupts
2016-12-08 12:39:33 +08:00
Angus Gratton
b98405f9d9
esp32: ReformatReformat panic.c (remove tabs, etc)
2016-12-07 13:25:56 -08:00
Ivan Grokhotkov
a35e4f5923
Merge branch 'feature/unit_test_app_tweaks' into 'master'
...
unit-test-app: Don't auto-display menu after test run finishes
Previous code would sometimes display menu multiple times, depending on UART activity.
See merge request !253
2016-12-07 10:28:19 +08:00
Angus Gratton
69df54a28c
unit-test-app: Don't auto-display menu after test run finishes
...
Previous code sometimes menu multiple times, depending on UART activity.
2016-12-06 11:25:31 -08:00
Ivan Grokhotkov
ab3677d64c
initial support for generation of ULP coprocessor code
2016-12-01 20:26:47 -08:00
Angus Gratton
a902e2a9de
mbedtls tests: Add additional MPI (bignum), SHA tests
2016-11-25 19:21:49 +11:00
antti
15d96eccdb
add build all unit tests in project.mk and update doc
2016-11-23 11:42:12 +08:00
antti
d390449371
add unit tests to esp-idf
...
rename nvs host test folder, modify .gitlab-ci.yml
remove unit-test-app build
re-format unit test files
remove extra newlines in project.mk
some refactoring for unit test part in project.mk
add build files of unit-test-app in gitignore
add README.md for unit test app
correct headings in README.md
remove files and make minor tweaks in unit test app
update .gitlab-ci.yml to use unit test app
delete unused lines in component_wrapper.mk
delete periph_i2s.h and lcd test
add text floating point in components/esp32/test/Kconfig
correct idf test build paths in .gitlab-ci.yml
2016-11-22 14:45:50 +08:00
Angus Gratton
341593f7d2
build system: Remove need for $(Q) macro in recipes, use --silent in MAKEFLAGS instead
2016-11-11 12:32:47 +11:00
Ivan Grokhotkov
c8a43508e5
Merge branch 'bugfix/osx_menuconfig_build' into 'master'
...
Allow OS X to build without libintl
https://github.com/espressif/esp-idf/pull/42
I have tested this with the following configurations:
- OS X with Xcode command line tools, no macports, no homebrew
- OS X with Xcode command line tools and homebrew
- OS X with Xcode IDE and macports
All three work with this change, without it the first two had issues.
See merge request !172
2016-11-07 12:55:47 +08:00
Ivan Grokhotkov
b6dd8a55cd
Fix build with macports/pkgconfig, silence format string warnings on OS X
...
Extra space is needed in echo -n "-lncurses ", otherwise if pkg-config outputs a directory after that, it will result in "-lncurses-L/opt/local/lib" (without space).
-Wno-format-security flag is needed on macOS to silence warnings about printf(gettext("message")) constructs.
2016-11-07 12:27:53 +08:00
Sandeep Mistry
e96d4a0a32
Allow OS X to build without libintl
2016-11-03 21:40:52 +08:00
Ivan Grokhotkov
b717e44eb2
tools: add code formatter rules for Eclipse
...
Generated with Eclipse Neon, should work in earlier versions as well.
This file can be imported
- into the workspace via Preferences > C++ > Code Style > Formatter > Import
- or into the project via Project Preferences > C++ General > Formatter > Import
Configuration options in Eclipse are not exactly the same as in astyle.
There may be some discrepancy between the format astyle and Eclipse will produce.
If anyone notices that, please let me know.
2016-11-03 18:41:00 +08:00
Ivan Grokhotkov
6602d6b7f2
docs: add style guide
...
This adds initial code style guide. Only section on code formatting is written, other sections to be added later.
Also adds scripts to format code using astyle.
2016-11-03 18:41:00 +08:00
Ivan Grokhotkov
f5f625ead5
kconfig: fix build on macOS
...
macOS version of sed doesn't recognize \r as special character.
Replacing with \x0D substitution which works everywhere.
2016-09-20 11:31:46 +08:00
Angus Gratton
cdd1b95b6e
config system: Support Windows when CRLFs used for eol markers
...
Includes a test in test_build_system.sh to prevent regressions w/
CRLFs in text files.
Fixes Github #10
2016-09-16 18:07:58 +10:00
Angus Gratton
7c58c1e06b
Build system: Allow components to add to the global CFLAGS via Makefile.projbuild
...
Used by mbedTLS to set MBEDTLS_CONFIG_FILE in all components.
This change sets CFLAGS/etc at the project level and then exports those
variables for components, rather than setting them independently each time
a component Makefile is invoked.
2016-09-09 11:08:19 +10:00
Angus Gratton
3e9a76f04d
eclipse_make.sh: Fix printing of make directory
2016-09-08 13:39:09 +10:00
Angus Gratton
144ebe5d53
Move bin/eclipse_windows_make.sh to tools/windows_eclipse_make.sh
...
Moving as bin directory is going away soon
2016-09-08 13:39:09 +10:00
Angus Gratton
f853f94335
Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf
...
This will require a matching change in all projects using ESP-IDF.
2016-08-19 15:01:49 +08:00
Angus Gratton
9ec0e1545d
Standardise remaining uses of SDK to ESP-IDF
2016-08-19 15:01:15 +08:00
Angus Gratton
9e0c80688b
Fix gen_esp32part.py locations & documentation (thanks @wujiangang\!)
2016-08-18 21:42:37 +08:00
Ivan Grokhotkov
bd6ea4393c
Initial public version
2016-08-17 23:08:22 +08:00