An open API service indexing awesome lists of open source software.

https://github.com/st235/picohttp


https://github.com/st235/picohttp

Last synced: about 2 months ago
JSON representation

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
```