aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
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
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')
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/main.c4
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/main.c4
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/main.c4
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC/main.c4
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/main.c8
-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
-rw-r--r--testhal/STM32/STM32F7xx/USB_CDC/main.c4
9 files changed, 22 insertions, 22 deletions
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/main.c b/testhal/STM32/STM32F0xx/USB_CDC/main.c
index 809e389a2..23605c5c4 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F0xx/USB_CDC/main.c
@@ -152,8 +152,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/STM32F1xx/USB_CDC/main.c b/testhal/STM32/STM32F1xx/USB_CDC/main.c
index 17c49f749..33889477c 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F1xx/USB_CDC/main.c
@@ -151,8 +151,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/STM32F37x/USB_CDC/main.c b/testhal/STM32/STM32F37x/USB_CDC/main.c
index 20db587df..1f3fd7182 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/main.c
+++ b/testhal/STM32/STM32F37x/USB_CDC/main.c
@@ -158,8 +158,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/STM32F3xx/USB_CDC/main.c b/testhal/STM32/STM32F3xx/USB_CDC/main.c
index 11bb6bf5c..76e1c64bb 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F3xx/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/STM32F3xx/USB_CDC_IAD/main.c b/testhal/STM32/STM32F3xx/USB_CDC_IAD/main.c
index 430f00848..f45c4611c 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/main.c
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/main.c
@@ -171,13 +171,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.*/
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.*/
diff --git a/testhal/STM32/STM32F7xx/USB_CDC/main.c b/testhal/STM32/STM32F7xx/USB_CDC/main.c
index f3a11be5a..940bde5a1 100644
--- a/testhal/STM32/STM32F7xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F7xx/USB_CDC/main.c
@@ -158,8 +158,8 @@ int main(void) {
while (true) {
if (SDU2.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. */
}