I am trying to set platformio up for the Seeeduino Lotus Cortex M0+ dev board. It has a SAMD21 MCU, and I can not find a fitting board setting in the PIO “new project” dialog.
What worked to upload, but may be wrong is using “board = seeed_xiao” in platformio.ini.
[env:seeed_xiao] ; I know this is not correct
platform = atmelsam
board = seeed_xiao
framework = arduino
Above setting gives problems:
- I2C not working (i2c scanner just dies)
- pin assignment just plainly wrong (pin 6 mapped to a2 output on the board, for example)
What would be the correct settings for the platformio.ini file? I am happy for any hints. Thank you!