Skip to main content

XIAO RP2350 with PlatformIO

PlatformIO Introduce

PlatformIO is a development platform that integrates many types of development boards and has good scalability. If the platform does not have the type you need, you can manually add the type of development board yourself. The code you write on Arduino can use it, just add the corresponding library.

In this wiki, we wiil introduce how to install and run the sample code in PlatformIO.

Use PlatformIO For XIAO RP2350

Setup 1 . Install PlatformIO in official website

if you have not install software of PlatformIO , you can click on the link above.

Setup 2 . Create any project in PlatformIO

Because the platform already has our XIAO ESP32S3 and XIAO ESP32C3 development board options, we can choose one of them to create our files. Of course, other files are also fine, it doesn't matter. The project name can also be chosen arbitrarily.

Operation oneOperation two
tip

Before this, I had already installed the XIAO RP2350 installation package, so you can see that the image in operation two has the option for XIAO RP2350, but you don't have it when you perform the operation.

Setup 3 . Modify platformio.ini file

When you successfully create the PlatformIO file, there will be many files appearing in the left column. We can see a file named platform.ini. Next, we need to replace the contents inside it.

Operation three

You need to copy the following code and replace the content in platform.ini file.

[env:seeed_xiao_rp2350]
platform = https://github.com/Seeed-Studio/platform-seeedboards.git
board = seeed-xiao-rp2350
framework = arduino
tip

Remember to save the file by pressing Ctrl + S; it will start loading.

Setup 4 . Compile and Burn

Operation four

In the end, if you see the same result as in the picture above, it means you have successfully added the XIAO RP2350 Development Board. When you create a project again, you will see the XIAO RP2350 option available.

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...