/media/data/Projects/arm/uart/main.c:39: undefined reference to `__aeabi_uidiv'
Answers
The ARM family of CPUs does not have a native integer division
instruction. So, division needs to be implemented by a library function.
GCC knows this, and creates a reference to (in your case) __aeabi_uidiv
(for unsigned int
division).
You will need to link with an appropriate runtime support library that contains this function.