Masanari Iida
02828921db
Documentation/guides: Fix typos in port_arm_cm4.rst
...
This patch fixes spelling typos in port_arm_cm4.rst
2024-12-20 23:09:40 -05:00
Takuya Miyasita
f66c4a0733
Documentation/guides: add the guide:how to port.
...
I think the guy who wants to port NuttX is expected to understand NuttX kernel code and related configurations,
but the getting enough knowledge needs to read the kernel codes deeply.
To reduce the time for NuttX beginner who wants to port,
I tried to make the guide (how to port) based on my porting journey.
2024-12-12 21:52:24 +08:00
Nathan Hartman
5607eece84
Documentation: Tweak text about Zero Latency Interrupts
...
This is a follow-up to 366c8a5d94
(PR-15102).
* Documentation/guides/zerolatencyinterrupts.rst
(Title): Make title case consistent.
(Getting Back into the Game, Maskable Nested Interrupts): Clarify discussion
about priorities.
(Cortex-M3/4 Implementation): The first half of a sentence was deleted in
366c8a5d9
because the Kconfig that was described there no longer exists:
CONFIG_ARMV7M_USEBASEPRI. Write a new beginning for this sentence that
matches current implementation.
(Disabling the High Priority Interrupt): Change "cannot" to "must not be
allowed to" to improve clarity.
(Configuring High Priority Interrupts): Change "to NVIC" to "in NVIC" to
improve clarity.
2024-12-11 01:27:48 +08:00
Xiang Xiao
366c8a5d94
Documentation: Remove CONFIG_ARMV7M_USEBASEPRI from code base
...
since the basepri is always used without any configuraion
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2024-12-10 10:42:32 -05:00
Alan Carvalho de Assis
2cc838aa40
Doc: Fix kernel thread API
...
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2024-12-10 09:28:20 +08:00
wangmingrong1
9555f9ff55
arm64/mte: Add support for arm64 mte
...
For details, please refer to the kernel's introduction to this at "https://docs.kernel.org/arch/arm64/memory-tagging-extension.html " and Android's introduction to this at "https://source.android.com/docs/security/test/memory-safety/arm-mte "
Of course, there is also the following detailed principle introduction
https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Arm_Memory_Tagging_Extension_Whitepaper.pdf
The modification of this patch is only to merge the simplest MTE function support. In the future, the MTE function will be integrated into the kernel to a greater extent, for example, hardware MTE Kasan will be supported in the future.
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2024-12-02 11:04:11 -03:00
Neo Xu
224a8f4b28
Documentation: fix nuttxgdb related commands
...
Now we should load tools/gdb/gdbinit.py script
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2024-11-25 18:43:23 -03:00
chao an
238cddde3a
drivers/syslog: remove implement of syslog_putc()
...
syslog_putc() have a lot of duplicate logic with syslog_write().
remove syslog_putc() and reuse syslog_write() to simplify syslog printing.
Signed-off-by: chao an <anchao@lixiang.com>
2024-11-15 19:46:36 +08:00
Ludovic Vanasse
2c2a794240
Doc: Migrate Smaller Vector Tables
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/Smaller+Vector+Tables
to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-28 09:35:07 +08:00
Ludovic Vanasse
2e2ec9afa4
Doc: Replace link from old wiki to new wiki in signaling events from int
...
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-28 09:35:07 +08:00
Ludovic Vanasse
2532a79c13
Doc: Migration Signaling Semaphores and priority inheritance
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/Signaling+Semaphores+and+Priority+Inheritance
to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-28 09:35:07 +08:00
Ludovic Vanasse
a5e714a71e
Doc: Migrate Signaling Events from Interrupt Handlers doc
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/Signaling+Events+from+Interrupt+Handlers
to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-28 09:35:07 +08:00
raiden00pl
a099c6328e
Documentation: update notes about nrf52840 and Renode
...
update notes about nrf52840 and Renode
2024-10-27 17:24:17 +08:00
raiden00pl
8b9337fb52
Documentation: add some notes about running NuttX on Renode
...
add some notes about running NuttX on Renode
2024-10-26 19:37:10 +08:00
Ludovic Vanasse
d73d34b1a0
Doc: Migrate Semihosting
...
Migrate https://cwiki.apache.org/confluence/display/NUTTX/Semihosting to
official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-21 09:23:07 +08:00
Ludovic Vanasse
aef4d78e70
Doc: Migrate Porting drivers to stm32f7
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/Porting+Drivers+to+the+STM32+F7
to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-21 09:23:07 +08:00
Ludovic Vanasse
9cf3cae3a2
Doc: Migrate Platform Directories
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/Platform+Directories
to the official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-21 09:23:07 +08:00
Ludovic Vanasse
b0679cbeee
Doc: Migrate NuttX Protected Build
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/NuttX+Protected+Build
to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-20 17:36:40 -03:00
Ludovic Vanasse
e9548e46b9
Doc: Migrate Integrating with Newlib
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/Integrating+with+Newlib
to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-20 17:36:40 -03:00
Ludovic Vanasse
035faaccc7
Doc: Migrate IPv6
...
Migrate https://cwiki.apache.org/confluence/display/NUTTX/IPv6 to
official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-20 17:36:40 -03:00
Ludovic Vanasse
e9c107e0ba
Doc: Migrate logging to a ram buffer
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/Logging+to+a+RAM+Buffer
to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-20 17:36:40 -03:00
Ludovic Vanasse
678d0484b4
Doc: Migrate Versioning and Task Names
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/Versioning+and+Task+Names
to the official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-15 09:45:43 +08:00
Ludovic Vanasse
5e002d99e5
Doc: Migrate Kernel Threads with Custom Stacks
...
Migrate
https://cwiki.apache.org/confluence/display/NUTTX/Kernel+Threads+with+Custom+Stacks
to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-15 03:15:55 +08:00
Ludovic Vanasse
6ff7c84a7f
Doc: Migrate Put special stuff in NuttX header files
...
Migrate the page "Why can't I put my special stuff in NuttX header
files?" page (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629466 ) to the official wiki.
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-15 01:22:59 +08:00
Ludovic Vanasse
2d6df43ca2
Doc: Migrate including files in board.h
...
Migrate including files in board.h (https://cwiki.apache.org/confluence/display/NUTTX/Including+Files+in+board.h ) to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-15 01:22:59 +08:00
Ludovic Vanasse
30b1660cc2
Doc: Migrate Disabling the Stack Dump During Debugging
...
Migrate https://cwiki.apache.org/confluence/display/NUTTX/Disabling+the+Stack+Dump+During+Debugging
to the official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-15 01:22:59 +08:00
Ludovic Vanasse
1c6daddae2
Fix headings mark
2024-10-14 17:51:31 +08:00
Ludovic Vanasse
14c115b20f
Doc: Migrate ARMv7-M run time stack checking doc
...
Migrate the ARMv7-M run time stack checking documentation page from the
Confluence wiki to the official documentation.
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-14 17:51:31 +08:00
Ludovic Vanasse
41c4e3a5a1
Doc: Migrate Using Kernel Threads
...
Migrate page Using Kernel Threads from Confluence wiki to official wiki
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-14 13:41:00 +08:00
Ludovic Vanasse
205ce38542
Fix headings mark
...
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-14 12:53:24 +08:00
Ludovic Vanasse
c13600a91f
Doc: Migrate changing the system clock configuration
...
Migrate the Changing the System Clock Configuration documentation from
the Confluence wiki to the official documentation
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-14 12:53:24 +08:00
raiden00pl
23d7e176c5
Documentation: cosmetic fixes to follow documentation convention
2024-10-12 18:12:10 +08:00
Ludovic Vanasse
35f8b082a7
Doc: Migrate debugging/flashing NuttX with hw debugger
...
Migrate debugging/flashing NuttX with hw debbuger documentation from
Confluence to official documentation
Signed-off-by: Ludovic Vanasse <ludovicvanasse@gmail.com>
2024-10-12 14:03:42 +08:00
anjiahao
52126aede1
coredump:Move coredump to sched/misc
...
1. move coredump form libelf to sched/misc
2. rename core_dump to coredump
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2024-10-12 12:29:06 +08:00
ligd
c00d477671
Doc: add maskable nested interrupt description
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2024-10-10 01:01:17 +08:00
liaoao
02c292a25a
fdt: add fdt description document
...
Signed-off-by: liaoao <liaoao@xiaomi.com>
2024-09-30 14:20:49 +08:00
Ludovic Vanasse
79fc4a1454
Documentation: improve command doc to run CI test locally
...
Add `<>` for user defined variable in the command to run CI test
locally. This makes it more obvious that the user needs to change those
to execute the command.
2024-09-30 08:35:07 +08:00
wangmingrong1
071af0c993
mm/kasan: Tag kasan and generic kasan use the same instrumentation options
...
1. Tested on QEMU, the two sockets were basically the same, and their performance was not affected. The size of the generated bin file was also the same
2. Extract global detection as a separate file, both types of Kasan support global variable out of bounds detection simultaneously
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2024-09-20 21:47:23 +08:00
wangmingrong
ae3facda53
kasan: Implementation of Kasan based on software tags.
...
Currently, only aarch64 is supported
Signed-off-by: wangmingrong <wangmingrong@xiaomi.com>
2024-09-19 03:15:29 +08:00
Xiang Xiao
47ffb9019f
mm: Support the different kasan implementation
...
Split kasan.c to incorporate label based kasan:
hook.c: Implement compiler instrumentation function
generic.c: Implementation software kasan algorithm
Signed-off-by: wangmingrong <wangmingrong1@xiaomi.com>
2024-09-19 03:15:29 +08:00
ligd
ff1b54bff3
pthread_cleanup: move clenup down to tls
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2024-09-14 20:15:12 +08:00
liaoao
b98d68599e
coresight: add document for coresight
...
Signed-off-by: liaoao <liaoao@xiaomi.com>
2024-09-13 09:09:19 +08:00
anjiahao
ce4969e881
Documentation:update gdbserver Documentation
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2024-08-21 18:01:06 +08:00
Huang Qi
ba4769d412
doc: Fix code blocks in thread_local_storage.rst
...
Add missing blank line before the code block to
render it correctly.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2024-08-03 21:15:05 +08:00
Alan Carvalho de Assis
a1a0315b9c
Doc: Fix CustomApps/CustomHello example
...
NuttX generates the app main name from Kconfig symbol
xxxx_PROGNAME. The documentation was defining manually
the entry point as custom_hello(int char, char *argv[])
and pointing CONFIG_INIT_ENTRYPOINT="custom_hello".
The right thing to do is creating the application entry
point as "int main(int char, char *argv[])" and the build
system will add "_main" to the PROGNAME.
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2024-07-20 13:17:48 +08:00
Huang Qi
ae0ef94438
doc: Add a simple guide for thread local storage
...
Explain the basic concept of thread local storage and
the usage, limits of CONFIG_SCHED_THREAD_LOCAL.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2024-07-16 08:34:55 -03:00
anjiahao
67b7152034
Documentation:update qemugdb usage
...
Remove nuttx-gdbinit,use tools/gdb/__init__.py instead
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2024-04-20 18:42:28 +08:00
TimJTi
87dc54d755
Correct error/omissions in Custom Boards guide
2024-04-04 23:07:39 +08:00
TimJTi
f9a81d3912
Correct error/omissions in Custom Apps guide
2024-04-04 23:06:53 +08:00
Alan Carvalho de Assis
a7fbf7c5cf
DOC: Fix https://github.com/apache/nuttx/issues/11760
...
The Make.defs to CustomHello example was missing.
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2024-02-23 15:33:53 +01:00