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 emonpi board manifest #1

Closed
wants to merge 4 commits into from

Conversation

glynhudson
Copy link

See forum thread: https://community.platformio.org/t/uploading-to-avr-using-raspberry-pi-gpio-avrdude-gpio-reset/360/2

emonPi board also needs GPIO reset similar to raspduino but on GPIO 4 /pin 7:

https://github.com/platformio/platformio/blob/develop/platformio/builder/scripts/atmelavr.py#L52

I will submit a separate PR to platformio repo

{
"build": {
"core": "arduino",
"extra_flags": "-DARDUINO_ARCH_AVR -DAVR_RASPDUINO",
Copy link
Member

Choose a reason for hiding this comment

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

How about to set own macros instead raspduino? Like, -DAVR_EMONPI?

Copy link
Author

Choose a reason for hiding this comment

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

Done 52c6cfb. What's the purpose of these macros?

@ivankravets
Copy link
Member

Thank you for pointing out this issue. I merged the changes from PlatformIO 2.0

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