Subversion Repositories svn.mios32

Rev

Rev 2206 | Rev 2433 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2206 Rev 2425
Line 1... Line 1...
1
// $Id: mios32_config.h 2206 2015-09-22 11:56:51Z tk $
1
// $Id: mios32_config.h 2425 2016-11-03 00:44:22Z tk $
2
/*
2
/*
3
 * Local MIOS32 configuration file
3
 * Local MIOS32 configuration file
4
 *
4
 *
5
 * this file allows to disable (or re-configure) default functions of MIOS32
5
 * this file allows to disable (or re-configure) default functions of MIOS32
6
 * available switches are listed in $MIOS32_PATH/modules/mios32/MIOS32_CONFIG.txt
6
 * available switches are listed in $MIOS32_PATH/modules/mios32/MIOS32_CONFIG.txt
Line 39... Line 39...
39
// If you want to define a different stack size for your application tasks
39
// If you want to define a different stack size for your application tasks
40
// (-> xTaskCreate() function), keep in mind that it has to be divided by 4,
40
// (-> xTaskCreate() function), keep in mind that it has to be divided by 4,
41
// since the stack width of ARM is 32bit.
41
// since the stack width of ARM is 32bit.
42
// The FreeRTOS define "configMINIMAL_STACK_SIZE" is (MIOS32_MINIMAL_STACK_SIZE/4)
42
// The FreeRTOS define "configMINIMAL_STACK_SIZE" is (MIOS32_MINIMAL_STACK_SIZE/4)
43
// it can be used in applications as well, e.g.
43
// it can be used in applications as well, e.g.
44
// xTaskCreate(TASK_Period1mS, (signed portCHAR *)"Period1mS", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD1MS, NULL);
44
// xTaskCreate(TASK_Period1mS, "Period1mS", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD1MS, NULL);
45
#define MIOS32_MINIMAL_STACK_SIZE 1100
45
#define MIOS32_MINIMAL_STACK_SIZE 1100
46
46
47
// reserved memory for FreeRTOS pvPortMalloc function
47
// reserved memory for FreeRTOS pvPortMalloc function
48
#define MIOS32_HEAP_SIZE 14*1024
48
#define MIOS32_HEAP_SIZE 14*1024
49
49