Openthread file missing from latest build

Hi,

Trying to build the full stack of the latest release in Workbench and am getting the following error.

openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.c:72:1: fatal error: opening dependency file ../../build/target/openthread/platform-12-m/./openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.o.d: No such file or directory

I've tried doing a clean and a new project but get the same error.
Anyone else have this issue with 1.4.0rc1?

I may suggest trying to manually delete $DEVICE_OS_PATH/build/target folder and re-running the clean build.

No luck, still get the same error.

Building c file: openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.c
Invoking: ARM GCC C Compiler
mkdir -p ../../build/target/openthread/platform-12-m/./openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/
C:/Users/steve/.particle/toolchains/gcc-arm/5.3.1/bin/arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=12 -DPLATFORM_NAME=argon -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD00C -DUSBD_PID_CDC=0xC00C -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"openthread-config-project.h\" -DENABLE_FEM=1 -DNRF_802154_PROJECT_CONFIG=\"openthread-platform-config.h\" -DRAAL_SOFTDEVICE=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DMBEDTLS_CONFIG_FILE="<mbedtls_config.h>" -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"openthread-config-project.h\" -DENABLE_FEM=1 -DNRF_802154_PROJECT_CONFIG=\"openthread-platform-config.h\" -DRAAL_SOFTDEVICE=1 -D_WIZCHIP_=W5500 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DLFS_CONFIG=lfs_config.h -DSYSTEM_VERSION_STRING=1.4.0-rc.1 -DRELEASE_BUILD -Werror -I./openthread/include -I./openthread/src/core -I./openthread/examples/platforms -I./openthread/third_party/NordicSemiconductor/drivers/radio -I./openthread/third_party/NordicSemiconductor/drivers/radio/hal -I./openthread/third_party/NordicSemiconductor/drivers/radio/rsch -I./openthread/third_party/NordicSemiconductor/drivers/radio/rsch/raal -I./openthread/third_party/NordicSemiconductor/drivers/radio/rsch/raal/softdevice -I../../crypto/inc -I../../third_party/mbedtls/mbedtls/include -I../../dynalib/inc -I../../hal/inc -I../../hal/shared -I../../hal/src/argon -I../../hal/network/lwip/esp32 -I../../hal/src/nRF52840 -I../../hal/src/armv7 -I../../hal/src/nRF52840 -I../../hal/src/nRF52840/lwip -I../../hal/src/nRF52840/freertos -I../../hal/src/nRF52840/openthread -I../../hal/src/nRF52840/mbedtls -I../../hal/src/nRF52840/littlefs -I../../hal/network/api -I../../hal/network/lwip -I../../hal/network/lwip/posix -I../../hal/network/openthread -I../../hal/network/lwip/wiznet -I../../hal/network/ncp -I../../hal/network/ncp/at_parser -I../../third_party/lwip/lwip/src/include -I../../third_party/freertos/freertos/FreeRTOS/Source/include -I../../third_party/nrf5_sdk/nrf5_sdk/external/freertos/portable/GCC/nrf52 -I../../third_party/nrf5_sdk/nrf5_sdk/external/freertos/portable/CMSIS/nrf52 -I./openthread/include -I./openthread/src/core -I./openthread/examples/platforms -I./openthread/third_party/NordicSemiconductor/drivers/radio -I./openthread/third_party/NordicSemiconductor/drivers/radio/hal -I./openthread/third_party/NordicSemiconductor/drivers/radio/rsch -I./openthread/third_party/NordicSemiconductor/drivers/radio/rsch/raal
-I./openthread/third_party/NordicSemiconductor/drivers/radio/rsch/raal/softdevice -I../../third_party/wiznet_driver/wiznet_driver/Ethernet -I../../gsm0710muxer/gsm0710muxer/include -I../../platform/shared/inc -I../../third_party/nrf5_sdk -I../../third_party/nrf5_sdk/nrf5_sdk/components/toolchain/cmsis/include -I../../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx -I../../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/drivers -I../../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/drivers/include -I../../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/hal -I../../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/mdk -I../../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/hal -I../../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/drivers/src/prs -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/util -I../../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers -I../../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers/nrf52 -I../../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/common -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/fstorage -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/experimental_section_vars -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/crc32 -I../../third_party/nrf5_sdk/nrf5_sdk/integration/nrfx/legacy -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/delay -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/log -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/log -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/log/src -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/experimental_section_vars -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/delay -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/queue -I../../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/common -I../../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/mbr/nrf52840/headers -I../../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140 -I../../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers -I../../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers/nrf52 -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/fifo -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic_fifo -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/strerror -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/fstorage -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic_flags -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/usbd -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/usbd/class/cdc -I../../third_party/nrf5_sdk/nrf5_sdk/components/libraries/usbd/class/cdc/acm -I../../third_party/nrf5_sdk/nrf5_sdk/components/ble/common -I../../third_party/nrf5_sdk/nrf5_sdk/components/ble/nrf_ble_gatt -I../../third_party/nrf5_sdk/nrf5_sdk/components/ble/ble_advertising -I../../third_party/nrf5_sdk/nrf5_sdk/components/nfc/t2t_lib -I../../third_party/nrf5_sdk/nrf5_sdk/components/nfc/platform -I../../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/generic/message -I../../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/generic/record -I../../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/lauchapp -I../../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/text -I../../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/uri -I../../third_party/nrf5_sdk/nrf5_sdk/external/nrf_cc310/include -I../../third_party/nrf5_sdk/nrf5_sdk/external/utf_converter -I../../third_party/littlefs/littlefs -I../../platform/MCU/nRF52840/inc -I../../services/inc -I../../third_party/nanopb/nanopb -I./openthread/examples/platforms -I./openthread/include/openthread -I. -MD -MP -MF ../../build/target/openthread/platform-12-m/./openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.o.d -ffunction-sections -fdata-sections -Wall -Wno-switch -Wno-error=deprecated-declarations -fmessage-length=0 -fno-strict-aliasing -DSPARK=1 -DPARTICLE=1 -Wundef -DSTART_DFU_FLASHER_SERIAL_SPEED=14400 -DSTART_YMODEM_FLASHER_SERIAL_SPEED=28800 -DENABLE_DEBUG_LOG=0 -DENABLE_DEBUG_GPIO=0 -DENABLE_DEBUG_ASSERT=0 -DNRF52840_AAAA=0 -DNRF52840_AABA=0 -DUSER_FIRMWARE_IMAGE_SIZE=0x20000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xD4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=1400 -DMODULE_FUNCTION=4 -DMODULE_INDEX=1 -DMODULE_DEPENDENCY=2,0,500 -DMODULE_DEPENDENCY2=0,0,0 -D_WINSOCK_H -D_GNU_SOURCE  -std=gnu11 -Wno-pointer-sign -c -o ../../build/target/openthread/platform-12-m/./openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.o openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.c
openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.c:72:1: fatal error: opening dependency file ../../build/target/openthread/platform-12-m/./openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.o.d: No such file or directory
 }
 ^
