A template for building firmware for the STM32L1xx