diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2016-10-03 21:00:12 +0530 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2016-10-03 18:21:40 -0700 |
commit | 0c717b970637cde40526b1d2b4cba69a8b69e6ce (patch) | |
tree | 5601dc4ffe32c10ab09759c9435e928c97170dab /examples/vf6xx_colibri_m4/demo_apps/hello_world/main.c | |
parent | 4dbeabb0349cde05ccbc62c6fa177eb2517a14e2 (diff) |
examples: vf6xx_colibri_m4: Configure UART2 pins
Add IOMUX configuration for UART2 pins
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples/vf6xx_colibri_m4/demo_apps/hello_world/main.c')
-rw-r--r-- | examples/vf6xx_colibri_m4/demo_apps/hello_world/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/vf6xx_colibri_m4/demo_apps/hello_world/main.c b/examples/vf6xx_colibri_m4/demo_apps/hello_world/main.c index 1fad4c2..c661f02 100644 --- a/examples/vf6xx_colibri_m4/demo_apps/hello_world/main.c +++ b/examples/vf6xx_colibri_m4/demo_apps/hello_world/main.c @@ -34,6 +34,7 @@ #include <ccm_vf6xx.h> #include <lpuart_vf6xx.h> #include "debug_console_vf6xx.h" +#include "pin_mux.h" /*! * @brief A basic user-defined task @@ -58,6 +59,7 @@ int main(void) CCM_GetClocks(); CCM_ControlGate(ccmCcgrGateUart2, ccmClockNeededAll); + configure_uart_pins(UART2); vf6xx_DbgConsole_Init(UART2, ccmIpgBusClk, 115200); xTaskCreate(HelloTask, "Print Task", configMINIMAL_STACK_SIZE, |