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
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
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
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
Angus Gratton
0855fba8a6
Merge branch 'bugfix/reduce_ci_job_number'
...
Manually merge !6863
2019-12-02 15:01:10 +11: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
568f0af61a
esp_wifi: check header files MD5 on host
2019-11-27 23:00:11 +08:00
morris
dcd99b0ad1
enlarge example cmake build job parallel num
2019-11-27 14:14:08 +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
michael
0f6dd34971
mcpwm: enable some unit tests again
2019-11-25 00:36:30 +08:00
He Yin Ling
1c65f1aed3
ci: reduce the number of unit test jobs
2019-11-23 20:40:23 +08:00
Ivan Grokhotkov
acdb2a5dc0
ci: add test job with ESP32S2BETA_IDF tag
2019-11-22 10:36:51 +01: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
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
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
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
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
Ivan Grokhotkov
c8a37c296a
ci: don't fetch all submodules in unit_test and example_test
2019-11-15 07:59:44 +00: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
David Cermak
76f612e14f
ci: increased number of parallel jobs to have enough runners for unit
...
tests
2019-11-13 12:36:26 +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
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
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
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
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
Renz Christian Bagaporo
2dd74d4b7a
ci: remove semicolon for cmake build system test
2019-11-03 16:52:06 +08:00
Renz Christian Bagaporo
b0bb53de06
ci: test multiple sdkconfig defaults
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
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
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
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
Ivan Grokhotkov
92d4b86182
ci: add tests for sdkconfig.defaults.IDF_TARGET
2019-10-30 10:43:37 +01:00
Xia Xiaotian
9afba2abf5
esp_wifi: merge esp32s2beta WiFi library to master branch
2019-10-29 19:41:33 +08: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
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
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
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
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
Ivan Grokhotkov
e763a3a96f
ci: add test build with -O2 -NDEBUG, cleanup
2019-10-13 16:21:08 +02: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
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
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
suda-morris
dc5b8a9a8f
ethernet: test apps can build with ethernet disabled
2019-09-19 09:41:21 +00: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
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
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
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
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)
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)
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
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