microsoft / microsoft/pxt-mkc

Erro "program too big“

Open
#137 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
19
Forks
12
Avg merge
3h 47m
Merged PRs (30d)
5

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

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the pxt build command and the project's target configuration to determine how micro:bit v1 and v2 are selected. Done means documenting or enabling a configuration that builds exclusively for micro:bit v2 and avoids the v1 size limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, cli, embedded-iot
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.