• Const data location (again)
    Hi, Having read various articles on the location of const data within a bank switched application, it appears that the compiler/linker will, by default, place all const data from a particular module...
  • Initialized const at fixed location?
    Hi! I've got a piece of source in my current project which represents a balanced binary tree, built from a load of preinitialized structs in C. All that needs to be visible from the "outside" is...
  • Const data location?
    This is the map file in the keil's examples directory, but i have a question. Does the const data in CODE Memory locate in each bank(1-3)?Why? LINK MAP OF MODULE: Bank_ex1 (C_ROOT) TYPE BASE...
  • code const illegal initialization
    I'm trying to put 2 config chars into ROM (user makes a change which the ROM remembers during power down). However on compiling I get: 'error C142: illegal initialization' and then 'warning C34: ...
  • Relocatable code with const data
    I need to have a relocatable code with const data referenced by the code. Can anybody help on how the code / linker commands be organised