Deleted the unused code.
Added tests for the Debug log routines.
Split the board specific code into a HAL API. Added a POSIX HAL and hacked everything over to it.