Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pypilot/arduino/motor/Makefile doesn't work with Arduino IDE 1.8.19 #165

Closed
mgrouch opened this issue Oct 4, 2022 · 3 comments
Closed

Comments

@mgrouch
Copy link

mgrouch commented Oct 4, 2022

I've made new Makefile

https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/pypilot/arduino/motor/Makefile

Also the script to build avrdude:

https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/avrdude/avrdude-install.sh

thanks

@seandepagnier
Copy link
Member

Thanks for this. I learned about avrdude the hard way, and informed the developers, so I hope the special script is not needed forever.. not sure if you saw this:
avrdudes/avrdude#1107

I have updated the Makefile in pypilot/arduino/hat

I received notice that the serial port does not work with the new arduino which the motor controller uses, so I am hesitating to merge this Makefile. Once I verify the new arduino can build working motor controllers I will update it.

@mgrouch
Copy link
Author

mgrouch commented Oct 5, 2022

I've made more fixes in https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/pypilot/arduino/motor/Makefile

Also BBN OS from 2022-10-05 version (and later) includes corrected avrdude binary.

2022-10-05 has Arduino 1.8.19 too and should be able to compile and load MCU firmware for pypilot
without installing anything additionally (except corrected Makefile).

@seandepagnier
Copy link
Member

It probably is fine, but there is extensive testing compiling with the previous compiler and arduino library.

I will continue to use this to produce the binary for my products, as the motor controller is essentially finished anyway and known to be reliable.

I will include this makefile for now as an optional addition until it is proven. Users can use make -f

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

No branches or pull requests

2 participants