Go to file
wangjianyu3 d2b58a520e sensor.c: Rename container_of to list_container_of
https://github.com/apache/nuttx/pull/11805

Log:
    /github/workspace/sources/nuttx/drivers/sensors/usensor.c: In function 'usensor_get_info':
    Warning: /github/workspace/sources/nuttx/drivers/sensors/usensor.c:228:44: warning: implicit declaration of function 'container_of'; did you mean 'list_container_of'? [-Wimplicit-function-declaration]
      228 |   FAR struct usensor_lowerhalf_s *ulower = container_of(lower,
          |                                            ^~~~~~~~~~~~
          |                                            list_container_of
    Error: /github/workspace/sources/nuttx/drivers/sensors/usensor.c:229:44: error: expected expression before 'struct'
      229 |                                            struct usensor_lowerhalf_s,
          |                                            ^~~~~~
    /github/workspace/sources/nuttx/drivers/sensors/usensor.c: In function 'usensor_control':
    Error: /github/workspace/sources/nuttx/drivers/sensors/usensor.c:241:44: error: expected expression before 'struct'
      241 |                                            struct usensor_lowerhalf_s,
          |                                            ^~~~~~

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-09-19 11:45:11 +08:00
.github build.yml: Limit the GitHub Runners 2024-09-13 14:33:13 +08:00
arch arch/arm/samv7: add support of SocketLIN interface 2024-09-19 09:39:54 +08:00
audio vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
binfmt modify BUILD_LOADABLE to MODULES which backwards-compatible Kernel 2024-09-19 08:32:03 +08:00
boards boards/arm/nrf91/nrf9160-dk: Update GPSUTILS_MINMEA_LIB to GNSSUTILS_MINMEA_LIB 2024-09-19 03:44:49 +08:00
cmake modify BUILD_LOADABLE to MODULES which backwards-compatible Kernel 2024-09-19 08:32:03 +08:00
crypto Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
Documentation modify BUILD_LOADABLE to MODULES which backwards-compatible Kernel 2024-09-19 08:32:03 +08:00
drivers sensor.c: Rename container_of to list_container_of 2024-09-19 11:45:11 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs BCH: Add readonly configuration for BCH devices 2024-09-19 03:53:20 +08:00
graphics Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
include lib_libvscanf.c:Add buffer data type conversion interface. 2024-09-19 11:44:47 +08:00
libs lib_libvscanf.c:Add buffer data type conversion interface. 2024-09-19 11:44:47 +08:00
mm mm/kasan: Add branch prediction and constant prediction 2024-09-19 03:15:29 +08:00
net Fix the bug that netlink receive wait does not hang up 2024-09-19 03:19:15 +08:00
openamp Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
pass1 Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
sched sched: move DUMP_ON_EXIT to sched 2024-09-19 03:49:12 +08:00
syscall fs/mmap/msync:support msync. 2024-09-19 01:43:50 +08:00
tools modify BUILD_LOADABLE to MODULES which backwards-compatible Kernel 2024-09-19 08:32:03 +08:00
video Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
wireless Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
.asf.yaml
.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
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt modify BUILD_LOADABLE to MODULES which backwards-compatible Kernel 2024-09-19 08:32:03 +08:00
CONTRIBUTING.md
INVIOLABLES.md
Kconfig modify BUILD_LOADABLE to MODULES which backwards-compatible Kernel 2024-09-19 08:32:03 +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
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.