aboutsummaryrefslogtreecommitdiff
path: root/usr/main.c
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-25 12:14:11 -0700
committerChristian Cunningham <cc@localhost>2022-03-25 12:14:11 -0700
commit667e5e8cf02e3d5c530d76fa1921bafdd460b70c (patch)
treed34ffd9788e2aa7f8b0ab3c71f6c8323a40c654a /usr/main.c
parent75ca654c2a3a4cce24459a381311c259ce7ce8a3 (diff)
Uart and GPIO IRQ
Diffstat (limited to 'usr/main.c')
-rw-r--r--usr/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/main.c b/usr/main.c
index 955b328..85491e1 100644
--- a/usr/main.c
+++ b/usr/main.c
@@ -35,7 +35,7 @@ static struct UartInfo UART_INFO = {
};
static struct GPIOInfo gpinfo = {
- .pin = (1<<16),
+ .pin = (1<<16 | 1<<12),
.priority = 0,
};
@@ -59,4 +59,5 @@ void main(void)
subscribe_irq(GPIO_BANK_1_IRQ, gptest, &gpinfo);
add_thread(loop, 0, 8);
add_thread(consumer, 0, 3);
+ uart_string("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000");
}