Skip to content

Navigation Menu

Sign in
Sign up

Add ATmega32U4 option at Upload using Programmer - #236

Open
asukiaaa wants to merge 1 commit into
platformio:master from
asukiaaa:patch-1
Open

Add ATmega32U4 option at Upload using Programmer #236
asukiaaa wants to merge 1 commit into
platformio:master from
asukiaaa:patch-1

Conversation

@asukiaaa

@asukiaaa asukiaaa commented Feb 24, 2022

Copy link
Copy Markdown

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 commented Feb 24, 2022
edited
Loading

Copy link
Copy Markdown

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

@ivankravets ivankravets Mar 3, 2022

Copy link
Copy Markdown
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?

@asukiaaa asukiaaa Mar 3, 2022
edited
Loading

Copy link
Copy Markdown
Author

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

Reviewers

@ivankravets ivankravets ivankravets left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /