diff options
Diffstat (limited to 'demos/STM32/RT-STM32F407-DISCOVERY-G++')
-rw-r--r-- | demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile | 4 | ||||
-rw-r--r-- | demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile b/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile index 7c0962dd4..d6e022cc4 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile +++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile @@ -98,7 +98,9 @@ include $(CHIBIOS)/os/hal/osal/rt/osal.mk include $(CHIBIOS)/os/rt/rt.mk include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk # Other files (optional). -include $(CHIBIOS)/test/rt/test.mk +include $(CHIBIOS)/test/lib/test.mk +include $(CHIBIOS)/test/rt/rt_test.mk +include $(CHIBIOS)/test/oslib/oslib_test.mk include $(CHIBIOS)/os/various/cpp_wrappers/chcpp.mk # Define linker script file here diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp index c7e332655..67868c5bc 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp +++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp @@ -17,6 +17,7 @@ #include "ch.hpp" #include "hal.h" #include "rt_test_root.h" +#include "oslib_test_root.h" using namespace chibios_rt; @@ -130,6 +131,7 @@ protected: setName("tester"); test_execute((BaseSequentialStream *)&SD2, &rt_test_suite); + test_execute((BaseSequentialStream *)&SD2, &oslib_test_suite); exit(test_global_fail); } |