Mercurial > lcfOS
view test/bare/test.c @ 382:0c44e494ef58
Made lexer more generic
author | Windel Bouwman |
---|---|
date | Sun, 27 Apr 2014 12:24:21 +0200 |
parents | 61c9df5bffce |
children |
line wrap: on
line source
volatile unsigned int * const UART0DR = (unsigned int*)0x10009000; void print_uart0(const char*s) { while (*s != '\0') { *UART0DR = (unsigned int)(*s); s++; } } void c_entry() { print_uart0("Hello world"); }