Mercurial > lcfOS
view test/bare/test.c @ 324:ed6d0adaa626
Added qemu arm emulated image
author | Windel Bouwman |
---|---|
date | Fri, 31 Jan 2014 12:45:17 +0100 |
parents | |
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"); }