micro-framework for esp32 and esp8266

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
kr-g
Posts: 37
Joined: Sun Dec 01, 2019 7:52 pm
Contact:

micro-framework for esp32 and esp8266

Post by kr-g » Sat Apr 04, 2020 5:32 pm

first i started to continue to enhance mpyconfigbase so that it syncs automatically ntp time when wlan comes up ...

now i ended up with sort of micro-framework with an eventing model.

https://github.com/kr-g/mpymodcore

it introduce also a lifecycle and manage the modules with respect to that (there is also one sample for sdcard as device module...)

probably someone else can use it too ... ?

any feedback welcome

hope you like it ;-)

kr-g
Posts: 37
Joined: Sun Dec 01, 2019 7:52 pm
Contact:

Re: micro-framework for esp32 and esp8266

Post by kr-g » Thu Oct 01, 2020 9:00 am

to whom it may concern

new version v0.0.14 released today

https://github.com/kr-g/mpymodcore

kr-g
Posts: 37
Joined: Sun Dec 01, 2019 7:52 pm
Contact:

Re: micro-framework for esp32 and esp8266

Post by kr-g » Tue Oct 13, 2020 7:53 am

to whom it may concern

new version v0.0.15 released today

https://github.com/kr-g/mpymodcore

this version includes experimental ACE editor integration https://ace.c9.io/.

supports direct editing of source code on a remote device.
comes already with syntax highlighting for .py, .json, .css, .html, .js (javascript) file types.
code folding, undo, redo, search, replace, goto line.

code beautifier not yet integrated.
editing code size limitation is 4 kb.

another feature is NTP timezone support.

have a look at module moddev.ntp.TZ_Support and module moddev.ntp_tz_cet.TZ_cet.
it's an implemented logic (not using iana tzdb which contains also historical timezone data).
the tz module is implemented as state machine which is aware of WLAN changes

kr-g
Posts: 37
Joined: Sun Dec 01, 2019 7:52 pm
Contact:

Re: micro-framework for esp32 and esp8266

Post by kr-g » Fri Oct 23, 2020 2:57 pm

to whom it may concern

new version v0.0.16 released today

https://github.com/kr-g/mpymodcore

highlights:
- ace editot can edit files > 4kb
- ace editor support for code beautify for html, css, js, json file types
- asyncio integration

for more refer to CHANGELOG => https://github.com/kr-g/mpymodcore/blob ... ANGELOG.md:

kr-g
Posts: 37
Joined: Sun Dec 01, 2019 7:52 pm
Contact:

Re: micro-framework for esp32 and esp8266

Post by kr-g » Fri Oct 30, 2020 10:01 am

to whom it may concern

new version v0.0.17 released today

https://github.com/kr-g/mpymodcore

contains PEP8, some bug fixes, and a first draft of auto-discovery and auto-configuration of modules having an __app__,py file in their path (along with an implementation of the Plugin class). at the moment the folders "mod3rd" and "modapp" are scanned.

with auto-discovery-configuration its now sufficient just to copy the modules to the board without having all the details in mind (and the need to work with the internal router etc stuff to get it running)

in modext.misc.boot there is also a generic boot script (see also modext.misc.main and modext.misc.main_async)

following modules are auto-discovery-configuration enabled:
- mod3rd.admin_esp (WLAN configuration tool)
- mod3rd.admin_user (login and logout handling)
- mod3rd.admin_windup (file api, browser, and editor component)
- modapp.watering (reference proof-of-concept application)

for more refer to CHANGELOG => https://github.com/kr-g/mpymodcore/blob ... ANGELOG.md:

i was a big change this time - hope i havent introduced too many bugs ;-)

Post Reply