# UF2 and CircuitPython

**URL:** https://forum.makecode.com/t/uf2-and-circuitpython/19081
**Category:** Help
**Tags:** make, maker
**Created:** [April 10, 2023, 5:29pm UTC](https://forum.makecode.com/t/uf2-and-circuitpython/19081 "2023-04-10T17:29:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![EpicKitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/epickitty/32/8358_2.png) [@EpicKitty](https://forum.makecode.com/u/EpicKitty)
#### Post date: [April 10, 2023, 5:29pm UTC](https://forum.makecode.com/t/uf2-and-circuitpython/19081/1 "2023-04-10T17:29:03Z")

</div>

Can a UF2 file be executed on a KittenBot MeowBit that’s running CircuitPython firmware? Currently, I have a program that presents a menu of options to the user and can run multiple PY files from an SD card inserted in the MeowBit. However, I would like to expand its functionality by allowing it to run UF2 files created with MakeCode Arcade. But UF2 is binary code and meant to be used as firmware, so I’m not sure if integrating it without replacing the CircuitPython firmware is possible.

Is it possible to implement this functionality without replacing the current firmware and preserving the ability of the MeowBit to return to the program selection screen after a restart?

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [April 10, 2023, 6:23pm UTC](https://forum.makecode.com/t/uf2-and-circuitpython/19081/2 "2023-04-10T18:23:51Z")

</div>

No. UF2 files contain binary instructions that must be run directly by the processor. It is actually a method used for microcontrollers to flash themselves over USB.

---

<div class="post-metadata">

### Author: ![EpicKitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/epickitty/32/8358_2.png) [@EpicKitty](https://forum.makecode.com/u/EpicKitty)
#### Post date: [April 10, 2023, 6:27pm UTC](https://forum.makecode.com/t/uf2-and-circuitpython/19081/3 "2023-04-10T18:27:16Z")

</div>

What about using a sort of emulator to run the code? I mean it’ll be slow but it will still be possible, right?

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [April 10, 2023, 6:50pm UTC](https://forum.makecode.com/t/uf2-and-circuitpython/19081/4 "2023-04-10T18:50:47Z")

</div>

Only if you can find/write one yourself
