[En-Nut-Discussion] Timer resolution....

Harald Kipp harald.kipp at egnite.de
Fri Aug 22 17:30:38 CEST 2003


>
>I don't now why this isn't enabled by default, anyway... :-(
>
>
> > See file makedefs.
> > uncomment #DEFS = -DNUT_CPU_FREQ=14745600

When this is disabled, Nut/OS uses the 32kHz clock crystal and
automatically adapts to it's main crystal frequency. For example,
setting the UART baudrate to 9600 will work with the same binary
code on a 3.6864 MHz as well as 14.7456 MHz system.

Harald




More information about the En-Nut-Discussion mailing list