bbcmicrobit / bbcmicrobit/PythonEditor
No indication of file size limits for uploading programs to the micro:bit
- 主要語言
- JavaScript
- 星號
- 201
- 分支
- 126
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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?
貢獻指南
研究方向
issue 中沒有指明檔案或測試。首先追蹤線上編輯器的指令碼大小驗證和上傳路徑,然後確認如何取得 micro:bit 的大小限制。完成的標準是現有錯誤回報程式超出限制多少位元組,並且為過大的程式提供涵蓋測試。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- embedded-iot, frontend
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100