How do I create drivers in platformio? #drivers #devicetree

leo moreland

I’m trying to create a driver for a temperature sensor, as6221. I’m using the tmp117 as a guide. I’m using platformio. I have a little understanding of how cmake, Kconfig, devicetree, dts files work together in the west world.
I’ve found plenty of examples of custom drivers using west. Are there any using platformio?

There is a great template, "zephyrproject-rtos/example-application”. How would I modify this to work with platformio?