Imt.Base C++ API
V4.1.1.0
Loading...
Searching...
No Matches
RuntimeConfig.h
Go to the documentation of this file.
1
// (c) IMT - Information Management Technology AG, CH-9470 Buchs, www.imt.ch.
2
3
#ifndef RUNTIMEFREERTOS_CONFIG_H
4
#define RUNTIMEFREERTOS_CONFIG_H
5
12
#define configMAX_API_CALL_INTERRUPT_PRIORITY configMAX_SYSCALL_INTERRUPT_PRIORITY
13
14
// Dataflow Active Part architecture is designed as run-to-completion. A
15
// preemption scheduler can be used with given ExecutableConfiguration in each
16
// Active Part but cooperative scheduler uses less memory and is for most application
17
// a the right choice.
18
#define configUSE_PREEMPTION 0
19
21
// DO NOT CHANGE those configurations!
22
23
// This is only used for internal tasks stack size in Words eg. IdleTask in FreeRTOS,
24
// For default stack size in ActiveParts use RuntimeConfigApp.h configuration
25
#define configMINIMAL_STACK_SIZE 128
26
// Dataflow runtime uses 32 priorities
27
#define configMAX_PRIORITIES 32
28
// Dataflow framework provides own software timers,
29
// so we do not use FreeRTOS timers.
30
#define configUSE_TIMERS 0
31
// Use Imt.Base.Core.Diagnostics to throw asserts.
32
#define configASSERT(x) \
33
if ((x) == 0) \
34
vAssertCalled(__FILE__, __LINE__)
35
#define configUSE_16_BIT_TICKS 0
36
// Some FreeRTOS ports have two methods of selecting the next task to execute
37
// a generic method (value=0), and a method that is specific to that port (value=1)
38
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
39
// required to block internal freertos queue indefinitely
40
#define INCLUDE_vTaskSuspend 1
41
#define INCLUDE_xTaskGetSchedulerState 1
42
44
// It is highly recommended to disable dynamic memory allocation and only use static allocation
45
#define configSUPPORT_STATIC_ALLOCATION 1
46
#define configSUPPORT_DYNAMIC_ALLOCATION 0
47
49
#define configUSE_IDLE_HOOK 1
50
#define configUSE_TICK_HOOK 0
51
#define configCHECK_FOR_STACK_OVERFLOW 0
52
#define configUSE_MALLOC_FAILED_HOOK 0
53
#define configUSE_DAEMON_TASK_STARTUP_HOOK 0
54
55
#endif
/* RUNTIMEFREERTOS_CONFIG_H */
Imt.Base
Imt.Base.OS.FreeRTOS
inc
Imt.Base.OS.FreeRTOS
RuntimeConfig.h
Generated by
1.9.7