add standard place to put pin initialization so that the pins are safe in the bootloader based on your hardware
move bootwrite function to a known locatio to ease bootloader updated bootloaders