Commit Graph

1363 Commits

Author SHA1 Message Date
Almir Okato
8f3c425067 xtensa/esp32s3: Enable booting from MCUboot bootloader
Add support for booting from MCUboot bootloader on ESP32-S3.

Signed-off-by: Almir Okato <almir.okato@espressif.com>
2022-12-15 00:42:13 +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
a64c61f530 Remove incubat.* from the code base
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-13 21:21:27 +02: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
Alin Jerpelea
5dc50bcc9f tools: zipme: remove incubator from releases
NuttX has graduated the incubator phase and the releases should be renamed
to match the current status

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-12-13 17:19:06 +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
Gustavo Henrique Nihei
f78c6432d8 xtensa/esp32: Simplify board linker script selection
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-08 21:55:29 +08:00
Gustavo Henrique Nihei
bfc40c74d0 xtensa/esp32s3: Add support for Protected Mode
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-07 03:07:45 +08:00
zouboan
aad321dfa8 tools/define.bat: sync design of define.bat with define.sh to uniform usage 2022-12-03 19:22:17 +08:00
zouboan
498bc98b1b tools/Win.mk:Fix an pass1dep error when USERDEPDIRS is empty in Windows native build 2022-12-01 01:47:46 +08:00
zouboan
f115a97bdc tools/Config:Fix too long input line error call ARCHIVE when use too many libc in Windows native build
tools/Config:Fix too long input line error call ARCHIVE when use too many libc in Windows native build
2022-12-01 01:47:46 +08:00
zouboan
20c69294db tools/Win.mk:Fix an issue in mkdir -p in Windows native build 2022-12-01 01:47:46 +08:00
zouboan
744df68b10 tools/Win.mk:Fix some error in clean_context in Windows native build 2022-12-01 01:47:46 +08:00
zouboan
e2c2cc16ee tools/Config:Fix some error call DELFILE/DELDIR/CATFILE/CLEAN in Windows native build
tools/Config:Fix some error call DELFILE/DELDIR/CATFILE  in Windows native build
2022-12-01 01:47:46 +08:00
zouboan
fd9838f41f tools/mkdeps:Fix an error caused by do_shquote in Windows native build
tools/mkdeps:Fix an error caused by do_shquote in Windows native build

tools/mkdeps:Fix an error caused by do_shquote in Windows native build
2022-12-01 01:47:46 +08: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
chao an
1815c2e1e1 tools/nuttx-gdbinit: restore the context at the end of each command
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-25 11:32:42 +09: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
zouboan
b96ced8f4b tools/Config:Fix some error caused by double quotation in Windows native build 2022-11-23 10:02:05 +08:00
Xiang Xiao
79d02c0e29 arch/sim: Unify the host soruce file naming
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-22 19:37: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
zhangyuan21
f1837e7e96 tools/nxstyle: add more white list for sim arch 2022-11-22 16:27:56 +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
yinshengkai
bcefa2f0a2 tools: fix errors when executing indir
fix the error message when executing make -C nuttx/tools -f Makefile.host clean
/bin/sh: 1: nuttx/tools/../tools/incdir: not found
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-16 12:51:54 +08:00
simbit18
c8855ab986 Update configure.bat
(USAGE): Add -E -e
2022-11-15 02:14:04 +08:00
Petro Karashchenko
3b78f6db3e tools: Do not check ccname get_os() for windows native build
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-11-12 14:14:57 +08:00
Petro Karashchenko
eeeb88a1ed tools: fix NULL pointer dereference in configure.c
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-11-12 14:14:57 +08:00
Petro Karashchenko
d0c7d2dd88 tools: fix arguments passing in configure.bat
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-11-12 14:14:57 +08:00
simbit18
a522a8eeaf tools/Win.mk
fix shell conditional
2022-11-10 10:39:25 +08:00
zouboan
77cbd3379c tools: Fix an error of make -C tools -f Makefile.host clean 2022-11-09 13:50:15 +08:00
zouboan
afd3c65cf6 tools/Win.mk Fix some issue caused by out-sync of Win.mk and Unix.mk 2022-11-09 13:50:15 +08:00
simbit18
c4d654946f tools/incdir.bat
Fix mistakes in comments
2022-11-09 01:38:12 +08:00
zouboan
12f57bd9b2 tools:fix some error use of shell command in Windows native build 2022-11-06 16:41:49 +08:00
zouboan
5edb9141e4 tools:fix distclean error in Windows native build 2022-11-06 16:41:49 +08:00
zouboan
def151869f tools:fix build error of incdir in Windows native build 2022-11-06 16:41:49 +08:00
zouboan
c8e4adad9f tools:fix 'input line is too long error' in Windows native build 2022-11-06 16:41:49 +08:00