Hey,
after updating from 0.31.1 to 1.0.1 ceedling does not link my files anymore. I get this error messages for every function:
👟 Building Objects
-------------------
Compiling test_CTRL.c...
Compiling test_CTRL::test_CTRL_runner.c...
Compiling test_CTRL::unity.c...
👟 Building Test Executables
----------------------------
Linking test_CTRL.out...
🧨 EXCEPTION: 'Default Test Linker' (gcc) terminated with exit code [1] and output >>
/usr/bin/ld: build/test/out/test_CTRL/test_CTRL.o: in function `setUp':
/mnt/c/Users/User/Documents/git_repos/CamCar/test/test_CTRL.c:25: undefined reference to `crcInit'
/usr/bin/ld: /mnt/c/Users/User/Documents/git_repos/CamCar/test/test_CTRL.c:26: undefined reference to `crcFast'
/usr/bin/ld: build/test/out/test_CTRL/test_CTRL.o: in function `test_CTRL_receiveMsg_check_len':
/mnt/c/Users/User/Documents/git_repos/CamCar/test/test_CTRL.c:35: undefined reference to `fake_fill_msgBuffer'
/usr/bin/ld: /mnt/c/Users/User/Documents/git_repos/CamCar/test/test_CTRL.c:36: undefined reference to `receive_msg'
/usr/bin/ld: build/test/out/test_CTRL/test_CTRL.o: in function `test_CTRL_receiveMsg_check_cmd':
/mnt/c/Users/User/Documents/git_repos/CamCar/test/test_CTRL.c:41: undefined reference to `fake_fill_msgBuffer'
/usr/bin/ld: /mnt/c/Users/User/Documents/git_repos/CamCar/test/test_CTRL.c:42: undefined reference to `receive_msg'
/usr/bin/ld: build/test/out/test_CTRL/test_CTRL.o: in function `test_CTRL_receiveMsg_check_command_not_inquiry':
.... and so on.
I don't really understand how to solve this problem. I added the directories to the paths part of the project.yml
:paths:
:test:
+:test/**
-:test/support
:source:
CAM_CART/**
CAM_CART/vl/src/**
CAM_CART/hal/include/**
"/mnt/c/Program Files (x86)/Atmel/Studio/7.0/packs/atmel/SAMD21_DFP/1.3.395/samd21a/include/"
"/mnt/c/Program Files (x86)/Atmel/Studio/7.0/packs/arm/CMSIS/5.4.0/CMSIS/Core/Include/"
# - src/**
:include:
CAM_CART/**
CAM_CART/vl/src
CAM_CART/hal/include
"/mnt/c/Program Files (x86)/Atmel/Studio/7.0/packs/atmel/SAMD21_DFP/1.3.395/samd21a/include/"
"/mnt/c/Program Files (x86)/Atmel/Studio/7.0/packs/arm/CMSIS/5.4.0/CMSIS/Core/Include/"
#- src/** # In simple projects, this entry often duplicates :source
:support:
test/support
:libraries: []
Resetting and Reinitializing everything did not help.
What else can I do?
Kind regards,
Marc
--
You received this message because you are subscribed to the Google Groups "ThrowTheSwitch Forums" group.
To unsubscribe from this group and stop receiving emails from it, send an email to throwtheswitc...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/throwtheswitch/d2b6d982-eb63-4eb8-be65-7e231a04aabdn%40googlegroups.com.
--