This project has for goal to be able to start, power-off and reboot over Internet with a Raspberry Pi Pico W.
- Install the Pico SDK.
- Clone the repository.
git clone [email protected]:jujur10/PicoNetBoot.git
- Modify parameters in order to use PicoNetBoot properly.
Into CMakeList.txt file.
- Set the SSID of your network at line 4.
- Set the Password of your network at line 5.
- Set the path of your PICO SDK at line 13.
- (Optional) Modify server port line 11.
- Build the project (it is not micropython lol).
- Create a build directory.
mkdir build && cd build
- Build Makefile.
cmake ..
- Build project.
make
- Create a build directory.
- Copy "PicoNetBoot.uf2" into your Raspberry Pi Pico !
You can create a basic C client and write to PicoNetBoot server with these commands (free to you to create a little client 🙂):
- "START" : Start the computer.
- "POWER-OFF" : Power-off the computer.
- "REBOOT" : Power-off and re-start the computer.
- When communication terminated, close socket.
Here's a short demonstration.