mirror of https://github.com/wolfSSL/wolfBoot.git
tc3: fix debug uart macro protection
parent
0a8ad18e51
commit
5eaf0b0a55
|
|
@ -175,6 +175,11 @@ ifeq ($(DEBUG_UART),1)
|
|||
APP_NEEDS_STRING:=1
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),AURIX_TC3)
|
||||
# AURIX RAM_CODE HAL flash drivers need wolfBoot memcpy
|
||||
APP_NEEDS_STRING:=1
|
||||
endif
|
||||
|
||||
ifeq ($(APP_NEEDS_STRING),1)
|
||||
APP_OBJS+=../src/string.o
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -66,7 +66,9 @@ void tc3tc_main(void)
|
|||
/* disable external WATCHDOG on the board */
|
||||
bsp_board_wdg_Disable();
|
||||
|
||||
#ifdef DEBUG_UART
|
||||
uart_init();
|
||||
#endif
|
||||
wolfBoot_printf("TC3xx Test Application\n");
|
||||
wolfBoot_printf("Version: %d\n", wolfBoot_current_firmware_version());
|
||||
|
||||
|
|
@ -122,7 +124,9 @@ void tc3arm_main(void)
|
|||
/* disable external WATCHDOG on the board */
|
||||
bsp_board_wdg_Disable();
|
||||
|
||||
#ifdef DEBUG_UART
|
||||
uart_init();
|
||||
#endif
|
||||
wolfBoot_printf("TC3xx HSM Test Application\n");
|
||||
wolfBoot_printf("Version: %d\n", wolfBoot_current_firmware_version());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue