added option to disable the test unit

This commit is contained in:
2017-12-25 17:42:23 +01:00
parent 89f8c59d40
commit cffedd7a9a
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -22,7 +22,10 @@ void plat_init_resources(void)
// --- Common unit drivers ---
ureg_add_type(&UNIT_PIN);
ureg_add_type(&UNIT_TEST);
#if !DISABLE_TEST_UNIT
ureg_add_type(&UNIT_TEST);
#endif
// --- platform specific resource releases and claims ---