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.
Hello,
I'm using Silab IDE Simplicity Studio and MCU EFM8BB31F16GB. I'm try to locate const array in code memroy space, but I've been not able to find the correct syntax to do that. Searching the topics I found:
#define _code_ far const
far const myarray[] = {1,2,3};
but, maybe it's referred to other compilers because I get this message:
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C?CLDXPTR MODULE: C:\SILICONLABS\SIMPLICITYSTUDIO\V3\DEVELOPER\TOOLCHAINS\KEIL_8051\9.53\LIB\C51BL.LIB (?C?CLDPTR)
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: ?C?CLDXPTR MODULE: C:\SILICONLABS\SIMPLICITYSTUDIO\V3\DEVELOPER\TOOLCHAINS\KEIL_8051\9.53\LIB\C51BL.LIB (?C?CLDPTR) ADDRESS: 10006FDH
Thanks for your help
http://www.keil.com/support/man/docs/c51/c51_le_code.htm
erik