Reduce number of watchdog timer resets and rename Makefile target

This commit is contained in:
2024-09-27 14:35:03 +02:00
parent aa0cd89d4e
commit ae329083db
6 changed files with 40 additions and 40 deletions

View File

@@ -26,37 +26,37 @@ build and install the project:
make all
If there are any errors during the flashing process you
should find more information in core.log in the bin/
directory. See the Makefile for different settings for
your specific build environment.
should find more information in `bin/core.log`. See the
Makefile for all build-related settings and make sure
they are correct for your current build environment.
To remove all build related auxiliary files you may run
these commands:
To remove build related auxiliary files you may use one
of these commands:
make clean
make distclean
You can listen on the serial debug interface using the
command below (if you have initialized the optional
submodules as described in the 'Setting a New Target'
section):
You can listen on the serial debug interface by running
the command below (if you have initialized the optional
submodules as described in the section 'Setting a New
Target'):
make listen
Alternatively you can spin up a web server on port 443
to interface with the device using the following command.
Make sure to read section 'Webinterface Example' for more
information.
information on how to configure the server.
make listen-web
make webgui
### Setting a New Target
The script below allows you to send serial commands (you
may need to run `git submodule update --init` if the tools/
directory is empty):
may need to run `git submodule update --init` first, if
the `opt/tools/` directory is empty):
./opt/tools/serial-send.py <command> <args ...>
opt/tools/serial-send.py <command> <args ...>
Issue the SET command to update the target settings:
@@ -70,15 +70,15 @@ of digits.
### Webinterface Example
There is an example Python web server utilizing websockets you
can check out in `opt/webgui`. It should give you a basis for
can check out in `opt/webgui/`. It should give you a basis for
writing a custom network bridge and integrating the device into
your home automation system.
You must generate a self-signed certificate before you run the
server. The configuration script will take care of it:
./opt/webgui/configure
opt/webgui/configure
See the README file in the webgui/ directory for prerequisites
See the README file in the server directory for prerequisites
and more information. Please be aware that development for the
web server has paused until the core has reached version v1.0.