Peter Bee
80fa70da4e
boards/sim: Add nxcamera config
...
Config which enables nxcamera app and video framework.
Exclude from CI macOS test because macOS does not have V4L2.
(Maybe consider adding it back after porting with avfoundation)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-14 21:20:27 +08:00
Peter Bee
e1561f8512
tools/ci/docker/linux/Dockerfile: add libv4l-dev
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-14 12:17:37 +08:00
Xiang Xiao
4873fec670
cibuild.sh: Remove bloaty-src and nuttx-tools repo after build
...
to avoid the below error:
destination path '/Users/runner/work/nuttx/nuttx/sources/tools/bloaty-src' already exists and is not an empty directory.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-13 18:25:35 +08:00
Xiang Xiao
c6d31ac990
cibuild.sh: Install ccache in the last step
...
to fix the below error:
x86_64-elf-gcc --version
Copyright (C) 2002-2007 Andrew Tridgell
ccache: error: Could not find compiler "x86_64-elf-gcc" in PATH
Copyright (C) 2009-2022 Joel Rosdahl and other contributors
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-13 15:35:09 +09:00
Xiang Xiao
2392659258
cibuild.sh: Fix "Untracked files: tools/ci/bloaty-src/"
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-13 15:35:09 +09:00
Xiang Xiao
7a9267219c
Revert "Fix ccache: error: Could not find compiler "x86_64-elf-gcc" in PATH"
...
This reverts commit 0a23bfea03
.
2022-12-13 15:35:09 +09:00
Xiang Xiao
3c99c5cf45
tools/ci/cibuild.sh: Fix destination path 'pinguino-compilers' already exists and is not an empty directory.
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-13 10:17:39 +09:00
Xiang Xiao
0a23bfea03
Fix ccache: error: Could not find compiler "x86_64-elf-gcc" in PATH
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-12 20:25:51 +09:00
Xiang Xiao
4b760fcea8
tools/cibuild.sh: Sync the installation between macOS and Ubuntu
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-11 22:41:25 +08:00
Xiang Xiao
b83f3e6ca7
workflow: Move ccache setting from build.yml to cibuild.sh
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-11 22:41:25 +08:00
Xiang Xiao
98412b9e97
tools/cibuild.sh: Move the installation directory from prebuilt to tools
...
sync with tools/ci/docker/linux/Dockerfile
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-11 22:41:25 +08:00
Xiang Xiao
4026f47b3b
ci: Exclude litex/arty_a7 from tools/ci/testlist/risc-v.dat
...
to workaround the new toolchain generate the wrong path for
--print-libgcc-file-name and --print-file-name=libm.a:
https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.12/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz
please reference here for more info:
https://github.com/apache/nuttx/pull/7835
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-11 22:41:25 +08:00
Gustavo Henrique Nihei
6711b37662
tools/ci: Update RISC-V toolchain in Dockerfile to latest version
...
The #6094 updated the toolchain, but only in the script used by MacOS
CI runners.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-08 17:13:41 -03:00
qiaohaijiao1
127a3585cc
tools/ci/docker/linux/Dockerfile: add libmad0-dev in docker environment
...
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2022-11-29 00:20:25 +08:00
xinbingnan
4800c166ec
Dockerfile: fix cp clang-extdef-mapping no effect
...
Use a wrong command `CMD`, and the correct is `RUN`.
That's a low level fault made by me.
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2022-11-28 14:31:19 +01:00
Nathan Hartman
03802dad13
NuttX graduated the Incubator; update repository links
2022-11-26 11:58:15 -08:00
nietingting
6368b29751
test: update usrsocktest script
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-11-24 23:14:31 +08:00
Xiang Xiao
c5704eb1e7
tools/ci/testlist: Switch half build to clang
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-23 07:27:48 +01:00
chao an
f23ec0f995
Revert "tools/ci/arm/llvm/clang: bump up LLVMEmbeddedToolchainForArm to release-15.0.2"
...
This reverts commit b4bab51e86
.
Issue:
Builtin math symbols are missing on llvm 15.0.2(libm.a):
https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/issues/158
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-22 07:43:02 -08:00
chao an
b4bab51e86
tools/ci/arm/llvm/clang: bump up LLVMEmbeddedToolchainForArm to release-15.0.2
...
Upstream:
https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/releases/tag/release-15.0.2
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-22 19:07:13 +08:00
Brennan Ashton
9140b39bde
CI: Update worker base OS version
...
Also pin Bloaty to 52948c107c8f81045e7f9223ec02706b19cfa882
- see https://github.com/google/bloaty/pull/326/files
2022-11-21 17:20:24 +08:00
nietingting
8f7a16889e
fix PytestUnknownMarkWarning issue
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-29 18:12:37 +08:00
Xiang Xiao
c8670cf2eb
tools/ci/cibuild.sh: Add bloaty to install variable
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-28 21:22:44 +02:00
Xiang Xiao
9810ab817d
tools/ci/cibuild.sh: Keep the installation in alphabetical order
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-28 21:22:44 +02:00
Xiang Xiao
cdf8cff1f6
tools/ci/cibuild.sh: Move all pip3 installation into python-tools
...
and keep the installation in alphabetical order
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-28 21:22:44 +02:00
nietingting
f361d1cd41
CI: add example to sim
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-26 10:55:50 +08:00
W-Mai
07a2fa8d57
ci/docker: copy clang-extdef-mapping
to clang-arm
...
Clang relies on clang-extdef-mapping for ctu checking. But clang-arm doesn't provide this file
A tweaking way to support this feature is copy a `clang-extdef-mapping` from other clang version.
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2022-10-24 17:04:45 +08:00
Xiang Xiao
8c1036b7a1
tools/ci/docker/linux/Dockerfile: Keep the installation in alphabetical order
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-23 17:10:01 -07:00
Xiang Xiao
d922119f0a
tools/ci/docker/linux/Dockerfile: Intall libtinfo5 in final image
...
fix the following error:
/tools/clang-arm-none-eabi/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-23 17:10:01 -07:00
Xiang Xiao
19d1e08717
tools/ci/docker/linux/Dockerfile: Intall libncurses5-dev in final image
...
fix the following warning:
clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-22 11:48:24 -03:00
Xiang Xiao
4ea0c905e6
ci: Install LLVM Embedded Toolchain for Arm
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-22 17:04:21 +08:00
Xiang Xiao
b42b8c9275
Revert "Revert "tools/ci: patch for gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022""
...
This reverts commit 8150534a2f
.
2022-10-22 09:12:18 +08:00
chao an
d6b441f141
tools/ci: patch for docker gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022
...
Fix Wrong Newlib version strings, error when stdlib.h is included
Reference:
https://community.arm.com/support-forums/f/compilers-and-libraries-forum/53470/arm-gnu-toolchain-11-3-rel1-x86_64-arm-none-eabi-wrong-newlib-version-strings-error-when-stdlib-h-is-included
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-21 09:30:36 +02:00
nietingting
8438396f33
ci: add qemu run support
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-21 14:57:43 +08:00
nietingting
81ff16c675
install qemu-system-misc in dockerw
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-20 17:44:22 +08:00
nietingting
33b7219caa
install qemu-system-arm in docker
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-18 21:29:25 +08:00
nietingting
ecb80dd888
install qemu on docker
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-18 07:56:04 +02:00
Hidenori Matsubayashi
28180b49d1
arm64: add Cortex-A57 and Cortex-A72 configurations
...
This change adds the following:
- Rename the board configuration name from qemu-a53 to qemu-v8a.
- Add the configurations for Cortex-A57 and Cortex-A72.
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-10-14 09:27:35 +08:00
chao an
8150534a2f
Revert "tools/ci: patch for gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022"
...
revert this change since docker image upload always fails
This reverts commit 0f3f5d091a
.
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-13 17:28:37 +08:00
chao an
53dd0819cf
tools/ci: patch for docker gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022
...
Fix Wrong Newlib version strings, error when stdlib.h is included
Reference:
https://community.arm.com/support-forums/f/compilers-and-libraries-forum/53470/arm-gnu-toolchain-11-3-rel1-x86_64-arm-none-eabi-wrong-newlib-version-strings-error-when-stdlib-h-is-included
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-13 08:33:50 +09:00
chao an
0f3f5d091a
tools/ci: patch for gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022
...
Fix Wrong Newlib version strings, error when stdlib.h is included
Reference:
https://community.arm.com/support-forums/f/compilers-and-libraries-forum/53470/arm-gnu-toolchain-11-3-rel1-x86_64-arm-none-eabi-wrong-newlib-version-strings-error-when-stdlib-h-is-included
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-12 19:54:37 +08:00
chao an
cfe2ec3d4d
tools/ci: Update gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-12 19:54:37 +08:00
xinbingnan
d8cff7d17a
tools/ci/docker/linux/Dockerfile: Install CodeChecker and requirements(clang, clang-tidy)
...
.github/workflows/build.yml: added CodeChecker support for GitHub Workflow
tools/testbuild.sh: added support for CodeChecker checks
- Added support for CodeChecker checks.
- Generate inspection reports and summaries.
- After the task is executed, the logs are compressed and the database is packaged.
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2022-10-12 16:23:43 +08:00
nietingting
70053700b8
add ci run on sim
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-09 20:12:39 +08:00
yinshengkai
d9065f29aa
tools/ci: add pyelftools and cxxfilt
2022-09-28 14:08:13 +08:00
nietingting
8b3a936588
ci: enable pytest on docker file
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-09-26 13:47:23 +08:00
chao an
7d2a8c9c8b
ci/testcase: add launchxl-tms57004/nsh(Cortex-R4) into build list
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-23 02:32:21 +08:00
chao an
0f0a94186f
arch/arm/toolchain: migrate the toolchain define to arch/arm/Kconfig
...
migrate the toolchain define to arch/arm/Kconfig to simplify new toolchain registration
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-16 14:47:27 +08:00
xinbingnan
204d143e9e
tools/ci/cibuild.sh: add CodeChecker requirements for cibuild.sh
...
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2022-09-16 02:09:20 +08:00
xinbingnan
ef6036f63e
tools/ci/docker/linux/Dockerfile: Install CodeChecker and requirements(clang, clang-tidy)
...
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2022-09-16 02:09:20 +08:00