Support for ESP32
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
We are working on integration of MakeCode with our multi-sensor / physical computing device databot™ - hardware details here:
https://databot.us.com/databot-2-0-basic-training-deep-geek/
We are finding a hard time getting code run with an ESP32. We are unable to get the default ESP32 makecode project found here. No matter what kind of blocks we arrange there
To Reproduce
Steps to reproduce the behavior:
- Go to https://maker.makecode.com/#
- Click on Espressif ESP32 DevKit-C. Then click new project
- Leave it as a default and press the download button. (most of the time it shows a compilation error)
- We have created an LED blink block and hit the simulation button, on the simulation, it seems LED is blinking and on pressing the download button bin file is also downloaded. But when we tried flashing that bin file in the ESP32 dev board with the ESP32 flashing tool no LED blink is seen on the actual board. It seems there is something wrong with the bin file itself.
- One more thing we noticed is that no matter how many blocks we add to the project on downloading the bin file the final size of the bin file is always the same 979Kb, That seems odd to us as it should vary from project to project.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
- LED blink example we tried.

- Using the Espressif bin file uploading tool, we are using the same tool for other bin files and it works perfectly.

- All bin files are of the same size but all projects were different.

Desktop:
- OS: Win11
- Browser: Chrome
Additional context
We have tried pretty much everything that came to our mind. We also saw that it needs UF2 bootloader so we searched here but unfortunately we found nothing specific for ESP32.
Anyone can guide us in the right direction where we can build and run simple projects for ESP32 and also most important the flashing part is there any way we can directly flash from the USB instead of downloading the bin file?
Thank You,
Dharmik Patel
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 by reproducing the default Espressif ESP32 DevKit-C project at maker.makecode.com and record whether compilation, download, and flashing fail. Compare the generated binaries for the default and LED-blink projects and verify the flashing workflow. Done means ESP32 projects compile, produce usable binaries, and the resulting program runs on the board.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100