• 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 (XDATA)
    Hi All, Target : ST Micro uPSD3354V I have a number of (implicit) strings in my application that I want to move from CODE space to XADATA as I am approaching the 64KB threshold, and I do not...
  • string constant in macro
    Hello, In my C code, I have: #define message message("Start\n"); When I look at the SRC file, I see: RSEG ?CO?MAIN ?SC_0: DB 'S' ,'t' ,'a' ,'r' ,'t' ,00AH,000H ; message("Start\n");...
  • String initialization in xdata
    Hi I am trying to save some code sapce I used the STRING (XDATA) direcitve to move my constant string to xdata ,I also set my XCONST segment to 0x8000-0x8ffff. I notice that my code size is smaller...
  • Generate Constant Variables in XDATA
    Hello, did everyone know how i can locate my const variables in XDATA memory. I want to generate the ?XC? const xdata memory prefix. Example : const xdata char test[]="asdc"; This data should...