mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-07 16:01:30 +00:00
Revamp rp examples
This commit is contained in:
1 parent
948b56a3ec
commit
83ba170b45
142 files changed
+769
-3721
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# RP2040 / RP2350 Mongoose example
|
||||
|
||||
This example can be built for both RP2040 and RP2350 targets.
|
||||
|
||||
## Set target board
|
||||
|
||||
By default, it builds for RP2040 target. If you want to change the target
|
||||
board, edit `CMakeKists.txt` and set the board, for example:
|
||||
|
||||
```cmake
|
||||
set(PICO_BOARD pico2_w)
|
||||
```
|
||||
|
||||
## Edit WiFi credentials
|
||||
|
||||
For WiFi examples, edit `wifi.c` and set WiFi network name and password.
|
||||
|
||||
## Build and run
|
||||
|
||||
Make sure you have `picotool` installed. Then run:
|
||||
|
||||
```sh
|
||||
make build flash
|
||||
```
|
||||
|
||||
Start serial console to see the debug output.
|
||||
|
||||
See detailed documentation at https://mongoose.ws/docs/guides/rp-tcpip-stack/
|
||||
Reference in new issue
Block a user