albertaloop / T_SWE_2019_2020

Software for AlbertaLoop's first-generation pod.
MIT License
3 stars 1 forks source link

CI: Init automated build #40

Closed mbardwell closed 2 years ago

mbardwell commented 2 years ago

Summary

Init automated build. Builds the hex file for a CANBus test program using a pio container. This will be useful when we add programs that we want others to use. Instead of saying "build this on your computer" we can say "go to this link, download the file and install it".

The artifact is poorly named. It should be <program name>, not something as generic as "firmware". Will address later.

mentions #14

Test

  1. Downloaded the artifact from the action page
  2. unzipped and scp ~/Downloads/firmware.hex abloop@<my beaglebone IP>:/tmp/
  3. ssh into beaglebone ssh abloop@<my beaglebone IP>
  4. upload firmware abloop$ teensy /tmp/firmware.hex
  5. check printout picocom -b 115200 /dev/serial/by-id/usb-Teensyduino_USB_Serial_8601650-if00