Instructions for Seeed models including: esp32c6, rp2040, nrf52840, esp32c6 PlatformIO Support XIAO, esp32c6, PlatformIO Support XIAO, Support XIAO

How PlatformIO support XIAO

2024-08-03 — Link:GitHub - maxgerhardt/platform-raspberrypi: Raspberry Pi: development platform for · PlatformIO. Usage Instructions: In any new project, change the ...


File Info : application/pdf, 3 Pages, 215.91KB

PDF preview unavailable. Download the PDF instead.

How PlatformIO support xiao
How PlatformIO support XIAO
1xiao_esp32c6 A PR has been submitted and is waiting to be merged. You can refer to the following link for Usage Instructions: Add board support for Seeed XIAO ESP32C6 by LynnL4 · Pull Request #1380 · platformio/platform-espressif32 · GitHub
Specific Steps: After creating any project, replace the contents of the platformio.ini file in the project folder with the following:
[env:seeed_xiao_esp32c6] Platform = https://github.com/mnowak32/platformespressif32.git#boards/seeed_xiao_esp32c6
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.2 framework-arduinoespressif32-libs @ https://github.com/espressif/arduinoesp32/releases/download/3.0.2/esp32-arduino-libs-3.0.2.zip
framework = arduino
board = seeed_xiao_esp32c6
2xiao_rp2040 PlatformIO's main branch does not support other development boards. A community version has been submitted, and here's how to use it:
LinkGitHub - maxgerhardt/platform-raspberrypi: Raspberry Pi: development platform for PlatformIO
Usage Instructions: In any new project, change the platformio.ini file to the following content:[env:seeed_xiao_rp2040]
platform = GitHub - maxgerhardt/platform-raspberrypi: Raspberry Pi: development platform for PlatformIO
board = seeed_xiao_rp2040
framework = arduino
After completing the first build and compilation, you can create a seeed_xiao_rp2040 project using PlatformIO.
3xiao_nrf52840

Mainline SupportGitHub - maxgerhardt/platform-nordicnrf52: Nordic nRF52: development platform for PlatformIO
Usage Instructions After creating a new project, replace the content of the platformio.ini file in your project folder with the following: [env] platform = https://github.com/maxgerhardt/platform-nordicnrf52 framework = arduino
[env:xiaoblesense_arduinocore_mbed] board = xiaoblesense
[env:xiaoble_arduinocore_mbed] board = xiaoble
Once the initial build and compilation are complete, you can use PlatformIO to create the seeed_xiao_nrf52840 project.
Community Method Reference Articlehttps://alwint3r.medium.com/working-with-seeed-xiao-ble-sense-and-platformioide-5c4da3ab42a3
Step 1. First, create an Arduino Nano33 BLE project in PlatformIO. After creation, navigate to the
nordicnrf52/boards directory (typically found at C:\Users\"username"\.platformio\platforms\nordicnrf52) and create a file named xiaoblesense.json (you can refer to the content from the linked article). 2. Download the Seeed Studio Arduino mbed core branch for Arduino IDE from the following link: Seeed_XIAO_BLE_nRF52840_Sense261.tar.bz2. 3. Extract the downloaded file into the framework-arduino-mbed folder (usually located at C:\Users\"username"\.platformio\packages\framework-arduino-mbed). 4. In the nordicnrf52 directory created in step 1, locate the platform.py file. Find the following lines: if board in ("nano33ble", "nicla_sense_me"): self.packages["toolchain-gccarmnoneeabi"]["version"] = "~1.80201.0" self.frameworks["arduino"]["package"] = "framework-arduino-mbed" self.frameworks["arduino"]["script"] = "builder/frameworks/arduino/mbed-core/arduinocore-mbed.py"
Modify it to: if board in ("nano33ble", "nicla_sense_me", "xiaoblesense"): self.packages["tool-adafruit-nrfutil"]["optional"] = False
5. Compile the project (note that you may encounter issues related to long paths preventing header files from being found; if this occurs, search for the missing header files and copy them into the indicated folder).



References

Microsoft Word 2016 Microsoft Word 2016