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

Visual Micro *.vsarduino.h define breaks intellisense #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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