bbcmicrobit / bbcmicrobit/PythonEditor

No indication of file size limits for uploading programs to the micro:bit

Offen
#71 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement FileSystem
Vorherrschende Sprache
JavaScript
Sterne
201
Forks
126
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

A problem I've often come across is creating a python program which is too large for the micro:bit, however, I usually only find this out when I've flashed it across and had the Memory allocation failure message scroll across. At that point it tells you how many bytes too large the file is. Using the online micro:bit python editor I discovered the useful 'Oops! Your script is to long given the limited memory on the device.' error message feature. What would make this even more useful though is if it actually told you by how much a program had exceeded the size limit. Could this be added? Is the actual max file size information accessible anywhere?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.