Няма описание

Oliver Fabel 2b61e098b5 update readme преди 2 години
examples b446c30bec add wacky canvas support преди 2 години
lib 7381d6a168 fix canvas преди 2 години
.clang-format 8cfa40e26b initial commit преди 2 години
.clangd 8cfa40e26b initial commit преди 2 години
.gitignore 8cfa40e26b initial commit преди 2 години
.gitmodules 8cfa40e26b initial commit преди 2 години
CHANGELOG.md 83c7361148 update changelog преди 2 години
Makefile 5028779db9 add simple vibro example преди 2 години
Makefile.micropython 9d7617c8bb add floating point support преди 2 години
Makefile.upylib 8cfa40e26b initial commit преди 2 години
README.md 2b61e098b5 update readme преди 2 години
application.fam 9d7617c8bb add floating point support преди 2 години
icon.png f1f768c9df add logo and readme преди 2 години
logo.svg f1f768c9df add logo and readme преди 2 години
mp_flipper_app.c 7381d6a168 fix canvas преди 2 години
mp_flipper_app.h b446c30bec add wacky canvas support преди 2 години
mpconfigport.h 9d7617c8bb add floating point support преди 2 години

README.md

MicroPython Flipper Zero

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. Feel free to share your thoughts and ideas in this issue.

Requirements

For compiling MicroPython, you will also need:

Setup

git clone --recurse-submodules git@github.com:ofabel/mp-flipper.git

Build

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

Usage

The application just starts with an open file browser. Here you can select any Python file to compile and execute from the SD card.

Disclaimer

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).