Skip to content

Conversation

@gopro2027
Copy link

@gopro2027 gopro2027 commented Jan 26, 2026

Platformio is a much more streamlined structure to use for releasing arduino projects. The basic Arduino ide is just not a good fit for, well, anything.

I simply moved all the current code into a basic platformio project configured for the mega 2560 which also automatically installs the can libraries.
I didn't do any additional code clean up, besides adding a config file in the platformio.ini file to switch between the can and non-can versions. The code was otherwise left the same for now. Maybe they can be combined later more seamlessly?

Please test it before it gets merged in! I tried to upload to my old off brand arduino mega and it kept hanging on upload. I'm not sure if I'm just missing a driver or what, could just be a bad board for all I know. But if any additional config needs done we should sort that out before we merge it in.

If you would like to check out what platformio is capable of, please check out my open source air suspension project here:
https://github.com/gopro2027/ArduinoAirSuspensionController

OH ALSO I removed the LFS file... My git was freaking out about it and refused to download it. Not sure what was going on there. Personally I try to avoid LFS when possible, maybe you can upload it somewhere else more suited for large files? Or just add it back to this pr

Added images to enhance installation instructions.
Updated Arduino setup instructions and clarified project structure.
@traviscea
Copy link
Owner

Thanks for the contribution!. I also noticed that LFS(big file movement for git) was not only a hassle, but was charging me when others downloaded the file...

I'll take a look at this pr a little later and get it merged in

@gopro2027
Copy link
Author

Thanks for the contribution!. I also noticed that LFS(big file movement for git) was not only a hassle, but was charging me when others downloaded the file...

I'll take a look at this pr a little later and get it merged in

Yep git said something about you running out credits to download it. I'd probably do something simple like google drive if you're not updating that file often. I've personally used mega.nz in the past for more public files as opposed to google drive which I keep more personal files. So maybe you want to try mega.nz ? I'm not really the most knowledgeable on what would be best, but this worked for me in the past for sharing larger files publicly.

@traviscea
Copy link
Owner

Thanks for the contribution!. I also noticed that LFS(big file movement for git) was not only a hassle, but was charging me when others downloaded the file...
I'll take a look at this pr a little later and get it merged in

Yep git said something about you running out credits to download it. I'd probably do something simple like google drive if you're not updating that file often. I've personally used mega.nz in the past for more public files as opposed to google drive which I keep more personal files. So maybe you want to try mega.nz ? I'm not really the most knowledgeable on what would be best, but this worked for me in the past for sharing larger files publicly.

Yeah, I uploaded and added links earlier this morning for google drive(the one I made for the pi 5) and ts dash for earlier images(pi 3/4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants