Skip to content

TiejunMS/Azure-RTOS-on-Raspberry-Pi-Pico-RP2040

 
 

Repository files navigation

Azure RTOS on Raspberry Pi Pico W

This repository demonstrates Azure RTOS on Raspberry Pi Pico W.

Contents

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.

Prerequisites

  1. Raspberry Pi Pico W board.

  2. A terminal emulator (such as Putty or Tera Term to display the output.

  3. Codespaces(recommended) or VS Code + Dev Container.

Build

Codespaces

  1. Go to root of this repository.
  2. Choose Code | Open with Codespaces, to create and launch your Codespaces environment.
  3. Open /.vscode/settings.json. Update WIFI_SSID and WIFI_PASSWORD.
  4. To run demo_netx/demo_azure_iot sample, follow readme in this project to update configuration.
  5. Press F7 to build the application.

    Choose the GCC 9.2.1 arm-non-eabi CMake kit if prompted.

  6. Download binary file from build folder. See more details in readme of each project.

Run

  1. 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.

  2. Drag and drop the binary file in build folder to the USB drive

Observe the output

Open a terminal and connect to the USB Serial Device (COMx) just enumerated. You will see output.

License

This project is licensed under the MIT license.

Note, external libraries need commercial license.

About

Azure RTOS on Raspberry Pi Pico W

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.1%
  • Other 1.9%