Date
1 - 1 of 1
MicroPythonPkg: How to import/compile uefi module?
Buhrow, Simon
Hi,
following the instructions on https://github.com/tianocore/edk2-staging/tree/MicroPythonTestFramework/MicroPythonPkg , I can successfully run micropython.efi (using VS2015x86 instead of VS2017). However importing the uefi module as given in the example on the above link fails: ``` FS0:\EFI\Python\> micropython.efi MicroPython v1.9.4 on 2018-07-30; uefi version Use Ctrl-D to exit, Ctrl-E for paste mode Traceback (most recent call last):import Lib.Uefi.uefi as uefi File "<stdin>", line 1, in <module> ImportError: no module named 'Lib.Uefi' ``` MicroPythonDxe.efi is in the same folder as micropython.efi. How do I do to compile the uefi module (and other modules) into MicroPythonDxe.efi? (i.e. what changes do I have to make as the default way did not work?) Regards, Simon PS: I posted this question some weeks ago on Stackoverflow: https://stackoverflow.com/questions/68573311/how-to-import-compile-uefi-module-using-micropython SIEB & MEYER AG Simon Buhrow Entwicklung CNC Auf dem Schmaarkamp 21 21339 Lüneburg Germany Tel.: +49-4131-203-1258 Fax.: +49-4131-203-2000 E-mail: simon.buhrow@... https://www.sieb-meyer.de Vorstand: Markus Meyer, Torsten Blankenburg Aufsichtsratsvorsitzender: Michael Semrau Amtsgericht Lüneburg: HRB 1805 Umsatzsteuer-ID-Nr.: DE 116085664 |
|