Set the CMX configuration options in the file src/config/config_oal_os.h. This section lists the available options and their default values.
The tick rate in ms. The default is 10.
The maximum number of mutexes. The default is 32.
The maximum number of events. The default is 32.
OAL_HIGHEST_PRIORITY, OAL_HIGH_PRIORITY, OAL_NORMAL_PRIORITY, OAL_LOW_PRIORITY,
By default these are respectively 5, 10, 15, 20, and 25
OAL_EVENT_FLAG's usage depends on the type of event system an RTOS uses. There are two types:
- Event groups are supported independently of everything else in the system. In this case OAL_EVENT_FLAG does not matter.
- Each event group is directly controlled by a specific task. In this case all HCC stack internal events use the OAL_EVENT_FLAG as the event flag to set on the tasks event group. None of the tasks invoking HCC API calls should use OAL_EVENT_FLAG for signalling an event.
The default is 0x8000.
The first resource number assigned to the OAL. OAL_MUTEX_COUNT is required. The default is 0.
The maximum number of interrupt sources supported in HCC modules. The default is 4.
The CMX version number. The default is 6.