I know I'm setting myself up for an onslaught of opinions, but here's the scoop:
My client's project requires a SAMD21 with an SD card + FATFS driving a rather large color LCD touch screen. I'm trying to decide if I should write the whole thing using the Arduino framework or using Atmel START / ASF4.
On one hand, I'm very comfortable with the Atmel START / ASF4 environment. On the other hand, the touch screen vendor has provided an Arduino-based driver with example code. This is a big help because it's essentially the only legible documentation for the device.
To go the ASF4 route, I'd have to:
* port the touch screen drivers from Arduino to ASF4
* find or write the SD Card / FATFS system for the SAMD21 (I am surprised that Atmel START doesn't support it)
To go the Arduino route, I'd have to:
* find or write the SD Card / FATFS system for Arduino (I suspect that already exists?)
At the end of the day, I'm agnostic: I just want a robust and maintainable body of code.
So (I say as I don my asbestos flame-resistant suit), which approach would you recommend, and why?