Page 1 of 1

Problem with raisonance STM8 release mode

Posted: Mon Dec 17, 2012 1:09 pm
by iwan
Dear all,

i am trying to use ChibiOS on the STM8L (awsome chip, ultra-low power, 1MS ADC, 2x 12b DAC, <1$). We use the STM8 for a low power, cost sensitive design.
I use ST Visual Develop 4.3.2, and the 32 kByte code limited version of RIDE7.4 compiler (RKit-STM8_2.44.12.0199)

The ChibiOS example for the STM8 (demos\STM8L-STM8L152-DISCOVERY-STVD\)
compiles in Debug mode, but the generated HEX file is 75kByte. In Release mode, it compiles fine, but stop with an error message "Program exceeds the demo CodeCompressor limitations."

I wonder, how do you test the STM8 release of the ChibiOS? Any way how to use it with the free (32kByte limited) Version of Reisonance?

Thanks for any help,
Iwan

Re: Problem with raisonance STM8 release mode

Posted: Mon Dec 17, 2012 1:28 pm
by Giovanni
Hi,

the rkit version I am using is not the latest one, it is possible you have to tweak the project to disable this code compressor option, try looking between optimization options. You could ask for hints from the Raisonance forum, they answer quickly usually.

BTW, it is possible that STVD does not expose all compiler options, try looking into Ride7 too.

Giovanni