picorv32/scripts/vivado/firmware.c

15 lines
152 B
C
Raw Normal View History

2015-07-08 20:48:14 -04:00
void putc(char c)
{
*(volatile char*)0x10000000 = c;
}
void puts(const char *s)
{
while (*s) putc(*s++);
}
void main()
{
puts("Hello World!\n");
}