This repository demonstrates Azure RTOS on Raspberry Pi Pico W.
File/folder | Description |
---|---|
demo_netx |
Sample source code for NetX projects |
demo_threadx |
Sample source code for ThreadX projects |
lib |
Azure RTOS and other repositories. |
main.c |
Pico W user application entry point. |
-
Raspberry Pi Pico W board.
-
A terminal emulator (such as Putty or Tera Term to display the output.
-
Codespaces(recommended) or VS Code + Dev Container.
- Go to root of this repository.
- Choose
Code | Open with Codespaces
, to create and launch your Codespaces environment. - Open /.vscode/settings.json. Update
WIFI_SSID
andWIFI_PASSWORD
. - To run demo_netx/demo_azure_iot sample, follow readme in this project to update configuration.
- Press
F7
to build the application.Choose the
GCC 9.2.1 arm-non-eabi
CMake kit if prompted. - Download binary file from
build
folder. See more details in readme of each project.
-
Hold the BOOTSEL button on Raspberry Pi Pico W and connect micro-USB cable, you will see a new USB drive
PRI-PR2
is mounted. -
Drag and drop the binary file in build folder to the USB drive
Open a terminal and connect to the USB Serial Device (COMx)
just enumerated. You will see output.
This project is licensed under the MIT license.
Note, external libraries need commercial license.
- Azure RTOS licensed hardware
- cyw43-driver