Tool/software: Code Composer Studio
Goodmorning,
I'm using a Beaglebone black and currently I can cross compile and directly execute an application, which uses Xenomai, using CCS and creating the project type "Makefile project with Existing Code". I used the following Makefile where the application name is: cyclic_test.
MAIN_SRC = cyclic_test
TARGET = cyclic_test
SKIN := alchemy
CFLAGS := $(shell /usr/xenomai/bin/xeno-config --skin=$(SKIN) --cflags)
LDFLAGS := $(shell /usr/xenomai/bin/xeno-config --skin=$(SKIN) --ldflags)
#CC := $(shell /usr/xenomai/bin/xeno-config --cc)
CC := /home/davide/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
all: $(TARGET)
$(TARGET):$(MAIN_SRC).c
$(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
clean:
@rm $(MAIN_SRC)
Now I would like to use in CCS, the standard project type "C Project". As you can see, the Makefile use a script "xeno-config" to generate the several settings and flags. Is it possible to do this kind of settings here?
Thank you.
Best Regards,
Davide Brunelli