Building for and debugging an ARM Cortex-M

I recently bought an ST NUCLEO-L432KC , a small dev board with an STM32L432KC , a Cortex-M4 micro-controller designed for ultra-low-power applications. 1 These STM32 MCUs come with a proprietary tool for code generation called STM32CubeMX, unfortunately my experience with it was very poor so to speak: I couldn’t even generate a functioning base project for this board. 2 Since ST doesn’t provide…