add fstat, locking semaphore
add to .gitignore
add some explicit debug sections to linker script
add some boot-up diagnostic output on usart1