Page 1 of 1
Trying to compile GVRET using Arduino DUE
Posted: Wed Feb 10, 2021 9:06 am
by TonyV
Hi everyone,
I'm about to start my hand at hacking the CanBus,
I'm following Damien's instruction from the Wiki.
https://openinverter.org/wiki/CAN_bus_w ... all_GV-RET
Have all the libraries installed,
The last step is download GRVET and compile and upload to the DUE.
But I get grvet.h missing error, but I have that file installed. (came with the gvret download)
I've been at this for the last 8 hours trying to figure it out but just can't.
Any help would be greatly appreciated.
Thanks
Re: Trying to compile GVRET using Arduino DUE
Posted: Wed Feb 10, 2021 1:18 pm
by m.art.y
You need to remove all 'Master' from folder names. Also you might need to shift folders around or merge them. That is usual when folders arent't named correctly or in wrong places so arduino cannot find the files.
Re: Trying to compile GVRET using Arduino DUE
Posted: Wed Feb 10, 2021 1:22 pm
by m.art.y
TonyV wrote: ↑Wed Feb 10, 2021 9:06 am
I've been at this for the last 8 hours trying to figure it out but just can't.
In fact in your screenshot I can see you have '_master' extension on your GVRET folder name. Collin explicitly states this in his instructions to remove any "_master".
Re: Trying to compile GVRET using Arduino DUE
Posted: Wed Feb 10, 2021 5:09 pm
by clanger9
From the wiki page you linked to:
"Rename the file to remove "-master" or any other postfixes. This is important!"
I hate it when that happens

Re: Trying to compile GVRET using Arduino DUE
Posted: Wed Feb 10, 2021 11:35 pm
by TonyV
Funny thing is that I'm almost positive that I did rename the file after i download it, in the download folder. but after extracting it the Libraries the master part of of the name came back.
OK I'll keep at it. Thanks.
Re: Trying to compile GVRET using Arduino DUE
Posted: Thu Feb 11, 2021 7:54 am
by clanger9
That's good to know - I'll add a note to the Wiki...
Re: Trying to compile GVRET using Arduino DUE
Posted: Thu Feb 11, 2021 2:17 pm
by TonyV
OK. new issue.
I started with a clean install of Arduino IDE
Installed all Libraries, (as per Wiki instruction)
renamed Zip files,
renamed extracted files, (-master reappeared after extracted)
All is good until the last step, uploading GRVET file.
Something about "Can-Common" has not been declared,
Picture below is a screen shot.
Can anyone give me a idea what I'm doing wrong?
thanks.
Re: Trying to compile GVRET using Arduino DUE
Posted: Thu Feb 11, 2021 3:34 pm
by Jack Bauer
Why not just use the gvret updater? no compilation required.
https://savvycan.com/
https://savvycan.com/GVRETupdate.zip
Re: Trying to compile GVRET using Arduino DUE
Posted: Thu Feb 11, 2021 3:44 pm
by clanger9
Good point.
I guess that's Windows only? Not something I have ready access to...
Re: Trying to compile GVRET using Arduino DUE
Posted: Thu Feb 11, 2021 4:02 pm
by TonyV
UPDATER?
As you probably guessed by now I'm not that computer savvy.
I checked out the website but no instructions.
I have to use step by step instructions from the WIKI or else i'll be completely lost.
Updater sounds great but all I can do is download the file, extract the zip file, open the extracted file, double click on the bossac application file, a black screen pops up for a second, then disappears and goes into LA LA land.
Something tells me I'm doing something wrong.

Re: Trying to compile GVRET using Arduino DUE
Posted: Thu Feb 11, 2021 4:13 pm
by clanger9
Anyway, it's much better if you can build from source because then it's possible to understand how it works
Clean build should work. I'm keen to understand why it's not working for you so I can get the Wiki instructions right.
What files have you got in libraries/can_common ?
Re: Trying to compile GVRET using Arduino DUE
Posted: Thu Feb 11, 2021 4:15 pm
by clanger9
PS: if you send me the Arduino build output in a message, I can take a look. It's hard to decipher from a screenshot...
Re: Trying to compile GVRET using Arduino DUE
Posted: Fri Feb 12, 2021 10:31 am
by Jack Bauer
Did this while waiting for some steel to cool after welding so don't expect hollywood:)
Re: Trying to compile GVRET using Arduino DUE
Posted: Fri Feb 12, 2021 2:15 pm
by TonyV
YOU ARE THE F'N MAN!!!
Thank you!