Go to file
meijian a7224cf35a net/netstatistics: add tx/rx bytes statistics for dev
We can see them in ifconfig:

ap> ifconfig
wlan0   Link encap:Ethernet HWaddr 42:64:7f:b3:12:03 at UP mtu 1500
        inet addr:10.0.1.2 DRaddr:10.0.1.1 Mask:255.255.255.0
        inet6 DRaddr: ::

        RX: Received Fragment Errors   Bytes
            00000b9b 00000000 00000000 21daf5
            IPv4     IPv6     ARP      Dropped
            00000a33 00000137 00000031 00000000
        TX: Queued   Sent     Errors   Timeouts Bytes
            00000ac4 00000ac4 00000000 00000000 1a2103
        Total Errors: 00000000

Signed-off-by: meijian <meijian@xiaomi.com>
2024-09-10 11:36:03 +08:00
.github build(deps): bump github/super-linter from 6 to 7 2024-09-07 12:08:11 +08:00
arch net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
audio audio: migrate to SPDX identifier 2024-09-10 11:33:26 +08:00
binfmt binfmt: migrate to SPDX identifier 2024-09-10 11:34:18 +08:00
boards esp32: fix a way to test a config 2024-09-09 10:48:09 +02:00
cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
crypto nuttx/crypto: export Diffie-Hellman algorithm 2024-09-09 23:55:33 +08:00
Documentation doc: Add NuttX Simulation page from Confluence 2024-09-09 08:40:31 +08:00
drivers net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs drivers/pipes: add fcntl(F_SETPIPE_SZ/F_GETPIPE_SZ) support 2024-09-10 11:35:15 +08:00
graphics nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
include net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
libs pthread/realtime: export interfaces about pthread ceiling priority 2024-09-10 01:26:31 +08:00
mm sched: use this_task replace nxsched_self 2024-09-05 09:33:50 -03:00
net net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
openamp nuttx/atomic.h:replace ALL stdatomic.h with nuttx/stdatomic.h in nuttx/ 2024-08-22 01:44:29 +08:00
pass1
sched sem: add mutex protect in sem_trywait 2024-09-10 01:26:31 +08:00
syscall nuttx/syscall: delete getrandom in syscall.csv 2024-08-27 21:44:33 +08:00
tools rp2040: support pico-sdk 2.0.0 2024-09-08 21:43:22 +08:00
video build: add initial cmake build system 2023-07-08 13:50:48 +08:00
wireless nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
.asf.yaml
.gitignore boards/sim: Defconfigs for nand and mnemofs 2024-09-05 11:02:05 +08:00
.pre-commit-config.yaml Created pre-commit config file 2024-08-19 21:40:56 +02:00
.yamllint
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt CMake: fix CMake compile errors during the protected build mode 2024-08-29 01:59:29 +08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md
Kconfig make/disassembly: generate disassembly file 2024-08-16 15:22:25 +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.