zephyrproject-rtos / gsoc-2022-arduino-core

Arduino Core Zephyr Module (GSoC 2022 Project)
Apache License 2.0
43 stars 11 forks source link

Builds fail if variant does not have any GPIOs #90

Open DhruvaG2000 opened 8 months ago

DhruvaG2000 commented 8 months ago

Add conditional compilation for all relevant GPIO implementations, so that in the absence of GPIOs the builds don't just fail. This will especially help in adding variants like am62x_m4 that don't yet have GPIO support.

DhruvaG2000 commented 8 months ago

As part of cleanup, I think each variant should have it's own config based on what features it is supporting and we should obey that config