Go to file
chao an 4db1169e6f arch/tricore: fix compiler warning on GCC toolchain
tc3xx/tc3xx_timerisr.c: In function ‘up_timer_initialize’:
tc3xx/tc3xx_timerisr.c:58:39: warning: passing argument 1 of ‘tricore_systimer_initialize’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   58 |   lower = tricore_systimer_initialize(&MODULE_STM0, 192, SCU_FREQUENCY);
In file included from tc3xx/tc3xx_timerisr.c:31:
nuttx/arch/tricore/src/common/tricore_internal.h:252:35: note: expected ‘void *’ but argument is of type ‘volatile Ifx_STM *’ {aka ‘volatile struct _Ifx_STM *’}
  252 | tricore_systimer_initialize(void *tbase, int irq, uint64_t freq);
      |                             ~~~~~~^~~~~
tc3xx/tc3xx_serial.c:177:16: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  177 |   .uartbase  = &MODULE_ASCLIN0,
      |                ^
tc3xx/tc3xx_serial.c:178:16: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  178 |   .pins      = &g_uart0_pins,
      |                ^
common/tricore_trapcall.c: In function ‘tricore_trapcall’:
common/tricore_trapcall.c:66:3: warning: passing argument 4 of ‘_assert’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   66 |   PANIC_WITH_REGS("Trap", CURRENT_REGS);
      |   ^~~~~~~~~~~~~~~
In file included from common/tricore_trapcall.c:29:
nuttx/include/assert.h:189:45: note: expected ‘void *’ but argument is of type ‘volatile uintptr_t *’ {aka ‘volatile long unsigned int *’}
  189 |              FAR const char *msg, FAR void *regs);

Signed-off-by: chao an <anchao@lixiang.com>
2024-07-17 17:18:02 +08:00
.github build(deps): bump docker/build-push-action from 5 to 6 2024-06-25 16:42:24 +08:00
arch arch/tricore: fix compiler warning on GCC toolchain 2024-07-17 17:18:02 +08:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
boards arch/tricore: add support of tricore gcc toolchain 2024-07-17 17:18:02 +08:00
cmake cmake/boards: fix build break on custom board 2024-07-17 15:09:07 +08:00
crypto fix(Kconfig): spellcheck "randon" to "random" 2024-06-15 17:40:18 +08:00
Documentation doc: Add a simple guide for thread local storage 2024-07-16 08:34:55 -03:00
drivers driver/net/lan9250: Add lan9250_ioctl and lan9250_uninitialize APIs 2024-07-15 19:41:15 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs fs/mnemofs: Add master node and r/w methods 2024-07-16 09:06:51 +08:00
graphics video/vnc: add vnc_fb_register 2024-04-12 17:42:49 +08:00
include compiler/tasking: fix build break after inline spinlock change 2024-07-16 21:13:13 +08:00
libs libc/unistd: added an implementation of the lib_flock function 2024-07-14 10:51:41 -03:00
mm mm_ubsan: add dummy to bypass runtime actions 2024-07-10 20:09:39 +08:00
net net/pkt: correct PF_PACKET family sending errors 2024-07-14 13:20:14 -03:00
openamp libmetal/atomic: enable 64-bit atomic by toolchain builtin flags 2024-06-29 22:38:48 +08:00
pass1
sched spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
syscall sem_open: return error code, sem returned by parameter 2024-06-06 02:40:50 +08:00
tools esp32[c3]: Add mcuboot build script for esp32c3-legacy 2024-07-16 10:30:56 +08:00
video build: add initial cmake build system 2023-07-08 13:50:48 +08:00
wireless Remove the back slash from long literal string 2024-02-19 16:43:15 +01:00
.asf.yaml
.gitignore riscv/k230: revise canmv230:pnsh 2024-07-13 07:21:22 -03:00
.yamllint
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt cmake: strip file full path to save the code size 2024-07-12 00:39:08 +08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md
Kconfig Fix Kconfig style 2024-07-12 06:37:59 +08:00
LICENSE libc/x86_64: port string functions from bionic 2024-07-02 23:59:18 +08:00
Makefile
NOTICE
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes Documentation: move ReleaseNotes 2023-09-26 20:41:00 +08:00

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).

For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.

Getting Started

First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.

Documentation

You can find the current NuttX documentation on the Documentation Page.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.

License

The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.