[riot-notifications] [RIOT] sys: remove uart0 (#3164)

Kaspar Schleiser notifications at github.com
Thu Jun 4 14:21:42 CEST 2015


uart0 is horrible legacy code. This PR tries to remove all traces of it. (depends on #3161).

I'm trying to create minimal periph/uart implementations based on existing uart0 driver code, and switch to using newlib syscalls for IO handling.

Adapted (checked ones are tested):
- [x] msba2
- [ ] avsextrem
- [ ] pttu

in progress
- msb-430

missing:
- arduino-mega2560
- redbee-econotag
- telosb
- wsn430
- z1
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * sys: factor stdio uart functions out of newlib's syscalls
  * sys: remove uart0
  * msba2: add periph/uart driver
  * cpu: arm7_common: switch to newlib module
  * cpu: lpc2387: switch to newlib

-- File Changes --

    M Makefile.dep (4)
    M boards/avsextrem/include/periph_conf.h (6)
    M boards/msba2-common/Makefile (2)
    A boards/msba2-common/periph/Makefile (1)
    R boards/msba2-common/periph/uart.c (89)
    M boards/msba2/include/periph_conf.h (6)
    M boards/pttu/include/periph_conf.h (6)
    M cpu/arm7_common/Makefile.include (2)
    M cpu/arm7_common/bootloader.c (8)
    D cpu/arm7_common/syscalls.c (242)
    M cpu/lpc2387/Makefile.include (2)
    M cpu/lpc2387/ldscripts/lpc2387.ld (4)
    D cpu/lpc2387/lpc_syscalls.c (68)
    M examples/default/Makefile (1)
    M examples/default/main.c (6)
    M sys/auto_init/auto_init.c (8)
    D sys/include/board_uart0.h (74)
    A sys/include/uart_stdio.h (61)
    M sys/newlib/syscalls.c (63)
    M sys/posix/fd.c (16)
    D sys/uart0/uart0.c (87)
    A sys/uart_stdio/Makefile (1)
    A sys/uart_stdio/uart_stdio.c (98)

-- Patch Links --

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

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


More information about the notifications mailing list