view kernel/arch/vexpressA9.c3 @ 373:fc1b89b09896

Added run test.py
author Windel Bouwman
date Fri, 21 Mar 2014 14:32:54 +0100
parents 577ed7fb3fe4
children 6df89163e114
line wrap: on
line source

module arch;
import io;


function void init()
{
    // putc(65)
}

function void putc(int c)
{
    var int *UART0DR;
    UART0DR = cast<int*>(0x10009000); // UART0 DR register
    *UART0DR = c;
}

function void halt()
{
}