|
|
1 год назад | |
|---|---|---|
| examples | 1 год назад | |
| lib | 1 год назад | |
| .clang-format | 1 год назад | |
| .clangd | 1 год назад | |
| .gitignore | 1 год назад | |
| .gitmodules | 1 год назад | |
| CHANGELOG.md | 1 год назад | |
| Makefile | 1 год назад | |
| Makefile.micropython | 1 год назад | |
| Makefile.upylib | 1 год назад | |
| README.md | 1 год назад | |
| application.fam | 1 год назад | |
| icon.png | 1 год назад | |
| logo.svg | 1 год назад | |
| mp_flipper_app.c | 1 год назад | |
| mp_flipper_app.h | 1 год назад | |
| mpconfigport.h | 1 год назад |
This repository aims to add Python support to the famous Flipper Zero gadget. The content of this repository is just work in progress at the moment. But the first working examples already look promising.
PATH (or you have to adjust the MakefileFor compiling MicroPython, you will also need:
gcc-arm-none-eabi on Ubuntu)git clone --recurse-submodules git@github.com:ofabel/mp-flipper.git
Since this application requires a 3th party library, more than just a simple ufbt build is needed to build the application:
make build
You can also build an launch the application on the attached Flipper Zero device in one command:
make launch
The application just starts with an open file browser. Here you can select any Python file to compile and execute from the SD card.
This is work in progress and just a proof of concept. The produced application has very limited functionality at the moment and since the whole application runs in the SRAM there is not much space left. However, the Python application itself can use about 16 kB of heap space (minus up to 2 kB for the stack).