After a few months of working on bare metal STM32 with just the CMSIS headers, the reference manual and the datasheet, I've hit the point where I'm not sure what the next step looks like. I wouldn't call myself a master of it, but I've written my own drivers for the main peripherals, GPIO, UART, SysTick, timers with PWM, input capture, output compare and encoders, plus ADC, SPI, DMA and EXTI. I've even gotten them talking to actual devices and I use the whole setup in my engineering club.
I'm not saying I'm done with bare metal, but I keep wondering where all this acutally leads. I know embedded C++ is on the list, and then an RTOS after that, but I can see myself getting a bit lost in between. Is collecting peripherals and writing drivers for them really the whole game, or is there something I should be aiming at next?
Bootloaders have caught my eye lately, though so far that's mostly reading and research, nothing actually implemented. I'd rather hear from people who've been further down this road than keep guessing, since I figure I'll need to branch out into other parts of embedded sooner or later. So where did your own driver work take you next?