I need to generate 110Hz and 50Hz periodic interrupts so that I can run a fuzzy logic controller designed for use on a small quadrotor.
I've made a similar clock scheme for an advanced lab assignment that uses the ECT to generate the needed interrupts at the specified time intervals and was succesful. However, that project used asmIDE and non-relocatable assembly to do this.
For the quadrotor, I decided to try using CodeWarrior to make the program in C/C++, to which I have very little experiance with either.
I've managed to get a majority of the hardware requirements fullfilled, but when it comes to declaring the interrupt vector table I get a linker error: "L1822: MCU_init__fv not in C:\...\main.cpp.o not defined"
I get this message even with a clean project (included) made by the startup wizard, using the same desired hardware initializations.
I am using the Device Initialization wizard, CodeWarrior 5.9.0 build 5294 Special Edition
P.S. Accidentally posted in the hardware issue forum earlier
解決済! 解決策の投稿を見る。
Yes, that was the case.
Aparently the Initialization Device wizard (which I think is a part of the Processor Expert) in this version of CW only works with C or assembler.
Now, on to other issues...
I might've solved this one myself...
I made another test project that used only C (not C++) and relocatable assembly and did not have the initialization error.
I'll migrate C copies of the AirDragon project and see if that will work.
Yes, that was the case.
Aparently the Initialization Device wizard (which I think is a part of the Processor Expert) in this version of CW only works with C or assembler.
Now, on to other issues...