compilation terminated.

ah, sorry for the bumps :pray:

let’s try the following:

  1. open your Particle project
  2. run the Particle: Install Local Compiler Toolchain command (docs)
  3. select deviceOS@1.4.0-rc.1 and opt to “reinstall” if prompted
  4. wait for the install to complete - progress should be displayed in the status bar and a “working” notification should be shown bottom-right. upon completion, a notification with a list of what was installed will be shown bottom-right (click the “bell” icon if you don’t see 'em)
  5. within your project, delete the ./target directory if it’s available
  6. run the Particle: Compile application & DeviceOS (local) task (from VSCode’s main menu, select “Terminal > Run Task…” then select from the list shown)

if that doesn’t help, please run Particle: Audit Environment and share the non-sensitive bits here :+1:

Hi m_m,

I’m seeing the same issue, so here’s my audit info, hopefully I removed the right stuff:


*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

{
    "workspace": {
        "name": "LTEReturnToParticle",
        "isWorkspace": false,
        "folders": [
            {
                "location": "c:\\Users\\psherk\\Documents\\LTEReturnToParticle\\LTEReturnToParticle",
                "hasValidPath": true,
                "settings": {
                    "firmwareName": "deviceOS",
                    "firmwareVersion": "1.4.0-rc.1",
                    "targetDevice": "",
                    "targetPlatform": "boron",
                    "compileButtonAction": "localAppDeviceOS",
                    "flashButtonAction": "localAppDeviceOS",
                    "disableWelcomeScreen": true,
                    "disableLocalCompilerDirtyCheck": false,
                    "enableVerboseLocalCompilerLogging": false
                },
                "files": [
                    ".vscode",
                    ".vscode\\launch.json",
                    ".vscode\\settings.json",
                    "project.properties",
                    "README.md",
                    "src",
                    "src\\LTEReturnToParticle.cpp",
                    "src\\LTEReturnToParticle.ino"
                ]
            }
        ]
    },
    "cli": {
        "binpath": "c:\\Users\\psherk\\.vscode\\extensions\\particle.particle-vscode-core-1.5.3\\src\\cli\\bin\\windows\\amd64\\particle.exe",
        "ok": true,
        "version": "1.46.2"
    },
    "localCompiler": {
        "ok": true,
        "dependencies": [
            {
                "id": "deviceOS@1.4.0-rc.1",
                "ok": true
            },
            {
                "id": "gcc-arm@5.3.1",
                "ok": true
            },
            {
                "id": "buildtools@1.1.0",
                "ok": true
            },
            {
                "id": "buildscripts@1.6.1",
                "ok": true
            },
            {
                "id": "openocd@0.11.1-adhoc6ea4372.0",
                "ok": true
            },
            {
                "id": "deviceOS@1.3.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.2.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.2.0-beta.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.1.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.1.0",
                "ok": true
            },
            {
                "id": "deviceOS@1.1.0-rc.2",
                "ok": true
            },
            {
                "id": "deviceOS@1.1.0-rc.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.0.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.0.0",
                "ok": true
            },
            {
                "id": "deviceOS@0.9.0",
                "ok": true
            },
            {
                "id": "deviceOS@0.8.0-rc.27",
                "ok": true
            },
            {
                "id": "deviceOS@0.8.0-rc.25",
                "ok": true
            },
            {
                "id": "deviceOS@0.7.0",
                "ok": true
            }
        ]
    },
    "platform": {
        "os": "windows",
        "type": "Windows_NT",
        "release": "10.0.17763",
        "arch": "x64",
        "path": {
            "key": "Path",
            "value": "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\ProgramData\\DockerDesktop\\version-bin;C:\\Program Files\\Docker\\Docker\\Resources\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\doxygen\\bin;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\doxygen\\bin;C:\\Users\\psherk\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\psherk\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\psherk\\AppData\\Local\\particle\\bin;C:\\Users\\psherk\\AppData\\Local\\particledev\\bin;C:\\OpenSSL-Win32\\bin;C:\\Users\\psherk\\AppData\\Local\\atom\\bin;C:\\ProgramData\\Anaconda3;C:\\ProgramData\\Anaconda3\\Scripts;;%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps"
        },
        "homeDir": "C:\\Users\\psherk",
        "particleDir": "C:\\Users\\psherk\\.particle",
        "localCompilerToolchainDir": "C:\\Users\\psherk\\.particle\\toolchains"
    },
    "env": {
        "ALLUSERSPROFILE": "C:\\ProgramData",
        "AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
        "APPDATA": "C:\\Users\\psherk\\AppData\\Roaming",
        "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
        "CommonProgramFiles": "C:\\Program Files\\Common Files",
        "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
        "CommonProgramW6432": "C:\\Program Files\\Common Files",
        "COMPUTERNAME": "CRYO-SW4",
        "ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
        "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
        "ELECTRON_RUN_AS_NODE": "1",
        "FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer",
        "FPS_BROWSER_USER_PROFILE_STRING": "Default",
        "HOMEDRIVE": "C:",
        "HOMEPATH": "\\Users\\psherk",
        "LOCALAPPDATA": "C:\\Users\\psherk\\AppData\\Local",
        "NUMBER_OF_PROCESSORS": "12",
        "OPENSSL_CONF": "C:\\OpenSSL-Win32\\bin\\openssl.cfg",
        "OS": "Windows_NT",
        "Path": "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\ProgramData\\DockerDesktop\\version-bin;C:\\Program Files\\Docker\\Docker\\Resources\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\doxygen\\bin;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\doxygen\\bin;C:\\Users\\psherk\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\psherk\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\psherk\\AppData\\Local\\particle\\bin;C:\\Users\\psherk\\AppData\\Local\\particledev\\bin;C:\\OpenSSL-Win32\\bin;C:\\Users\\psherk\\AppData\\Local\\atom\\bin;C:\\ProgramData\\Anaconda3;C:\\ProgramData\\Anaconda3\\Scripts;;%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps",
        "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
        "PIPE_LOGGING": "true",
        "PROCESSOR_ARCHITECTURE": "AMD64",
        "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 63 Stepping 2, GenuineIntel",
        "PROCESSOR_LEVEL": "6",
        "PROCESSOR_REVISION": "3f02",
        "ProgramData": "C:\\ProgramData",
        "ProgramFiles": "C:\\Program Files",
        "ProgramFiles(x86)": "C:\\Program Files (x86)",
        "ProgramW6432": "C:\\Program Files",
        "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
        "PUBLIC": "C:\\Users\\Public",
        "SESSIONNAME": "Console",
        "SW_SIM_HYDRA": "C:\\Program Files\\Common Files\\SolidWorks Shared\\Simulation Worker Agent\\",
        "SW_SIM_MPIT": "INTELMPI",
        "SW_SIM_TEMP": "C:\\ProgramData\\SOLIDWORKS\\SW_net_sim_temp\\",
        "SystemDrive": "C:",
        "SystemRoot": "C:\\WINDOWS",
        "VBOX_MSI_INSTALL_PATH": "C:\\Program Files\\Oracle\\VirtualBox\\",
        "VERBOSE_LOGGING": "true",
        "VSCODE_CWD": "C:\\Users\\psherk\\AppData\\Local\\Programs\\Microsoft VS Code",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_IPC_HOOK": "\\\\.\\pipe\\aa138e8c001e0f0c0afccc77a7ce77c1-1.38.0-main-sock",
        "VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-2ffa881a-46c9-4619-b679-a6afd4f63282-sock",
        "VSCODE_LOG_STACK": "false",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
        "VSCODE_NODE_CACHED_DATA_DIR":
        "VSCODE_PID": "14100",
        "VSCODE_PREVENT_FOREIGN_INSPECT": "true",
        "windir": "C:\\WINDOWS"
    },
    "versions": {
        "http_parser": "2.8.0",
        "node": "10.11.0",
        "v8": "6.9.427.31-electron.0",
        "uv": "1.23.0",
        "zlib": "1.2.11",
        "ares": "1.14.0",
        "modules": "69",
        "nghttp2": "1.33.0",
        "napi": "3",
        "openssl": "1.1.0",
        "icu": "62.2",
        "unicode": "11.0",
        "cldr": "33.1",
        "tz": "2019a"
    },
    "vscode": {
        "appName": "Visual Studio Code",

        "version": "1.38.0"
    },
    "extensions": [
        {
            "id": "ms-vscode.node-debug",
            "version": "1.38.4"
        },
        {
            "id": "ms-vscode.node-debug2",
            "version": "1.33.0"
        },
        {
            "id": "ms-vscode.references-view",
            "version": "0.0.30"
        },
        {
            "id": "astallinger.sourcetrail",
            "version": "0.0.2"
        },
        {
            "id": "CoenraadS.bracket-pair-colorizer",
            "version": "1.0.61"
        },
        {
            "id": "cschlosser.doxdocgen",
            "version": "0.5.0"
        },
        {
            "id": "marus25.cortex-debug",
            "version": "0.3.1"
        },
        {
            "id": "ms-vscode.cpptools",
            "version": "0.25.1"
        },
        {
            "id": "particle.particle-vscode-core",
            "version": "1.5.3"
        },
        {
            "id": "particle.particle-vscode-snippets",
            "version": "1.5.3"
        },
        {
            "id": "particle.particle-vscode-theme",
            "version": "1.5.3"
        }
    ]
}

*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245


can you share the exact error you are seeing?

...and to confirm, you went through the exact steps i share here?

lastly, could you share the LTEReturnToParticle.ino source by chance?

@m_m I’ve followed your instructions and it still failing.
I just tried 1.3.1 and it works fine.


*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

{
    "username": null,
    "workspace": {
        "name": "LegoBT",
        "isWorkspace": false,
        "folders": [
            {
                "location": "c:\\programming\\workspaces\\vscprojects\\blinky\\LegoBT",
                "hasValidPath": true,
                "settings": {
                    "firmwareName": "deviceOS",
                    "firmwareVersion": "1.4.0-rc.1",
                    "targetDevice": "",
                    "targetPlatform": "argon",
                    "compileButtonAction": "localAppDeviceOS",
                    "flashButtonAction": "localAppDeviceOS",
                    "disableWelcomeScreen": false,
                    "disableLocalCompilerDirtyCheck": false,
                    "enableVerboseLocalCompilerLogging": true
                },
                "files": [
                    ".vscode",
                    ".vscode\\launch.json",
                    ".vscode\\settings.json",
                    ".vscode\\tasks.json",
                    "project.properties",
                    "README.md",
                    "src",
                    "src\\LegoBT.cpp",
                    "src\\LegoBT.ino",
                    "target",
                    "target\\LegoBT.bin",
                    "target\\LegoBT.bin.crc_block",
                    "target\\LegoBT.bin.no_crc",
                    "target\\LegoBT.elf",
                    "target\\LegoBT.hex",
                    "target\\LegoBT.lst",
                    "target\\LegoBT.map",
                    "target\\obj"
                ]
            }
        ]
    },
    "cli": {
        "binpath": "c:\\Users\\steve\\.vscode\\extensions\\particle.particle-vscode-core-1.5.3\\src\\cli\\bin\\windows\\amd64\\particle.exe",
        "ok": true,
        "version": "1.46.2",
        "installed": 1565306788036
    },
    "localCompiler": {
        "ok": true,
        "dependencies": [
            {
                "id": "deviceOS@1.4.0-rc.1",
                "ok": true
            },
            {
                "id": "gcc-arm@5.3.1",
                "ok": true
            },
            {
                "id": "buildtools@1.1.0",
                "ok": true
            },
            {
                "id": "buildscripts@1.6.1",
                "ok": true
            },
            {
                "id": "openocd@0.11.1-adhoc6ea4372.0",
                "ok": true
            },
            {
                "id": "deviceOS@1.3.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.3.1-rc.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.3.0-rc.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.2.1-rc.2",
                "ok": true
            },
            {
                "id": "deviceOS@1.2.1-rc.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.2.0-beta.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.1.0",
                "ok": true
            },
            {
                "id": "deviceOS@1.0.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.0.0",
                "ok": true
            },
            {
                "id": "deviceOS@0.9.0",
                "ok": true
            },
            {
                "id": "deviceOS@0.8.0-rc.27",
                "ok": true
            },
            {
                "id": "deviceOS@0.7.0",
                "ok": true
            }
        ]
    },
    "platform": {
        "os": "windows",
        "type": "Windows_NT",
        "release": "10.0.17763",
        "arch": "x64",
        "path": {
            "key": "Path",
            "value": "C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\Program Files (x86)\\Razer\\ChromaBroadcast\\bin;C:\\Program Files\\Razer\\ChromaBroadcast\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\TortoiseGit\\bin;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\STMicroelectronics\\STM32 ST-LINK Utility\\ST-LINK Utility;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\AOMEI Backupper;C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\programming\\SI\\nodejs\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\programming\\SI\\GNU Tools ARM Embedded\\5.4 2016q3\\bin;C:\\programming\\SI\\python\\Scripts\\;C:\\programming\\SI\\python\\;C:\\Users\\steve\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\steve\\AppData\\Local\\particle\\bin;C:\\programming\\SI\\Microsoft VS Code\\bin;C:\\Users\\steve\\AppData\\Local\\particledev\\bin;C:\\Users\\steve\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\steve\\AppData\\Roaming\\npm;C:\\OpenSSL-Win32\\bin"
        },
        "homeDir": "C:\\Users\\steve",
        "particleDir": "C:\\Users\\steve\\.particle",
        "localCompilerToolchainDir": "C:\\Users\\steve\\.particle\\toolchains"
    },
    "env": {
        "ALLUSERSPROFILE": "C:\\ProgramData",
        "AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
        "APPDATA": "C:\\Users\\steve\\AppData\\Roaming",
        "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
        "CommonProgramFiles": "C:\\Program Files\\Common Files",
        "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
        "CommonProgramW6432": "C:\\Program Files\\Common Files",
        "COMPUTERNAME": "STEVES2J",
        "ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
        "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
        "ELECTRON_RUN_AS_NODE": "1",
        "GYP_MSVS_VERSION": "2015",
        "HOMEDRIVE": "C:",
        "HOMEPATH": "\\Users\\steve",
        "LOCALAPPDATA": "C:\\Users\\steve\\AppData\\Local",
        "LOGONSERVER": "\\\\STEVES2J",
        "NUMBER_OF_PROCESSORS": "8",
        "OneDrive": "C:\\Users\\steve\\OneDrive - S2J Limited",
        "OneDriveCommercial": "C:\\Users\\steve\\OneDrive - S2J Limited",
        "OneDriveConsumer": "C:\\Users\\steve\\OneDrive",
        "OPENSSL_CONF": "C:\\OpenSSL-Win32\\bin\\openssl.cfg",
        "OS": "Windows_NT",
        "Path": "C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\Program Files (x86)\\Razer\\ChromaBroadcast\\bin;C:\\Program Files\\Razer\\ChromaBroadcast\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\TortoiseGit\\bin;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\STMicroelectronics\\STM32 ST-LINK Utility\\ST-LINK Utility;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\AOMEI Backupper;C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\programming\\SI\\nodejs\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\programming\\SI\\GNU Tools ARM Embedded\\5.4 2016q3\\bin;C:\\programming\\SI\\python\\Scripts\\;C:\\programming\\SI\\python\\;C:\\Users\\steve\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\steve\\AppData\\Local\\particle\\bin;C:\\programming\\SI\\Microsoft VS Code\\bin;C:\\Users\\steve\\AppData\\Local\\particledev\\bin;C:\\Users\\steve\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\steve\\AppData\\Roaming\\npm;C:\\OpenSSL-Win32\\bin",
        "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
        "PIPE_LOGGING": "true",
        "PROCESSOR_ARCHITECTURE": "AMD64",
        "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 158 Stepping 9, GenuineIntel",
        "PROCESSOR_LEVEL": "6",
        "PROCESSOR_REVISION": "9e09",
        "ProgramData": "C:\\ProgramData",
        "ProgramFiles": "C:\\Program Files",
        "ProgramFiles(x86)": "C:\\Program Files (x86)",
        "ProgramW6432": "C:\\Program Files",
        "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
        "PUBLIC": "C:\\Users\\Public",
        "SESSIONNAME": "Console",
        "SystemDrive": "C:",
        "SystemRoot": "C:\\WINDOWS",
        "TEMP": "C:\\Users\\steve\\AppData\\Local\\Temp",
        "TMP": "C:\\Users\\steve\\AppData\\Local\\Temp",
        "USERDOMAIN": "STEVES2J",
        "USERDOMAIN_ROAMINGPROFILE": "STEVES2J",
        "USERNAME": "steve",
        "USERPROFILE": "C:\\Users\\steve",
        "VERBOSE_LOGGING": "true",
        "VS140COMNTOOLS": "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\",
        "VSCODE_CWD": "C:\\programming\\SI\\Microsoft VS Code",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_IPC_HOOK": "\\\\.\\pipe\\ba5e124dd1125357960fd9955484b079-1.38.0-main-sock",
        "VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-9bbdef5f-cf2d-406b-a38c-4e0d3b6ff564-sock",
        "VSCODE_LOGS": "C:\\Users\\steve\\AppData\\Roaming\\Code\\logs\\20190906T092803",
        "VSCODE_LOG_STACK": "false",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
        "VSCODE_NODE_CACHED_DATA_DIR": "C:\\Users\\steve\\AppData\\Roaming\\Code\\CachedData\\3db7e09f3b61f915d03bbfa58e258d6eee843f35",
        "VSCODE_PID": "49160",
        "VSCODE_PREVENT_FOREIGN_INSPECT": "true",
        "windir": "C:\\WINDOWS"
    },
    "versions": {
        "http_parser": "2.8.0",
        "node": "10.11.0",
        "v8": "6.9.427.31-electron.0",
        "uv": "1.23.0",
        "zlib": "1.2.11",
        "ares": "1.14.0",
        "modules": "69",
        "nghttp2": "1.33.0",
        "napi": "3",
        "openssl": "1.1.0",
        "icu": "62.2",
        "unicode": "11.0",
        "cldr": "33.1",
        "tz": "2019a"
    },
    "vscode": {
        "appName": "Visual Studio Code",
        "appRoot": "c:\\programming\\SI\\Microsoft VS Code\\resources\\app",
        "machineId": "9fc7150a1202de7c35403986210eaff37fa7df8967d80483eab96f9badfb2307",
        "sessionId": "33189640-2255-4054-aeae-fb89e96443f91567996261197",
        "version": "1.38.0"
    },
    "extensions": [
        {
            "id": "ms-vscode.node-debug",
            "version": "1.38.4"
        },
        {
            "id": "ms-vscode.node-debug2",
            "version": "1.33.0"
        },
        {
            "id": "ms-vscode.references-view",
            "version": "0.0.30"
        },
        {
            "id": "austin.code-gnu-global",
            "version": "0.2.2"
        },
        {
            "id": "dbaeumer.jshint",
            "version": "0.10.21"
        },
        {
            "id": "dbaeumer.vscode-eslint",
            "version": "1.9.1"
        },
        {
            "id": "marus25.cortex-debug",
            "version": "0.3.1"
        },
        {
            "id": "mgmcdermott.vscode-language-babel",
            "version": "0.0.23"
        },
        {
            "id": "miramac.vscode-exec-node",
            "version": "0.5.1"
        },
        {
            "id": "ms-vscode.cpptools",
            "version": "0.25.1"
        },
        {
            "id": "particle.particle-vscode-core",
            "version": "1.5.3"
        },
        {
            "id": "particle.particle-vscode-pack",
            "version": "1.5.3"
        },
        {
            "id": "particle.particle-vscode-snippets",
            "version": "1.5.3"
        },
        {
            "id": "particle.particle-vscode-theme",
            "version": "1.5.3"
        }
    ]
}

*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

Application code

#include "Particle.h"

SYSTEM_MODE(MANUAL);

SerialLogHandler logHandler(LOG_LEVEL_TRACE);

void setup() {
    (void)logHandler; // Does nothing, just to eliminate warning for unused variable
}

void loop() {
    Vector<BleScanResult> scanResults = BLE.scan();

    if (scanResults.size()) {
        Log.info("%d devices found", scanResults.size());

        for (int ii = 0; ii < scanResults.size(); ii++) {
            Log.info("MAC: %02X:%02X:%02X:%02X:%02X:%02X | RSSI: %dBm",
                    scanResults[ii].address[0], scanResults[ii].address[1], scanResults[ii].address[2],
                    scanResults[ii].address[3], scanResults[ii].address[4], scanResults[ii].address[5], scanResults[ii].rssi);

            String name = scanResults[ii].advertisingData.deviceName();
            if (name.length() > 0) {
                Log.info("Advertising name: %s", name.c_str());
            }
        }
    }

    delay(3000);
}
1 Like

thanks for sharing that :pray:

i’ll confess i’m stumped - i just tried repro’ing the issue over here using the source you provided and matching your project settings - i was able to compile successfully using the Particle: Compile application & DeviceOS (local) task. i also successfully cleaned using the Particle: Clean application & DeviceOS (local) task and rebuilt after.

here’s my environment report:

*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

{
    "username": "me@example.com",
    "workspace": {
        "name": "LegoBT",
        "isWorkspace": false,
        "folders": [
            {
                "location": "c:\\Users\\me\\projects\\LegoBT",
                "hasValidPath": true,
                "settings": {
                    "firmwareName": "deviceOS",
                    "firmwareVersion": "1.4.0-rc.1",
                    "targetDevice": "",
                    "targetPlatform": "argon",
                    "compileButtonAction": "localAppDeviceOS",
                    "flashButtonAction": "localAppDeviceOS",
                    "disableWelcomeScreen": true,
                    "disableLocalCompilerDirtyCheck": false,
                    "enableVerboseLocalCompilerLogging": false
                },
                "files": [
                    ".vscode",
                    ".vscode\\launch.json",
                    ".vscode\\settings.json",
                    "project.properties",
                    "README.md",
                    "src",
                    "src\\LegoBT.cpp",
                    "src\\LegoBT.ino",
                    "target",
                    "target\\LegoBT.bin",
                    "target\\LegoBT.bin.crc_block",
                    "target\\LegoBT.bin.no_crc",
                    "target\\LegoBT.elf",
                    "target\\LegoBT.hex",
                    "target\\LegoBT.lst",
                    "target\\LegoBT.map",
                    "target\\obj"
                ]
            }
        ]
    },
    "cli": {
        "binpath": "c:\\Users\\me\\.vscode\\extensions\\particle.particle-vscode-core-1.5.4\\src\\cli\\bin\\windows\\amd64\\particle.exe",
        "ok": true,
        "version": "1.47.0"
    },
    "localCompiler": {
        "ok": true,
        "dependencies": [
            {
                "id": "deviceOS@1.4.0",
                "ok": true
            },
            {
                "id": "gcc-arm@5.3.1",
                "ok": true
            },
            {
                "id": "buildtools@1.1.0",
                "ok": true
            },
            {
                "id": "buildscripts@1.6.1",
                "ok": true
            },
            {
                "id": "openocd@0.11.2-adhoc6ea4372.0",
                "ok": true
            },
            {
                "id": "deviceOS@1.4.0-rc.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.0.1",
                "ok": true
            }
        ]
    },
    "platform": {
        "os": "windows",
        "type": "Windows_NT",
        "release": "10.0.17134",
        "arch": "x64",
        "path": {
            "key": "Path",
            "value": "C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\me\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\me\\AppData\\Local\\Programs\\Microsoft VS Code\\bin"
        },
        "homeDir": "C:\\Users\\me",
        "particleDir": "C:\\Users\\me\\.particle",
        "localCompilerToolchainDir": "C:\\Users\\me\\.particle\\toolchains"
    },
    "env": {
        "ALLUSERSPROFILE": "C:\\ProgramData",
        "AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
        "APPDATA": "C:\\Users\\me\\AppData\\Roaming",
        "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
        "AppsRoot": "D",
        "CLIENTNAME": "Me",
        "CommonProgramFiles": "C:\\Program Files\\Common Files",
        "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
        "CommonProgramW6432": "C:\\Program Files\\Common Files",
        "COMPUTERNAME": "MACBOOK-PRO-WIN",
        "ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
        "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
        "ELECTRON_RUN_AS_NODE": "1",
        "FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer",
        "FPS_BROWSER_USER_PROFILE_STRING": "Default",
        "HOMEDRIVE": "C:",
        "HOMEPATH": "\\Users\\me",
        "LOCALAPPDATA": "C:\\Users\\me\\AppData\\Local",
        "LOGONSERVER": "\\\\MACBOOK-PRO-WIN",
        "NUMBER_OF_PROCESSORS": "8",
        "OneDrive": "C:\\Users\\me\\OneDrive",
        "OS": "Windows_NT",
        "Path": "C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\me\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\me\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
        "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
        "PIPE_LOGGING": "true",
        "PROCESSOR_ARCHITECTURE": "AMD64",
        "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 158 Stepping 9, GenuineIntel",
        "PROCESSOR_LEVEL": "6",
        "PROCESSOR_REVISION": "9e09",
        "ProgramData": "C:\\ProgramData",
        "ProgramFiles": "C:\\Program Files",
        "ProgramFiles(x86)": "C:\\Program Files (x86)",
        "ProgramW6432": "C:\\Program Files",
        "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
        "PUBLIC": "C:\\Users\\Public",
        "SESSIONNAME": "RDP-Tcp#8",
        "SystemDrive": "C:",
        "SystemRoot": "C:\\WINDOWS",
        "TEMP": "C:\\Users\\me\\AppData\\Local\\Temp",
        "TMP": "C:\\Users\\me\\AppData\\Local\\Temp",
        "USERDOMAIN": "MACBOOK-PRO-WIN",
        "USERDOMAIN_ROAMINGPROFILE": "MACBOOK-PRO-WIN",
        "USERNAME": "me",
        "USERPROFILE": "C:\\Users\\me",
        "VERBOSE_LOGGING": "true",
        "VSCODE_CWD": "C:\\Users\\me\\AppData\\Local\\Programs\\Microsoft VS Code",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_IPC_HOOK": "\\\\.\\pipe\\9215d4f46d3405f9a4c47ad006fe9342-1.38.0-main-sock",
        "VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-c03b7b35-c2e8-4818-891e-64160804542a-sock",
        "VSCODE_LOGS": "C:\\Users\\me\\AppData\\Roaming\\Code\\logs\\20190911T081717",
        "VSCODE_LOG_STACK": "false",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
        "VSCODE_NODE_CACHED_DATA_DIR": "C:\\Users\\me\\AppData\\Roaming\\Code\\CachedData\\3db7c09f3b61f915d03befa58e258d6eee843f35",
        "VSCODE_PID": "10912",
        "VSCODE_PREVENT_FOREIGN_INSPECT": "true",
        "windir": "C:\\WINDOWS"
    },
    "versions": {
        "http_parser": "2.8.0",
        "node": "10.11.0",
        "v8": "6.9.427.31-electron.0",
        "uv": "1.23.0",
        "zlib": "1.2.11",
        "ares": "1.14.0",
        "modules": "69",
        "nghttp2": "1.33.0",
        "napi": "3",
        "openssl": "1.1.0",
        "icu": "62.2",
        "unicode": "11.0",
        "cldr": "33.1",
        "tz": "2019a"
    },
    "vscode": {
        "appName": "Visual Studio Code",
        "appRoot": "c:\\Users\\me\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "machineId": "ae8c38e2aee926ac3185d6d2f14efd650fd5ca5c3894b7516c1480d05a7cfc1d",
        "sessionId": "b387eaa7-ddc9-46d1-bc71-8c9712e990091568215093745",
        "version": "1.38.0"
    },
    "extensions": [
        {
            "id": "ms-vscode.node-debug",
            "version": "1.38.4"
        },
        {
            "id": "ms-vscode.node-debug2",
            "version": "1.33.0"
        },
        {
            "id": "ms-vscode.references-view",
            "version": "0.0.30"
        },
        {
            "id": "marus25.cortex-debug",
            "version": "0.3.1"
        },
        {
            "id": "ms-vscode.cpptools",
            "version": "0.25.1"
        },
        {
            "id": "particle.particle-vscode-core",
            "version": "1.5.4"
        },
        {
            "id": "particle.particle-vscode-pack",
            "version": "1.5.4"
        },
        {
            "id": "particle.particle-vscode-snippets",
            "version": "1.5.4"
        },
        {
            "id": "particle.particle-vscode-theme",
            "version": "1.5.4"
        }
    ]
}

*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

one last thing to try is: run the Particle: Reset Environment command and retry from there - though you might want to remove any unused Device OS versions using Particle: Uninstall Local Compiler Toolchain first as that will speed up the reset process (and save some disk space).

Hi m_m,

Yes, I went through the steps you described. The error I’m seeing is: openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.c:72:1: fatal error: opening dependency file …/…/build/target/openthread/platform-13-m/./openthread/third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_imm_ack_generator.o.d: No such file or directory

The actual LTEReturnToParticle is pretty basic, just getting rid of a previous external SIM setting.

#include "Particle.h"

SYSTEM_MODE(SEMI_AUTOMATIC);

void setup() {
    Cellular.setActiveSim(INTERNAL_SIM);
    Cellular.clearCredentials();

    // This is just so you know the operation is complete
    pinMode(D7, OUTPUT);
    digitalWrite(D7, HIGH);
}

void loop() {
}

I’ll try the reset environment when I get a chance.

Reset environment produced the same error.

@psherk @johnnyfp Device OS v1.4.0 was released last night - i’d be interested to know if this issue repro’s using that - can you give it a whirl and share your findings?

1 Like

Ah, yes, that’s got it fixed. Thanks.

1 Like

1.4.0 toolchain works. So whatever the issue was with 1.4.0rc1 has been fixed. But would be good to get root cause.

I’ve done a comparison between the two version and doesn’t seem to be anything major in the differences that would cause this. Only one of note was the part1_build.mk file had a slight difference in the dependency.

my new audit output


*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

{
    "username": null,
    "workspace": {
        "name": "LegoBT",
        "isWorkspace": false,
        "folders": [
            {
                "location": "c:\\programming\\workspaces\\vscprojects\\blinky\\LegoBT",
                "hasValidPath": true,
                "settings": {
                    "firmwareName": "deviceOS",
                    "firmwareVersion": "1.4.0",
                    "targetDevice": "",
                    "targetPlatform": "argon",
                    "compileButtonAction": "localAppDeviceOS",
                    "flashButtonAction": "localAppDeviceOS",
                    "disableWelcomeScreen": false,
                    "disableLocalCompilerDirtyCheck": false,
                    "enableVerboseLocalCompilerLogging": true
                },
                "files": [
                    ".vscode",
                    ".vscode\\launch.json",
                    ".vscode\\settings.json",
                    ".vscode\\tasks.json",
                    "project.properties",
                    "README.md",
                    "src",
                    "src\\LegoBT.cpp",
                    "src\\LegoBT.ino",
                    "target",
                    "target\\LegoBT.bin",
                    "target\\LegoBT.bin.crc_block",
                    "target\\LegoBT.bin.no_crc",
                    "target\\LegoBT.elf",
                    "target\\LegoBT.hex",
                    "target\\LegoBT.lst",
                    "target\\LegoBT.map",
                    "target\\obj"
                ]
            }
        ]
    },
    "cli": {
        "binpath": "c:\\Users\\steve\\.vscode\\extensions\\particle.particle-vscode-core-1.5.4\\src\\cli\\bin\\windows\\amd64\\particle.exe",
        "ok": true,
        "version": "1.47.0",
        "installed": 1568234899888
    },
    "localCompiler": {
        "ok": true,
        "dependencies": [
            {
                "id": "deviceOS@1.4.0",
                "ok": true
            },
            {
                "id": "gcc-arm@5.3.1",
                "ok": true
            },
            {
                "id": "buildtools@1.1.0",
                "ok": true
            },
            {
                "id": "buildscripts@1.6.1",
                "ok": true
            },
            {
                "id": "openocd@0.11.2-adhoc6ea4372.0",
                "ok": true
            },
            {
                "id": "deviceOS@1.4.0-rc.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.3.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.3.1-rc.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.3.0-rc.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.2.1-rc.2",
                "ok": true
            },
            {
                "id": "deviceOS@1.2.1-rc.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.2.0-beta.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.1.0",
                "ok": true
            },
            {
                "id": "deviceOS@1.0.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.0.0",
                "ok": true
            },
            {
                "id": "deviceOS@0.9.0",
                "ok": true
            },
            {
                "id": "deviceOS@0.8.0-rc.27",
                "ok": true
            },
            {
                "id": "deviceOS@0.7.0",
                "ok": true
            }
        ]
    },
    "platform": {
        "os": "windows",
        "type": "Windows_NT",
        "release": "10.0.17763",
        "arch": "x64",
        "path": {
            "key": "Path",
            "value": "C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\Program Files (x86)\\Razer\\ChromaBroadcast\\bin;C:\\Program Files\\Razer\\ChromaBroadcast\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\TortoiseGit\\bin;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\STMicroelectronics\\STM32 ST-LINK Utility\\ST-LINK Utility;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\AOMEI Backupper;C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\programming\\SI\\nodejs\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\programming\\SI\\GNU Tools ARM Embedded\\5.4 2016q3\\bin;C:\\programming\\SI\\python\\Scripts\\;C:\\programming\\SI\\python\\;C:\\Users\\steve\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\steve\\AppData\\Local\\particle\\bin;C:\\programming\\SI\\Microsoft VS Code\\bin;C:\\Users\\steve\\AppData\\Local\\particledev\\bin;C:\\Users\\steve\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\steve\\AppData\\Roaming\\npm;C:\\OpenSSL-Win32\\bin"
        },
        "homeDir": "C:\\Users\\steve",
        "particleDir": "C:\\Users\\steve\\.particle",
        "localCompilerToolchainDir": "C:\\Users\\steve\\.particle\\toolchains"
    },
    "env": {
        "ALLUSERSPROFILE": "C:\\ProgramData",
        "AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
        "APPDATA": "C:\\Users\\steve\\AppData\\Roaming",
        "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
        "CommonProgramFiles": "C:\\Program Files\\Common Files",
        "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
        "CommonProgramW6432": "C:\\Program Files\\Common Files",
        "COMPUTERNAME": "STEVES2J",
        "ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
        "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
        "ELECTRON_RUN_AS_NODE": "1",
        "GYP_MSVS_VERSION": "2015",
        "HOMEDRIVE": "C:",
        "HOMEPATH": "\\Users\\steve",
        "LOCALAPPDATA": "C:\\Users\\steve\\AppData\\Local",
        "LOGONSERVER": "\\\\STEVES2J",
        "NUMBER_OF_PROCESSORS": "8",
        "OneDrive": "C:\\Users\\steve\\OneDrive - S2J Limited",
        "OneDriveCommercial": "C:\\Users\\steve\\OneDrive - S2J Limited",
        "OneDriveConsumer": "C:\\Users\\steve\\OneDrive",
        "OPENSSL_CONF": "C:\\OpenSSL-Win32\\bin\\openssl.cfg",
        "OS": "Windows_NT",
        "Path": "C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\Program Files (x86)\\Razer\\ChromaBroadcast\\bin;C:\\Program Files\\Razer\\ChromaBroadcast\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\TortoiseGit\\bin;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\STMicroelectronics\\STM32 ST-LINK Utility\\ST-LINK Utility;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\AOMEI Backupper;C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\programming\\SI\\nodejs\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\programming\\SI\\GNU Tools ARM Embedded\\5.4 2016q3\\bin;C:\\programming\\SI\\python\\Scripts\\;C:\\programming\\SI\\python\\;C:\\Users\\steve\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\steve\\AppData\\Local\\particle\\bin;C:\\programming\\SI\\Microsoft VS Code\\bin;C:\\Users\\steve\\AppData\\Local\\particledev\\bin;C:\\Users\\steve\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\steve\\AppData\\Roaming\\npm;C:\\OpenSSL-Win32\\bin",
        "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
        "PIPE_LOGGING": "true",
        "PROCESSOR_ARCHITECTURE": "AMD64",
        "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 158 Stepping 9, GenuineIntel",
        "PROCESSOR_LEVEL": "6",
        "PROCESSOR_REVISION": "9e09",
        "ProgramData": "C:\\ProgramData",
        "ProgramFiles": "C:\\Program Files",
        "ProgramFiles(x86)": "C:\\Program Files (x86)",
        "ProgramW6432": "C:\\Program Files",
        "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
        "PUBLIC": "C:\\Users\\Public",
        "SESSIONNAME": "Console",
        "SystemDrive": "C:",
        "SystemRoot": "C:\\WINDOWS",
        "TEMP": "C:\\Users\\steve\\AppData\\Local\\Temp",
        "TMP": "C:\\Users\\steve\\AppData\\Local\\Temp",
        "USERDOMAIN": "STEVES2J",
        "USERDOMAIN_ROAMINGPROFILE": "STEVES2J",
        "USERNAME": "steve",
        "USERPROFILE": "C:\\Users\\steve",
        "VERBOSE_LOGGING": "true",
        "VS140COMNTOOLS": "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\",
        "VSCODE_CWD": "C:\\programming\\SI\\Microsoft VS Code",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_IPC_HOOK": "\\\\.\\pipe\\ba5e124dd1125357960fd9955484b079-1.38.0-main-sock",
        "VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-38239758-6e11-4a43-b301-cc38fddc8734-sock",
        "VSCODE_LOGS": "C:\\Users\\steve\\AppData\\Roaming\\Code\\logs\\20190906T092803",
        "VSCODE_LOG_STACK": "false",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
        "VSCODE_NODE_CACHED_DATA_DIR": "C:\\Users\\steve\\AppData\\Roaming\\Code\\CachedData\\3db7e09f3b61f915d03bbfa58e258d6eee843f35",
        "VSCODE_PID": "49160",
        "VSCODE_PREVENT_FOREIGN_INSPECT": "true",
        "windir": "C:\\WINDOWS"
    },
    "versions": {
        "http_parser": "2.8.0",
        "node": "10.11.0",
        "v8": "6.9.427.31-electron.0",
        "uv": "1.23.0",
        "zlib": "1.2.11",
        "ares": "1.14.0",
        "modules": "69",
        "nghttp2": "1.33.0",
        "napi": "3",
        "openssl": "1.1.0",
        "icu": "62.2",
        "unicode": "11.0",
        "cldr": "33.1",
        "tz": "2019a"
    },
    "vscode": {
        "appName": "Visual Studio Code",
        "appRoot": "c:\\programming\\SI\\Microsoft VS Code\\resources\\app",
        "machineId": "9fc7150a1202de7c35403986210eaff37fa7df8967d80483eab96f9badfb2307",
        "sessionId": "0253ee9a-c58d-4179-aa45-b600e532d6cb1568234883698",
        "version": "1.38.0"
    },
    "extensions": [
        {
            "id": "ms-vscode.node-debug",
            "version": "1.38.4"
        },
        {
            "id": "ms-vscode.node-debug2",
            "version": "1.33.0"
        },
        {
            "id": "ms-vscode.references-view",
            "version": "0.0.30"
        },
        {
            "id": "austin.code-gnu-global",
            "version": "0.2.2"
        },
        {
            "id": "dbaeumer.jshint",
            "version": "0.10.21"
        },
        {
            "id": "dbaeumer.vscode-eslint",
            "version": "1.9.1"
        },
        {
            "id": "marus25.cortex-debug",
            "version": "0.3.1"
        },
        {
            "id": "mgmcdermott.vscode-language-babel",
            "version": "0.0.23"
        },
        {
            "id": "miramac.vscode-exec-node",
            "version": "0.5.1"
        },
        {
            "id": "ms-vscode.cpptools",
            "version": "0.25.1"
        },
        {
            "id": "particle.particle-vscode-core",
            "version": "1.5.4"
        },
        {
            "id": "particle.particle-vscode-pack",
            "version": "1.5.4"
        },
        {
            "id": "particle.particle-vscode-snippets",
            "version": "1.5.4"
        },
        {
            "id": "particle.particle-vscode-theme",
            "version": "1.5.4"
        }
    ]
}

*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

And the differences

I get this exact same problem in v1.5.0rc1 as witnessed in person by Ethan at Particle.

The problem appears to be a pathname length issue under Windows for rc builds.

Until we change some of the directory names, you can create a separate login with a really short username in order to use rc builds.

Or you can use the Custom Local Build Option in Workbench to use the same source as 1.5.0-rc.1 (or any other RC).

This should not affect release builds on Windows, or any builds on Mac OS or Linux.

1 Like