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.
Hi all
I wanna porting my firmware based on contiki 3.0 in contiki-ng. I tried to compile but it doesnt' work. It appears: No rule to make a target.
How can I do ?
Best Regards
Francesco
Hi,
Please refer to https://github.com/contiki-ng/contiki-ng/wiki/Platform-srf06-cc26xx
Regards,
Toby
Hi toby,
thanks for your fast reply. I tried to write this command but It appears: No rule to make a target
make TARGET= cc26x0-cc13x0 BOARD=launchpad/cc1350 MTX_DOME.bin
where MTX_DOME is a folder which contains my project
Which is the problem?
Best
Francesco
You are not supposed to write "MTX_DOME.bin" as the target.
Simply call
make TARGET= cc26x0-cc13x0 BOARD=launchpad/cc1350
I tried but It appears always same error: no rule to make a target. I think the makefile is different between contiki 3.0 and contiki-ng.
Which makefile do I have to change ? Or the problem is another ?
Thanks
Francesco
I recommend you to read the online wiki for Contiki-NG: github.com/.../The-Contiki‐NG-build-system
Part Number: CC1350
I wanna compile my project in contiki ng and I modified this makefile because my project was in contiki 3.0
Hi thanks for fast reply this is makefile about platform:
C:\cygwin64\home\user\contiki-ng-mtx\arch\platform\cc26x0-cc13x0\launchpad:
CFLAGS += -DBOARD_LAUNCHPAD=1
CONTIKI_TARGET_DIRS += MTX_launchpad common
BOARD_SOURCEFILES += board.c launchpad-sensors.c leds-arch.c button-sensor.c
BOARD_SOURCEFILES += ext-flash.c board-spi.c
MODULES += arch/dev/ext-flash
### Signal that we can be programmed with cc2538-bsl
BOARD_SUPPORTS_BSL=1
BOARD_SOURCEFILES += sensortag-sensors.c sensor-common.c
BOARD_SOURCEFILES += bmp-280-sensor.c tmp-007-sensor.c opt-3001-sensor.c
BOARD_SOURCEFILES += hdc-1000-sensor.c mpu-9250-sensor.c button-sensor.c
BOARD_SOURCEFILES += reed-relay.c ext-flash.c buzzer.c
BOARD_SOURCEFILES += board.c board-spi.c board-i2c.c
This is contained in this path: C:\cygwin64\home\user\contiki-ng-mtx\arch\platform\cc26x0-cc13x0\MTX_launchpad\cc1350
### Will allow the inclusion of the correct CPU makefile
CPU_FAMILY = cc13x0
### Add to the source dirs
CONTIKI_TARGET_DIRS += launchpad/cc1350
BOARD_SOURCEFILES += rf-switch.c tx-power-driver.c
### Include the common launchpad makefile
include $(PLATFORM_ROOT_DIR)/launchpad/Makefile.launchpad
This makefile is contained in this path : C:\cygwin64\home\user\contiki-ng-mtx\examples\platform-specific\cc26x0-cc13x0\190619_MTX_DOME -
# File di configurazione del sistema
DEFINES+=PROJECT_CONF_H=\"MTX_Config.h\"
# Nome del progetto
CONTIKI_PROJECT = MTX_DOME
all: $(CONTIKI_PROJECT)
PLATFORMS_ONLY = cc26x0-cc13x0
# File Source da utilizzare
PROJECT_SOURCEFILES += MTX_Coap.c
PROJECT_SOURCEFILES += MTX_Debug.c
........
.........
.......
CONTIKI_WITH_IPV6 = 1
# REST Engine shall use Erbium CoAP implementation
MODULES += er-coap
MODULES += rest-engine
MODULES += mqtt
# Il percorso in cui e' presente il sistema operativo CONTIKI.
CONTIKI = ../../..
# Aggiunta del file Makefile.include al progetto in cui
# sono presenti tutte le definizione del sistema operativo
include $(CONTIKI)/Makefile.include
But there is always a same problem: no rule to make a target.
What am I wrong?
best
thanks in advance
I ll very appreciate your answer
Discussion will continue in your other similar thread: https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/156/p/816146/3031176#3031176