[riot-notifications] [RIOT-OS/RIOT] Remove newlib dep lpc2387 (#10746)

Kaspar Schleiser notifications at github.com
Thu Jan 10 12:24:42 CET 2019


### Contribution description

Currently, the boot code on lpc2387 hard-codes the use of ```printf()``` and uses ```exit()```, both inducing a dependency to libc.

This PR replaces ```printf()``` with ```LOG_ERROR()``` and ```exit(1)``` with an endless loop.

### Testing procedure

Run basic tests on lpc2387.

### Issues/PRs references

<!--
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
-->

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * cpu: lpc2387: turn printf -> LOG_ERROR
  * cpu: lpc2387: use while(1){} instead of exit

-- File Changes --

    M cpu/arm7_common/bootloader.c (20)

-- Patch Links --

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

-- 
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/10746
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190110/4e49cb3b/attachment.html>


More information about the notifications mailing list