Source from the Microcontrollers Book

The Sources

 

Chapter Description File for download
Startup Main with LED-blink and Div-By-Zero main.c
FPU Main with Floating and Fixed Point main.c
Patterns Static Structs and Unaligned Trap main.c
FreeRTOS Sample with Queues, Tasks, Semaphore and Interrupt main.c