Use C99 standadrs for int types, bool and NULL.
Remove license that's not actually applicable.

There are earlier references to this exact code under other licenses, so
I don't believe this one is valid.
Enable logging over UART.
Remove redundant call to mdel - mcopy can overwrite.
More logging...
Clean up code and add additional logging.
Only erase a flash sector once to avoid erasing data written non-sequentially.

Fixed #7 !!!
Style cleanup in a few spots.
Add comments around FAT directory entries to help debug.
Remove header from files that are stock code from NXP.
Clarify the licensing situation - we're all clear.
Work around flash writes not starting from the first cluster.

Fixes #8.
Define boot sector in a struct for easy of debugging.
Use uint* types instead of unsigned char/short/int.
Checkpoint commit to represent dir entries in a struct.

The current issue is that the top 2 bits of each byte in the struct seem
to be missing when I read data, i.e. we get 0x2c instead of 0x4c.
Return 0 for unset directory entries.
Fix reported size of root directory entries, everything working again.
Log all directory entries when changed.
Checkpoint commit adding a .Trashes file.

I think I need to use the extend directory entry to make sure it comes
up with the correct case, but in Linux it's just using ".trashes" -
might be that the checksum is incorrect.
Simplify check to erase user flash.