platformio / platform-atmelsam

Atmel SAM: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelsam
Apache License 2.0
82 stars 108 forks source link

Add support for Seeeduino XIAO board #102

Closed dawidsabat closed 4 years ago

dawidsabat commented 4 years ago

I would like to ask to add support for Seeeduino XIAO board.

MCU: SAMD21G18A-MU (Atmel)

MCU Datasheet PDF: https://github.com/SeeedDocument/Seeeduino-XIAO/raw/master/res/ATSAMD21G18A-MU-Datasheet.pdf

Link to board specs: http://wiki.seeedstudio.com/Seeeduino-XIAO/

Board connections schematics: https://github.com/SeeedDocument/Seeeduino-XIAO/raw/master/res/Seeeduino-XIAO-v1.0-SCH-191112.pdf

JSON file used in Arduino Studio in Additional Boards Manager URLs: https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json

Output of `pio device list':

C:\Users\Dawid>pio device list
COM3
----
Hardware ID: USB VID:PID=2886:802F SER=7
Description: Urządzenie szeregowe USB (COM3) <-- means "USB serial device"

Thanks for help

ptrm commented 4 years ago

In the Additional Board Manager json it is listed along already supported Seeeduino LoRaWAN which has the same specs mcu-wise. The pinout is obviously different, but otherwise the similarity possibly can speed up the process of supporting the XIAO.

valeros commented 4 years ago

Resolved in https://github.com/platformio/platform-atmelsam/commit/0ed89cea0a96ce960279e34c9f4fb763e728fbcd .You can try it in the upstream version of the platform https://docs.platformio.org/en/latest/platforms/atmelsam.html#stable-and-upstream-versions