diff options
author | edolomb <none@example.com> | 2017-09-15 17:27:21 +0000 |
---|---|---|
committer | edolomb <none@example.com> | 2017-09-15 17:27:21 +0000 |
commit | 43fb2b1779ed9554efb2f9baa12c6df3261bfe8a (patch) | |
tree | 34d6564fa74ed1453f1fa65b1bd438ed014a082a /demos | |
parent | a65470f35650c5c584d4d5d111b165d24ba42b5c (diff) | |
download | ChibiOS-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-x | demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c | 8 |
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.
*/
|