In part 3 we integrated the reduced standard C library (newlib-nano) and set up printf()to output characters over UART. Up until now, we have built the project using make and we have configured the peripherals with direct register access. This works perfectly fine, but as our project grows, we may benefit from using a more…