[riot-notifications] [RIOT-OS/RIOT] cpu/atmega_common: remove linkerscript duplication (#11537)

benpicco notifications at github.com
Fri May 17 15:21:51 CEST 2019


It should just behave as before - the common code was copied verbatim among all Atmega CPUs.
Actually I just deleted the common code in one Implementation and applied the resulting patch on each other sibling CPU.

Interestingly enough, those linkerscripts are [only used](https://github.com/RIOT-OS/RIOT/blob/master/makefiles/arch/atmega.inc.mk#L41) if the internal linkerscript (outputted by `avr-ld --verbose`) does not contain `__TEXT_REGION_LENGTH__`.

This seems to be the case at least on the one shipped by Ubuntu (avr-ld 2.26.20160125), so to test it I had to delete that conditional.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11537#issuecomment-493451398
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190517/3e82e016/attachment-0001.html>


More information about the notifications mailing list