Mercurial > lcfOS
view test/bare/test.c @ 326:2fa27c44e3c9
Changed hasbang
author | Windel Bouwman |
---|---|
date | Sat, 01 Feb 2014 16:54:33 +0100 |
parents | ed6d0adaa626 |
children | 61c9df5bffce |
line wrap: on
line source
volatile unsigned int * const UART0DR = (unsigned int*)0x101f1000; void print_uart0(const char*s) { while (*s != '\0') { *UART0DR = (unsigned int)(*s); s++; } } void c_entry() { print_uart0("Hello world"); }