Skip to content

Conversation

@firmware32
Copy link

"architecture": "avr-pb" causes a invalid macro error in Visual Studio when using visual micro. I was able to get the error to go away by changing it to "avr_pb" then pulling from my repository fixed the issue.

So visual micro generates a *.vsarduino.h file one of the defines pulls from the config

bad macro ( doesn't like the "-")

define ARDUINO_ARCH_AVR-PB

//works fine

define ARDUINO_ARCH_AVR_PB

BTW Thanks this is awesome!!!

@elektor-labs
Copy link
Collaborator

Thanks a lot for this feedback. Modifying the JSON file alone was not enough. The hyphen has been removed everywhere and I hope the problem is now solved. Please delete your old installation and try again with the updated version.

@firmware32
Copy link
Author

I reinstalled, works great. thanks for making this accommodation. Us intellisense junkies appreciate it :)

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