You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other extensions you installed (and if the issue persists after disabling them): vector-of-bool.cmake-tools, cheshirekow.cmake-format, platformio.platformio-ide
A clear and concise description of what the bug is.
Try to check IntelliSense in any of files contined in your compileCommands..
F_CPU macro is recognized, hardware specific macros are not.
Expected behavior
I expect to have hardware specific defines such as __AVR_ATmega16__.
I expect to have properly recognized avr/io.h header. It is not because lack of define __AVR_ATmega16__.
Type: LanguageService
Describe the bug
Processor specific command
-mmcu=atmegaXXis not recognized properly.https://www.microchip.com/webdoc/AVRLibcReferenceManual/using_tools_1using_avr_gcc_mach_opt.html
None of these macros are not present in IntelliSense.
To Reproduce
compile_commands.jsonfor example:compileCommands.compileCommands..F_CPUmacro is recognized, hardware specific macros are not.Expected behavior
I expect to have hardware specific defines such as
__AVR_ATmega16__.I expect to have properly recognized
avr/io.hheader. It is not because lack of define__AVR_ATmega16__.Screenshots
Additional context