This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

options for file source.c

While working on a project we can add many groups under it and under every group we can add lot of file. For example under project LPC2378 (C:\Keil\ARM\Boards\Keil\MCB2300\Blinky) there are groups named Startup Code, System Calls, Source Code, Documentation. Again under Startup Code there is startup file i.e. LPC2300.s and under System Calls there are Retarget.c and Serial.c files and under Source Code there are Blinky.c, LCD_4bit.c etc.,

If I right click on Blinky.c file and click on Options for file Blinky.c, under Properties tab there is Memory assignment section where there are options for Code/Const, Zero Initialized Data, Other Data . If I select different selections like ROM1, IRAM1, IRAM2 after defining their range for Code, Zero Initialized Data, Other Data, how will it effect my program? Will the memory for that particular file will be stored as per the selection? Please let me know

Thanks in advance

0