Interrupt stack size reduced to 1kB, enabled painting and display of free interrupt stack space

This commit is contained in:
Damjan Adamic
2015-02-20 20:36:21 +01:00
parent 785a814e68
commit a5e8c85557
8 changed files with 40 additions and 14 deletions
+5 -1
View File
@@ -99,11 +99,15 @@ uint32_t stack_free(uint32_t tid)
stack = audioStack;
size = AUDIO_STACK_SIZE;
break;
#if 0 // defined(PCBTARANIS) && !defined(SIMU)
#if defined(PCBTARANIS)
case 255:
#if defined(SIMU)
return 1024;
#else
// main stack
stack = (OS_STK *)&_main_stack_start;
size = ((unsigned char *)&_estack - (unsigned char *)&_main_stack_start) / 4;
#endif
break;
#endif
default: