Fixed bug 2964418.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1712 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
5976e4f19f
commit
549fe1b7d3
|
@ -54,6 +54,8 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 1.5.3 ***
|
*** 1.5.3 ***
|
||||||
|
- FIX: Removed C99-style variables declarations (bug 2964418)(backported
|
||||||
|
in 1.4.2).
|
||||||
- FIX: Fixed missing reschedulation in chEvtSignal() (bug 2961208)(backported
|
- FIX: Fixed missing reschedulation in chEvtSignal() (bug 2961208)(backported
|
||||||
in 1.4.2).
|
in 1.4.2).
|
||||||
- NEW: Enhanced the kernel size report to cover more cases.
|
- NEW: Enhanced the kernel size report to cover more cases.
|
||||||
|
|
|
@ -72,7 +72,9 @@ static msg_t thread1(void *p) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
__attribute__((noinline))
|
__attribute__((noinline))
|
||||||
|
#endif
|
||||||
static unsigned int msg_loop_test(Thread *tp) {
|
static unsigned int msg_loop_test(Thread *tp) {
|
||||||
|
|
||||||
uint32_t n = 0;
|
uint32_t n = 0;
|
||||||
|
@ -235,9 +237,10 @@ msg_t thread4(void *p) {
|
||||||
|
|
||||||
static void bmk4_execute(void) {
|
static void bmk4_execute(void) {
|
||||||
Thread *tp;
|
Thread *tp;
|
||||||
|
uint32_t n;
|
||||||
|
|
||||||
tp = threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriority()+1, thread4, NULL);
|
tp = threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriority()+1, thread4, NULL);
|
||||||
uint32_t n = 0;
|
n = 0;
|
||||||
test_wait_tick();
|
test_wait_tick();
|
||||||
test_start_timer(1000);
|
test_start_timer(1000);
|
||||||
do {
|
do {
|
||||||
|
@ -497,11 +500,12 @@ static char *bmk9_gettest(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void bmk9_execute(void) {
|
static void bmk9_execute(void) {
|
||||||
|
uint32_t n;
|
||||||
static uint8_t ib[16];
|
static uint8_t ib[16];
|
||||||
static InputQueue iq;
|
static InputQueue iq;
|
||||||
|
|
||||||
chIQInit(&iq, ib, sizeof(ib), NULL);
|
chIQInit(&iq, ib, sizeof(ib), NULL);
|
||||||
uint32_t n = 0;
|
n = 0;
|
||||||
test_wait_tick();
|
test_wait_tick();
|
||||||
test_start_timer(1000);
|
test_start_timer(1000);
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in New Issue