Trying to compile GVRET using Arduino DUE

Introduction and miscellaneous that we haven't created categories for, yet
Post Reply
TonyV
Posts: 87
Joined: Sat Nov 14, 2020 9:00 pm
Location: Toronto
Has thanked: 1 time
Been thanked: 8 times
Contact:

Trying to compile GVRET using Arduino DUE

Post 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
Attachments
DUE error_b.png
DUE error.png
I'll figure this out sooner or later
m.art.y
Posts: 558
Joined: Sat Jun 06, 2020 6:54 pm
Location: UK
Has thanked: 28 times
Been thanked: 16 times

Re: Trying to compile GVRET using Arduino DUE

Post 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.
m.art.y
Posts: 558
Joined: Sat Jun 06, 2020 6:54 pm
Location: UK
Has thanked: 28 times
Been thanked: 16 times

Re: Trying to compile GVRET using Arduino DUE

Post 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".
User avatar
clanger9
Posts: 203
Joined: Mon Oct 28, 2019 7:41 am
Location: Chester, UK
Been thanked: 1 time
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post 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 :P
TonyV
Posts: 87
Joined: Sat Nov 14, 2020 9:00 pm
Location: Toronto
Has thanked: 1 time
Been thanked: 8 times
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post 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.
I'll figure this out sooner or later
User avatar
clanger9
Posts: 203
Joined: Mon Oct 28, 2019 7:41 am
Location: Chester, UK
Been thanked: 1 time
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post by clanger9 »

That's good to know - I'll add a note to the Wiki...
TonyV
Posts: 87
Joined: Sat Nov 14, 2020 9:00 pm
Location: Toronto
Has thanked: 1 time
Been thanked: 8 times
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post 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.
Attachments
screen.png
I'll figure this out sooner or later
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post by Jack Bauer »

Why not just use the gvret updater? no compilation required.
https://savvycan.com/
https://savvycan.com/GVRETupdate.zip
I'm going to need a hacksaw
User avatar
clanger9
Posts: 203
Joined: Mon Oct 28, 2019 7:41 am
Location: Chester, UK
Been thanked: 1 time
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post by clanger9 »

Good point.
I guess that's Windows only? Not something I have ready access to...
TonyV
Posts: 87
Joined: Sat Nov 14, 2020 9:00 pm
Location: Toronto
Has thanked: 1 time
Been thanked: 8 times
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post by TonyV »

UPDATER?
As you probably guessed by now I'm not that computer savvy. 8-)
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. :roll:
I'll figure this out sooner or later
User avatar
clanger9
Posts: 203
Joined: Mon Oct 28, 2019 7:41 am
Location: Chester, UK
Been thanked: 1 time
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post by clanger9 »

Anyway, it's much better if you can build from source because then it's possible to understand how it works :twisted:

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 ?
User avatar
clanger9
Posts: 203
Joined: Mon Oct 28, 2019 7:41 am
Location: Chester, UK
Been thanked: 1 time
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post 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...
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post by Jack Bauer »

Did this while waiting for some steel to cool after welding so don't expect hollywood:)

I'm going to need a hacksaw
TonyV
Posts: 87
Joined: Sat Nov 14, 2020 9:00 pm
Location: Toronto
Has thanked: 1 time
Been thanked: 8 times
Contact:

Re: Trying to compile GVRET using Arduino DUE

Post by TonyV »

YOU ARE THE F'N MAN!!!

Thank you!
I'll figure this out sooner or later
Post Reply