                    README.TXT
                    ==========

Raisonance S.A.S, February 15, 2010.

This archive contains the working project for the STM8S-Discovery touch sensing
application. It is identical to the project released by ST under the "um0833
Adjustable LED blinking example" reference, and has been extended to provide
full support for the Raisonance compiler toolchain under both the Ride7 and
STVD environments.

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).
