Add stack usage analysis. Used for all automated test modules (if enabled) such that the automated tests can now trap some classes of thread stack overflow. ATmega port now tested on both ATMega16 and ATmega32. STM8 port not yet modified to support the new stack-checking API.

This commit is contained in:
Kelvin Lawson
2010-03-01 20:01:10 +00:00
parent 53147d9e49
commit 2d909ba279
51 changed files with 1533 additions and 662 deletions

View File

@@ -202,16 +202,6 @@ uint32_t test_start (void)
}
}
/* Log final status */
if (failures == 0)
{
ATOMLOG (_STR("Pass\n"));
}
else
{
ATOMLOG (_STR("Fail(%d)\n"), failures);
}
/* Quit */
return failures;
}