Search found 1572 matches
- Fri Sep 06, 2019 3:42 pm
- Forum: General Discussion and Questions
- Topic: Is there any way of uploading a .mpy file and execute it?
- Replies: 3
- Views: 138
Using mpy-cross, you can compile the .py file. If the target has a file system, then you can upload it with any suitable tool, like pyboard.py, ampy, rshell. But there is a difference to frozen bytecode. Frozen bytecode is executed from flash. The bytecode and static data remains in flash. Only dyna...
- Thu Sep 05, 2019 6:46 pm
- Forum: Other Boards
- Topic: [STM32F407VGT6] How to erase flash fs?
- Replies: 8
- Views: 140
You must not write the file system both from the PC and from MicroPython at the same time. The PC caches the FS is not awayr of changes made by MicroPython. And if you write from the PC, take care to unmount (eject) it before you unplug the device. You can format the flash from Micropython at the RE...
- Mon Sep 02, 2019 7:00 pm
- Forum: micro:bit boards
- Topic: Problems building micropython-1.9.2 from source
- Replies: 17
- Views: 5872
For the ESP32 ports there are now a few BOARDS defined: GENERIC GENERIC_SPIRAM TINYPICO to build for one of them, just run for instance: make BOARD=GENERIC and to flash the code, run: make BOARD=GENERIC deploy You may have to specify PORT and BAUD, if you do not want the default setting. I use a GNU...