aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authoredolomb <none@example.com>2017-09-15 17:27:21 +0000
committeredolomb <none@example.com>2017-09-15 17:27:21 +0000
commit43fb2b1779ed9554efb2f9baa12c6df3261bfe8a (patch)
tree34d6564fa74ed1453f1fa65b1bd438ed014a082a /demos
parenta65470f35650c5c584d4d5d111b165d24ba42b5c (diff)
downloadChibiOS-43fb2b1779ed9554efb2f9baa12c6df3261bfe8a.tar.gz
ChibiOS-43fb2b1779ed9554efb2f9baa12c6df3261bfe8a.tar.bz2
ChibiOS-43fb2b1779ed9554efb2f9baa12c6df3261bfe8a.zip
Updated Thread size
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10588 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c
index aeeb6f006..12f462fc1 100755
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c
@@ -23,7 +23,7 @@
/*
* Seconds counter thread.
*/
-static THD_WORKING_AREA(waThread1, 128);
+static THD_WORKING_AREA(waThread1, 512);
static THD_FUNCTION(Thread1, arg) {
(void)arg;
@@ -40,8 +40,8 @@ static THD_FUNCTION(Thread1, arg) {
PIOA->PIO_PIO_[1].S_PIO_SODR = S_PIO_SODR_P5;
ld = true;
}
- chprintf((BaseSequentialStream *)&SD0, "ChibiOS is running!\r\n\n");
- chThdSleepMilliseconds(1000);
+ chprintf((BaseSequentialStream *)&SD0, "THD ChibiOS is running!\r\n\n");
+ chThdSleepMilliseconds(500);
}
}
@@ -84,7 +84,7 @@ int main(void) {
PIOA->PIO_PIO_[1].S_PIO_CFGR = S_PIO_CFGR_FUNC_PERIPH_C;
sdStart(&SD0, NULL);
-
+ chprintf((BaseSequentialStream *)&SD0, "ChibiOS is running!\r\n\n");
/*
* Creates the example thread.
*/