Autodetect microcontroller type in flash script.