Skip to content

Releases: ofabel/mp-flipper

1.6.0

17 Nov 17:16
Compare
Choose a tag to compare

Added

  • Enabled extra functions for the random module.

1.5.0

06 Oct 14:08
Compare
Choose a tag to compare

Added

  • 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 by py command from the CLI.
    • To the log buffer, if a script is invoked from the UI.
  • UART support for the flipperzero module.

Changed

  • The py command waits until the script terminates.

Fixed

  • #3: Proper CR and LF handling in the REPL.

1.4.0

29 Sep 08:55
Compare
Choose a tag to compare

Not what was promised in the roadmap, but still worth a release.

Added

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

Changed

  • MicroPython update to version 1.23.0.

1.3.0

08 Sep 16:11
Compare
Choose a tag to compare

Added

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

Changed

  • The GPIO init function flipperzero.gpio_init_pin returns a boolean value.

1.2.0

05 Sep 03:27
Compare
Choose a tag to compare

Added

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

Fixed

  • Message box alignment parameters h and v are now correctly evaluated.

1.1.0

28 Aug 18:47
Compare
Choose a tag to compare

Added

  • Display splash screen upon application start.
  • API documentation on GitHub pages.

1.0.0

28 Aug 05:07
Compare
Choose a tag to compare

Added

Changed

  • Application ID is now upython

0.5.0-beta.1

04 Aug 06:02
Compare
Choose a tag to compare
0.5.0-beta.1 Pre-release
Pre-release

Added

  • Message dialog support.
  • Update to the latest 0.104.0 firmware.

Removed

  • Disabled various Python builtins to shrink binary size.

0.4.0-beta.1

14 Apr 16:46
Compare
Choose a tag to compare
0.4.0-beta.1 Pre-release
Pre-release

Added

  • 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

04 Apr 08:42
Compare
Choose a tag to compare
0.3.0-alpha.1 Pre-release
Pre-release

Added

  • Floating point support
  • Extend flipperzero module with support for:
    • Speaker, set volume and frequency
    • Canvas, very wacky implementation