8000 Correct way to boot from internal flash when SD card attached · Issue #1915 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
Correct way to boot from internal flash when SD card attached #1915
Closed
@ryannathans

Description

@ryannathans

In my application I have an SD card that may be present on boot (and maybe not)

I want to run python code from internal flash regardless of if there's an SD card or not.

At the moment my solution is as follows.

In main.c commenting out lines 512, 518, 520, 522, 523 fix this but it's probably a bit of a hacky fix.

I'll make a pull request for the feature once I know the correct way to attack it.

What should be done in order to achieve this functionality? A simple #if covering these lines of code and a #define in mpconfigboard.h?

Metadata

Metadata

Assignees

No one assigned

    Labels

    portsRelates to multiple ports, or a new/proposed port

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0