From: Xavier L. <Ba...@us...> - 2010-05-23 14:09:38
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "krobot". The branch, master has been updated via 583b99a782254c915c3d667ad6363ef3affb5407 (commit) from 3619e193e91c744894201e22dd4f4a2bcbdb5aed (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 583b99a782254c915c3d667ad6363ef3affb5407 Author: Xavier Lagorce <Xav...@cr...> Date: Sun May 23 16:08:44 2010 +0200 Serial command shell seems to be more reliable with slower bitrate and more working area ----------------------------------------------------------------------- Changes: diff --git a/elec/boards/MotherBoard_KrobotJr2010/Firmware/halconf.h b/elec/boards/MotherBoard_KrobotJr2010/Firmware/halconf.h index ba5f1cb..9b6165a 100644 --- a/elec/boards/MotherBoard_KrobotJr2010/Firmware/halconf.h +++ b/elec/boards/MotherBoard_KrobotJr2010/Firmware/halconf.h @@ -116,7 +116,7 @@ /* * Default SERIAL settings overrides (uncomment to override). */ -#define SERIAL_DEFAULT_BITRATE 115200 +#define SERIAL_DEFAULT_BITRATE 38400 /*#define SERIAL_BUFFERS_SIZE 64*/ /*===========================================================================*/ diff --git a/elec/boards/MotherBoard_KrobotJr2010/Firmware/monitor.c b/elec/boards/MotherBoard_KrobotJr2010/Firmware/monitor.c index 02fc816..79f74e9 100644 --- a/elec/boards/MotherBoard_KrobotJr2010/Firmware/monitor.c +++ b/elec/boards/MotherBoard_KrobotJr2010/Firmware/monitor.c @@ -413,6 +413,6 @@ static const ShellConfig shellConfig = { void monitorInit(void) { shellInit(); - shellCreate(&shellConfig, THD_WA_SIZE(512), NORMALPRIO); - cdtp = chThdCreateFromHeap(NULL, THD_WA_SIZE(128), NORMALPRIO + 1, consoleThread, NULL); + shellCreate(&shellConfig, THD_WA_SIZE(1024), NORMALPRIO); + cdtp = chThdCreateFromHeap(NULL, THD_WA_SIZE(256), NORMALPRIO + 1, consoleThread, NULL); } hooks/post-receive -- krobot |