Strings in RAM and Flash and transfer them to function
Hi
How can I put strings in fash memory in gcc compiler so that there is no copy in both memories. In 8bit AVR we need to use PROGMEM . How it is in STM32 gcc?
The secong thing. If i have for example such a function void MyFunction( char *Stri(ng); which accepts pointers to string and if i call this function with this parameter MyFunction("String to Pass"); Where this string beeing a parameter of this function will be placed? In Falsh, in RAM or mybe it will be two copies in Ram and Flash?