mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fixed spurious project's "Problems" for PlatformIO IDE for VSCode when ARM mbed framework is used
This commit is contained in:
@ -4,6 +4,11 @@ Release Notes
|
||||
PlatformIO 3.0
|
||||
--------------
|
||||
|
||||
3.6.3 (2018-12-??)
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Fixed spurious project's "Problems" for `PlatformIO IDE for VSCode <http://docs.platformio.org/page/ide/vscode.html>`__ when ARM mbed framework is used
|
||||
|
||||
3.6.2 (2018-11-29)
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -54,13 +54,16 @@
|
||||
% cc_stds = STD_RE.findall(cc_flags)
|
||||
% cxx_stds = STD_RE.findall(cxx_flags)
|
||||
%
|
||||
% # pass only architecture specific flags
|
||||
% cc_m_flags = " ".join([f.strip() for f in cc_flags.split(" ") if f.strip().startswith("-m")])
|
||||
%
|
||||
% if cc_stds:
|
||||
"cStandard": "c{{ cc_stds[-1] }}",
|
||||
% end
|
||||
% if cxx_stds:
|
||||
"cppStandard": "c++{{ cxx_stds[-1] }}",
|
||||
% end
|
||||
"compilerPath": "{{! _escape(cc_path) }} {{! _escape(STD_RE.sub("", cc_flags)) }}"
|
||||
"compilerPath": "{{! _escape(cc_path) }} {{! _escape(cc_m_flags) }}"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user