Seeeduino Lotus Cortex M0+: correct platformio.ini settings?

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!

Seeeduino Lotus Cortex-M0+ - Seeed Wiki says you need to select the “Seeeduino Zero” for it, which does exist. So just set board = seeed_zero.

Oh, indeed! :blush: Thank you so much.
In the meantime, I found that the Lotus board also is compatible with the Arduino Zero, so …

platform = atmelsam
board = zeroUSB
framework = arduino

… would also work.