Installation Manual Part 2
Installation manual Reader 84
Modications, misprints and errors excepted.
English
7. Programming the Reader
On the included CD/DVD is a le named “cong.mk”. This le is for the compilation of programs for the reader and is
incorporated in the Makeles (include cong.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}ldcong
STRIP := ${CROSS_COMPILE}strip
OBJCOPY := ${CROSS_COMPILE}objcopy
PATH := $(ELDK_TOOLCHAIN_SYSROOT)/usr/bin/armv7a-vfp-neon-linux-gnueabi:$(PATH)
endif
In the cong.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 cong.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 ().