From 43fb2b1779ed9554efb2f9baa12c6df3261bfe8a Mon Sep 17 00:00:00 2001 From: edolomb Date: Fri, 15 Sep 2017 17:27:21 +0000 Subject: Updated Thread size git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10588 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c | 8 ++++---- 1 file 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. */ -- cgit v1.2.3