Repository navigation
v2.3.0
- Reduce flash usage by roughly 0.6 to 3 KB on AVR (depending on which features a sketch uses) with no change to the public API
- Remove heap allocation (new/delete) when writing PLL, Multisynth, and VCXO registers
- Fix no output after a Multisynth leaves divide-by-4 mode (above 150 MHz) without a PLL reset (#65)
- Re-plan the PLL when a frequency of 100 MHz or less would need a Multisynth ratio below 8
- Move an output of 100 MHz or less to the other PLL when its PLL is held by an output above 100 MHz
- Issue only one PLL reset per re-plan
Flash on ATmega328P (Arduino Uno, arduino-cli): a basic CLK0/CLK1 sketch went from 12138 to 9684 bytes, and a sketch using every public method from 13268 to 12692 bytes. A larger test program went from 15464 to 13516 bytes with the size refactor alone.
All changes were verified on hardware. See #105 for full details, verification, and known limitations.