All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.6.0 - 2024-11-17
- Enabled extra functions for the
random
module.
1.5.0 - 2024-10-06
- Support for basic file system operations using the
io
module:- Read and write files.
- Open in text or binary mode.
- Simple
logging
module:- Log levels according to the Flipper Zero API: trace, debug, info, warn, error.
- Only the root logger is supported, so no
getLogger
function. - Logs directly to the log output, so no output in the REPL.
- Redirect output of
print
statements:- To
stdout
when a script is invoked bypy
command from the CLI. - To the log buffer, if a script is invoked from the UI.
- To
- UART support for the
flipperzero
module.
- The
py
command waits until the script terminates.
- #3: Proper
CR
andLF
handling in the REPL.
1.4.0 - 2024-09-29
- Allow passing the path to the script to execute as a CLI argument.
- Open a REPL from the CLI interface by using the
py
command:- The
py
command is only available while the app is running. - You cannot run a Python script and use the REPL at the same time.
- You can also start a Python script with the
py
command while the app is idle.
- The
- MicroPython update to version 1.23.0.
1.3.0 - 2024-09-08
- Simple ADC support for the
flipperzero
module:- Read raw value.
- Read voltage.
- Simple PWM support for the
flipperzero
module:- Start a signal.
- Stop a signal.
- Check the status.
- Infrared support for the
flipperzero
module:- Receive a signal.
- Transmit a signal.
- Check the status.
- Reset used GPIO pins upon script termination.
- Improved GPIO related functions to prevent user errors.
- Published Python package on PyPI for code completion support.
- The GPIO init function
flipperzero.gpio_init_pin
returns a boolean value.
1.2.0 - 2024-09-05
- Constants for all musical notes from C0 up to B8.
- Constants for minimum and maximum speaker volumes.
- Simple GPIO support for the
flipperzero
module:- Initialize a pin.
- Read from a pin.
- Write to a pin.
- Handle interrupts.
- Message box alignment parameters
h
andv
are now correctly evaluated.
1.1.0 - 2024-08-28
- Display splash screen upon application start.
- API documentation on GitHub pages.
1.0.0 - 2024-08-22
- First stable release on the application catalog.
- Application ID is now
upython
0.5.0-beta.1 - 2024-08-04
- Message dialog support.
- Update to the latest 0.104.0 firmware.
- Disabled various Python builtins to shrink binary size.
0.4.0-beta.1 - 2024-04-14
- Library to include in the firmware repository.
- All generated files from the build prozess are now part of the repository.
- Enabled split heap support for MicroPython:
- The runtime can allocate and free heap memory.
- Allows to start the Python process with small heap.
- Enabled scheduler support (required for interrupt handling).
- Enabled support for module
__init__
functions. - Stabilized
flipperzero
module API:- Canvas support has now a proper implementation.
- Interrupts from buttons are supported.
0.3.0-alpha.1 - 2024-04-04
- Floating point support
- Extend
flipperzero
module with support for:- Speaker, set volume and frequency
- Canvas, very wacky implementation
0.2.0-alpha.1 - 2024-04-03
- Support for external imports
- Python
time
module support - Python
random
module support - Basic
flipperzero
module with support for:- Vibration
- LED
- Backlight
- Some test Python scripts
0.1.0-alpha.1 - 2024-04-01
- Basic build setup
- Minimal working example