Hello,
I’m trying to build a small native Win32 application using VSCode and PIO.
When building the project PIO outputs this error:
“Please specify board
in platformio.ini
to use with ‘native’ framework”
From the very extensive documentation I have found that you do not have to specify a board when using the ‘native’ framework.
Am I overlooking something here?
Other info
-
All requirements have been installed (Mingw, gcc is working, etc)
-
My platformio.ini file:
[env:MyWindowsApp] platform = windows_x86 framework = native ;build_flags = -std=gnu++11
-
PIO output:
Processing MyWindowsApp (platform: windows_x86; framework: native)
Verbose mode can be enabled via -v, --verbose
option
PACKAGES:
- toolchain-gccmingw32 @ 1.50100.0 (5.1.0)
Please specifyboard
inplatformio.ini
to use with ‘native’ framework
==== [FAILED] Took 0.86 seconds ===
- The terminal process “C:\Users\user.platformio\penv\Scripts\platformio.exe ‘run’, ‘–environment’, ‘MyWindowsApp’” terminated with exit code: 1.
Thank you!!