[][src]Module teensy::boot

This module provide all the needed functions to boot the teensy. Here is the most important file of this crate. When you add this crate as a dependency it will move the bootloader to the good section. Enable all the port, the clock at 72MHz and disable the watchdog and then call your main. Right now if you don't want something you'll need to either disable it in your main or edit this crate.



Flash configuration Controls how the flash can be read or written. The Teensy bootloader makes assumptions about these values, so we will use the same set of bytes as the Teensy Arduino tooling. Specifically, we disable all flash security through the FSEC field, and tell the processor to boot into high-power mode with FOPT.


This is the Interrupt Descriptor Table