diff options
Diffstat (limited to 'examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo')
-rw-r--r-- | examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/armgcc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/rpmsg_str_echo.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/armgcc/CMakeLists.txt b/examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/armgcc/CMakeLists.txt index 35ba82c..bc99266 100644 --- a/examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/armgcc/CMakeLists.txt +++ b/examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/armgcc/CMakeLists.txt @@ -153,6 +153,8 @@ ADD_EXECUTABLE(rpmsg_str_echo_example "${ProjDirPath}/../../../../../../platform/devices/VF6XX/startup/system_VF6XX_M4.c" "${ProjDirPath}/../../../../../../platform/devices/VF6XX/startup/system_VF6XX_M4.h" "${ProjDirPath}/../rpmsg_str_echo.c" + "${ProjDirPath}/../../../../pin_mux.c" + "${ProjDirPath}/../../../../pin_mux.h" ) SET_TARGET_PROPERTIES(rpmsg_str_echo_example PROPERTIES OUTPUT_NAME "rpmsg_str_echo_example.elf") diff --git a/examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/rpmsg_str_echo.c b/examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/rpmsg_str_echo.c index 4c7847d..7e4073a 100644 --- a/examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/rpmsg_str_echo.c +++ b/examples/vf6xx_colibri_m4/demo_apps/rpmsg/str_echo/rpmsg_str_echo.c @@ -40,6 +40,7 @@ #include "plat_porting.h" #include <ccm_vf6xx.h> #include "debug_console_vf6xx.h" +#include "pin_mux.h" /* * function decalaration for platform provided facility @@ -144,6 +145,7 @@ int main(void) CCM_GetClocks(); CCM_ControlGate(ccmCcgrGateUart2, ccmClockNeededAll); + configure_uart_pins(UART2); vf6xx_DbgConsole_Init(UART2, ccmIpgBusClk, 115200); printf("Starting RPMSG String Echo Demo...\r\n"); |