Angus Gratton
51d03aeced
Merge branch 'bugfix/tools_python_subprocess_capture_output' into 'master'
...
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility
See merge request espressif/esp-idf!11493
2020-12-08 06:43:07 +08:00
Juraj Michálek
c247c7fe2f
tools: add system check to verify Python versions and Windows Defender status
2020-12-07 14:44:56 +01:00
Anton Maklakov
7ad35fa5bb
Merge branch 'bugfix/github_sync_artifacts' into 'master'
...
ci: don't fetch artifacts in push_to_github
See merge request espressif/esp-idf!11104
2020-12-07 16:20:01 +08:00
Angus Gratton
94fe736bc5
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility
...
In Python 3.5 and 3.6 the equivalent to capture_output=True is to set stdout
and stderr arguments to subprocess.PIPE
2020-12-07 15:01:10 +11:00
Konstantin Kondrashov
4a487af43a
efuse: Add new APIs for keys, purposes, wr/rd protection
...
- the batch mode can be called recursively
2020-12-04 10:42:57 +08:00
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