cancel
Showing results for 
Search instead for 
Did you mean: 

From AVR (AVR-GCC) to STM8 with STM8S-Discovery

artvolk
Associate II
Posted on May 05, 2011 at 16:31

Good day!

I'm writing my first project with STM8. Here are a couple of questions:

- AVR-GCC has a convenient attribute PROGMEM (http://www.nongnu.org/avr-libc/user-manual/pgmspace.html) to store data (for example big arrays) in flash not in RAM and read data from flash directly. Does any of the Cosmic/Raisonance/IAR has something similar for STM8?

- AVR-GCC has different types of sprintf (optimized integer only (small code) and with float numbers support (big code)) does any of the Cosmic/Raisonance/IAR has this?

- Is this possible to just program (not debug) MCU from STVD without running STVP? May be with shortcut?

- Is there any simple way to check size of program in STVD without looking to .lst compiler output?

Thanks in advance!

0 REPLIES 0