diff --git a/tests/pkg_cryptoauthlib_internal-tests/main.c b/tests/pkg_cryptoauthlib_internal-tests/main.c index 03af005c5d..2377ebebf6 100644 --- a/tests/pkg_cryptoauthlib_internal-tests/main.c +++ b/tests/pkg_cryptoauthlib_internal-tests/main.c @@ -18,6 +18,7 @@ * @} */ +#include #include "cryptoauthlib_test.h" int main(void) @@ -26,9 +27,13 @@ int main(void) if (ATCA_DEVTYPE == ATECC608A) { atca_run_cmd("608"); } - else { + else if (ATCA_DEVTYPE == ATECC508A) { atca_run_cmd("508"); } + else { + printf("This device is currently not supported."); + return 0; + } atca_run_cmd("unit");