Skip to content

Commit 223f44b

Browse files
committed
Emit error if target is unsupported
1 parent 15e3f78 commit 223f44b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/main-hw.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
{(void *) 0x42000000, 0x01000000, UVISOR_TACLDEF_PERIPH}, /* FIXME */ \
7676
}
7777

78+
#else /* Target-specific settings */
79+
80+
#error "Unsupported target. Checkout the README.md file for the list of supported targets for this app."
81+
7882
#endif /* Target-specific settings */
7983

8084
#endif /* __UVISOR_HELLOWORLD_MAIN_HW_H__ */

0 commit comments

Comments
 (0)