We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I can not get through with ROM-based constants.
When I put a definition:
const char txtParcer_OK[] = "ok! this is sample message ...";
the compiler resides the message in RAM area. I need ROM area.
I use µVision V4.20.03.0 Tool Version Numbers: Toolchain: MDK-ARM Standard Version: 4.20 Toolchain Path: BIN40\ C Compiler: Armcc.Exe V4.1.0.644 Assembler: Armasm.Exe V4.1.0.644 Linker/Locator: ArmLink.Exe V4.1.0.644 Librarian: ArmAr.Exe V4.1.0.644 Hex Converter: FromElf.Exe V4.1.0.644 CPU DLL: SARMCM3.DLL V4.20 Dialog DLL: DARMCM1.DLL V1.7.0.0 Target DLL: Bin\Nu_Link.dll V1.18 Dialog DLL: TARMCM1.DLL V1.06
Best regards, Alex.
Thanks! I will try. As for the project settings - it is a copy of Nuvoton's sample projects' ones. I just have copied all the settings, one by one, and whole project file.
I am also very surprised, and think, that there is some small error somewhere in my files, so it worth to try new project. Just one string.
Alex.