user37919: I want to run an arduino board at a slower - but more accurate - clock speed. What (if anything) needs to be changed in the arduino code/libraries in order to achieve this? Normally the boards I use run at 16MHz, but I wish to derive a 10MHz clock from a GPS timing module and run the ATMEL processor off the 10MHz timing clock.

user23841: You have to change F_CPU only - You can add new board into the boards.txt with correct clock speed.
EDIT: Aparently millis counter will be drifting much more then expected due to "rounding" errors.
The bootloader on the other side needs to be recompiled with correct F_CPU and  reflashed, if you want it working at the same baud rate (plus it's possible to change fuses to use external clock source instead of crystal). Otherwise you have to try reduced speed (also configured in board config).
You can use MCUdude/MiniCore as inspiration. It supports many clock speeds (but 10MHz doesn't) 

37919: <p>I want to run an arduino board at a slower - but more accurate - clock speed. What (if anything) needs to be changed in the arduino code/libraries in order to achieve this? Normally the boards I use run at 16MHz, but I wish to derive a 10MHz clock from a GPS timing module and run the ATMEL processor off the 10MHz timing clock.</p>
 23841: <p>You have to change <code>F_CPU</code> only - You can add new board into the boards.txt with correct clock speed.
EDIT: Aparently millis counter will be drifting much more then expected due to "rounding" errors.</p>

<p>The bootloader on the other side needs to be recompiled with correct <code>F_CPU</code> and  reflashed, if you want it working at the same baud rate (plus it's possible to change fuses to use external clock source instead of crystal). Otherwise you have to try reduced speed (also configured in board config).</p>

<p>You can use <a href="https://github.com/MCUdude/MiniCore" rel="nofollow noreferrer">MCUdude/MiniCore</a> as inspiration. It supports many clock speeds (but 10MHz doesn't) </p>
