Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Comment thread
dgarske marked this conversation as resolved.
Outdated
Empty file.
2 changes: 1 addition & 1 deletion test-app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ if(BUILD_TEST_APPS)
if(WOLFBOOT_TARGET STREQUAL "sim")
target_link_options(image PRIVATE -Wl,-gc-sections -Wl,-Map=image.map)
else()
target_link_options(image PRIVATE -T${APP_LSCRIPT} -Wl,-gc-sections -Wl,-Map=image.map)
target_link_options(image PRIVATE -T${APP_LSCRIPT} -Wl,-gc-sections -Wl,-Map=image.map -ffreestanding -nostartfiles)
endif()

if(WOLFBOOT_TARGET IN_LIST ARM_TARGETS)
Expand Down
2 changes: 2 additions & 0 deletions test-app/startup_arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ extern unsigned int _start_heap;

#ifdef TARGET_stm32f4
extern void isr_tim2(void);
#else
#define isr_tim2 isr_empty
#endif

#ifdef TARGET_stm32h5
Expand Down
Loading