Closed scdwyer closed 12 years ago
@scdwyer as well as people using not only Linux itself, but also virtual machines, it would be useful to have a version that has max stability under both systems. I agree that using external clock should give also more stability, but as I already mentioned, I've already had some problems with 72MHz under virtual Ubuntu. And the most important - using internal clock gives independence from the user clock choice, so it makes a Luftboot in that way an universal DFU bootloader, that could be used not only on Lisa. And I think the flexibility is the main purpose of the Paparazzi project. So imho, internal clock would be a better choice.
Either the external clock (12MHz PLL to 72MHz) or internal oscillator (8MHz PLL to 48MHz) can be selected at build time. See README.
@softsr, after some consideration, I think your method of setting a flag to allow a full reset is a better solution. I added several features and a few extra comments. Regarding the clock selection, really the external clock should be more stable and reliable, especially for timing sensitive USB operation. However, one can now select internal vs external clock at build time (the default is still external). Any thoughts?
@esden, could you take a quick look?