summaryrefslogtreecommitdiffstatshomepage
path: root/stm/main.c
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-11-04 23:05:48 +0000
committerDamien <damien.p.george@gmail.com>2013-11-04 23:05:48 +0000
commit1c62d04e2eda24cb07565eb4380ece44e17ee839 (patch)
tree993f9e97abc12e4987bd601e0139c358d036c5a6 /stm/main.c
parent6addc89e55b56ca7f9472a80cfac1d2b4a63f4c6 (diff)
downloadmicropython-1c62d04e2eda24cb07565eb4380ece44e17ee839.tar.gz
micropython-1c62d04e2eda24cb07565eb4380ece44e17ee839.zip
Add DAC, and simple audio driver to STM code.
Diffstat (limited to 'stm/main.c')
-rw-r--r--stm/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stm/main.c b/stm/main.c
index f8f1105c1c..996684cb89 100644
--- a/stm/main.c
+++ b/stm/main.c
@@ -20,6 +20,7 @@
#include "usart.h"
#include "usb.h"
#include "ff.h"
+#include "audio.h"
static FATFS fatfs0;
@@ -745,6 +746,9 @@ soft_reset:
// servo
servo_init();
+ // audio
+ audio_init();
+
// add some functions to the python namespace
{
py_obj_t m = py_module_new();