1
0
mirror of https://github.com/j-core/j-core-ice40.git synced 2026-04-30 21:38:18 +00:00

First synthesys for ICE40 UP5k with everything to blink LEDs

This commit is contained in:
J
2019-03-04 01:17:33 -05:00
parent 4a6746a0b1
commit b1176ec9aa
9 changed files with 1480 additions and 0 deletions

View File

@@ -82,6 +82,7 @@ led(int v)
void
main_sh (void)
{
volatile int i;
led(0x40);
uart_set_baudrate ();
@@ -101,4 +102,11 @@ main_sh (void)
putstr ("GDB Stub for HS-2J0 SH2 ROM\n");
putstr (version_string);
led(0x50);
for (;;) {
for (i=0; i<10; i++) {}
led(0x55);
for (i=0; i<10; i++) {}
led(0xaa);
}
}