This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

makefile errors ld unknown architecture arm, cannot find symbol

In makefile.common 91:

Targets

debug: clean debug: CFLAGS += -DDEBUG -g3 -O0 debug: ASMFLAGS += -DDEBUG -g3 -O0 debug: $(OUTPUT_BINARY_DIRECTORY)/$(OUTPUT_FILENAME).hex

.PHONY: release release: clean release: CFLAGS += -DNDEBUG -O3 release: ASMFLAGS += -DNDEBUG -O3 release: $(OUTPUT_BINARY_DIRECTORY)/$(OUTPUT_FILENAME).hex

Should be

Targets

.PHONY: debug debug: clean debug: CFLAGS += -DDEBUG -g3 -O0 debug: ASMFLAGS += -DDEBUG -g3 -O0 debug: $(OUTPUT_BINARY_DIRECTORY)/$(OUTPUT_FILENAME).hex

.PHONY: release release: clean release: CFLAGS += -DNDEBUG -O3 release: ASMFLAGS += -DNDEBUG -O3 release: $(OUTPUT_BINARY_DIRECTORY)/$(OUTPUT_FILENAME).hex

Or the linker throws a fit when compiling without flash. This is from compiling from the command line (unfortunately I hate eclipse with a passion) and nRF51 SDK_v4.3.0.27417

Pretty sure this is from a virgin SDK install and maybe its been fixed but I tried to upgrade and got errors which Ill have to fix when I get some time (probably my PC)...

Just posted for others.

Parents Reply Children
No Data
Related