Go to file
p-szafonimateusz ceb2921d79 drivers: prepare 16550 UART driver to support PCI
prepare 16550 UART driver to support PCI:

- [breaking change] change argument of uart_ioctl() from `struct file *filep` to `FAR struct u16550_s *priv`
  Also fix moxart_16550.c build related to this change

- [breaking change] change argument of uart_getreg() and uart_putreg from `uart_addrwidth_t base` to `FAR struct u16550_s *priv`
  Also fix arch/x86/src/qemu/qemu_serial.c and arch/x86_64/src/intel64/intel64_serial.c related to this change

- [breaking change] change argument of uart_dmachan() from `uart_addrwidth_t base` to `FAR struct u16550_s *priv`

- move `struct u16550_s` to public header

- generalize UART_XXX_OFFSET so we can use it with any register increment

- make u16550_bind(), u16550_interrupt(), u16550_interrupt() public

- remove arch/or1k/src/common/or1k_uart.c and use common 16550 MIMO interfacve

- change irq type in `struct u16550_s` from uint8_t to int to match MSI API

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
2024-09-15 03:37:58 +08:00
.github build.yml: Limit the GitHub Runners 2024-09-13 14:33:13 +08:00
arch drivers: prepare 16550 UART driver to support PCI 2024-09-15 03:37:58 +08:00
audio audio: migrate to SPDX identifier 2024-09-10 11:33:26 +08:00
binfmt arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
boards drivers: prepare 16550 UART driver to support PCI 2024-09-15 03:37:58 +08:00
cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
crypto crypto/rsa: add exp mod in software crypto 2024-09-13 23:08:39 +08:00
Documentation pthread_cleanup: move clenup down to tls 2024-09-14 20:15:12 +08:00
drivers drivers: prepare 16550 UART driver to support PCI 2024-09-15 03:37:58 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs poll: fix thread_cancel() caused poll used after free 2024-09-14 20:15:12 +08:00
graphics graphics: migrate to SPDX identifier 2024-09-10 22:54:31 +08:00
include drivers: prepare 16550 UART driver to support PCI 2024-09-15 03:37:58 +08:00
libs pthread_cleanup: move clenup down to tls 2024-09-14 20:15:12 +08:00
mm mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
net ipfrag:fix warnig 2024-09-12 17:15:13 +08:00
openamp openamp: migrate to SPDX identifier 2024-09-10 22:54:05 +08:00
pass1 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
sched pthread_cleanup: move clenup down to tls 2024-09-14 20:15:12 +08:00
syscall syscall: migrate to SPDX identifier 2024-09-12 02:25:00 +08:00
tools tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
video video: migrate to SPDX identifier 2024-09-11 19:49:53 +08:00
wireless wireless: migrate to SPDX identifier 2024-09-11 19:49:34 +08:00
.asf.yaml feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
.gitignore add .gdb_history to .gitignore 2024-09-14 12:14:12 +08:00
.pre-commit-config.yaml Created pre-commit config file 2024-08-19 21:40:56 +02:00
.yamllint feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md
Kconfig coresight: add coresight_core 2024-09-13 09:09:19 +08:00
LICENSE libc/x86_64: port string functions from bionic 2024-07-02 23:59:18 +08:00
Makefile tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
NOTICE Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
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.