Hi,
In the attached examples files i have a section for USB descriptors: usb_descr_area which i map to 0x200 (see dscr.a51)
I also tell the linker i want my code to start at 0x200...
Even though this is stupid the linker does not generate an error and report in the map file the usb_descr_area being at 0x200 as well as the HOME area....
Actually the usb_descr_area is not shown as starting at 0x200 but the labels inside this file like _DeviceDescr are...
Regards,
Nicolas.
example test files
Logged In: YES
user_id=888171
Originator: NO
This behaviour is documented in the manual for SDCC 2.6.0. The latest snapshot of SDCC 2.6.4 however does allocate for absolutely placed variables in code space.