Skip to content

Board Initialization: Architecture-specific initialization vs Custom board late initialization #10821

@Rdk-T

Description

@Rdk-T

When putting an application on ENTRYPOINT instead of launching it manually through nsh, some driver initialization is missing.

This is explained in the faq. https://nuttx.apache.org/docs/latest/faq/index.html#why-after-putting-my-application-on-entrypoint-it-stops-to-work

Is there a drawback to replace CONFIG_NSH_ARCHINIT=y by CONFIG_BOARD_LATE_INITIALIZE=y in the boards defconfig ?
Is CONFIG_NSH_ARCHINIT useful compared to CONFIG_BOARD_LATE_INITIALIZE ?

This way new users won't have to figure out why their application works when launching from nsh and doesn't when launching as ENTRYPOINT.

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