Closed aggelosmots closed 8 months ago
Looks like I needed to modify the cookie cutter line 29 like in fpp-tools cookie cutter {{"Svc::RateGroupDriver::DividerSet rateGroupDivisors{{{1, 0}, {2, 0}, {4, 0}}};"}}
then it builds successfully.
The arduino cookie cutter repo has Svc::RateGroupDriver::DividerSet rateGroupDivisors = {{{100, 0}, {200, 0}, {1000, 0}}};
and if I replace it with :
it generates Svc::RateGroupDriver::DividerSet rateGroupDivisors = ({100: 0}, {200: 0}, {1000: 0});
Thank you for catching this. Mistake on my part with the cookiecutter and will fix it right away.
This is the correct cookicutter syntax for that line you mentioned
{{"Svc::RateGroupDriver::DividerSet rateGroupDivisors{{{100, 0}, {200, 0}, {1000, 0}}};"}}
Cookiecutter should be fixed.
I also bumped this repo to fprime v3.4.3, which includes a crucial change to the cookiecutter and fprime-arduino
to support fprime v3.4.3.
I'm trying to regenerate the arduino example using a Teensy 4.0. Firstly what I did was to clone the repo and see if it builds normally. Everything is fine until I try to make things by my own.
I'm using 3.4.1 version of fprime.
Issues: 1) Cookie cutter error: when I add
deployment_cookiecutter: https://github.com/fprime-community/fprime-arduino-deployment-cookiecutter.git
I get the error2) SPI and Wire libraries can not be found: When I build the project I get the following output
I've checked many times the repository and my code if it has all the includes and I'm sure I have same makefiles (I cloned the fprime-arduino repo).
I should also note that I haven't found any related issues, discussions or notes about it in tutorials