February 15, 2010 - 10:54am
Raisonance Support Team |
Hi all,
Those using the STM8S-Discovery will be pleased that we ported the Touch-Sensing ST example to Raisonance. The download is available from ftp://www.raisonance.com/pub/STM8/STM8S-Discovery_FULL.zip (1MB).
The example is basically the same as the ST example "um0833-Adjustable LED blinking example", with the following changes:
- The project is portable between Cosmic and Raisonance Compiler toolchains
- Uses the TINY macro to define variables in zero page.
- Uses the __CONST macro to define global variables in flash (read-only) memory
space.
- The absolute variable TIMACQ_CNTR is declared in a compiler-specific way,
depending on the preprocessor macros _RAISONANCE_ or _COSMIC_.
- The TSL_Timer_Adjust() interrupt 23 handler is declared in a compiler-specific
way.
- The assembler routines necessary for the Touch Sensing library have been
written in the STM8_TSL_RC_routines.asm (available from the Touch Sensing
library sources directory).
Enjoy,
Bruno
|
Link is dead
ftp://www.raisonance.com/pub/STM8/STM8S-Discovery_FULL.zip
Can someone provide new link for the same
New link is:
ftp://www.raisonance.com/pub/Support/RKit-STM8/STM8S-Discovery_example_for_Raisonance_FULL.zip
Raisonance Support Team