GitXplorerGitXplorer
m

pico-webserver

public
97 stars
40 forks
2 issues

Commits

List of commits on branch main.
Unverified
b5e1af22c0aa9e2760e247e4f46a70d43eb7fd21

Merge branch 'main' of https://github.com/maxnet/pico-webserver into main

mmaxnet committed 4 years ago
Unverified
1b3092d865353113bbdfeaaf2a5de067732473c0

Init mutex

mmaxnet committed 4 years ago
Verified
836b235b1fe023f369be2cff73b7c52173fe1c2a

Update README.md

mmaxnet committed 4 years ago
Unverified
f64f407460b8838afa531950a1f7cc28068ea579

Initial version

mmaxnet committed 4 years ago
Verified
721bd82383255d42d339e27d701c7ecc6cb20316

Initial commit

mmaxnet committed 4 years ago

README

The README file for this repository.

pico-webserver

Webserver example that came with TinyUSB slightly modified to run on a Raspberry Pi Pico. Lets the Pico pretend to be a USB Ethernet device. Runs a webinterface at http://192.168.7.1/

Build dependencies

On Debian:

sudo apt install git build-essential cmake gcc-arm-none-eabi

Your Linux distribution does need to provide a recent CMake (3.13+). If not, compile CMake from source first.

Build instructions

git clone --depth 1 https://github.com/maxnet/pico-webserver
cd pico-webserver
git submodule update --init
mkdir -p build
cd build
cmake ..
make

Copy the resulting pico_webserver.uf2 file to the Pico mass storage device manually. Webserver will be available at http://192.168.7.1/

Content it is serving is in /fs If you change any files there, run ./regen-fsdata.sh

By default it shows a webpage that led you toggle the Pico's led, and allows you to switch to BOOTSEL mode.