Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • flow3r/flow3r-firmware
  • Vespasian/flow3r-firmware
  • alxndr42/flow3r-firmware
  • pl/flow3r-firmware
  • Kari/flow3r-firmware
  • raimue/flow3r-firmware
  • grandchild/flow3r-firmware
  • mu5tach3/flow3r-firmware
  • Nervengift/flow3r-firmware
  • arachnist/flow3r-firmware
  • TheNewCivilian/flow3r-firmware
  • alibi/flow3r-firmware
  • manuel_v/flow3r-firmware
  • xeniter/flow3r-firmware
  • maxbachmann/flow3r-firmware
  • yGifoom/flow3r-firmware
  • istobic/flow3r-firmware
  • EiNSTeiN_/flow3r-firmware
  • gnudalf/flow3r-firmware
  • 999eagle/flow3r-firmware
  • toerb/flow3r-firmware
  • pandark/flow3r-firmware
  • teal/flow3r-firmware
  • x42/flow3r-firmware
  • alufers/flow3r-firmware
  • dos/flow3r-firmware
  • yrlf/flow3r-firmware
  • LuKaRo/flow3r-firmware
  • ThomasElRubio/flow3r-firmware
  • ai/flow3r-firmware
  • T_X/flow3r-firmware
  • highTower/flow3r-firmware
  • beanieboi/flow3r-firmware
  • Woazboat/flow3r-firmware
  • gooniesbro/flow3r-firmware
  • marvino/flow3r-firmware
  • kressnerd/flow3r-firmware
  • quazgar/flow3r-firmware
  • aoid/flow3r-firmware
  • jkj/flow3r-firmware
  • naomi/flow3r-firmware
41 results
Show changes
Commits on Source (4)
......@@ -27,6 +27,7 @@
#define CTX_ENABLE_FLOAT 0
#define CTX_32BIT_SEGMENTS 0
#define CTX_ENABLE_RGBA8 1
#define CTX_ENABLE_RGB8 1
#define CTX_ENABLE_RGB332 0
#define CTX_ENABLE_GRAY1 0
#define CTX_ENABLE_GRAY2 0
......
......@@ -430,8 +430,10 @@ static mp_obj_t mp_ctx_get_font_name(mp_obj_t self_in, mp_obj_t no_in) {
mp_ctx_obj_t *self = MP_OBJ_TO_PTR(self_in);
int no = mp_obj_get_int(no_in);
const char *name = ctx_get_font_name(self->ctx, no);
if (name) return mp_obj_new_str(name, strlen(name));
return mp_const_none;
if (name)
return mp_obj_new_str(name, strlen(name));
else
mp_raise_ValueError("font with given index does not exist");
}
MP_DEFINE_CONST_FUN_OBJ_2(mp_ctx_get_font_name_obj, mp_ctx_get_font_name);
......
......@@ -584,8 +584,9 @@ flow3r and it should pick up your new application.
Distributing applications
-------------------------
*TODO*
We have an "App Store" where you can submit your applications: https://flow3r.garden/apps/
To add your application, follow the guide in this repository: https://git.flow3r.garden/flow3r/flow3r-apps
Using the simulator
-------------------
......@@ -612,6 +613,13 @@ environment with the required packages:
$ python3 -m venv venv
$ venv/bin/pip install pygame wasmer wasmer-compiler-cranelift
.. note::
The wasmer python module `doesn't work with Python versions 3.10 or 3.11
<https://github.com/wasmerio/wasmer-python/issues/539>`_, use Python 3.9
instead. You will get
``ImportError: Wasmer is not available on this system`` when trying to run
the Simulator.
*TODO: set up a pyproject/poetry/... file?*
You can then run the simulator:
......