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,all friends:
I declared a constant arry :
unsigned char index_htm[1108] = { 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0d, 0x0a, 0x3c, 0x6d, 0x65, 0x74, 0x61, 0x20, 0x68, 0x74, 0x74, 0x70, 0x2d, 0x65, 0x71, 0x75, 0x69, 0x76, 0x3d, 0x22,........}
I want IDE place the constant index_htm[] in flash rom, how can I do?
can I use "const unsigned char index_htm[1108] =..."?
My chip is lpc2378.
Its my IDE below: /*****************************************************/ IDE-Version: Keil uVision3 V3.80
Tool Version Numbers: Toolchain: RealView MDK-ARM Version: 3.50 Toolchain Path: BIN40\ C Compiler: Armcc.Exe V4.0.0.524 Assembler: Armasm.Exe V4.0.0.524 Linker/Locator: ArmLink.Exe V4.0.0.524 Librarian: ArmAr.Exe V4.0.0.524 Hex Converter: FromElf.Exe V4.0.0.524 CPU DLL: SARM.DLL V3.50 Dialog DLL: DARMP.DLL V1.44 Target DLL: ..\TKScope\UL2ARM_TKSCP_DRV_ARM_for_uV3.dll V1.37 Dialog DLL: TARMP.DLL V1.44
/***************************************************/
I am confused, help me ,pls.
I am sorry My bad english .
I am waiting for ur answers.
or just search the map file for "index_htm"