aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-21 10:45:42 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-21 10:45:42 +0000
commit8f89ec3c0bb6f4bc5a77afd37ebb3919181f7a4d (patch)
tree73e66c07f6c99ba3d914e1319e7d873ebaa78fbf /testhal/STM32/STM32F4xx
parentadcc51666865020347d364f7b3cad8a622124f7a (diff)
downloadChibiOS-8f89ec3c0bb6f4bc5a77afd37ebb3919181f7a4d.tar.gz
ChibiOS-8f89ec3c0bb6f4bc5a77afd37ebb3919181f7a4d.tar.bz2
ChibiOS-8f89ec3c0bb6f4bc5a77afd37ebb3919181f7a4d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8919 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx')
-rw-r--r--testhal/STM32/STM32F4xx/SDC/main.c4
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC/main.c4
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/testhal/STM32/STM32F4xx/SDC/main.c b/testhal/STM32/STM32F4xx/SDC/main.c
index 2aed5c496..5c319fc09 100644
--- a/testhal/STM32/STM32F4xx/SDC/main.c
+++ b/testhal/STM32/STM32F4xx/SDC/main.c
@@ -328,8 +328,8 @@ int main(void) {
*/
while (true) {
thread_t *shelltp = chThdCreateFromHeap(NULL, SHELL_WA_SIZE,
- NORMALPRIO + 1, shellThread,
- (void *)&shell_cfg1);
+ "shell", NORMALPRIO + 1,
+ shellThread, (void *)&shell_cfg1);
chThdWait(shelltp); /* Waiting termination. */
chThdFreeToHeap(shelltp); /* Returning memory to heap. */
chThdSleepMilliseconds(1000);
diff --git a/testhal/STM32/STM32F4xx/USB_CDC/main.c b/testhal/STM32/STM32F4xx/USB_CDC/main.c
index 02853f63a..cffc8427a 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F4xx/USB_CDC/main.c
@@ -159,8 +159,8 @@ int main(void) {
while (true) {
if (SDU1.config->usbp->state == USB_ACTIVE) {
thread_t *shelltp = chThdCreateFromHeap(NULL, SHELL_WA_SIZE,
- NORMALPRIO + 1, shellThread,
- (void *)&shell_cfg1);
+ "shell", NORMALPRIO + 1,
+ shellThread, (void *)&shell_cfg1);
chThdWait(shelltp); /* Waiting termination. */
chThdFreeToHeap(shelltp); /* Returning memory to heap. */
}
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c b/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c
index 73751fb97..84c7ec3fc 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c
@@ -164,13 +164,13 @@ int main(void) {
/* Starting shells.*/
if (shelltp1 == NULL) {
shelltp1 = chThdCreateFromHeap(NULL, SHELL_WA_SIZE,
- NORMALPRIO + 1, shellThread,
- (void *)&shell_cfg1);
+ "shell1", NORMALPRIO + 1,
+ shellThread, (void *)&shell_cfg1);
}
if (shelltp2 == NULL) {
shelltp2 = chThdCreateFromHeap(NULL, SHELL_WA_SIZE,
- NORMALPRIO + 1, shellThread,
- (void *)&shell_cfg2);
+ "shell2", NORMALPRIO + 1,
+ shellThread, (void *)&shell_cfg2);
}
/* Waiting for an exit event then freeing terminated shells.*/