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