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
Fotis Panagiotopoulos
b5b7d24ba1
Improvements in CAN connections allocation.
2023-02-20 09:06:46 +08:00
chao an
3a0fdb019d
nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems()
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-09 20:05:44 +08:00
Xiang Xiao
df102d1f06
Remove OK macro from the code base
...
let's use OK from sys/types.h instead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-02 13:58:16 +01:00
yinshengkai
8c9e90882d
boards/stm32: remove up_perf_init from boardinitialize
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-01-06 13:32:12 +08:00
chao an
422272044b
boards/iperf: device name will vary across different NICs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-20 19:44:32 +08:00
Xiang Xiao
a446b5816f
mm/circbuf: Remove MM_CIRCBUF option from Kconfig
...
since the linker can remove the unused object file from the final image
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-08 10:18:27 -03:00
Masayuki Ishikawa
bbe2fd3b80
boards: Fix the CI build errors for telnetd
...
Summary:
- This commit fixes the CI build errors regressed by
https://github.com/apache/incubator-nuttx/pull/7351
Impact:
- None
Testing:
- Build only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-11-07 16:06:00 +01:00
Xiang Xiao
4e43fef5cd
boards: Update telnetd related config after apps/nshlib change
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 15:24:29 +09:00
wangbowen6
5611d89015
nucleo-h743zi2: refresh the pysim defconfig to fix CI problem
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-11-01 16:16:02 +08:00
Andrés Sánchez Pascual
533a83155b
issue/ORDISO-17: Add wdg support
...
Signed-off-by: Andrés Sánchez Pascual <tito97_sp@hotmail.com>
2022-11-01 09:21:04 +08:00
Xiang Xiao
28947517ca
sched/spawn: Rename task_spawnattr_[get|set]stack[size|addr] to posix_spawnattr_[get|set]stack[size|addr]
...
since they can be not only used in task_spawn but also in posix_spawn
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-01 09:51:18 +09:00
Roberto Bucher
a2ff09642c
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
5bc2bfcd0f
Files for pysimCoder on nucleo-h743ZI2 board
2022-10-29 18:03:37 -03:00
Roberto Bucher
18abd44e0e
Files for pysimCoder on nucleo-h743ZI2 board
2022-10-29 18:03:37 -03:00
Roberto Bucher
80ed34cae5
Files for pysimCoder on nucleo-h743zi1
2022-10-29 18:03:37 -03:00
Roberto Bucher
e944cd2340
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
ac64214963
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
944bb6164d
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
79f5906a7b
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
795d35e2cd
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
e6708bcb4b
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
94edb5d1aa
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
d68adac733
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
793f37c007
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Andrés Sánchez Pascual
b5052a8475
board/stm32h7: update mcuboot-loader configuration
...
Signed-off-by: Andrés Sánchez Pascual <tito97_sp@hotmail.com>
2022-10-26 00:53:29 +08:00
Xiang Xiao
6b31918b42
Remove the unnecessary cast for main_t, NULL and argv
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 08:51:45 +02:00
Xiang Xiao
7923ea3bef
boards: Refresh defconfig after the default value of FS_PROCFS_EXCLUDE_xxx
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 15:10:26 +09:00
Xiang Xiao
78f6a02bc8
boards: Remove the duplicated prototype of CONFIG_INIT_ENTRYPOINT
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 19:02:44 +02:00
Xiang Xiao
92f156c969
boards: Change the linker generated symbols from uint32_t to uint8_t array
...
since the symbol generated by linker is always used as an address not a value.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-05 14:24:47 +02:00
Xiang Xiao
70290b6e38
arch: Change the linker generated symbols from uint32_t to uint8_t *
...
and remove the duplicated declaration
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-24 21:26:56 +02:00
Xiang Xiao
a7b3217c37
boards/arch: Remove FAR from 32bit/64bit arch
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-16 10:22:12 +02:00
Xiang Xiao
78fcc6670d
boards/ucleo-h743zi: Remove CONFIG_ARMV7M_SYSTICK from stm32_boot_image.c
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-16 10:19:39 +02:00
Andres Sanchez
64687e438a
boards/stm32h7: add support for mcuboot
...
Add support for MCUBoot.
Two new configurations are added:
- mcuboot-loader: mcuboot-loader app used as a bootloader.
main_mcuboot_loader as entrypoint
- mcuboot-app: used as mcuboot agent app. Needs to be
signed manually through "imgtool sign --pad --align 4 -v 0 -s
auto -H 0x200 --pad-header -S 0xc0000 nuttx.hex nuttx_sign.bin"
Signed-off-by: Andres Sanchez <tito97_sp@hotmail.com>
2022-09-16 02:12:17 +08:00
Xiang Xiao
1f920e55d3
Move warning option from Make.defs to Toolchain.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-15 15:40:35 +03:00
JacobCrabill
5f82c82e4d
boards/stm32h7: Add socketcan config to nucleo-h743zi2
2022-05-06 08:54:58 +02:00
Xiang Xiao
a3c9b413d8
arch/arm: Remove FAR and CODE from board folder(2)
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-03 16:50:52 +03:00
Xiang Xiao
aeb9c5d822
boards: Move -fno-strict-aliasing from Make.defs to Toolchain.defs
...
and migrate MAXOPTIMIZATION into ARCHOPTIMIZATION
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-01 11:36:41 +03:00
Xiang Xiao
8f8ee25a9c
boards: Move -g from Make.defs to Toolchain.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-25 16:23:03 +03:00
Xiang Xiao
75326e563d
boards: Move -fno-common from Make.defs to Toolchain.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-25 07:57:29 +03:00
Xiang Xiao
547c85b0ae
boards: Switch the elf link script to binfmt/libelf/gnu-elf.ld
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-24 17:02:37 +02:00
Xiang Xiao
d80c2d7419
arch/arm: Remove all lazy fpu related code
...
since it is broken and inefficient, and then removed by:
commit dc961baaea
Author: chao.an <anchao@xiaomi.com>
Date: Thu Apr 14 18:07:14 2022 +0800
arm/armv7-[a|r]: move fpu save/restore to assembly handler
Save/Restore FPU registers in C environment is dangerous practive,
which cannot guarantee the compiler won't generate the assembly code
with float point registers, especially in interrupt handling
Signed-off-by: chao.an <anchao@xiaomi.com>
commit 8d66dbc068
Author: chao.an <anchao@xiaomi.com>
Date: Thu Apr 7 13:48:04 2022 +0800
arm/armv[7|8]-m: skip the fpu save/restore if stack frame is integer-only
Signed-off-by: chao.an <anchao@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-19 11:09:36 +03:00
chao.an
dc2e4b7024
boards/ostest: remove board ostest implement
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-18 22:22:16 +08:00
chao.an
5bdfae66ce
arch/arm: export arm_saveusercontext()
...
rename arm_saveusercontext() -> up_arm_saveusercontext()
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-18 22:22:16 +08: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
Xiang Xiao
1f7b49d700
boards/nucleo-h743zi2: Enable up_perf API
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-08 21:02:13 -03:00
Gustavo Henrique Nihei
e1f28c19c2
arch/arm: Make CXX exception and RTTI depend on Kconfig options
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-30 11:19:29 +08:00
Petro Karashchenko
c61710c7b8
boards/arm/uid: fix pointer to int compare
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-28 00:31:27 +08:00
Petro Karashchenko
68902d8732
pid_t: unify usage of special task IDs
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 21:22:32 +08:00
Xiang Xiao
54e630e14d
arch: Merge up_arch.h into up_internal.h
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-14 09:32:17 +02:00