]> xenbits.xensource.com Git - unikraft/libs/micropython.git/log
unikraft/libs/micropython.git
3 years agoCorrect license headers introduced by NEC Laboratories Europe GmbH RELEASE-0.10.0 RELEASE-0.6 RELEASE-0.7.0 RELEASE-0.8.0 RELEASE-0.9.0
Simon Kuenzer [Tue, 13 Jul 2021 19:19:21 +0000 (21:19 +0200)]
Correct license headers introduced by NEC Laboratories Europe GmbH

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
with the following commits:
 2a829d8 - Add Makefile.uk (Felipe Huici)

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author(s) or an authorized representative from
the author's affiliation consents to the change with a
`Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
Approved-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #4

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)