Control Flow Graph
Joel Sherrill
Joel.Sherrill at OARcorp.com
Sun May 5 20:27:02 UTC 2013
You don't have the bcm file in the Make file.
rosario cirincione <sarraciro at yahoo.it> wrote:
So:
the shell output is:
SAROMBP:BLINKER saro$ make
test -d o-optimize || mkdir o-optimize
arm-rtems4.11-gcc --pipe -B/opt/rtems-4.11/bsps/arm-rtems4.11/raspberrypi/lib/ \
-specs bsp_specs -qrtems -Wall -O2 -g -mcpu=arm1176jzf-s -c -o o-optimize/init.o init.c
init.c:11:21: fatal error: bcm2835.h: No such file or directory
#include <bcm2835.h>
^
compilation terminated.
make: *** [o-optimize/init.o] Error 1
/////////////////////////////////////////////////////////////
Actually the make file is:
PGM=${ARCH}/blinker.exe
# optional managers required
MANAGERS=all
# C source names
CSRCS = init.c
COBJS = $(CSRCS:%.c=${ARCH}/%.o)
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg
# These tests require C++
ifneq ($(BCM2835_FOR_TARGET),)
SUBDIRS=
endif
OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)
all: ${ARCH} $(PGM)
$(PGM): $(OBJS)
$(make-exe)
/////////////////////////////////////////////////////////////
the project tree actually is:
saro$ tree -L 1 .
.
├── DONTCAREOFTHISDIR
├── Makefile
├── bcm2835.c
├── bcm2835.h
├── init.c
└── o-optimize
Thanks
_______________________________________________
rtems-users mailing list
rtems-users at rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users
More information about the users
mailing list