There are 3 json files within the project root directory, under C:\Users\me\Documents\PlatformIO\Projects\nixie_watch.vscode
within the .vscode folder, the 3 json files are:
c_cpp_properties.json
extensions.json
launch.json
They contain the following:
c_cpp_properties.json:
{
"configurations": [
{
"name": "!!! WARNING !!! AUTO-GENERATED FILE, PLEASE DO NOT MODIFY IT AND USE https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags"
},
{
"name": "Win32",
"includePath": [
"c:/Users/me/Documents/PlatformIO/Projects/nixie_watch/include",
"c:/Users/me/Documents/PlatformIO/Projects/nixie_watch/src",
"C:/Users/me/.platformio/packages/framework-zephyr/include",
"C:/Users/me/Documents/PlatformIO/Projects/nixie_watch/.pio/build/nixie_watch/zephyr/include/generated",
"C:/Users/me/.platformio/packages/framework-zephyr/soc/arm/nordic_nrf/nrf52",
"C:/Users/me/.platformio/packages/framework-zephyr-segger/rtt",
"C:/Users/me/.platformio/packages/framework-zephyr-hal-nordic/nrfx",
"C:/Users/me/.platformio/packages/framework-zephyr-hal-nordic/nrfx/drivers/include",
"C:/Users/me/.platformio/packages/framework-zephyr-hal-nordic/nrfx/mdk",
"C:/Users/me/.platformio/packages/framework-zephyr-hal-nordic",
"C:/Users/me/.platformio/packages/framework-zephyr-cmsis/CMSIS/Core/Include",
"c:/Users/me/Documents/PlatformIO/Projects/nixie_watch/.pio/build/nixie_watch/zephyr/include/generated",
"C:/Users/me/.platformio/packages/tool-unity",
""
],
"browse": {
"limitSymbolsToIncludedHeaders": true,
"path": [
"c:/Users/me/Documents/PlatformIO/Projects/nixie_watch/include",
"c:/Users/me/Documents/PlatformIO/Projects/nixie_watch/src",
"C:/Users/me/.platformio/packages/framework-zephyr/include",
"C:/Users/me/Documents/PlatformIO/Projects/nixie_watch/.pio/build/nixie_watch/zephyr/include/generated",
"C:/Users/me/.platformio/packages/framework-zephyr/soc/arm/nordic_nrf/nrf52",
"C:/Users/me/.platformio/packages/framework-zephyr-segger/rtt",
"C:/Users/me/.platformio/packages/framework-zephyr-hal-nordic/nrfx",
"C:/Users/me/.platformio/packages/framework-zephyr-hal-nordic/nrfx/drivers/include",
"C:/Users/me/.platformio/packages/framework-zephyr-hal-nordic/nrfx/mdk",
"C:/Users/me/.platformio/packages/framework-zephyr-hal-nordic",
"C:/Users/me/.platformio/packages/framework-zephyr-cmsis/CMSIS/Core/Include",
"c:/Users/me/Documents/PlatformIO/Projects/nixie_watch/.pio/build/nixie_watch/zephyr/include/generated",
"C:/Users/me/.platformio/packages/tool-unity",
""
]
},
"defines": [
"PLATFORMIO=50001",
"ARDUINO_NRF52_DK",
"BUILD_VERSION=zephyr-v20300",
"KERNEL",
"NRF52832_XXAA",
"_FORTIFY_SOURCE=2",
"__PROGRAM_START",
"__ZEPHYR__=1",
""
],
"intelliSenseMode": "clang-x64",
"cStandard": "c99",
"forcedInclude": [
"C:/Users/me/.platformio/packages/framework-zephyr/include/toolchain/zephyr_stdint.h",
"C:/Users/me/Documents/PlatformIO/Projects/nixie_watch/.pio/build/nixie_watch/zephyr/include/generated/autoconf.h",
""
],
"compilerPath": "C:/Users/me/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc.exe",
"compilerArgs": [
"-mabi=aapcs",
"-mcpu=cortex-m4",
"-mthumb",
"-isystem",
"C:/Users/me/.platformio/packages/framework-zephyr/lib/libc/minimal/include",
"-isystem",
"c:/users/me/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/include",
"-isystem",
"c:/users/me/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/include-fixed",
""
]
}
],
"version": 4
}
extensions.json:
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}
launch.json:
// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY
// PIO Unified Debugger
//
{
"version": "0.2.0",
"configurations": [
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug",
"executable": "c:/Users/me/Documents/PlatformIO/Projects/nixie_watch/.pio/build/nixie_watch/firmware.elf",
"toolchainBinDir": "C:/Users/me/.platformio/packages/toolchain-gccarmnoneeabi/bin",
"svdPath": "C:/Users/me/.platformio/platforms/nordicnrf52/misc/svd/nrf52.svd",
"preLaunchTask": {
"type": "PlatformIO",
"task": "Pre-Debug"
},
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug (skip Pre-Debug)",
"executable": "c:/Users/me/Documents/PlatformIO/Projects/nixie_watch/.pio/build/nixie_watch/firmware.elf",
"toolchainBinDir": "C:/Users/me/.platformio/packages/toolchain-gccarmnoneeabi/bin",
"svdPath": "C:/Users/me/.platformio/platforms/nordicnrf52/misc/svd/nrf52.svd",
"internalConsoleOptions": "openOnSessionStart"
}
]
}
As far as I can tell, there are no board specific lines that I need to change. I know I am missing something in the project overall that tells the build system to use one board and not the other, I’m just not sure where that is.