Skip to content

[FEATURE] NuttX init system #3503

@acassis

Description

@acassis

Is your feature request related to a problem? Please describe.

Problem: NuttX relies on NSH to start a lot of programs and perform initialization of things like a USB console, etc., but it should just be a shell program first and foremost.

Solution: A NuttX initialization system responsible just for starting programs/initializing user space, re-opened from #3192

A dedicated init system will allow users to easily strip out NSH from devices that do not need a shell, while also being able to easily choose multiple applications to be started after boot. This avoids the need to create custom applications that spawn user programs, or rely on init logic bundled with all the features of NSH. Users who want a shell could still include NSH as a program to be spawned by the init system.

Alternatives: N/A

Describe the solution you'd like

Implement the NX Init as proposed by above PR

Describe alternatives you've considered

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions