microsoft / microsoft/pxt

How to convert code to a HEX file that can be imported into MakeCode without using the MakeCode website?

Open
#10,469 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
641
Avg merge
12h 4m
Merged PRs (30d)
57

Description

Hello,

I would like to understand how MakeCode converts block-based or Python code into a HEX file on the MakeCode website. On the MakeCode site, I can directly write code and download the corresponding HEX file, but I would like to know if it is possible to convert code into a HEX file without using the MakeCode website and still be able to import the file into MakeCode for further editing.

Are there any available tools or APIs for this process in MakeCode? Or is there a way to achieve this goal?

Thank you!

Contributor guide

Open the contributing guide

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

The issue names no repository files, tests, or entry points. Start by tracing how the MakeCode website produces downloadable HEX files and how imported files are parsed. Done would require identifying a supported tool or API for offline conversion and confirming that the resulting file remains editable in MakeCode.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.