Installation Manual Part 2

Installation manual Reader 84
Modications, misprints and errors excepted.
English
7. Programming the Reader
On the included CD/DVD is a le named “cong.mk”. This le is for the compilation of programs for the reader and is
incorporated in the Makeles (include cong.mk)(see example below).
ELDK_SYSROOTS := /opt/eldk-5.1/armv7a/sysroots
ELDK_TOOLCHAIN_SYSROOT := $(ELDK_SYSROOTS)/i686-eldk-linux
ELDK_ARM_SYSROOT := $(ELDK_SYSROOTS)/armv7a-vfp-neon linux-gnueabi
CROSS_COMPILE := arm-linux-gnueabi-
ARCHITECTURE_CFLAGS := -march=armv7-a -mthumb-interwork
TARGET_ARCHITECTURE := arm
ifndef NO_CROSS_COMPILE
AR := ${CROSS_COMPILE}ar
AS := ${CROSS_COMPILE}as
CC := ${CROSS_COMPILE}gcc
CXX := ${CROSS_COMPILE}g++
GDB := ${CROSS_COMPILE}gdb
LD := ${CROSS_COMPILE}ld
NM := ${CROSS_COMPILE}nm
RANLIB := ${CROSS_COMPILE}ranlib
LDCONFIG := ${CROSS_COMPILE}ldcong
STRIP := ${CROSS_COMPILE}strip
OBJCOPY := ${CROSS_COMPILE}objcopy
PATH := $(ELDK_TOOLCHAIN_SYSROOT)/usr/bin/armv7a-vfp-neon-linux-gnueabi:$(PATH)
endif
In the cong.mk paths are included for make, for example, where the compiler is required to nd or libraries for the
target (the ARM controller). Adaptations for the EDLK version (here eldk-5.1 or ARMv7A) or the directory structure may
be necessary.
Note
The created program will run only on the target system.
Note
To start the compile process, please use the make le from the respective folder (RFIDDemoApp \ RRU4-ELC-XX or
.. \ RRU4 ETL-XX).
The paths in the cong.mk le must match those in your build system, for a successful build process.
When the build process was successful, the program can be transferred to the reader. A possible way to transmit the
data is described in ().