Skip to content

Example project for using the picowota Pico W OTA bootloader

License

Notifications You must be signed in to change notification settings

usedbytes/picowota_blink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picowota_blink - Example project using the picowota bootloader

This is an example project for using the picowota bootloader in an app.

Build it like so:

export PICO_SDK_PATH=path/to/pico-sdk
export PICOWOTA_WIFI_SSID=YourNetworkName
export PICOWOTA_WIFI_PASS=YourPassw0rd

git clone https://github.com/usedbytes/picowota_blink
cd picowota_blink
git submodule update --init picowota

mkdir build
cd build
cmake -DPICO_BOARD=pico_w ..
make

Then you can flash the resulting picowota_blink.uf2, .elf or .bin file in the "usual" way - via the Pico USB mass storage mode, picotool or whatever.

See https://github.com/usedbytes/picowota for more information.

Updating the app code

You can change the app code - for example try changing BLINK_SLEEP_MS in blink.c, then re-run make, and then upload the code to the Pico using https://github.com/usedbytes/serial-flash.

Assuming your Pico's IP address is 192.168.1.123:

serial-flash tcp:192.168.1.123:4242 blink.elf

You'll need to find out the IP address by checking your router or scanning the network.

About

Example project for using the picowota Pico W OTA bootloader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published