[ARM] Tasks stack class created

New taskinfo command added to the CLI. CLI stack size increased as it
was too short for the ls command (the CLI did hang!)
This commit is contained in:
Bertrand Songis
2015-09-05 11:10:18 +02:00
parent 2a2650376c
commit d14931f77f
10 changed files with 194 additions and 86 deletions
+3 -3
View File
@@ -2348,7 +2348,7 @@ void moveTrimsToOffsets() // copy state of 3 primary to subtrim
#if !defined(CPUARM) && !defined(SIMU)
extern unsigned char __bss_end ;
#define STACKPTR _SFR_IO16(0x3D)
void stack_paint()
void stackPaint()
{
// Init Stack while interrupts are disabled
unsigned char *p ;
@@ -2362,7 +2362,7 @@ void stack_paint()
}
}
uint16_t stack_free()
uint16_t stackAvailable()
{
unsigned char *p ;
@@ -2492,7 +2492,7 @@ int main(void)
lcdInit();
#endif
stack_paint();
stackPaint();
#if defined(GUI)
g_menuStack[0] = menuMainView;