iar for stm8

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

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
nupagachi85
Posts: 8
Joined: Tue Sep 25, 2012 4:58 am

iar for stm8

Post by nupagachi85 »

Hi all,

Does everybody have examples chibios base on IAR of stm8?

Thanks and best regards
Thinh
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: iar for stm8

Post by Giovanni »

Hi, there isn't a demo yet, the IAR port is on hold because during development I hit a serious compiler bug. The compiler gives an internal error and fails when compiling with optimisations. Because of the the STM8 IAR code is not yet "official".

What compiler version are you using?

Giovanni
nupagachi85
Posts: 8
Joined: Tue Sep 25, 2012 4:58 am

Re: iar for stm8

Post by nupagachi85 »

Hi Giovanni,

I am using iar V1.3. Before, I used cosmic compiler, but now cosmit unlimited to 8k, so I want to change to iar.

Thanks
Thinh
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: iar for stm8

Post by Giovanni »

The version I used is 1.31 and had this problem, I am waiting for IAR to fix it and release a new version before doing another attempt.

In the meanwhile you can try the Raisonance compiler, it has a 32KB limit but it is unlimited in time. The generated code is not great but correct.

Giovanni
nupagachi85
Posts: 8
Joined: Tue Sep 25, 2012 4:58 am

Re: iar for stm8

Post by nupagachi85 »

Thanks Giovanni, wait good news from you.
Post Reply