summaryrefslogtreecommitdiff
path: root/src/cortexelf-v1/ao_cortexelf.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-04-02 15:18:34 -0700
committerKeith Packard <keithp@keithp.com>2017-04-02 15:18:34 -0700
commit62b0228aed5191c8d769f9f34143a13036e210a7 (patch)
tree67647744639d3b8e18fe7b3254ca502dd2ad8b11 /src/cortexelf-v1/ao_cortexelf.c
parent637d522c6a15b47051103ccc3626be3206a7a2df (diff)
cortexelf-v1: Fix clock to drive VGA at 640/480. Add sdcard, remove others
VGA requires the CPU to run at 24MHz. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cortexelf-v1/ao_cortexelf.c')
-rw-r--r--src/cortexelf-v1/ao_cortexelf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cortexelf-v1/ao_cortexelf.c b/src/cortexelf-v1/ao_cortexelf.c
index 776530e0..67062c85 100644
--- a/src/cortexelf-v1/ao_cortexelf.c
+++ b/src/cortexelf-v1/ao_cortexelf.c
@@ -25,6 +25,7 @@
#include <ao_ps2.h>
#include <ao_vga.h>
#include <ao_console.h>
+#include <ao_sdcard.h>
struct ao_task ball_task;
@@ -205,6 +206,8 @@ main(void)
ao_dma_init();
ao_exti_init();
+ ao_sdcard_init();
+
ao_ps2_init();
ao_vga_init();
ao_console_init();