Skip to content

Simplify NuttX initialization #11321

@acassis

Description

@acassis

Currently NuttX has many initialization options each one used for some specific case, but at least CONFIG_NSH_ARCHINIT that is used to do drivers initialization when NSH is enabled could be removed in favor of some generic option like BOARD_LATE_INITIALIZATION that will work for all applications (inclusive to NSH itself).

I raised this question some time ago here: #10821 but didn't heard anything from my peers.

But now that @0528Mike came with this PR: #11306 we could fix this issue merging CONFIG_NSH_ARCHINIT and BOARD_LATE_INITIALIZATION to avoid issues like this faced from a NuttX user: #10821 and for many people that want to user their application as ENTRYPOINT on NuttX.

Metadata

Metadata

Labels

Arch: allIssues that apply to all architecturesbreaking changeThis change requires a mitigation entry in the release notes.

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions