[RTEMS Project] #4349: Package Micro Python
RTEMS trac
trac at rtems.org
Fri Feb 25 18:26:05 UTC 2022
#4349: Package Micro Python
-----------------------------+--------------------------
Reporter: eshan dhawan | Owner: Chris Johns
Type: enhancement | Status: assigned
Priority: normal | Milestone: Indefinite
Component: tool/rsb | Version:
Severity: normal | Resolution:
Keywords: SoC, API, small | Blocked By:
Blocking: |
-----------------------------+--------------------------
Changes (by Gedare Bloom):
* owner: (none) => Chris Johns
* status: new => assigned
Old description:
> MicroPython (https://micropython.org/) is supported in RTEMS for a long
> time but isn't packaged well. Packaging it would mainly involve the
> following:
>
> * ensure MicroPython builds and works
> * construct an RSB Recipe
> * implement example(s)
> * provide documentation.
>
> The RSB Recipe will default to a generally useful configuration. If there
> are tuning options to MicroPython, these will have to be available to
> tweaked by the user. If MicroPython requires specific features enabled
> in RTEMS, these will have to be checked for. If there are add-on
> libraries that are needed, the RSB Recipe will have to address these. All
> of these configuring and dependencies are a critical part of the user
> facing RTEMS documentation on this package.
>
> The examples should include a basic minimal example of embedded
> MicroPython in an application and using it. There should be another
> example which shows to integrate an application specific feature into the
> MicroPython environment. There should be an example of integrating an
> RTEMS shell command and invoking it from MicroPython. If there are other
> application uses cases identified for MicroPython, there may be other
> requirements for the examples.
>
> The user facing documentation should make it easy for a user to build
> MicroPython and use it in their examples.
>
> Having MicroPython packaged is important but an important side product of
> this effort is defining the pattern for the kit for supporting an
> embedded language with RTEMS.
New description:
MicroPython (https://micropython.org/) is supported in RTEMS for a long
time but isn't packaged well. Packaging it would mainly involve the
following:
* ensure MicroPython builds and works
* construct an RSB Recipe
* implement example(s)
* provide documentation.
The RSB Recipe will default to a generally useful configuration. If there
are tuning options to MicroPython, these will have to be available to
tweaked by the user. If MicroPython requires specific features enabled in
RTEMS, these will have to be checked for. If there are add-on libraries
that are needed, the RSB Recipe will have to address these. All of these
configuring and dependencies are a critical part of the user facing RTEMS
documentation on this package.
The examples should include a basic minimal example of embedded
MicroPython in an application and using it. There should be another
example which shows to integrate an application specific feature into the
MicroPython environment. There should be an example of integrating an
RTEMS shell command and invoking it from MicroPython. If there are other
application uses cases identified for MicroPython, there may be other
requirements for the examples.
The user facing documentation should make it easy for a user to build
MicroPython and use it in their examples.
Having MicroPython packaged is important but an important side product of
this effort is defining the pattern for the kit for supporting an embedded
language with RTEMS.
== Skills ==
Python
== Difficulty ==
This is a small (175-hour) project of easy difficulty.
--
--
Ticket URL: <http://devel.rtems.org/ticket/4349#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list