Skip to content

Commit

Permalink
Emit error if target is unsupported
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroA committed Jan 27, 2017
1 parent f90eb6a commit 76db48d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/main-hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
{(void *) 0x42000000, 0x01000000, UVISOR_TACLDEF_PERIPH}, /* FIXME */ \
}

#else /* Target-specific settings */

#error "Unsupported target. Checkout the README.md file for the list of supported targets for this app."

#endif /* Target-specific settings */

#endif /* __UVISOR_HELLOWORLD_MAIN_HW_H__ */

0 comments on commit 76db48d

Please sign in to comment.