]>
xenbits.xensource.com Git - unikraft/libs/micropython.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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>
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>
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>
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>
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>
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>
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>
Felipe Huici [Fri, 8 Dec 2017 15:35:42 +0000 (16:35 +0100)]
initial commit (empty)