Micropython for Unified Extensible Firmware Interfaces (UEFI)

Unknown Reply 8:26 AM

micropython

TianoCore is the community supporting an open source implementation of a Unified Extensible Firmware Interface (UEFI), which is the code that sits between an operating system and a hardware’s firmware. We’re all familiar with UEFI for modern computers, it supplanted what was called BIOS and is shown when getting into a machine’s setup.

The project has adopted Micropython for automation and testing. From their GitHub wiki:

The MicroPython Test Framework for UEFI (MpyTestFrameworkPkg) is designed for firmware unit testing and validation. This framework provides a set of convenient abstractions designed to remove as much boilerplate as possible from firmware test configuration, case development, and test execution. It is general enough to be useful in a variety of firmware testing scenarios including black box tests, white box tests, functional testing, and automating UI/human interaction.

https://github.com/tianocore/edk2-staging/tree/MicroPythonTestFramework/MpyTestFrameworkPkg

The framework leverages MicroPython for a lightweight and minimalist implementation. A port of the MicroPython Interpreter for UEFI is available in edk2-staging: (MicroPythonPkg).

https://github.com/tianocore/edk2-staging/tree/MicroPythonTestFramework/MicroPythonPkg

Where will we find Micropython being used next?

And remember, CircuitPython is Adafruit’s implementation of MicroPython on certain microcontrollers.

tianocore

Post a Comment

Search

Follow us

Popular Reviews