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
9a7ab28cc2
idf.py: Add environment variable to enable ccache by default
2019-09-03 10:25:28 +10:00
Roland Dobai
612db28b6f
Fix error code collision and CI check
2019-08-29 08:14:08 +00:00
Roland Dobai
474f6d9d98
Fix path in the Efuse table test
2019-08-27 11:58:45 +02: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
suda-morris
5a09de8245
cbor: add tinycbor library and example
2019-08-22 17:44:29 +08: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
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
Renz Christian Bagaporo
87ebdaa74e
cmake: set component properties
2019-08-09 20:51:20 +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
50629eec27
tools: Add a script to fix up empty prototypes
2019-08-01 16:28:55 +07:00
Ivan Grokhotkov
6cff19adb6
ci: add jobs to build idf_exe, cmdlinerunner, tools installer
2019-07-29 06:13:52 +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
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
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
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
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
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
Ivan Grokhotkov
12b6da0388
tools: {install,export}.{bat,sh} tools
2019-07-01 14:51:44 +02: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
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
Sergei Silnov
aecd0f9ae4
Add subcomand options that become global
2019-06-26 10:00:21 +02: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
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
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
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
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
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
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
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
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
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
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
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