Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

How to enable the device registration on Olimex-STM32-E407. #5

@jfm92

Description

@jfm92

To develop Apps with Nuttx it's very important to respect the POSIX architecture. In Nuttx the peripheral device are threated like file, that you must open, close, write, read...(Like in Linux). So to respect this kind of architecture, you must to register all the sensors, communication or whatever you want to use.
But with some board there are a problem, that don't allow you to register the device. The solution is quite simple:
In the menuconfig, go to:
RTOS Features-> Files and I/O -> Maximum number of file descriptors per task-> change the value to 20
RTOS Features-> Files and I/O -> Maximum number of FILE streams-> change the value to 20

Another thing it's to respect the register path when you try to register it. It should be /dev/whatever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions