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

Add ATmega32U4 option at Upload using Programmer #236

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asukiaaa
Copy link

I cannot use Arduino as ISP on Windows 10 with using stk500v1 flag but succeeded with using arduino flag.
Arduino IDE v1.8.19 also use -c arduino at Arduino as ISP (ATmega32U4) mode so I add the option.

@CLAassistant
Copy link

CLAassistant commented Feb 24, 2022

CLA assistant check
All committers have signed the CLA.

upload_flags =
-C
; use "tool-avrdude-megaavr" for the atmelmegaavr platform
${platformio.packages_dir}/tool-avrdude/avrdude.conf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be ${platformio.packages_dir}/tool-avrdude-megaavr/avrdude.conf?

Copy link
Author

@asukiaaa asukiaaa Mar 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for chedking.
I just copy the config from Arduino as ISP.
Do you want to change all of ${platformio.packages_dir}/tool-avrdude/avrdude.conf to ${platformio.packages_dir}/tool-avrdude-megaavr/avrdude.conf?
If yes, I think that it is role of other PR.
https://github.com/platformio/platformio-docs/blob/develop/platforms/atmelavr_extra.rst

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.

3 participants