Skip to content

Add filesystem limit. #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2022
Merged

Add filesystem limit. #55

merged 1 commit into from
Sep 9, 2022

Conversation

microbit-matt-hillsdon
Copy link
Contributor

@microbit-matt-hillsdon microbit-matt-hillsdon commented Sep 9, 2022

  • Limit approximately matches the device and prevents running out of memory and unrealistic expectations.
  • Allow flash to exceed limit to avoid new error scenario. This would be good to revisit in future.
  • Fix broken listdir due to missing Module prefix.
  • Align flash and reset behaviour.

Closes microbit-foundation/python-editor-v3#950

- Limit approximately matches the device and prevents running out of
  space.
- Allow flash to exceed limit to avoid new error scenario. This would be
  good to revisit in future.
- Fix broken listdir due to missing Module prefix.
- Align flash and reset behaviour.

Closes microbit-foundation/python-editor-v3#950
@netlify
Copy link

netlify bot commented Sep 9, 2022

Deploy Preview for distracted-dubinsky-fd8a42 ready!

Name Link
🔨 Latest commit ae65366
🔍 Latest deploy log https://app.netlify.com/sites/distracted-dubinsky-fd8a42/deploys/631baca05a8f0a00081589d7
😎 Deploy Preview https://deploy-preview-55--distracted-dubinsky-fd8a42.netlify.app/demo
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@@ -56,7 +56,7 @@ mergeInto(LibraryManager.library, {
},

mp_js_hal_filesystem_name: function (idx, buf) {
const name = fs.name(idx);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was recently broken by #51.
This PR seems to be working well so I'm going to go go ahead and merge shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Simulator] os.listdir stops sim
1 participant