- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to add some assembly file (like test.s) into the hello_sensor app in WICED Smart SDK 2.x.
I also modified the makefile.mk to :
APP_SRC = hello_sensor.c test.s
But failed to build with below error message:
make.exe[1]: *** No rule to make target '../../build/hello_sensor-BCM920736TAG_Q32-rom-ram-Wiced-release/test.s', needed by '../../build/hello_sensor-BCM920736TAG_Q32-rom-ram-Wiced-release/A_20736A1-hello_sensor-rom-ram-spar.elf'. Stop.
Any idea to fix it?
thanks.
Solved! Go to Solution.
- Labels:
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Roger,
Add the following in the makefile
$(BIN_OUT_DIR)/%.o $(BIN_OUT_DIR)/%.d: $(SRCDIR)/%.s
$(QUIET)-$(XMD) $(@D)
$(eval $(info Assembling $(notdir $<)))
$(QUIET)$(XAS) $(ASM_FLAGS) $(LIST_OPTIONS) -o $@ $< $(REDIRECT_ASM_OUTPUT)
HTH
vik86
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've not tried it, but since you have an assembly file do you want to try by adding the following line in the make file
APP_PATCHES_AND_LIBS += test.s
thnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks a lot.
i'll take a try.