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
keep one version of code #4
Comments
That's handy, I'll try it out. Thank you! |
It works! Thanks again for the great tip. Do you know why the required flash memory size differs slightly from the other method (sometimes a few bytes more, sometimes a few bytes less)? |
I'm going to guess you're using a different version of avr-gcc from the shell vs the Arduino IDE. |
That makes sense. If I find the time, maybe I'll disassemble it and try to find the differences. |
I noticed you have a .ino file for Arduino builds, and a .c file for building with a makefile. If you have just the .ino file, you can compile it with a makefile by passing the -x option to avr-gcc.
https://github.com/nerdralph/picoUART/blob/master/examples/make.inc#L8
The text was updated successfully, but these errors were encountered: