Got it done. I figured I'd share my results so others can use it. Thanks for your time, everyone.
I used this ARM toolchain to build my project, and the texane/stlink library, which comes with the
./st-flash tool, to flash the binary to my STM32L1. While texane/stlink comes with GDB, I found I could get the building+flashing process done without it.
My Makefile ended up looking like this. It isn't very pretty or abstract, but it gets the job done.
In which:
|
ref:
https://electronics.stackexchange.com/questions/95183/move-embedded-programming-from-keil-to-linux