summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MakefileBasedBuild/app/fwk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/MakefileBasedBuild/app/fwk.c b/MakefileBasedBuild/app/fwk.c
index 299d392..548eb03 100644
--- a/MakefileBasedBuild/app/fwk.c
+++ b/MakefileBasedBuild/app/fwk.c
@@ -191,6 +191,10 @@ void fwkInit(void){
PMC_EnablePeripheral(ID_PIOB);
PMC_EnablePeripheral(ID_PIOA);
+ //configure the debug UART
+ gpioSetFun(PORTA(8), GPIO_FUNC_A);
+ gpioSetFun(PORTA(9), GPIO_FUNC_A);
+
//dma setup
PMC_EnablePeripheral(ID_DMAC);
DMAC->DMAC_EBCIDR = 0x003F3F3F; //disable all interrupts