This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Greetings everyone,
I am trying to build the example "rpl-border-router" of Contiki-NG using Code Composer Studio. I've followed the steps carefully, but no matter what I do, the **.elf file doesn't seem to be generated, and I always get the message:
gmake: *** No rule to make target 'border-router.elf'.
Here are the steps I have taken:
Cloned the Contiki-NG repository and initialized submodules:
Created a new CCS project with the correct target device (CC1310), using the GNU compiler and the "rpl-border-router" example.
Added the Contiki source path as a linked folder in the project.
Adjusted the PATH environment variable to include paths to Git and the ARM GCC toolchain:
C:\Program Files\Git\bin;C:\Program Files\Git\usr\bin;C:\ti\ccs1260\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-q4-major\bin;C:/ti/ccs1260/ccs/eclipse/jre/bin/server;C:/ti/ccs1260/ccs/eclipse/jre/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Arm GNU Toolchain arm-none-eabi\13.2 Rel1\bin;C:\Program Files (x86)\Arm GNU Toolchain arm-none-linux-gnueabihf\13.2 Rel1\bin;C:\Users\ahmedalhloul\AppData\Local\Programs\Python\Launcher\;C:\Users\ahmedalhloul\AppData\Local\Microsoft\WindowsApps;C:\Users\ahmedalhloul\AppData\Local\Programs\Microsoft VS Code\bin;C:\ti\ccs1260\ccs\eclipse
Configured builder settings in CCS to not generate Makefiles automatically and set the build directory to the example's source directory:
${CONTIKI_ROOT}/examples/rpl-border-router
Set the build targets in CCS to:
clean
Verified the Makefile in the project directory:
CONTIKI_PROJECT = border-router
TARGET = simplelink
BOARD = launchpad/cc1310
CFLAGS += -g
all: $(CONTIKI_PROJECT)
CONTIKI = ../..
PLATFORMS_EXCLUDE = z1
include $(CONTIKI)/Makefile.dir-variables
MODULES += $(CONTIKI_NG_SERVICES_DIR)/rpl-border-router
MODULES_REL += webserver
include $(CONTIKI)/Makefile.include
Despite these steps, I still encounter the error message. I suspect there might be an issue with the Makefile configuration or the way CCS is handling the build process.
Any help or guidance on resolving this issue would be greatly appreciated.
Thank you!
Have you seen if there are any hints in this procedure? /cfs-file/__key/communityserver-discussions-components-files/81/contiki_2D00_ccs_2D00_debugging.pptx