Tags:
tag this topic
create new tag
view all tags
---+ Bringing up the !MicroWebSrv2 server on an ESP32. The source code of !MicroWebSrv2 is available [[https://github.com/jczic/MicroWebSrv2][here ]]. We get at the code using git: <i>git clone https://github.com/jczic/MicroWebSrv2.git i</i>nto a working directory (in my case: /opt/ucc/afnog/afnog-2020. I have been able to get the WEB server to work only by freezing its code into !MicroPython. This I did by copying the !MicroWebSrv2 sub-directory, containing the !MicroWebSrv2 Python code into the _modules_ directory of the !MicroPython's esp32 port and rebuilding and flashing !MicroPython. Once this is done you should be able to import !MicroPython !MicroWebSrv2 module: <img alt="importWebSrv2.png" height="45" src="%ATTACHURL%/importWebSrv2.png" title="importWebSrv2.png" width="302" /> Now I use [[https://github.com/dhylands/rshell][rshell ]]to upload !MicroWebSrv2's full www to the esp32: rshell mkdir /pyboard/www rsync www /pyboard/www -- %USERSIG{UliRaich - 2020-01-20}% ---++ Comments %COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
importWebSrv2.png
r1
manage
4.8 K
2020-01-20 - 18:01
UliRaich
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2020-01-20
-
UliRaich
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
AFNOG Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback