The linker-script tag has no wiki summary.
2
votes
3answers
301 views
Make linker use bank 0 in relocatable mode
I'm tryin to build assembly project with MPASM/MPLINK for PIC16F628A. Microchip advice that it's better to stay on bank 0 and switch whenever you want different bank, and then get back to bank 0 (to ...
3
votes
1answer
172 views
Easiest way to get rid of __clz_tab in winavr compiled code?
I've ported a program from the arduino environment to a makefile build using winavr, which, in turn, is based on avr-gcc (just like arduino).
However, my program started crashing, and after some ...
2
votes
1answer
609 views
Porting a linker script from STM32F1 to STM32F2
I am trying to port PyMite from STM32F1 to STM32F2. One of the files that I am assuming must be changed is called stm32f10x.ld. I have looked around for an ...
4
votes
2answers
354 views
Moving the code and interrupt locations in Arduino
I need to be able to choose between two Arduino apps running on an atmega 1280 (megaavr) at boot time. Therefore I need to move one of those apps to a different location in program memory, and I need ...
-1
votes
1answer
379 views
How do you write your own linker script files? Or do you use IDE's? [closed]
I asked a similar question on StackOverflow, but I'm curious what people over here do. If you do write your own, what's your process? How do you verify? That your script is adequate?
4
votes
1answer
368 views
Can't get special PIC32 linker section to show up in output file
I am defining a special section for some data that I want to show up at the beginning of my PIC32 binary image, as follows in the SECTIONS part of my elf32pic32mx.ld file:
...