raiden00pl
56529d2944
Documentation: migrate the rest boards
...
- migrated /README are removed from /boards
- there are a lot of READMEs that should be further converted to rst.
At the moment they are moved to Documentation/platforms and included in rst files
2023-10-26 18:13:34 -03:00
Xiang Xiao
04f834290c
ucans32k146/se05x: Refresh defconfig after https://github.com/apache/nuttx-apps/pull/2131
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-19 12:37:42 +08:00
raiden00pl
dbe10a0fc8
boards: simplify the enable condition for up_perf_init
2023-10-03 12:53:10 +08:00
Andre Heinemans
329e050c30
Added NXP SE05x support (secure element)
2023-09-09 15:54:08 +08:00
chao an
664927c86e
mm/alloc: remove all unnecessary cast for alloc
...
Fix the minor style issue and remove unnecessary cast
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-30 14:34:20 +08:00
cuiziwei
4ec7af779d
nuttx/boards:init_array.* needs to be executed in order
...
When I try to set priorities in certain programs, such as init_priority(HIGH_PRIORITY), I've noticed that during linking, there's no guarantee that the programs will be compiled in the sequence I've specified based on priority. This has led to some runtime errors in my program.
I realized that in the ld file, when initializing dynamic arrays, there's no assurance of initializing init_array.* before init_array. This has resulted in runtime errors in the program. Consequently, I've rearranged the init_array.* in the ld file of NuttX to be placed before init_array and added a SORT operation to init_array.* to ensure accurate initialization based on priorities during linking.
2023-08-29 22:54:37 +08:00
chao an
b60f01a55b
inode/i_private: remove all unnecessary cast for i_private
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-29 08:58:07 +02:00
chao an
7aa45305b7
fs/inode: remove all unnecessary check for filep/inode
...
Since VFS layer already contains sanity checks, so remove unnecessary lower half checks
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-29 09:47:11 +08:00
Peter van der Perk
c63cb4c2f3
boards: ucans32k146: Enable lpi2c/lpspi dma in can config
2023-08-11 13:41:49 -03:00
Xiang Xiao
6b4e5c0d15
binfmt: Change the default of BINFMT_DISABLE to DEFAULT_SMALL
...
to optimize the image size when and DEFAULT_SMALL is enabled
and refresh the defconfig in boards/
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-10 11:35:41 +03:00
Xiang Xiao
a51be33a41
libc/tls: Change the default value of TLS_NELEM to zero
...
to ensure the default config as small as possible.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-20 08:11:30 +02:00
Xiang Xiao
7990f90915
Indent the define statement by two spaces
...
follow the code style convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-21 09:52:08 -03:00
Xiang Xiao
51dc67ad5f
fs: Add g_ prefix for all global file_operations instances
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-04-24 16:13:29 +02:00
Xiang Xiao
66c5f86018
sched: Disable stdio api by default when DEFAULT_SMALL equals y
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-03 00:18:03 +02:00
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
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
Alan Carvalho de Assis
f0289577bf
boards: Update all boards config after updating NSH_CMDPARMS
2023-01-23 03:04:51 +08:00
Xiang Xiao
779a610ca3
Remove the unnecessary NULL fields in global instance definition of file_operations
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-04 00:32:13 +02:00
Peter van der Perk
6b3b5751c1
S32K automatically calculate size of periphclocks array
2022-12-13 19:50:01 +08:00
chao an
624d69ee05
boards: enter/leave critical section should in pairs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-22 08:19:24 +09: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
Xiang Xiao
af12a552fe
sched/Kconfig: let PREALLOC_TIMERS depends on !DISABLE_POSIX_TIMERS
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-19 11:39:22 -03:00
Nathan Hartman
dd718e78f7
Fix typos
2022-08-07 23:33:19 +08:00
Jari van Ewijk
b9ea02bad8
RDDRONE-BMS772: clarify description of some board-specific Kconfig options
2022-08-01 14:59:10 -03:00
Jari van Ewijk
249f041235
NXP S32K1XX: add initial support for NXP RDDRONE-BMS772 board
2022-08-01 14:59:10 -03:00
Jari van Ewijk
1e6054afba
NXP S32K1XX boards: add up_perf_init to support SEGGER SystemView
2022-08-01 16:32:41 +03: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
Xiang Xiao
cd001725b7
arch/arm: Remove FAR and CODE from board folder(1)
...
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
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
Xiang Xiao
ee931c137f
boards: Remove -fno-builtin
...
it's more efficent to generate the machine code directly if possible
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
Alin Jerpelea
dc99ce5867
boards: s32k1xx: revert to the original license
...
The configuration is taken from NXP sample code and should preserve
the original license
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-01 23:09:49 +08:00
Xiang Xiao
54b886ca0d
boards: Add -fno-common to ARCHCFLAGS and ARCHCXXFLAGS
...
since elf loader can't handle SHN_COMMON
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 22:00:32 +08:00
Alan Rosenthal
8defb843aa
Remove duplicate linker script definitions
...
## Summary
A lot of linker scripts were listed twice, once for unix, once for windows.
This PR cleans up the logic so they're only listed once.
## Impact
Any opportunity to use a single source of truth and reduce lines of code is a win!
## Testing
CI will test all build
2022-02-17 02:55:25 +08:00
Xiang Xiao
a9d7a776c4
sched: Remove SDCLONE_DISABLE option and config
...
since the related code was removed by:
commit 4d5a964f29
Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
Date: Tue Feb 23 18:04:13 2021 +0800
net: unify socket into file descriptor
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-31 19:03:20 +01:00
Xiang Xiao
8bcdefafc9
board: Remove -fno-strength-reduce
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-19 00:14:03 +01:00
Jari van Ewijk
3aed0aa641
S32K1XX: implement uniqueid
2022-01-13 15:34:47 -08:00
Jari van Ewijk
0fc613f0b3
S32K1XX Reset Cause PROCFS: Add Kconfig option and cleanup
2022-01-13 01:29:42 +08:00
chao.an
cbd82f1c1b
compile/flags: remove redundant -fomit-frame-pointer from board flags
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-27 22:31:27 -06:00
ligd
412d030149
boards: move USERMAIN_XX out of INIT_ENTRYPOINT
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-12-24 08:23:30 -06:00
Xiang Xiao
0aeb132d15
board: Run ./tools/refresh.sh --silent all
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-10 09:16:35 +01:00
Xiang Xiao
3847539f3d
board: Run ./tools/refresh.sh --silent all
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-07 13:19:15 +01:00
Jari van Ewijk
177acf57c2
S32K1XX boards: Implement userled_getall function
2021-10-18 12:30:18 -07:00
Jari van Ewijk
107e80b61f
UCANS32K146 board: s32k1xx_userleds.c style fix
2021-09-21 07:22:06 -07:00
Jari van Ewijk
4b24eca0cf
S32K1XXEVB boards: Fix RGB LED output and add comments
2021-09-21 07:22:06 -07:00
Jari van Ewijk
9bbfd31b25
UCANS32K146 board: Add CAN configuraton
2021-09-17 09:28:50 -05:00
Jari van Ewijk
887c508866
UCANS32K146 board config: cleanup & update
2021-09-17 09:28:50 -05:00
Jari van Ewijk
456b4ed584
Remove RDDRONE-UAVCAN144 board
2021-09-17 09:28:50 -05:00