Add clobber list to asm sections to allow use with higher optimisation.

This commit is contained in:
Richard Barry 2009-10-05 20:26:11 +00:00
parent 176aafbe00
commit 205b0dd863
4 changed files with 20 additions and 10 deletions

View file

@ -68,7 +68,7 @@
#define configCPU_CLOCK_HZ ( ( unsigned long ) 99000000 )
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 80 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 5 * 1024 ) )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 1024 ) )
#define configMAX_TASK_NAME_LEN ( 12 )
#define configUSE_TRACE_FACILITY 1
#define configUSE_16_BIT_TICKS 0

View file

@ -525,6 +525,7 @@ xQueueHandle xQueue = xFileScopeCheckQueue;
" BNE prvDeleteMe \n"
" CMP R12, #112 \n"
" BNE prvDeleteMe \n"
:::"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r8", "r9", "r10", "r11", "r12"
);
/* Send mainREG_TEST_1_STILL_EXECUTING to the check task to indicate that this
@ -588,6 +589,7 @@ xQueueHandle xQueue = ( xQueueHandle ) pvParameters;
" BNE prvDeleteMe \n"
" CMP R12, #12 \n"
" BNE prvDeleteMe \n"
:::"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r8", "r9", "r10", "r11", "r12"
);
/* Send mainREG_TEST_2_STILL_EXECUTING to the check task to indicate that this