]> xenbits.xensource.com Git - unikraft/libs/micropython.git/log
unikraft/libs/micropython.git
4 years agolibmicropython: Include signal dependency RELEASE-0.5
Sharan Santhanam [Fri, 5 Feb 2021 16:43:52 +0000 (17:43 +0100)]
libmicropython: Include signal dependency

Include the signal library

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
Reviewed-by: Alexander Jung <a.jung@lancs.ac.uk>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #3

5 years agoFix crash caused by the "Optimize for Performance" config option RELEASE-0.4
Vlad-Andrei BĂDOIU (78692) [Thu, 20 Feb 2020 12:48:31 +0000 (13:48 +0100)]
Fix crash caused by the "Optimize for Performance" config option

We disable the gcse, gnu-unique, and move-loop-invariants
flags enabled by O2.

Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@stud.acs.upb.ro>
Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoAdd optional main()
Felipe Huici [Tue, 8 Oct 2019 07:53:30 +0000 (09:53 +0200)]
Add optional main()

We add an optional main, selectable from the menu, that forwards
parameters to Micropython's main function.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoAdd header files
Felipe Huici [Tue, 8 Oct 2019 07:48:33 +0000 (09:48 +0200)]
Add header files

Add header files, including mpconfigport.h, Micropython's config file.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoAdd patches.
Felipe Huici [Tue, 8 Oct 2019 07:47:40 +0000 (09:47 +0200)]
Add patches.

Add patches to fix compilation errors and to adapt unix/main.c and
modlwip.c to Unikraft.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoAdd Unikraft-adapted external modules.
Felipe Huici [Tue, 8 Oct 2019 07:45:22 +0000 (09:45 +0200)]
Add Unikraft-adapted external modules.

For now we add just modusocket. modlwip we introduce by patching the
original version in the sources; we dcan't do this for modusocket
since this file does not exist in the unix sub-directory of
Micropython.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoAdd Makefile.uk
Felipe Huici [Tue, 8 Oct 2019 07:36:28 +0000 (09:36 +0200)]
Add Makefile.uk

We patch unix/main.c and optionally provide a main() to enter
Micropython's main loop. We also add mpconfigport.mk, Micropython's
Makefile.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoIntroduce library skeleton
Felipe Huici [Tue, 8 Oct 2019 07:34:45 +0000 (09:34 +0200)]
Introduce library skeleton

We use the BSD-3-Clause license for this library glue code.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
7 years agoinitial commit (empty)
Felipe Huici [Fri, 8 Dec 2017 15:35:42 +0000 (16:35 +0100)]
initial commit (empty)