Stuart Ianna
c1db9732c5
libs/libc/spawn: Add minimal implementation for posix_spawnattr_destory.
...
Add a minimal implementation to suppress warnings when building
application code shared with other operating systems.
For example:
When building with a c++ compiler and GCC 12.2.0, the following warning is emitted:
nuttx/include/spawn.h:178:40: warning: statement has no effect [-Wunused-value]
178 | #define posix_spawnattr_destroy(attr) (0)
2023-10-31 13:42:00 +08:00
ligd
978e124d42
pm: use pm_staytimeout() in greedy_governor_activity()
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-10-31 09:05:40 +08:00
simbit18
1bcf01e7a8
Add CONFIG_EXPERIMENTAL for configure windows native
...
Add CONFIG_EXPERIMENTAL for configure windows native
2023-10-31 09:03:02 +08:00
Jorge Guzman
66df15b965
boards/stm32: add support to LINUM-STM32H753BI board
...
The LINUM-STM32H753BI is a board with RS485, RS232, SD Card, CAN,
SD Card, USB, Ethernet, LCD, etc.
Signed-off-by" Jorge Guzman jorge.gzm@gmail.com
ci: correction in nsh defconfig file of LINUM-STM32H753BI
2023-10-30 13:56:40 -03:00
Ville Juven
d64f216424
arch/mpfs: Add CONFIG_MPFS_BOARD_PMP option for PMP configuration
...
This adds option to do PMP configuration via mpfs_board_pmp_setup instead
of just opening up everything. In this case, it is up to the specific
board to implement the PMP configuration in whichever way it sees fit.
2023-10-30 12:26:39 -03:00
Ville Juven
598e1c6512
mpfs_entrypoints.c: Open all memory from PMP for hart before booting
...
Open PMP before the hart payload starts to execute
2023-10-30 12:26:39 -03:00
Ville Juven
17a7a7bd76
mpfs_opensbi: Remove mpfs_opensbi_pmp_setup
...
The PMP setup should be done in the board specific code, at a much
earlier stage. Granting all access is a security risk anyway.
2023-10-30 12:26:39 -03:00
Ville Juven
e935bc53bb
task/task_spawnparms.c: Set the new process's signal mask
...
Set the newly spawned process's signal mask, if the caller has instructed
to do so by setting POSIX_SPAWN_SETSIGMASK.
This is called after the task has been created but has NOT been started
yet.
2023-10-30 22:30:03 +08:00
Ville Juven
6e9e215943
sched/task: Remove spawn_proxyattrs as obsolete implementation
...
Like the name implies, it is supposed to set the spawn attributes for
the NuttX specific "spawn proxy task" which was historically used as
a proxy to spawn new tasks. The proxy handled file actions and the signal
mask which are inherited from the parent.
The proxy task does not exist anymore, thus the proxy task attributes
do not need to be set anymore either.
Also, the function is currently still used, but the signal mask is set
for the spawning process, not the proxy process, and this is most
DEFINITELY an error (as the spawning process's signal mask changes
unexpectedly).
Setting the signal mask for the newly spawned process is simple, just
set it directly, if instructed to do so. This will be done in a later
patch!
2023-10-30 22:30:03 +08:00
raiden00pl
43be20d67e
Documentation: fix warning
...
Documentation/legacy_README.md:675: WARNING: duplicate label introduction/resources:installation, other instance in Documentation/introduction/resources.rst
2023-10-30 20:29:54 +08:00
raiden00pl
649cd00c8b
Documentation: review quickstart/install.rst
2023-10-30 20:29:54 +08:00
raiden00pl
afa2be4a1e
Documentation: fix warning
2023-10-30 20:29:54 +08:00
raiden00pl
b7f94fbf22
Documentation: various cosmetic changes
2023-10-30 20:29:54 +08:00
raiden00pl
64be5c6958
Documentation: update organization.rst
2023-10-30 20:29:54 +08:00
raiden00pl
93f1d62f34
Documentation: fix warning
...
Documentation/legacy_README.md: WARNING: document isn't included in any toctree
2023-10-30 20:29:54 +08:00
raiden00pl
ce97fccf9a
Documentation: split some long lines
2023-10-30 20:29:54 +08:00
raiden00pl
82bcc3f7d4
Documentation: fix warnings
2023-10-30 20:29:42 +08:00
raiden00pl
041308f950
Documentation: review applications/nsh
2023-10-30 20:29:42 +08:00
dongjiuzhu1
8ad88a3fc5
qemu/arm64: implement up_textheap_align and support sotest
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-10-30 18:20:22 +08:00
dongjiuzhu1
da95b35175
arch/arm64: Add declaration for arm64_mmu_set_memregion
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-10-30 18:20:22 +08:00
dongjiuzhu1
489bd15271
arch/arm64: support relocate for aarch64
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-10-30 18:20:22 +08:00
Xiang Xiao
0c805ca0a9
mm: Change global spinlock to per heap
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-30 11:18:34 +02:00
Xiang Xiao
9e4a1be8d4
mm/iob: Replace the critical section with spin lock
...
Base on discusion: https://github.com/apache/nuttx/issues/10981
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-30 11:18:34 +02:00
Xiang Xiao
d5d4006c6b
mm/gran: Replace the critical section with spin lock
...
Base on discusion: https://github.com/apache/nuttx/issues/10981
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-30 11:18:34 +02:00
Xiang Xiao
08bae13624
mm/tlfs: Replace the critical section with spin lock
...
Base on discusion: https://github.com/apache/nuttx/issues/10981
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-30 11:18:34 +02:00
Xiang Xiao
949d01be51
fs/inode: Change inode_unlink to static function
...
since it's only be called by inode_remove now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-30 10:57:14 +02:00
raiden00pl
5b87fdfb9d
Documentation: remove all migrated READMEs
2023-10-29 21:03:54 -03:00
Rodrigo Sim
54a16e8f74
Documentation: add documentation for STM32F401RC-RS485 board
2023-10-29 20:50:00 -03:00
Xiang Xiao
7aad7eebff
libc: Change errno to set_errno and get_errno
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-29 17:16:09 +02:00
Xiang Xiao
f911d3a1c3
stdio: Implement [clearerr|putc|fflush]_unlocked
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-29 17:09:18 +02:00
Xiang Xiao
2c9511e655
libc/stdio: Remove bforce from lib_fflush[_unlocked]
...
since all callers set bforce to true
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-29 17:09:18 +02:00
Xiang Xiao
c3be772441
libc/stdio: lib_fwrite_unlocked must call lib_fflush_unlocked with true
...
otherwise the following file i/o mess up the output
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-29 17:09:18 +02:00
Alan Carvalho de Assis
468e9fcde5
Documentation: Fix typos
...
I used codespell to find typos in the documentation.
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2023-10-29 10:35:51 +08:00
Zhe Weng
3fd3612e4c
net/netconfig: Enable SOCK_CLOEXEC for all ioctl sockets
...
`NET_SOCK_TYPE` is used for ioctl sockets only, they can set `O_CLOEXEC`
explicitly.
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-10-28 15:22:13 +08:00
TimJTi
bfa14406d6
SAMA5D2 add new mcan ioctls
2023-10-28 15:21:46 +08:00
raiden00pl
b565e28da3
Kconfigs: rename {Rpmsg|rpmsg} to RPMGS
2023-10-28 13:58:56 +08:00
Filipe Cavalcanti
b7288c4db9
Gathering community recommendations
...
testing badges
Converted legacy readme from .md to .rst
Revert "Converted legacy readme from .md to .rst"
This reverts commit e33fef7a5aaa5dd377f87b90a667a2704b9fb834.
2023-10-28 13:55:56 +08:00
raiden00pl
f9d088590a
Documentation: migrate boards/{z16|z80}/xxx/configs/README.txt
2023-10-28 13:55:22 +08:00
TimJTi
896727b576
Add new ioctls
2023-10-27 13:52:28 -03:00
raiden00pl
c2863f90f6
bluetooth rpmsg depends on RPTUN
2023-10-27 13:27:05 -03:00
raiden00pl
8f7be6ce27
Documentation: move nxwidgets to applications as it is apps-side lib
2023-10-27 13:21:40 -03:00
raiden00pl
579a35dc68
Documentation: fix ugly formating around some inline literals
2023-10-27 13:21:40 -03:00
raiden00pl
770df6d820
Documentation: remove readme references
2023-10-27 13:21:40 -03:00
raiden00pl
d72c6802c1
Documentation: add dummy pages for missing filesystems and drivers
2023-10-27 13:21:40 -03:00
raiden00pl
870139e45f
Documentation: move socketcan.rst to net/
2023-10-27 13:21:40 -03:00
raiden00pl
8090fb9d5c
Documentation: add dummy pages for missing top directories
...
crypto, openamp, video and wireless
2023-10-27 13:21:40 -03:00
raiden00pl
9c4f042c57
Documentation: add missing directories in net
2023-10-27 13:21:40 -03:00
raiden00pl
408441bf15
Documentation: initialize cmake doc
2023-10-27 13:21:40 -03:00
raiden00pl
a2bb55d8b7
Documentation: update copyright year
2023-10-27 13:21:40 -03:00
raiden00pl
82e260740a
Documentation: cosmetics for unionfs.rst
2023-10-27 13:21:40 -03:00