
RZK Configuration UM007518-1211
16
Zilog Real-Time Kernel: eZ80
®
CPU
User Manual
Each of the source configuration files listed in Table 10 must be included in the following
path:
<ZDSII installed directory>\Program Files\Zilog\
ZDSII_eZ80Acclaim!_A.B.C\ZTP\ZTPX.Y.Z_Lib\RZK\Conf
All macros must be defined in the Preprocessor Definitions field of each requisite source
configuration file. If a library file is listed, it must be included in the project workspace.
Data Persistence Configuration
Data persistence is defined as the ability of memory to retain data when power is removed
from a system. The type of memory to be used for this purpose is labeled nonvolatile
memory. RZK provides data persistence functions with user-defined values. These func-
tions include a number of required variables, including variables for the EMAC address,
IP address, IP gateway, netmask and DHCP status (enabled or disabled) to effectively set
and allow the restoration of settings made prior to power-down or reboot.
When considering environments where power failures or reboots can occur, RZK data per-
sistence functions, such as the
SetDataPersistence and GetDataPersistence
APIs, are advantageous. The
DATA_PER_CFG_t structure defines the nonvolatile memory
device driver routines that are called by these two APIs. However, you must modify the
structure
DATA_PER_CFG_t present in the following path:
emac_conf.c — — EMAC configuration.*
— NOEMAC.obj EMAC driver stub file: used
when an EMAC footprint is
not required. However, some
components in the system
will call EMAC driver APIs.*
wlan_conf.c ZDOT_WLAN BSPZDOTS.lib To configure WLAN parame-
ters other than default.
I2C_Conf.c — — Different I
2
C configuration
other than default configura-
tion.*
Spi_Conf.c — — Different SPI configuration
other than default configura-
tion.*
DataPer_Conf.c g_data_per_cfg
(variable)
— Data persistence configura-
tion.*
Table 10. Macros and Files in Different RZK Configurations (Continued)
Source Configuration File Macro Library File RZK Configuration
Note: *Used in addition to the RZK configuration macros, libraries or configuration files.
Comentarios a estos manuales