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:
parent
a65470f356
commit
43fb2b1779
|
@ -23,7 +23,7 @@
|
||||||
/*
|
/*
|
||||||
* Seconds counter thread.
|
* Seconds counter thread.
|
||||||
*/
|
*/
|
||||||
static THD_WORKING_AREA(waThread1, 128);
|
static THD_WORKING_AREA(waThread1, 512);
|
||||||
static THD_FUNCTION(Thread1, arg) {
|
static THD_FUNCTION(Thread1, arg) {
|
||||||
|
|
||||||
(void)arg;
|
(void)arg;
|
||||||
|
@ -40,8 +40,8 @@ static THD_FUNCTION(Thread1, arg) {
|
||||||
PIOA->PIO_PIO_[1].S_PIO_SODR = S_PIO_SODR_P5;
|
PIOA->PIO_PIO_[1].S_PIO_SODR = S_PIO_SODR_P5;
|
||||||
ld = true;
|
ld = true;
|
||||||
}
|
}
|
||||||
chprintf((BaseSequentialStream *)&SD0, "ChibiOS is running!\r\n\n");
|
chprintf((BaseSequentialStream *)&SD0, "THD ChibiOS is running!\r\n\n");
|
||||||
chThdSleepMilliseconds(1000);
|
chThdSleepMilliseconds(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ int main(void) {
|
||||||
PIOA->PIO_PIO_[1].S_PIO_CFGR = S_PIO_CFGR_FUNC_PERIPH_C;
|
PIOA->PIO_PIO_[1].S_PIO_CFGR = S_PIO_CFGR_FUNC_PERIPH_C;
|
||||||
|
|
||||||
sdStart(&SD0, NULL);
|
sdStart(&SD0, NULL);
|
||||||
|
chprintf((BaseSequentialStream *)&SD0, "ChibiOS is running!\r\n\n");
|
||||||
/*
|
/*
|
||||||
* Creates the example thread.
|
* Creates the example thread.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue