[ISSUE] Workbench will Flash Locally but Fails on Cloud Flash to Boron Devices

I am running into an issue with one particular sketch. I can flash it locally but when I attempt to flash my Boron over cellular “cloud flash” using Particle Workbenchit fails every time.

I have done all the usual stuff:

  • Flashed Tinker on the target device

  • Cleaned and reset the environment in Workbench

  • Reset the Intellisync database and recompiled (no problems / installed cleanly)

  • Logged out and back in to Particle using the Workbench command line interface

  • Tried flashing a different device

  • Checked the name of the device in the Particle console to make sure I had it right

  • Did a cloud flash on that same device using a different sketch (no problems)

I noticed this change after adding @rickkas7’s library MCP2300-RK but the library functions correctly.

Here is the error log:

Targeting version: 1.5.2

Including:
    lib/MB85RC256V-FRAM-RK/src/MB85RC256V-FRAM-RK.h
    lib/MCP23008-RK/src/MCP23008-RK.h
    lib/New-Haven-Display/src/New-Haven-Display.h
    lib/PublishQueueAsyncRK/src/PublishQueueAsyncRK.h
    src/3rdGenDevicePinoutdoc.h
    src/displayMessages.h
    lib/New-Haven-Display/examples/usage/usage.ino
    src/Boron-HiViz-Leds-UVC.ino
    lib/MB85RC256V-FRAM-RK/examples/simple/fram-simple.cpp
    lib/MB85RC256V-FRAM-RK/examples/test1m/test1m.cpp
    lib/MB85RC256V-FRAM-RK/src/MB85RC256V-FRAM-RK.cpp
    lib/MCP23008-RK/examples/01-simple-gpio/01-simple-gpio.cpp
    lib/MCP23008-RK/examples/02-really-simple-output/02-really-simple-output.cpp
    lib/MCP23008-RK/src/MCP23008-RK.cpp
    lib/New-Haven-Display/src/New-Haven-Display.cpp
    lib/PublishQueueAsyncRK/examples/1-periodic/1-periodic-PublishQueueAsyncRK.cpp
    lib/PublishQueueAsyncRK/examples/2-button-and-timer/2-button-and-timer-PublishQueueAsyncRK.cpp
    lib/PublishQueueAsyncRK/examples/3-test-suite/3-test-suite-PublishQueueAsyncRK.cpp
    lib/PublishQueueAsyncRK/more-examples/FRAMExample/src/FRAMExample.cpp
    lib/PublishQueueAsyncRK/more-examples/SdFatExample/src/SdFatExample.cpp
    lib/PublishQueueAsyncRK/more-examples/SpiffsExample/src/SpiffsExample.cpp
    lib/PublishQueueAsyncRK/src/PublishQueueAsyncRK.cpp
    src/Boron-HiViz-Leds-UVC.cpp
    project.properties

attempting to flash firmware to your device Boron-Dev2

Processing  lib/New-Haven-Display/examples/usage/usage.ino
Processing  src/Boron-HiViz-Leds-UVC.ino
Checking library MB85RC256V-FRAM-RK...
Checking library PublishQueueAsyncRK...
Checking library New-Haven-Display...
Checking library MCP23008-RK...
Installing library MCP23008-RK 0.0.2 to lib/MCP23008-RK ...
Installing library New-Haven-Display 1.1.0 to lib/New-Haven-Display ...
Installing library PublishQueueAsyncRK 0.1.3 to lib/PublishQueueAsyncRK ...
Library PublishQueueAsyncRK 0.1.3 installed.
Installing library MB85RC256V-FRAM-RK 0.0.5 to lib/MB85RC256V-FRAM-RK ...
Library MCP23008-RK 0.0.2 installed.
Library New-Haven-Display 1.1.0 installed.
Library MB85RC256V-FRAM-RK 0.0.5 installed.
make -C ../modules/boron/user-part all
make[1]: Entering directory '/firmware/modules/boron/user-part'

mkdir -p target/
make -f ../../../modules/shared/nRF52840/build_linker_script.mk PREBUILD=1
make[2]: Entering directory '/firmware/modules/boron/user-part'
Creating target/platform_user_ram.ld ...
make[2]: Leaving directory '/firmware/modules/boron/user-part'

make -C ../../../user 
make[2]: Entering directory '/firmware/user'
Building cpp file: src/Boron-HiViz-Leds-UVC.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-13-msrc/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=13 -DPLATFORM_NAME=boron -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD00D -DUSBD_PID_CDC=0xC00D -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=13 -DPRODUCT_FIRMWARE_VERSION=65535 -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.5.2 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../third_party/miniz/miniz -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/boron -I../hal/network/lwip/cellular -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 -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../third_party/openthread/openthread/include -I../third_party/openthread/openthread/src/core -I../third_party/openthread/openthread/examples/platforms -I../third_party/openthread/openthread/radio -I../third_party/openthread/openthread/radio/hal -I../third_party/openthread/openthread/radio/rsch -I../third_party/openthread/openthread/radio/rsch/raal -I../third_party/openthread/openthread/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../dynalib/inc -Isrc -I./libraries -Ilib/MCP23008-RK/src -Ilib/New-Haven-Display/src -Ilib/MB85RC256V-FRAM-RK/src -Ilib/PublishQueueAsyncRK/src -I. -MD -MP -MF ../build/target/user/platform-13-msrc/Boron-HiViz-Leds-UVC.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 -DSPARK_PLATFORM_NET=UBLOXSARA -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -DLOG_INCLUDE_SOURCE_INFO=1 -DPARTICLE_USER_MODULE -DUSER_FIRMWARE_IMAGE_SIZE=0x20000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xD4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=6 -DMODULE_FUNCTION=5 -DMODULE_INDEX=1 -DMODULE_DEPENDENCY=4,1,1512 -DMODULE_DEPENDENCY2=0,0,0 -D_GNU_SOURCE -DLOG_MODULE_CATEGORY="\"app\""  -fno-exceptions -fno-rtti -fcheck-new -std=gnu++14 -c -o ../build/target/user/platform-13-msrc/Boron-HiViz-Leds-UVC.o src/Boron-HiViz-Leds-UVC.cpp

Building cpp file: lib/MCP23008-RK/src/MCP23008-RK.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-13-mMCP23008-RK/src/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=13 -DPLATFORM_NAME=boron -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD00D -DUSBD_PID_CDC=0xC00D -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=13 -DPRODUCT_FIRMW
Error: Command failed with exit code 1: /Users/chipmc/.vscode/extensions/particle.particle-vscode-core-1.12.6/src/cli/bin/darwin/amd64/particle cloud flash Boron-Dev2 --target 1.5.2 --no-update-check
Targeting version: 1.5.2

Including:
    lib/MB85RC256V-FRAM-RK/src/MB85RC256V-FRAM-RK.h
    lib/MCP23008-RK/src/MCP23008-RK.h
    lib/New-Haven-Display/src/New-Haven-Display.h
    lib/PublishQueueAsyncRK/src/PublishQueueAsyncRK.h
    src/3rdGenDevicePinoutdoc.h
    src/displayMessages.h
    lib/New-Haven-Display/examples/usage/usage.ino
    src/Boron-HiViz-Leds-UVC.ino
    lib/MB85RC256V-FRAM-RK/examples/simple/fram-simple.cpp
    lib/MB85RC256V-FRAM-RK/examples/test1m/test1m.cpp
    lib/MB85RC256V-FRAM-RK/src/MB85RC256V-FRAM-RK.cpp
    lib/MCP23008-RK/examples/01-simple-gpio/01-simple-gpio.cpp
    lib/MCP23008-RK/examples/02-really-simple-output/02-really-simple-output.cpp
    lib/MCP23008-RK/src/MCP23008-RK.cpp
    lib/New-Haven-Display/src/New-Haven-Display.cpp
    lib/PublishQueueAsyncRK/examples/1-periodic/1-periodic-PublishQueueAsyncRK.cpp
    lib/PublishQueueAsyncRK/examples/2-button-and-timer/2-button-and-timer-PublishQueueAsyncRK.cpp
    lib/PublishQueueAsyncRK/examples/3-test-suite/3-test-suite-PublishQueueAsyncRK.cpp
    lib/PublishQueueAsyncRK/more-examples/FRAMExample/src/FRAMExample.cpp
    lib/PublishQueueAsyncRK/more-examples/SdFatExample/src/SdFatExample.cpp
    lib/PublishQueueAsyncRK/more-examples/SpiffsExample/src/SpiffsExample.cpp
    lib/PublishQueueAsyncRK/src/PublishQueueAsyncRK.cpp
    src/Boron-HiViz-Leds-UVC.cpp
    project.properties

attempting to flash firmware to your device Boron-Dev2

Processing  lib/New-Haven-Display/examples/usage/usage.ino
Processing  src/Boron-HiViz-Leds-UVC.ino
Checking library MB85RC256V-FRAM-RK...
Checking library PublishQueueAsyncRK...
Checking library New-Haven-Display...
Checking library MCP23008-RK...
Installing library MCP23008-RK 0.0.2 to lib/MCP23008-RK ...
Installing library New-Haven-Display 1.1.0 to lib/New-Haven-Display ...
Installing library PublishQueueAsyncRK 0.1.3 to lib/PublishQueueAsyncRK ...
Library PublishQueueAsyncRK 0.1.3 installed.
Installing library MB85RC256V-FRAM-RK 0.0.5 to lib/MB85RC256V-FRAM-RK ...
Library MCP23008-RK 0.0.2 installed.
Library New-Haven-Display 1.1.0 installed.
Library MB85RC256V-FRAM-RK 0.0.5 installed.
make -C ../modules/boron/user-part all
make[1]: Entering directory '/firmware/modules/boron/user-part'

mkdir -p target/
make -f ../../../modules/shared/nRF52840/build_linker_script.mk PREBUILD=1
make[2]: Entering directory '/firmware/modules/boron/user-part'
Creating target/platform_user_ram.ld ...
make[2]: Leaving directory '/firmware/modules/boron/user-part'

make -C ../../../user 
make[2]: Entering directory '/firmware/user'
Building cpp file: src/Boron-HiViz-Leds-UVC.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-13-msrc/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=13 -DPLATFORM_NAME=boron -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD00D -DUSBD_PID_CDC=0xC00D -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=13 -DPRODUCT_FIRMWARE_VERSION=65535 -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.5.2 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../third_party/miniz/miniz -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/boron -I../hal/network/lwip/cellular -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 -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../third_party/openthread/openthread/include -I../third_party/openthread/openthread/src/core -I../third_party/openthread/openthread/examples/platforms -I../third_party/openthread/openthread/radio -I../third_party/openthread/openthread/radio/hal -I../third_party/openthread/openthread/radio/rsch -I../third_party/openthread/openthread/radio/rsch/raal -I../third_party/openthread/openthread/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../dynalib/inc -Isrc -I./libraries -Ilib/MCP23008-RK/src -Ilib/New-Haven-Display/src -Ilib/MB85RC256V-FRAM-RK/src -Ilib/PublishQueueAsyncRK/src -I. -MD -MP -MF ../build/target/user/platform-13-msrc/Boron-HiViz-Leds-UVC.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 -DSPARK_PLATFORM_NET=UBLOXSARA -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -DLOG_INCLUDE_SOURCE_INFO=1 -DPARTICLE_USER_MODULE -DUSER_FIRMWARE_IMAGE_SIZE=0x20000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xD4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=6 -DMODULE_FUNCTION=5 -DMODULE_INDEX=1 -DMODULE_DEPENDENCY=4,1,1512 -DMODULE_DEPENDENCY2=0,0,0 -D_GNU_SOURCE -DLOG_MODULE_CATEGORY="\"app\""  -fno-exceptions -fno-rtti -fcheck-new -std=gnu++14 -c -o ../build/target/user/platform-13-msrc/Boron-HiViz-Leds-UVC.o src/Boron-HiViz-Leds-UVC.cpp

Building cpp file: lib/MCP23008-RK/src/MCP23008-RK.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-13-mMCP23008-RK/src/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=13 -DPLATFORM_NAME=boron -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD00D -DUSBD_PID_CDC=0xC00D -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=13 -DPRODUCT_FIRMW
	at makeError (/Users/chipmc/.vscode/extensions/particle.particle-vscode-core-1.12.6/node_modules/execa/lib/error.js:59:11)
	at handlePromise (/Users/chipmc/.vscode/extensions/particle.particle-vscode-core-1.12.6/node_modules/execa/index.js:114:26)
	at processTicksAndRejections (internal/process/task_queues.js:94:5)

- - - -

And here is the audit - lightly edited for confidentiality

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

{
    "username": "******************",
    "workspace": {
        "name": "*******************",
        "isWorkspace": false,
        "folders": [
            {
                "location": "/Users/chipmc/Documents/Maker/Particle/Projects/**************",
                "hasValidPath": true,
                "settings": {
                    "firmwareName": "deviceOS",
                    "firmwareVersion": "1.5.2",
                    "targetDevice": "Boron-Dev2",
                    "targetPlatform": "boron",
                    "compileButtonAction": "localAppDeviceOS",
                    "flashButtonAction": "localAppDeviceOS",
                    "disableWelcomeScreen": true,
                    "disableDeviceOSOutdatedCheck": false,
                    "disableLocalCompilerDirtyCheck": true,
                    "enableVerboseLocalCompilerLogging": false,
                    "compileDefines": [],
                    "customDeviceOSLocation": "",
                    "maxAllowedToolchains": 4
                },
                "files": [
                    ".DS_Store",
                    ".git",
                    ".git/COMMIT_EDITMSG",
                    ".git/FETCH_HEAD",
                    ".git/HEAD",
                    ".git/branches",
                    ".git/config",
                    ".git/description",
                    ".git/hooks",
                    ".git/index",
                    ".git/info",
                    ".git/logs",
                    ".git/objects",
                    ".git/refs",
                    ".gitattributes",
                    ".gitignore",
                    ".vscode",
                    ".vscode/settings.json",
                    "LICENSE",
                    "README.md",
                    "lib",
                    "lib/.DS_Store",
                    "lib/MB85RC256V-FRAM-RK",
                    "lib/MCP23008-RK",
                    "lib/New-Haven-Display",
                    "lib/PublishQueueAsyncRK",
                    "project.properties",
                    "src",
                    "src/.DS_Store",
                    "src/3rdGenDevicePinoutdoc.h",
                    "src/Boron-HiViz-Leds-UVC.cpp",
                    "src/Boron-HiViz-Leds-UVC.ino",
                    "src/displayMessages.h",
                    "target",
                    "target/.DS_Store",
                    "target/1.3.1",
                    "target/1.4.4",
                    "target/1.5.0",
                    "target/1.5.0-rc.1",
                    "target/1.5.0-rc.2",
                    "target/1.5.1",
                    "target/1.5.2",
                    "target/obj"
                ]
            }
        ]
    },
    "cli": {
        "binpath": "/Users/chipmc/.vscode/extensions/particle.particle-vscode-core-1.12.6/src/cli/bin/darwin/amd64/particle",
        "ok": true,
        "version": "2.8.2"
    },
    "localCompiler": {
        "ok": true,
        "dependencies": [
            {
                "id": "deviceOS@2.0.0-rc.4",
                "ok": true
            },
            {
                "id": "gcc-arm@9.2.1",
                "ok": true
            },
            {
                "id": "buildtools@1.1.1",
                "ok": true
            },
            {
                "id": "buildscripts@1.9.2",
                "ok": true
            },
            {
                "id": "openocd@0.11.2-adhoc6ea4372.0",
                "ok": true
            },
            {
                "id": "deviceOS@1.5.2",
                "ok": true
            },
            {
                "id": "gcc-arm@5.3.1",
                "ok": true
            }
        ]
    },
    "platform": {
        "os": "darwin",
        "type": "Darwin",
        "release": "19.6.0",
        "arch": "x64",
        "path": {
            "key": "PATH",
            "value": "/Users/chipmc/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki:/opt/X11/bin"
        },
        "homeDir": "/Users/chipmc",
        "particleDir": "/Users/chipmc/.particle",
        "localCompilerToolchainDir": "/Users/chipmc/.particle/toolchains"
    },
    "env": {
        "ELECTRON_RUN_AS_NODE": "1",
        "SECURITYSESSIONID": "186a7",
        "USER": "chipmc",
        "COMMAND_MODE": "unix2003",
        "PATH": "/Users/chipmc/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki:/opt/X11/bin",
        "HOME": "/Users/chipmc",
        "SHELL": "/bin/bash",
        "LaunchInstanceID": "9D2451BA-39F2-4953-A4CC-94CEF60660AF",
        "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0",
        "XPC_SERVICE_NAME": "com.apple.xpc.launchd.oneshot.0x10000006.Electron",
        "DISPLAY": "/private/tmp/com.apple.launchd.u4JTtedIrL/org.macosforge.xquartz:0",
        "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.Twg78VChid/Listeners",
        "XPC_FLAGS": "0x0",
        "LOGNAME": "chipmc",
        "TMPDIR": "/var/folders/22/2lzmn8d97yq40jvxfd13hypm0000gn/T/",
        "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
        "VSCODE_NODE_CACHED_DATA_DIR": "/Users/chipmc/Library/Application Support/Code/CachedData/e5a624b788d92b8d34d1392e4c4d9789406efe8f",
        "VSCODE_LOGS": "/Users/chipmc/Library/Application Support/Code/logs/20201116T160723",
        "VSCODE_IPC_HOOK": "/Users/chipmc/Library/Application Support/Code/1.51.1-main.sock",
        "VSCODE_PID": "546",
        "NVM_DIR": "/Users/chipmc/.nvm",
        "PWD": "/",
        "SHLVL": "1",
        "_": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron",
        "AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
        "PIPE_LOGGING": "true",
        "VERBOSE_LOGGING": "true",
        "VSCODE_IPC_HOOK_EXTHOST": "/var/folders/22/2lzmn8d97yq40jvxfd13hypm0000gn/T/vscode-ipc-12694389-7b7b-4887-b969-c0a4a8cfd520.sock",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_LOG_STACK": "false",
        "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true"
    },
    "versions": {
        "node": "12.14.1",
        "v8": "8.3.110.13-electron.0",
        "uv": "1.33.1",
        "zlib": "1.2.11",
        "brotli": "1.0.7",
        "ares": "1.15.0",
        "modules": "80",
        "nghttp2": "1.40.0",
        "napi": "5",
        "llhttp": "2.0.1",
        "http_parser": "2.8.0",
        "openssl": "1.1.0",
        "cldr": "36.0",
        "icu": "65.1",
        "tz": "2020a",
        "unicode": "12.1",
        "electron": "9.3.3"
    },
    "vscode": {
        "appName": "Visual Studio Code",
        "appRoot": "/Applications/Visual Studio Code.app/Contents/Resources/app",
        "machineId": "59131b508a1bc72c0adb4c0475651b8a7a01908fcb7fd6bb3e7625c8a07178c5",
        "sessionId": "c134f277-d967-4b33-b7d8-9051cba923471605727332741",
        "version": "1.51.1"
    },
    "extensions": [
        {
            "id": "ms-vscode.js-debug",
            "version": "1.51.0"
        },
        {
            "id": "ms-vscode.js-debug-companion",
            "version": "1.0.8"
        },
        {
            "id": "ms-vscode.node-debug",
            "version": "1.44.14"
        },
        {
            "id": "ms-vscode.node-debug2",
            "version": "1.42.5"
        },
        {
            "id": "ms-vscode.references-view",
            "version": "0.0.71"
        },
        {
            "id": "ms-vscode.vscode-js-profile-table",
            "version": "0.0.11"
        },
        {
            "id": "austin.code-gnu-global",
            "version": "0.2.2"
        },
        {
            "id": "CoenraadS.bracket-pair-colorizer",
            "version": "1.0.61"
        },
        {
            "id": "HookyQR.beautify",
            "version": "1.5.0"
        },
        {
            "id": "marus25.cortex-debug",
            "version": "0.3.7"
        },
        {
            "id": "ms-vscode.cpptools",
            "version": "1.1.2"
        },
        {
            "id": "nobuhito.printcode",
            "version": "3.0.0"
        },
        {
            "id": "particle.particle-vscode-core",
            "version": "1.12.6"
        },
        {
            "id": "particle.particle-vscode-pack",
            "version": "1.12.6"
        },
        {
            "id": "particle.particle-vscode-snippets",
            "version": "1.12.6"
        },
        {
            "id": "particle.particle-vscode-theme",
            "version": "1.12.6"
        },
        {
            "id": "vsciot-vscode.vscode-arduino",
            "version": "0.3.3"
        }
    ]
}

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

Any help would be appreciated.

Thanks,

Chip

What happens if you do a cloud CLI compile? Do a Particle - Launch CLI and in the command prompt:

particle compile boron . --saveTo firmware.bin

@rickkas7,

Wow, lots of Red.

Including:
    lib/MB85RC256V-FRAM-RK/src/MB85RC256V-FRAM-RK.h
    lib/MCP23008-RK/src/MCP23008-RK.h
    lib/New-Haven-Display/src/New-Haven-Display.h
    lib/PublishQueueAsyncRK/src/PublishQueueAsyncRK.h
    src/3rdGenDevicePinoutdoc.h
    src/displayMessages.h
    lib/New-Haven-Display/examples/usage/usage.ino
    src/Boron-HiViz-Leds-UVC.ino
    lib/MB85RC256V-FRAM-RK/examples/simple/fram-simple.cpp
    lib/MB85RC256V-FRAM-RK/examples/test1m/test1m.cpp
    lib/MB85RC256V-FRAM-RK/src/MB85RC256V-FRAM-RK.cpp
    lib/MCP23008-RK/examples/01-simple-gpio/01-simple-gpio.cpp
    lib/MCP23008-RK/examples/02-really-simple-output/02-really-simple-output.cpp
    lib/MCP23008-RK/src/MCP23008-RK.cpp
    lib/New-Haven-Display/src/New-Haven-Display.cpp
    lib/PublishQueueAsyncRK/examples/1-periodic/1-periodic-PublishQueueAsyncRK.cpp
    lib/PublishQueueAsyncRK/examples/2-button-and-timer/2-button-and-timer-PublishQueueAsyncRK.cpp
    lib/PublishQueueAsyncRK/examples/3-test-suite/3-test-suite-PublishQueueAsyncRK.cpp
    lib/PublishQueueAsyncRK/more-examples/FRAMExample/src/FRAMExample.cpp
    lib/PublishQueueAsyncRK/more-examples/SdFatExample/src/SdFatExample.cpp
    lib/PublishQueueAsyncRK/more-examples/SpiffsExample/src/SpiffsExample.cpp
    lib/PublishQueueAsyncRK/src/PublishQueueAsyncRK.cpp
    src/Boron-HiViz-Leds-UVC.cpp
    project.properties

attempting to compile firmware
Compile failed: Processing  lib/New-Haven-Display/examples/usage/usage.ino
Processing  src/Boron-HiViz-Leds-UVC.ino
Checking library MB85RC256V-FRAM-RK...
Checking library PublishQueueAsyncRK...
Checking library New-Haven-Display...
Checking library MCP23008-RK...
Installing library New-Haven-Display 1.1.0 to lib/New-Haven-Display ...
Installing library MCP23008-RK 0.0.2 to lib/MCP23008-RK ...
Installing library PublishQueueAsyncRK 0.1.3 to lib/PublishQueueAsyncRK ...
Installing library MB85RC256V-FRAM-RK 0.0.5 to lib/MB85RC256V-FRAM-RK ...
Library New-Haven-Display 1.1.0 installed.
Library MB85RC256V-FRAM-RK 0.0.5 installed.
Library PublishQueueAsyncRK 0.1.3 installed.
Library MCP23008-RK 0.0.2 installed.
make -C ../modules/boron/user-part all
make[1]: Entering directory '/firmware/modules/boron/user-part'

mkdir -p target/
make -f ../../../modules/shared/nRF52840/build_linker_script.mk PREBUILD=1
make[2]: Entering directory '/firmware/modules/boron/user-part'
Creating target/platform_user_ram.ld ...
make[2]: Leaving directory '/firmware/modules/boron/user-part'

make -C ../../../user 
make[2]: Entering directory '/firmware/user'
Building cpp file: src/Boron-HiViz-Leds-UVC.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-13-msrc/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=13 -DPLATFORM_NAME=boron -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD00D -DUSBD_PID_CDC=0xC00D -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=13 -DPRODUCT_FIRMWARE_VERSION=65535 -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.5.2 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../third_party/miniz/miniz -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/boron -I../hal/network/lwip/cellular -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 -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../third_party/openthread/openthread/include -I../third_party/openthread/openthread/src/core -I../third_party/openthread/openthread/examples/platforms -I../third_party/openthread/openthread/radio -I../third_party/openthread/openthread/radio/hal -I../third_party/openthread/openthread/radio/rsch -I../third_party/openthread/openthread/radio/rsch/raal -I../third_party/openthread/openthread/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../dynalib/inc -Isrc -I./libraries -Ilib/MCP23008-RK/src -Ilib/New-Haven-Display/src -Ilib/MB85RC256V-FRAM-RK/src -Ilib/PublishQueueAsyncRK/src -I. -MD -MP -MF ../build/target/user/platform-13-msrc/Boron-HiViz-Leds-UVC.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 -DSPARK_PLATFORM_NET=UBLOXSARA -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -DLOG_INCLUDE_SOURCE_INFO=1 -DPARTICLE_USER_MODULE -DUSER_FIRMWARE_IMAGE_SIZE=0x20000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xD4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=6 -DMODULE_FUNCTION=5 -DMODULE_INDEX=1 -DMODULE_DEPENDENCY=4,1,1512 -DMODULE_DEPENDENCY2=0,0,0 -D_GNU_SOURCE -DLOG_MODULE_CATEGORY="\"app\""  -fno-exceptions -fno-rtti -fcheck-new -std=gnu++14 -c -o ../build/target/user/platform-13-msrc/Boron-HiViz-Leds-UVC.o src/Boron-HiViz-Leds-UVC.cpp

Building cpp file: lib/MCP23008-RK/src/MCP23008-RK.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-13-mMCP23008-RK/src/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=13 -DPLATFORM_NAME=boron -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD00D -DUSBD_PID_CDC=0xC00D -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=13 -DPRODUCT_FIRMWARE_VERSION=65535 -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.5.2 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../third_party/miniz/miniz -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/boron -I../hal/network/lwip/cellular -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 -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../third_party/openthread/openthread/include -I../third_party/openthread/openthread/src/core -I../third_party/openthread/openthread/examples/platforms -I../third_party/openthread/openthread/radio -I../third_party/openthread/openthread/radio/hal -I../third_party/openthread/openthread/radio/rsch -I../third_party/openthread/openthread/radio/rsch/raal -I../third_party/openthread/openthread/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../dynalib/inc -Isrc -I./libraries -Ilib/MCP23008-RK/src -Ilib/New-Haven-Display/src -Ilib/MB85RC256V-FRAM-RK/src -Ilib/PublishQueueAsyncRK/src -I. -MD -MP -MF ../build/target/user/platform-13-mMCP23008-RK/src/MCP23008-RK.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 -DSPARK_PLATFORM_NET=UBLOXSARA -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -DLOG_INCLUDE_SOURCE_INFO=1 -DPARTICLE_USER_MODULE -DUSER_FIRMWARE_IMAGE_SIZE=0x20000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xD4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=6 -DMODULE_FUNCTION=5 -DMODULE_INDEX=1 -DMODULE_DEPENDENCY=4,1,1512 -DMODULE_DEPENDENCY2=0,0,0 -D_GNU_SOURCE -DLOG_MODULE_CATEGORY="\"app\""  -fno-exceptions -fno-rtti -fcheck-new -std=gnu++14 -c -o ../build/target/user/platform-13-mMCP23008-RK/src/MCP23008-RK.o lib/MCP23008-RK/src/MCP23008-RK.cpp

Building cpp file: lib/New-Haven-Display/src/New-Haven-Display.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-13-mNew-Haven-Display/src/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=13 -DPLATFORM_NAME=boron -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD00D -DUSBD_PID_CDC=0xC00D -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=13 -DPRODUCT_FIRMWARE_VERSION=65535 -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.5.2 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../third_party/miniz/miniz -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/boron -I../hal/network/lwip/cellular -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 -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../third_party/openthread/openthread/include -I../third_party/openthread/openthread/src/core -I../third_party/openthread/openthread/examples/platforms -I../third_party/openthread/openthread/radio -I../third_party/openthread/openthread/radio/hal -I../third_party/openthread/openthread/radio/rsch -I../third_party/openthread/openthread/radio/rsch/raal -I../third_party/openthread/openthread/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../dynalib/inc -Isrc -I./libraries -Ilib/MCP23008-RK/src -Ilib/New-Haven-Display/src -Ilib/MB85RC256V-FRAM-RK/src -Ilib/PublishQueueAsyncRK/src -I. -MD -MP -MF ../build/target/user/platform-13-mNew-Haven-Display/src/New-Haven-Display.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 -DSPARK_PLATFORM_NET=UBLOXSARA -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -DLOG_INCLUDE_SOURCE_INFO=1 -DPARTICLE_USER_MODULE -DUSER_FIRMWARE_IMAGE_SIZE=0x20000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xD4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=6 -DMODULE_FUNCTION=5 -DMODULE_INDEX=1 -DMODULE_DEPENDENCY=4,1,1512 -DMODULE_DEPENDENCY2=0,0,0 -D_GNU_SOURCE -DLOG_MODULE_CATEGORY="\"app\""  -fno-exceptions -fno-rtti -fcheck-new -std=gnu++14 -c -o ../build/target/user/platform-13-mNew-Haven-Display/src/New-Haven-Display.o lib/New-Haven-Display/src/New-Haven-Display.cpp
lib/New-Haven-Display/src/New-Haven-Display.cpp: In function 'void updateRow(byte, byte, char)':
lib/New-Haven-Display/src/New-Haven-Display.cpp:160:37: error: 'ROW_N' was not declared in this scope
    if (targetROW < 0 || targetROW > ROW_N) targetROW = 0;
                                     ^
lib/New-Haven-Display/src/New-Haven-Display.cpp:161:37: error: 'COL_N' was not declared in this scope
    if (targetCOL < 0 || targetCOL > COL_N) targetCOl = 0;
                                     ^
lib/New-Haven-Display/src/New-Haven-Display.cpp:161:44: error: 'targetCOl' was not declared in this scope
    if (targetCOL < 0 || targetCOL > COL_N) targetCOl = 0;
                                            ^
lib/New-Haven-Display/src/New-Haven-Display.cpp:163:12: error: 'new_line' was not declared in this scope
    command(new_line[targetROW]);
            ^
lib/New-Haven-Display/src/New-Haven-Display.cpp:163:31: error: 'command' was not declared in this scope
    command(new_line[targetROW]);
                               ^
lib/New-Haven-Display/src/New-Haven-Display.cpp:167:18: error: 'data' was not declared in this scope
    data(Character);
                  ^
../build/module.mk:286: recipe for target '../build/target/user/platform-13-mNew-Haven-Display/src/New-Haven-Display.o' failed
make[2]: *** [../build/target/user/platform-13-mNew-Haven-Display/src/New-Haven-Display.o] Error 1
make[2]: Leaving directory '/firmware/user'
../../../build/recurse.mk:11: recipe for target 'user' failed
make[1]: *** [user] Error 2
make[1]: Leaving directory '/firmware/modules/boron/user-part'
../build/recurse.mk:11: recipe for target 'modules/boron/user-part' failed
make: *** [modules/boron/user-part] Error 2

Looks like there could be a problem with the library I made for the New Haven display. I tried building a Particle library which I have made public:

Why do I not see any of this when I simply compile?

Thanks,

Chip

@chipmc looks like you are using a few libraries. i don’t know if you’ve tweaked any of those locally but if so, one gotcha is that cloud compiling will ignore your local copies in preference of those specified in your project.properties. usually this doesn’t matter since they end up being exactly the same but sometimes that’s not true and it causes problems.

try commenting out (place a # at the start of the line) any lines within project.properties starting with dependencies. and then re-try the cloud compile command.