Legohead259 / OlympianESC-Firmware

Firmware for a novel Micro-ROS based electronic speed controller (ESC)
MIT License
0 stars 0 forks source link

[Feature Request]: Create a board definition for the Sparkfun IOT Brushless Driver #15

Closed Legohead259 closed 9 months ago

Legohead259 commented 9 months ago

Is your feature request related to a problem? Please describe. Several setup functions are platform specific. It would be nice to have them in specific board definitions rather than the main script with a bunch of definition guards

Describe the solution you'd like Create boards and variants for any test hardware. Similar to what has been done with Thetis

Describe alternatives you've considered Definition guards. E.g.

#ifdef ARDUINO_ARCH_ESP32 
// ESP32-specific set up code here
#endif // ARDUINO_ARCH_ESP32 

#ifdef RASPBERRY_PI_RP2040
// RP2040-specific set up code here
#endif // RASPBERRY_PI_RP2040

Additional context See Thetis Firmware for example