https://github.com/st235/picohttp
https://github.com/st235/picohttp
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/st235/picohttp
- Owner: st235
- Created: 2023-12-31T22:35:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T16:58:55.000Z (almost 2 years ago)
- Last Synced: 2025-01-15T06:49:27.329Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HttpServer implementation for Raspberry Pi Pico W
## Dependecies
The project relies on `CMake` and `GCC` cross-compiler.
To install them follow the steps below:
```bash
brew install cmake
brew install armmbed/formulae/arm-none-eabi-gcc
```
Alternatively there is a cask for Apple Sillicon if the previous one does not work
```bash
brew install --cask gcc-arm-embedded
```
## Building example
```bash
cd example
mkdir out
cd out
cmake .. -DWIFI_SSID=wifi -DWIFI_PASSWORD=password
```
## Building library
Initialise all submodules
```bash
git submodule update --init --recursive
```
Create a build dir
```bash
mkdir out
cd out
```
Build the project
```
cmake ..
make
```
## Debugging via logs
```
brew install minicom
```
```
minicom -b 115200 -o -D /dev/tty.usbmodem11301
```