comparison 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
comparison
equal deleted inserted replaced
323:e9fe6988497c 324:ed6d0adaa626
1
2 volatile unsigned int * const UART0DR = (unsigned int*)0x101f1000;
3
4 void print_uart0(const char*s)
5 {
6 while (*s != '\0')
7 {
8 *UART0DR = (unsigned int)(*s);
9 s++;
10 }
11 }
12
13 void c_entry()
14 {
15 print_uart0("Hello world");
16 }