Xiang Xiao
2c5f653bfd
Remove the tail spaces from all files except Documentation
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-26 13:24:24 -08:00
zhangyuan21
3c162b1e14
tools/ci: add libusb1.0 package
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-02-26 22:39:57 +08:00
chao an
b8ef55d201
Revert "tools/ci: Update GNU Arm Embedded Toolchain to Version 12.2-2022.12.22"
...
This reverts commit 809252e3fd
.
Wrong warning array subscript [0] is outside array bounds:
| chip/lpc43_usb0dev.c: In function 'lpc43_getframe':
| arch/arm/src/common/arm_internal.h:134:25: warning: array subscript 0 is outside array bounds of 'volatile uint32_t[0]' {aka 'volatile long unsigned int[]'} [-Warray-bounds]
| 134 | #define getreg32(a) (*(volatile uint32_t *)(a))
| | ~^~~~~~~~~~~~~~~~~~~~~~~~~~
| chip/lpc43_usb0dev.c:347:33: note: in expansion of macro 'getreg32'
| 347 | # define lpc43_getreg(addr) getreg32(addr)
| | ^~~~~~~~
| chip/lpc43_usb0dev.c:2605:15: note: in expansion of macro 'lpc43_getreg'
| 2605 | return (int)lpc43_getreg(LPC43_USBDEV_FRINDEX_OFFSET);
| |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-20 20:05:13 +08:00
chao an
809252e3fd
tools/ci: Update GNU Arm Embedded Toolchain to Version 12.2-2022.12.22
...
x86_64 Linux hosted cross toolchains
AArch32 bare-metal target (arm-none-eabi)
arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.xz
Remove toolchain workaround which already fixed by ARM:
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
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>
2023-02-20 16:20:39 +08:00
Tomasz 'CeDeROM' CEDRO
833f7a5a3e
Updated python scripts interpreter invocation in tools/
.
...
* Using call to portable `#!/usr/bin/env python3` syntax.
* Updated python interpreter call in `tools/ci/testrun` (please verify).
Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
2023-02-19 14:15:27 +08:00
Xiang Xiao
d5b510e023
tools/ci: Install genromfs instead building it from source code
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-17 16:01:52 +08:00
Xiang Xiao
0582930e4b
tools/ci: Install python kconfiglib
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-17 16:01:52 +08:00
Xiang Xiao
916fa4d759
boards/sim: Enable CONFIG_SIM_M32 in nimble
...
please reference this pr:
https://github.com/apache/mynewt-nimble/pull/1125
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-09 14:36:05 +08:00
Masayuki Ishikawa
79704620f8
tools: ci: Fix testrun/utins/common.py for sabrelite (QEMU)
...
Summary:
- I noticed that nuttx crashes if DEBUG_ASSERTIONS=y
- This commit fixes this issue by changing QEMU options
Impact:
- None
Testing:
- Tested with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2023-02-06 18:26:05 +08:00
Fotis Panagiotopoulos
290a9157eb
checkpatch: Added encoding check with cvt2utf
2023-02-01 20:42:35 +08:00
qiaohaijiao1
869d3bfb32
tools/ci/docker/linux/Dockerfile: add libmp3lame-dev:i386
...
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2023-02-01 13:29:01 +08:00
Xiang Xiao
d3525ec637
tools/ci: Enable stm32u5, stm32wb and stm32wl5
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-24 08:40:50 +09:00
Petro Karashchenko
a208e5860a
tools: Ensure removing Python3.11 related commands for macOS
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-28 22:05:33 +08:00
Petro Karashchenko
b52aa1b5ca
tools: Ensure removing Python related commands for macOS
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-25 04:35:27 +08:00
Gustavo Henrique Nihei
aac0228c74
ci: Force reinstall of python tools to workaround GitHub cache issue
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-17 14:02:20 +08:00
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