pxt build erro 'program too big'
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
I've encountered an issue where my program is too large for the micro:bit v1, and the pxt build command fails with the message "program too big by xxx bytes!" How can I configure my project to build exclusively for micro:bit v2?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the pxt build command and the project settings that select the micro:bit target. Determine how a project can build exclusively for micro:bit v2, then verify the configuration with a program that exceeds the micro:bit v1 size limit. Done means the supported configuration or limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, embedded-iot
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100