Do you mean in assembly? If you just mean C, then if you’re already in embedded then I’d say a few years ago it was easy. These days it’s super easy - tools like STM32CubeMX will allow you to get even custom hardware up and running in no time.
It will even spit out multiple project types - everything from ARM Keil/MDK/uVision to just a simple makefile.