Skip to content

Clear data log when main.py is opened for write #48

Open
@microbit-matt-hillsdon

Description

@microbit-matt-hillsdon

microbit-foundation/micropython-microbit-v2@6ade36b introduced a change that clears the data log on opening main.py for write. We have our own main.py and our own file system so don't get that in the simulator for free.

However, we already clear the log on flash, so I think this would just catch self-rewriting programs in the simulator context. For that reason I don't think it's worth doing right now as part of #47 as we're pressed for time.

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