Zilog EZ80F91AZA User Manual
Page 28

RZK Configuration
UM007518-1211
18
Zilog Real-Time Kernel: eZ80
®
CPU
User Manual
2. In the
Linker
tab, navigate to
Input
→
Additional Directives
(for all targets except
the eZ80190 device) and add the following linker directives:
CHANGE per_api_TEXT is RAM
CHANGE _driver_TEXT is RAM
CHANGE per_api_TEXT is DATA
CHANGE _driver_TEXT is DATA
3. If
the chosen configuration is a
COPY_TO_RAM
configuration, add the following state-
ment in the linker settings within the
Linker
→
Input
→
Additional Directives
navi-
gation:
CHANGE TEXT is RAM
4. For the eZ80L92 target, if the chosen configuration is
FLASH
or
COPY_TO_RAM
, add
the following address range in the linker settings within the panel within the
Linker
→
Address Spaces
→
RAM
navigation:
0–3FFF,6000–FFFFF
Table 12 describes the configurable parameters that are defined according to the kinds of
libraries required:
Table 12. Default Debug Priority Inheritance Values for the RZK_Conf.c File
RZK Macro
Default Value
Description
MAX_THREADSH
30 (minimum
value = 2)
Specifies the maximum threads that RZK can
create at a time. This macro’s value = 2 + the
maximum number of system threads required to
be created
.
One thread control block (TCB) is
used for the kernel idle thread and one for the
RZK timer.
RZK_TIME_SLICEH
20
Specifies the default time slice for round-robin
mode at a time. This macro must contain a
value greater than 0 (zero).
RZK_SYSTIMERSTACK_SIZEH
2048
This macro must be defined to provide stack
size for RZK’s system thread.
MAX_MESSAGEQSH
28
Specifies the maximum number of message
queues that can be created at a time. If the sys-
tem does not require message queues, then this
macro is set to 0 (zero).
MAX_EVENTGROUPSH
20
Specifies the maximum number of event groups
that can be created at a time. If the system does
not require event groups, then this macro is set
to 0 (zero).
Note: *
configure the RZK timer.