Add function to detect which board a firmware is compiled for
Fix silly gigabyte malloc (instead of 1M)
Redefine teensy_mode_t as a struct (and use a pointer)
Cosmetic changes
Implement and use automatic board detection