...
The KAL implementation code for µC/OS-II and µC/OS-III is available. Users of third party kernel will need to provide their own KAL implement using the provided template file,.
Installation
Only the The kal.h
and <KERNEL>/kal.c
file corresponding to the kernel used (no kernel, uC/OS-II or uC/OS-III) must be included in the project.
The path to the root of the kernel used (C:/Micrium/Software/uC-OSuCOS-II or C:/Micrium/Software/uC-OSuCOS-III, by default) must be added to the compiler's list of include paths.
uCOS-II/Source or uCOS-III/Source may also need to be added in the list of include paths, depending on the version of the kernel used.
Configuration
If KAL resources are allocated from the heap (no specific memory segment is used, as specified through KAL_Init()), LIB_MEM_CFG_HEAP_SIZE
(in lib_cfg.h
) must provide enough memory for allocation of these resources.
...