diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-16 20:41:12 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-16 20:41:12 +0000 |
commit | 94236f4be7a040aaae3cd6c34cf35870e8008ca4 (patch) | |
tree | cb8cd76c9a897c4a3644cfc769303fba0a250a4e /demos/STM32 | |
parent | 734aea5b10f4d7470d29c07ae51fbd9d9b588205 (diff) | |
download | ChibiOS-94236f4be7a040aaae3cd6c34cf35870e8008ca4.tar.gz ChibiOS-94236f4be7a040aaae3cd6c34cf35870e8008ca4.tar.bz2 ChibiOS-94236f4be7a040aaae3cd6c34cf35870e8008ca4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10838 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32')
58 files changed, 102 insertions, 103 deletions
diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/main.c b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/main.c index 4643ab241..92b02883b 100644 --- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/main.c +++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/main.c @@ -66,7 +66,7 @@ int main(void) { waiting for a button event, then the test suite is executed.*/
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
OS_TaskDelay(500);
}
}
diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c index 7ba2451d8..00f820843 100644 --- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c +++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c @@ -67,7 +67,7 @@ int main(void) { waiting for a button event, then the test suite is executed.*/
while (true) {
if (palReadLine(LINE_BUTTON_USER))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
OS_TaskDelay(500);
}
}
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/main.c b/demos/STM32/NIL-STM32F051-DISCOVERY/main.c index 800dd6bad..6b42af33d 100644 --- a/demos/STM32/NIL-STM32F051-DISCOVERY/main.c +++ b/demos/STM32/NIL-STM32F051-DISCOVERY/main.c @@ -72,7 +72,7 @@ THD_FUNCTION(Thread3, arg) { /* Waiting for button push and activation of the test suite.*/
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/main.c b/demos/STM32/NIL-STM32F303-DISCOVERY/main.c index 0916158c1..228a9f4ae 100644 --- a/demos/STM32/NIL-STM32F303-DISCOVERY/main.c +++ b/demos/STM32/NIL-STM32F303-DISCOVERY/main.c @@ -96,7 +96,7 @@ THD_FUNCTION(Thread3, arg) { /* Waiting for button push and activation of the test suite.*/
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/main.c b/demos/STM32/NIL-STM32F746G-DISCOVERY/main.c index 353775113..13c07901c 100644 --- a/demos/STM32/NIL-STM32F746G-DISCOVERY/main.c +++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/main.c @@ -59,7 +59,7 @@ THD_FUNCTION(Thread2, arg) { /* Waiting for button push and activation of the test suite.*/
while (true) {
if (palReadLine(LINE_BUTTON_USER))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/main.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB/main.c index 73630bc52..38852d11a 100644 --- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/main.c +++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/main.c @@ -19,7 +19,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
#include "chprintf.h"
#include "shell.h"
diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO64/main.c b/demos/STM32/RT-STM32F030R8-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32F030R8-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F030R8-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c b/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c index 09f7ebfb1..f8cc3d6c5 100644 --- a/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c +++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -66,7 +66,7 @@ int main(void) { */
while (true) {
if (!palReadLine(LINE_ARD_D3))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c b/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c index da36cadbd..c868f8993 100644 --- a/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c +++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -66,7 +66,7 @@ int main(void) { */
while (true) {
if (!palReadLine(LINE_ARD_D3))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/main.c b/demos/STM32/RT-STM32F051-DISCOVERY/main.c index 74725e36d..33fb2be92 100644 --- a/demos/STM32/RT-STM32F051-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F051-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Blue LED blinker thread, times are in milliseconds.
@@ -87,7 +87,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F070RB-NUCLEO64/main.c b/demos/STM32/RT-STM32F070RB-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32F070RB-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F070RB-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/main.c b/demos/STM32/RT-STM32F072-DISCOVERY/main.c index a46f0ecce..76cc46e3c 100644 --- a/demos/STM32/RT-STM32F072-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F072-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Blue LED blinker thread, times are in milliseconds.
@@ -87,7 +87,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO64/main.c b/demos/STM32/RT-STM32F072RB-NUCLEO64/main.c index 5d7e7cb13..d4c6ae94f 100644 --- a/demos/STM32/RT-STM32F072RB-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F072RB-NUCLEO64/main.c @@ -17,7 +17,7 @@ #include "ch.h"
#include "hal.h"
#include "chprintf.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -67,7 +67,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO64/main.c b/demos/STM32/RT-STM32F091RC-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32F091RC-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F091RC-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/main.c b/demos/STM32/RT-STM32F100-DISCOVERY/main.c index 1b89c66c9..a33d9e05d 100644 --- a/demos/STM32/RT-STM32F100-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F100-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Blinker thread #1.
@@ -86,7 +86,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/main.c b/demos/STM32/RT-STM32F103-MAPLEMINI/main.c index b4402c3f9..ac267239a 100644 --- a/demos/STM32/RT-STM32F103-MAPLEMINI/main.c +++ b/demos/STM32/RT-STM32F103-MAPLEMINI/main.c @@ -19,7 +19,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
#include "shell.h"
#include "chprintf.h"
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c index 5e8d388c7..cf7d527fa 100755 --- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c +++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c @@ -18,7 +18,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
#include "chprintf.h"
#include "shell.h"
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c index 414ed96b7..8e32a3ac4 100644 --- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c +++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Blinker thread.
@@ -68,7 +68,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c index b4b776abf..7ae75aa63 100644 --- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c +++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c @@ -19,7 +19,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
#include "chprintf.h"
#include "shell.h"
diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO64/main.c b/demos/STM32/RT-STM32F103RB-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32F103RB-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F103RB-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c index 307a72023..a33bb6ad5 100644 --- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c @@ -19,7 +19,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
#include "shell.h"
#include "chprintf.h"
diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/main.c b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/main.c index e0524c8d9..329f9f0e0 100644 --- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/main.c +++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
#include "lwipthread.h"
@@ -76,7 +76,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOC, GPIOC_SWITCH_TAMPER) == 0)
- test_execute((BaseSequentialStream *)&SD3);
+ test_execute((BaseSequentialStream *)&SD3, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/main.c b/demos/STM32/RT-STM32F207-DISCOVERY/main.c index 6c8873009..335a6c293 100644 --- a/demos/STM32/RT-STM32F207-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F207-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -69,7 +69,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F207ZG-NUCLEO144/main.c b/demos/STM32/RT-STM32F207ZG-NUCLEO144/main.c index 8e76d745b..2bba46595 100644 --- a/demos/STM32/RT-STM32F207ZG-NUCLEO144/main.c +++ b/demos/STM32/RT-STM32F207ZG-NUCLEO144/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -74,7 +74,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD3);
+ test_execute((BaseSequentialStream *)&SD3, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO64/main.c b/demos/STM32/RT-STM32F302R8-NUCLEO64/main.c index 07ab84043..8c7e2ade9 100644 --- a/demos/STM32/RT-STM32F302R8-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F302R8-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/main.c b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/main.c index dbc31a6e4..68b1cb2e5 100644 --- a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/main.c +++ b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Blinker thread #1.
@@ -94,7 +94,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/main.c b/demos/STM32/RT-STM32F303-DISCOVERY/main.c index d88515b29..b3703eb86 100644 --- a/demos/STM32/RT-STM32F303-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F303-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Blinker thread #1.
@@ -97,7 +97,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/main.c b/demos/STM32/RT-STM32F303K8-NUCLEO32/main.c index da36cadbd..c868f8993 100644 --- a/demos/STM32/RT-STM32F303K8-NUCLEO32/main.c +++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -66,7 +66,7 @@ int main(void) { */
while (true) {
if (!palReadLine(LINE_ARD_D3))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F303RE-NUCLEO64/main.c b/demos/STM32/RT-STM32F303RE-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32F303RE-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F303ZE-NUCLEO144/main.c b/demos/STM32/RT-STM32F303ZE-NUCLEO144/main.c index 8e76d745b..2bba46595 100644 --- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/main.c +++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -74,7 +74,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD3);
+ test_execute((BaseSequentialStream *)&SD3, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/main.c b/demos/STM32/RT-STM32F334-DISCOVERY/main.c index 26b6dec3b..28c0767bc 100644 --- a/demos/STM32/RT-STM32F334-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F334-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* LEDs blinker thread, times are in milliseconds.
@@ -84,7 +84,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/main.c b/demos/STM32/RT-STM32F334R8-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32F334R8-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c index 1a2b4df63..087f316fb 100644 --- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c +++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing LEDs.
@@ -76,7 +76,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_WKUP_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/main.c b/demos/STM32/RT-STM32F401C-DISCOVERY/main.c index 6c8873009..335a6c293 100644 --- a/demos/STM32/RT-STM32F401C-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F401C-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -69,7 +69,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO64/main.c b/demos/STM32/RT-STM32F401RE-NUCLEO64/main.c index e5c0f1fcb..143136a2d 100644 --- a/demos/STM32/RT-STM32F401RE-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F401RE-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp index 5f714836c..c7e332655 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp +++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp @@ -16,7 +16,7 @@ #include "ch.hpp" #include "hal.h" -#include "ch_test.h" +#include "rt_test_root.h" using namespace chibios_rt; @@ -129,7 +129,7 @@ protected: setName("tester"); - test_execute((BaseSequentialStream *)&SD2); + test_execute((BaseSequentialStream *)&SD2, &rt_test_suite); exit(test_global_fail); } diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/main.c b/demos/STM32/RT-STM32F407-DISCOVERY/main.c index 6c8873009..335a6c293 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F407-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -69,7 +69,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F410RB-NUCLEO64/main.c b/demos/STM32/RT-STM32F410RB-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32F410RB-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F410RB-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO64/main.c b/demos/STM32/RT-STM32F411RE-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32F411RE-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F411RE-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F412ZG-NUCLEO144/main.c b/demos/STM32/RT-STM32F412ZG-NUCLEO144/main.c index 8e76d745b..2bba46595 100644 --- a/demos/STM32/RT-STM32F412ZG-NUCLEO144/main.c +++ b/demos/STM32/RT-STM32F412ZG-NUCLEO144/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -74,7 +74,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD3);
+ test_execute((BaseSequentialStream *)&SD3, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/main.c b/demos/STM32/RT-STM32F429-DISCOVERY/main.c index 153298308..a7147f07f 100644 --- a/demos/STM32/RT-STM32F429-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F429-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
#include "chprintf.h"
#include "shell.h"
diff --git a/demos/STM32/RT-STM32F429ZI-NUCLEO144/main.c b/demos/STM32/RT-STM32F429ZI-NUCLEO144/main.c index 8e76d745b..2bba46595 100644 --- a/demos/STM32/RT-STM32F429ZI-NUCLEO144/main.c +++ b/demos/STM32/RT-STM32F429ZI-NUCLEO144/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -74,7 +74,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD3);
+ test_execute((BaseSequentialStream *)&SD3, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F446RE-NUCLEO64/main.c b/demos/STM32/RT-STM32F446RE-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32F446RE-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32F446RE-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F446ZE-NUCLEO144/main.c b/demos/STM32/RT-STM32F446ZE-NUCLEO144/main.c index 8e76d745b..2bba46595 100644 --- a/demos/STM32/RT-STM32F446ZE-NUCLEO144/main.c +++ b/demos/STM32/RT-STM32F446ZE-NUCLEO144/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -74,7 +74,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD3);
+ test_execute((BaseSequentialStream *)&SD3, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F469I-DISCOVERY/main.c b/demos/STM32/RT-STM32F469I-DISCOVERY/main.c index f9f5693d0..6422193a1 100644 --- a/demos/STM32/RT-STM32F469I-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F469I-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
#include "chprintf.h"
#include "shell.h"
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c index 75d432601..c54ffd898 100644 --- a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c @@ -16,7 +16,6 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
#include "rt_test_root.h"
/*
diff --git a/demos/STM32/RT-STM32F746ZG-NUCLEO144/main.c b/demos/STM32/RT-STM32F746ZG-NUCLEO144/main.c index 8e76d745b..2bba46595 100644 --- a/demos/STM32/RT-STM32F746ZG-NUCLEO144/main.c +++ b/demos/STM32/RT-STM32F746ZG-NUCLEO144/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -74,7 +74,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD3);
+ test_execute((BaseSequentialStream *)&SD3, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F767ZI-NUCLEO144/main.c b/demos/STM32/RT-STM32F767ZI-NUCLEO144/main.c index 8e76d745b..2bba46595 100644 --- a/demos/STM32/RT-STM32F767ZI-NUCLEO144/main.c +++ b/demos/STM32/RT-STM32F767ZI-NUCLEO144/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -74,7 +74,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD3);
+ test_execute((BaseSequentialStream *)&SD3, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/main.c b/demos/STM32/RT-STM32F769I-DISCOVERY/main.c index ba9ae86a1..5d647b2cd 100644 --- a/demos/STM32/RT-STM32F769I-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F769I-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing
@@ -72,7 +72,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_BUTTON_USER))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/main.c b/demos/STM32/RT-STM32L031K6-NUCLEO32/main.c index da36cadbd..c868f8993 100644 --- a/demos/STM32/RT-STM32L031K6-NUCLEO32/main.c +++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -66,7 +66,7 @@ int main(void) { */
while (true) {
if (!palReadLine(LINE_ARD_D3))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/main.c b/demos/STM32/RT-STM32L053-DISCOVERY/main.c index ffa768f53..bb12bee7c 100644 --- a/demos/STM32/RT-STM32L053-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32L053-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/main.c b/demos/STM32/RT-STM32L053R8-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32L053R8-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/main.c b/demos/STM32/RT-STM32L073RZ-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/main.c b/demos/STM32/RT-STM32L152-DISCOVERY/main.c index 79744b507..884443831 100644 --- a/demos/STM32/RT-STM32L152-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32L152-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Blinker thread #1.
@@ -88,7 +88,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO64/main.c b/demos/STM32/RT-STM32L152RE-NUCLEO64/main.c index 00057b532..f198405d6 100644 --- a/demos/STM32/RT-STM32L152RE-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32L152RE-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadPad(GPIOC, GPIOC_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/main.c b/demos/STM32/RT-STM32L432KC-NUCLEO32/main.c index 62f8bc57e..8e847910d 100644 --- a/demos/STM32/RT-STM32L432KC-NUCLEO32/main.c +++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadLine(LINE_ARD_D3))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/main.c b/demos/STM32/RT-STM32L476-DISCOVERY/main.c index 50fb1dcd6..f68a533e6 100644 --- a/demos/STM32/RT-STM32L476-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32L476-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* LEDs blinker thread, times are in milliseconds.
@@ -69,7 +69,7 @@ int main(void) { */
while (true) {
if (palReadLine(LINE_JOY_CENTER))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO64/main.c b/demos/STM32/RT-STM32L476RG-NUCLEO64/main.c index ac2b582f8..90a50af24 100644 --- a/demos/STM32/RT-STM32L476RG-NUCLEO64/main.c +++ b/demos/STM32/RT-STM32L476RG-NUCLEO64/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -65,7 +65,7 @@ int main(void) { */
while (true) {
if (!palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}
|