Updated Thread size

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10588 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
edolomb 2017-09-15 17:27:21 +00:00
parent a65470f356
commit 43fb2b1779
1 changed files with 4 additions and 4 deletions

View File

@ -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.
*/