summaryrefslogtreecommitdiff
path: root/src/stm32f4-disco/ao_disco.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-10-02 12:48:25 -0700
committerKeith Packard <keithp@keithp.com>2018-10-13 08:23:25 -0700
commit408badbef80d7a3412b5ad92b269be19d0faaa09 (patch)
tree60da59919c1eeff6d8c5f008d3349ad5bb8e38cf /src/stm32f4-disco/ao_disco.c
parent805d218ff50e6c38345c0d4e46f568009132633e (diff)
altos/stm32f4-disco: Start hooking up stm32f413 USB for the disco board
Non-working as yet. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm32f4-disco/ao_disco.c')
-rw-r--r--src/stm32f4-disco/ao_disco.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stm32f4-disco/ao_disco.c b/src/stm32f4-disco/ao_disco.c
index ede7c05f..ab3c0340 100644
--- a/src/stm32f4-disco/ao_disco.c
+++ b/src/stm32f4-disco/ao_disco.c
@@ -14,6 +14,7 @@
#include <ao.h>
#include <ao_scheme.h>
+#include <ao_usb.h>
static void scheme_cmd() {
ao_scheme_read_eval_print(stdin, stdout, false);
@@ -44,9 +45,11 @@ void main(void)
{
ao_clock_init();
ao_timer_init();
+ ao_task_init();
+
ao_led_init();
ao_usart_init();
- ao_task_init();
+ ao_usb_init();
ao_cmd_init();
ao_cmd_register(scheme_cmds);
ao_start_scheduler();