• Constant Strings
    I have several constant strings that I defined as follows: const u8 *Stringname = "StringContent"; At some stage if I add one more string, the uC stops working. I have more than enough code memory...
  • Constant Strings
    I have several constant strings that I defined as follows: const u8 *Stringname = "StringContent"; At some stage if I add one more string, the uC stops working. I have more than enough code memory...
  • string constants in XDATA
    Hi, In an attempt to free some code space, I'm looking at a couple of options; a) preventing the compiler from automatically placing all string constants in the common code area (regardless of in...
  • string constants in XDATA
    Hi, In an attempt to free some code space, I'm looking at a couple of options; a) preventing the compiler from automatically placing all string constants in the common code area (regardless of in...
  • How to make a pointer point to a constant string in RAM
    I'm using Keil3 for arm. 1\I wanna change the string's content,eg from "2007" to "2008" 2\I wanna a pointer ,not a array,to point to the string. But when I do as follows: char *ptr = "2007"; ptr...