Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
Update text and remove details of outdated method (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
deeebug authored May 1, 2023
1 parent 578e36a commit 168b77c
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ Simple web application for gamepad configuration.

## Requirements

* PlatformIO with the [Wiz-IO Pico](https://github.com/Wiz-IO/wizio-pico) platform module
* NodeJS and NPM to build the React app
* Python for the React app build script
* Perl for some text replacement done by the React app build script

## Development

Expand Down Expand Up @@ -37,11 +34,11 @@ Use JPG and PNG files for images, SVG file support requires modification to the

## Building

The `build-web.py` script is used to build the React application and regenerate the embedded data in `lib/httpd/fsdata.c`. The `makefsdata` tool that performs the conversion doesn't set the correct `#include` lines for our use. This script will fix this issue.

If you just want to rebuild the React app in production mode for some reason, you can run `npm run build` from the `www` folder.

The lwIP lib in Wiz-IO Pico PlatformIO platform doesn't include the `makefsdata` source. A precompiled version for Windows and Unix are included in the `tools` folder.
The `makedatafs.js` script is used to build the React application and regenerate the embedded data in `lib/httpd/fsdata.c`. The `makefsdata` tool that performs the conversion doesn't set the correct `#include` lines for our use. This script will fix this issue.

Precompiled binaries of `makedatafs` for Windows, Linux and macOS are included in the `tools` folder.

## References

Expand All @@ -50,10 +47,6 @@ Original example:
* <https://forums.raspberrypi.com/viewtopic.php?t=306888>
* <https://github.com/maxnet/pico-webserver>

WizIO example:

* <https://github.com/Wiz-IO/wizio-pico-examples/tree/main/baremetal/pico-usb-webserver>

Convert text to bytes:

* <https://onlineasciitools.com/convert-ascii-to-bytes>
Expand Down

0 comments on commit 168b77c

Please sign in to comment.