Sammy-C21 increasing analog Input available
-
Hello,
I have been working on a project where I need to add more analog inputs than what are available for the standard Sammy-C21 firmware build. I see that the Sammy-C21 module supports up to 12 ADC inputs, and the standard firmware supports 5 of them. I downloaded the Duet 3 EXP project to build my own firmware, however I am having trouble getting it to compile. I have not made any changes to the default Sammy-C21 configuration.
I have followed the instructions on this page (https://github.com/Duet3D/Duet3Expansion/tree/master), I renamed all the files, and I set all the build configurations to match. However I still have these errors:
Description Resource Path Location Type
'cpu_irq_restore' was not declared in this scope Isqrt.cpp /RRFLibraries/src/Math line 21 C/C++ Problem
'cpu_irq_restore' was not declared in this scope Isqrt.cpp /RRFLibraries/src/Math line 38 C/C++ Problem
'cpu_irq_save' was not declared in this scope Isqrt.cpp /RRFLibraries/src/Math line 17 C/C++ Problem
'cpu_irq_save' was not declared in this scope Isqrt.cpp /RRFLibraries/src/Math line 33 C/C++ Problem
'fastSqrtf' was not declared in this scope LinearDeltaKinematics.cpp /Duet3Expansion/src/Movement/Kinematics line 73 C/C++ Problem
'fastSqrtf' was not declared in this scope LinearDeltaKinematics.cpp /Duet3Expansion/src/Movement/Kinematics line 85 C/C++ Problem
'fastSqrtf' was not declared in this scope LinearDeltaKinematics.cpp /Duet3Expansion/src/Movement/Kinematics line 115 C/C++ Problem
make: *** [all] Error 2 Duet3Expansion C/C++ Problem
make: *** [src/Math/Isqrt.o] Error 1 RRFLibraries C/C++ Problem
make: *** Waiting for unfinished jobs.... RRFLibraries C/C++ Problem
make[1]: *** [src/Movement/Kinematics/LinearDeltaKinematics.o] Error 1 Duet3Expansion C/C++ Problem
make[1]: *** Waiting for unfinished jobs.... Duet3Expansion C/C++ Problem
recipe for target 'all' failed makefile /Duet3Expansion/SAMMYC21-Debug line 68 C/C++ Problem
recipe for target 'src/Math/Isqrt.o' failed subdir.mk /RRFLibraries/SAMC21_RTOS_Debug/src/Math line 24 C/C++ Problem
recipe for target 'src/Movement/Kinematics/LinearDeltaKinematics.o' failed subdir.mk /Duet3Expansion/SAMMYC21-Debug/src/Movement/Kinematics line 27 C/C++ ProblemI am not certain what to try next, any advice?
Thank you!
-
@flipasaurus please use the 3.4-dev branches of all projects (Duet3Expansion, CANlib, FreeRTOS, CoreN2G and RRFLibraries. The branches listed in the readme file are out of date.