[riot-notifications] [RIOT] cpu: provide link-time random value, use as fake cpuid (#3944)

Kaspar Schleiser notifications at github.com
Wed Sep 23 17:39:23 CEST 2015


This PR makes the linker define a symbol with a random value.
Also, it makes cpuid use it if no cpuid implementation is available.

As our boards always relink when flashing, as long "make flash" is used for flashing, all boards using this get a random cpuid.

FEATURE_PERIPH_CPUID is not changed in order to differentiate this fake from "real" cpuids.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/3944

-- Commit Summary --

  * cpu: provide link-time random value, use as fake cpuid

-- File Changes --

    M Makefile.cflags (3)
    M Makefile.include (8)
    M boards/Makefile.include.msp430_common (3)
    M drivers/include/periph/cpuid.h (9)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/3944.patch
https://github.com/RIOT-OS/RIOT/pull/3944.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3944
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150923/d361542b/attachment.html>


More information about the notifications mailing list