bbcmicrobit / bbcmicrobit/PythonEditor

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

Aberta
#71 1 comentário 0 reações 0 responsáveis Ver no GitHub
enhancement FileSystem
Linguagem predominante
JavaScript
Estrelas
201
Forks
126
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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?

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Nenhum arquivo ou teste é mencionado na issue. Comece rastreando a validação do tamanho do script e o caminho de upload do editor online, e então identifique como o limite de tamanho do micro:bit é obtido. Considera-se concluído quando o erro existente informa quantos bytes o programa excede o limite, com cobertura para um programa grande demais.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript
Domínio
embedded-iot, frontend
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.