M5484LITEKITE Freescale Semiconductor, M5484LITEKITE Datasheet - Page 15
![KIT DEV FOR MCF548X FAMILY](/photos/9/23/92382/m5484litekite_sml.jpg)
M5484LITEKITE
Manufacturer Part Number
M5484LITEKITE
Description
KIT DEV FOR MCF548X FAMILY
Manufacturer
Freescale Semiconductor
Series
ColdFire®r
Type
MPUr
Specifications of M5484LITEKITE
Contents
Module and Misc Hardware
Processor To Be Evaluated
MCF548x
Data Bus Width
32 bit
Interface Type
RS-232, Ethernet
For Use With/related Products
MCF548x
For Use With
460-1028 - CABLE DISP FREESCALE M5475,85EVB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
10
All paths are given relative to the BSP's folder. This example shows the creation of a ‘hello’ application.
Freescale Semiconductor
1. Create 'hello' directory in the 'user/' directory.
2. Add configuration variable 'hello' to the ''user/config.in' file:
3. Add following lines to the 'user/Makefile' file:
4. The Makefile in ‘user/hello/’ should look like the following:
...
bool 'hello'
...
This adds the ‘hello’ menu option to userland configuration menu.
...
DIRSc$(CONFIG_USER_HELLO)
...
ifeq ($(strip $(CONFIG_USER_HELLO)),y)
endif
...
ifeq ($(strip $(CONFIG_USER_HELLO)),y)
endif
EXEC = hello
OBJS = hello.o
CFLAGS += -Wall -O0 -g -mcfv4e
LDFLAGS += -mcfv4e
#LDLIBS += -lpthread
all: $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
$(OBJS): hello.c
$(CC) $(CFLAGS) -c hello.c
clean:
rm -f $(EXEC) *.elf *.gdb *.o
Adding a New Userland Application to the
Project Without PCS
make -C hello CC=$(shell cat ../cross-compile-prefix)gcc
install -m 755 ./hello/hello /usr/bin
CONFIG_USER_HELLO # define the 'hello' variable
MCF547x/8x Linux BSP Quick Start, Rev. 0.2
# Install the 'hello' application to romfs
Adding a New Userland Application to the Project Without PCS
+= hello
# Add the 'hello' directory
15