Hi All, it's been a few years since I last posted here...
Good to see some embedded tips, especially related to using hardware
timers compared to the more common spinner blocking delays.
Lately I have been experimenting with using a polled hardware timer to
more closely match the delay times of a tethered forth in emulation mode
compared to a binary image on the target. Why polled? because the emulator
cannot use interrupts.
In actual use the emulator, (Mecrisp-Stellaris on a STM32F407 Discovery
Board running Mecrisp-Across.fs) can be up to several times slower than
the MSP430 Target running the final compiled binary.
https://mecrisp-across-folkdoc.sourceforge.io
--
To me, good Embedded Forth code is all about readability, traceability and
maintainability with respect to the *hardware*.
Maintainer:
https://mecrisp-stellaris-folkdoc.sourceforge.io and https://
mecrisp-across-folkdoc.sourceforge.io