Hi guys,
I’m wondering if there are some of you that have tried setting up a Github action that would compile an Arduino code for teensy.
I’d like to include it for the simplefoc library, since we’ve had some recent issues that could have been avoided if we would have more comprehensive testing for all the teensy versions.
I was not able to find anything online, if you guys have some ideas, let us know.
On the official teensy website there is a code that shows the command line instructions to install it with Ubuntu:
https://www.pjrc.com/teensy/td_download.html
wget https://downloads.arduino.cc/arduino-1.8.15-linux64.tar.xz
wget https://www.pjrc.com/teensy/td_154/TeensyduinoInstall.linux64
wget https://www.pjrc.com/teensy/00-teensy.rules
sudo cp 00-teensy.rules /etc/udev/rules.d/
tar -xf arduino-1.8.15-linux64.tar.xz
chmod 755 TeensyduinoInstall.linux64
./TeensyduinoInstall.linux64 --dir=arduino-1.8.15
cd arduino-1.8.15/hardware/teensy/avr/cores/teensy4
make
Do you guys have any ideas what would be the best way to integrate this?
- Should we download Arduino IDE like in the code above
- Or many platformio, would it be easier
- Maybe there are some other ways?
Thanks!