Xiang Xiao
f905563cc9
tools/nxstyle: Add kbps to the while suffix list
...
and correct offset by 1 error
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-15 13:55:58 +03:00
Xiang Xiao
317cc6c174
tools/nxstyle: Add the suffix white list
...
and initialize it to "kHz", "Mbps", and "us"
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-13 16:39:16 +03:00
YAMAMOTO Takashi
072c28fe8e
Revert "tools/mkallsyms.sh: Disable the mismatch warning of builtin declaration"
...
This reverts commit 848d1ef0b7
.
It doesn't make sense because the generated file just have names of
symbols as strings. Nothing to worry about builtins.
2022-05-12 22:19:52 +08:00
YAMAMOTO Takashi
30a1b4e359
tools/mkallsyms.sh: Make it work with llvm
...
The llvm version of c++filt doesn't have -p option.
Use sed instead.
2022-05-12 14:56:07 +08:00
wangbowen6
32a47f7e3d
ci/arm-13.dat: do not check board tlsr8278adk80d
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-05-09 12:33:39 +08:00
Xiang Xiao
59db30fd59
tools/nxstyle: Add __sFILE_fake(defined by newlib) to the white list
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-06 14:43:57 -03:00
Xiang Xiao
05ff19d17b
tools/testbuild.sh: Don't skip configure and distclean
...
to improve the test coverage
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-01 09:50:50 +03:00
Xiang Xiao
baf852ff4b
tools/ci: Enable libcxx test config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-29 21:08:14 -03:00
anjiahao
2b938ed8f8
tools:minidumpserver.py support xtensa
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-04-28 13:29:25 +08:00
anjiahao
cbdd39b6c9
tools:fix parsememdump.py match error
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-04-23 23:59:36 +08:00
Jiuzhu Dong
de1c184e6c
boards/sim: support rc.sysinit
...
Follow: http://glennastory.net/boot/sysinit.html
This is first script that init runs is rc.sysinit. This
script does serval initialization tasks about basic service.
The boot sequence currently provided to the board level is:
board_earlyinitialize->
board_lateinitialize(Peripherals driver, core driver, ...)->
run rcS script(mount fs, run service) ->
board_appinitialize->
After this patch:
The boot sequence currently provided to the board level is:
board_earlyinitialize->
board_lateinitialize(core driver,...)->
run rc.sysinit script(mount fs, run core service) ->
board_appinitialize(Peripherals driver)->
run rcS script(run other service)->
So, Peripheral drivers can do more with the file system and
core services.
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-04-21 12:54:53 +03:00
chao.an
e066d5d1e0
arch/risc-v: Unify the toolchain definition of RVG for linux and windows
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-19 23:17:27 +08:00
chao.an
2df591b3bb
arch/armv7-a/r: Unify the toolchain definition of eabi for linux and windows
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-19 23:17:27 +08:00
chao.an
2246afcdd8
arch/armv7-m: Unify the toolchain definition of eabi/clang/iar for linux and windows
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-19 23:17:27 +08:00
Petro Karashchenko
88369d54c4
Revert "tools/cibuild.sh: Download risc-v toolchain with --no-check-certificate"
...
This reverts commit 3b97e37b52
.
2022-04-19 09:56:26 +08:00
Xiang Xiao
3b97e37b52
tools/cibuild.sh: Download risc-v toolchain with --no-check-certificate
...
untils SiFive update their certification
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-18 17:07:21 +03:00
Xiang Xiao
a3e2b0a992
tools/cibuild.sh: Migrate risc-v toolchian from 8.3.0 to 10.2.0
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-18 17:07:21 +03:00
Xiang Xiao
ef1a98dd00
Remove the unneeded void cast
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-17 23:32:05 +03:00
nietingting
dd70d29d4e
tools/mkdeps: Extend MAX_SHQUOTE to 3072
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-04-10 09:55:14 +03:00
liuhaitao
c4e2d88e6b
Make top Make.defs symlink to board Make.defs instead
...
Symlink to board Make.defs for top Make.defs, so top Make.defs
syncs in realtime.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2022-04-10 01:28:27 +02:00
liuhaitao
c998a2c9bf
checkpatch.sh: add -m option to enable/disable Change-Id check
...
Defaultly disable Change-Id check in commit message.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2022-04-09 22:06:54 +02:00
Xiang Xiao
074beff551
tools/checkrelease.sh: Don't check DISCLAIMER-WIP anymore
...
since all license is clean up now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-08 21:00:56 -03:00
zhuyanlin
df6985e2bf
jlink-nuttx: update regs as nuttx regs save path change
...
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-04-05 13:33:00 +02:00
anjiahao
e597f3812d
tools:use dump log creat a gdbsever to debug
...
this is a tool,when crash help you to debug.
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-03-25 17:55:12 +08:00
Xiang Xiao
3259b7d700
tools/jlink: Change the type of pid from uint16_t to uint32_t
...
follow up the bellow chnage:
commit 0f2f48f8ba
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Sun Mar 20 18:12:26 2022 +0800
sys/type.h: Change pid_t from int16_t to int
to fix the following warning:
include/unistd.h:302:9: error: incompatible redeclaration of library function 'vfork' [-Werror,-Wincompatible-library-redeclaration]
pid_t vfork(void);
^
include/unistd.h:302:9: note: 'vfork' is a builtin with type 'int (void)'
and change 32768 to INT_MAX to match the type change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-23 11:00:49 +02:00
Xiang Xiao
fa42ebace4
tools/nxstyle: Order g_white_prefix by alphanum
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-20 20:35:08 +02:00
Michael Mogenson
2c450be9e8
nxstyle: ignore mixed-case identifiers for Lua types
2022-03-20 23:32:20 +08:00
Petro Karashchenko
b302173f31
Revert "zig-build added"
...
This reverts commit 4880613b26
.
2022-03-16 22:17:16 +02:00
Matheus Catarino França
4880613b26
zig-build added
...
zig install added on CI - fixed
Docker - zig install
parent 5d2e3573c25b48ba7c3d697de11e64896e818aea
author Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300
committer Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300
zig-build added
zig install added on CI - fixed
Docker - zig install
CI - replace wget2curl
rm bloat curl command & zig latest version
ZIG_ENV - rm bin folder
ident format
Apply suggestions from code review
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
rm arch-zigoptimization
rm arch-zigoptimization ref
2022-03-17 02:09:36 +08:00
Petro Karashchenko
e8213b9ae5
tools: define BOARD_COMMON_DIR only if ARCH_BOARD_COMMON is set
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-12 22:12:44 +08:00
chao.an
8cead9ec25
tools/ci: remove sim:segger from macOS build
...
macOS doesn't support --wrap flag
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-09 22:32:39 +08:00
chao.an
99ba405535
tools/mkallsyms: add support to generate the symbol table without const
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-09 10:16:54 +02:00
Huang Qi
572f961136
ci: Update gcc-arm-none-eabi to 10.3-2021.10
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-02 15:41:56 +08:00
anjiahao
91e2b1341a
tools:add parsememdump.py to parse memdump info(by cmd: memdump all)
...
This script will help you analyze memdump log files,
analyze the number of occurrences of backtrace,
and output stack information
memdump log files need this format:
pid size addr mem
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-02-28 22:29:59 +08:00
Piet
b13fa5fc05
ci/tools: add rustfmt to checkfmt and ci config
2022-02-26 12:45:20 +08:00
Piet
29c55cdda6
ci: harmonize rust installation paths.
2022-02-23 10:31:01 +08:00
YAMAMOTO Takashi
3aa83d6146
tools/testbuild.sh: Add an optional step to run NuttX
...
I plan to use this to run sim:ostest (and probably other tests later)
on the CI.
The script indirection might allow future non-sim usage as well.
(like running it with qemu, or even on the real hardware.)
I have no plan to do it by myself right now though.
2022-02-22 13:30:57 +08:00
YAMAMOTO Takashi
75c5ae1207
tools/README.txt: Update testbuild.sh help text
2022-02-22 13:30:57 +08:00
Piet
fbfe457ced
ci: add RUSTUP_HOME to get rustup parts into container
2022-02-21 18:45:47 -08:00
Piet
c5bdbc810d
ci: get rust copied to final image.
2022-02-21 16:58:29 -08:00
Piet
bc3c316f5b
ci: Install Rust via RUN. (2nd try)
2022-02-21 11:25:42 -03:00
Petro Karashchenko
7744ca998f
Revert "ci: Install Rust via RUN."
...
This reverts commit 2e3b77da8e
.
2022-02-21 11:41:32 +01:00
Piet
2e3b77da8e
ci: Install Rust via RUN.
2022-02-21 11:04:58 +08:00
Xiang Xiao
163fe4ff0b
boards: Replace CONFIG_CYGWIN_WINTOOL with CONVERT_PATH
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 21:15:36 +01:00
Xiang Xiao
1d1bdd85a3
Remove the double blank line from source files
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 20:10:14 +01:00
Piet
bb3d8c35e4
ci: add Rust compiler suite
2022-02-20 10:30:30 +08:00
Xiang Xiao
848d1ef0b7
tools/mkallsyms.sh: Disable the mismatch warning of builtin declaration
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-18 09:04:47 +01:00
Piet
8828a43219
Default macro to compile one Rust file
2022-02-17 15:35:27 -03:00
Peter Kalbus
6abdf73535
sim: Initial support on MacOS M1 and Linux AARCH64 based hosts.
2022-02-17 09:35:09 +08:00
Xiang Xiao
d056834605
Add CONFIG_NDEBUG Kconfig to control NDEBUG definition
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-16 12:03:07 -08:00