Problem with raisonance STM8 release mode

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
iwan
Posts: 2
Joined: Mon Dec 17, 2012 12:47 pm

Problem with raisonance STM8 release mode

Post 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
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Problem with raisonance STM8 release mode

Post 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
Post Reply