[riot-notifications] [RIOT-OS/RIOT] cpu/kinetis: fix values stored in ROM_LEN/RAM_LEN variables (#10888)

Gaƫtan Harter notifications at github.com
Fri Feb 22 16:13:28 CET 2019


And even more, now that I had test to report. The `_rom_length` linker symbol is the same with my proposed solution:

Setup:

```
git clean -xdf examples/hello-world/; for board in $(git grep 'CPU = kinetis' | sed 's|boards/||;s|/.*||'); do echo ${board}; BOARD=${board} make --no-print-directory -C examples/hello-world/; done
```

The output is the same with the `$(KINETIS_ROMSIZE)K`

```
for board in $(git grep 'CPU = kinetis' | sed 's|boards/||;s|/.*||'); do echo ${board}; arm-none-eabi-readelf --symbols examples/hello-world/bin/${board}/hello-world.elf | grep _rom_length | awk '{print $2}'; done | tee rom_length_output
frdm-k22f
00080000
frdm-k64f
00100000
frdm-kw41z
00080000
mulle
00080000
pba-d-01-kw2x
00040000
phynode-kw41z
00080000
teensy31
00040000
usb-kw41z
00080000
```

-- 
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/10888#issuecomment-466430436
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190222/19b8a747/attachment.html>


More information about the notifications mailing list