Tracker One compilation error in Particle Bench

Unboxed Partcile One tracker (in the case)
Claimed the device under my account
Downloaded firmware accordingly to tutorial
TrackerEdge V14

When compiling locally in the Workbench, I get this output. What can I do to fix it?

:::: COMPILING APPLICATION & DEVICE OS

  /Users/user_name/.particle/toolchains/deviceOS/3.1.0-rc.1/modules/tracker/system-part1/makefile /Users/user_name/.particle/toolchains/deviceOS/3.1.0-rc.1/modules/tracker/user-part/makefile
   text    data     bss     dec     hex filename
 502948    3030   62368  568346   8ac1a ../../../build/target/system-part1/platform-26-m/system-part1.elf
Creating /Users/user_name/Downloads/tracker-edge/target/3.1.0-rc.1/tracker/platform_user_ram.ld ...
In file included from /Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.cpp:17:
/Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.h: In member function 'bool ubloxGPS::addLogString(uint8_t*, uint16_t)':
/Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.h:560:13: error: flexible array member 'ubx_log_string_t::bytes' not at end of 'struct ubloxGPS::addLogString(uint8_t*, uint16_t)::<unnamed>'
  560 |     uint8_t bytes[];
      |             ^~~~~
/Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.cpp:1912:14: note: next member 'char ubloxGPS::addLogString(uint8_t*, uint16_t)::<unnamed struct>::payload [256]' declared here
 1912 |         char payload[UBX_LOG_STRING_MAX_LEN];
      |              ^~~~~~~
/Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.cpp:1907:12: note: in the definition of 'struct ubloxGPS::addLogString(uint8_t*, uint16_t)::<unnamed>'
 1907 |     struct {
      |            ^
In file included from /Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.cpp:17:
/Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.h: In member function 'ubx_mga_flash_ack_type_t ubloxGPS::writeMGA(uint8_t*, uint16_t)':
/Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.h:571:13: error: flexible array member 'ubx_mga_flash_write_t::data' not at end of 'struct ubloxGPS::writeMGA(uint8_t*, uint16_t)::<unnamed>'
  571 |     uint8_t data[]; // size bytes
      |             ^~~~
/Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.cpp:2030:14: note: next member 'char ubloxGPS::writeMGA(uint8_t*, uint16_t)::<unnamed struct>::payload [512]' declared here
 2030 |         char payload[UBX_MGA_FLASH_DATA_MAX_LEN];
      |              ^~~~~~~
/Users/user_name/Downloads/tracker-edge/lib/gps-ublox/src/ubloxGPS.cpp:2025:12: note: in the definition of 'struct ubloxGPS::writeMGA(uint8_t*, uint16_t)::<unnamed>'
 2025 |     struct {
      |            ^
make[3]: *** [../build/target/user/platform-26-m/tracker-edge/gps-ublox/src/ubloxGPS.o] Error 1
make[2]: *** [user] Error 2
make[1]: *** [/Users/user_name/.particle/toolchains/deviceOS/3.1.0-rc.1/modules/tracker/user-part/makefile] Error 2
make: *** [compile-all] Error 2
The terminal process "/bin/bash '-c', 'make -f '/Users/user_name/.particle/toolchains/buildscripts/1.10.0/Makefile' compile-all -s'" terminated with exit code: 2.

Overall, I didn’t manage to use any of the examples to make Tracker One work. Super frustrating.

OUTPUT tab shows this:

Targeting version: 3.1.0-rc.1

Including:
    lib/AM1805/src/AM1805.h
    lib/bmi160/src/bmi160.h
    lib/bmi160/src/bmi160regs.h
    lib/can-mcp25x/src/mcp_can_dfs.h
    lib/can-mcp25x/src/mcp_can.h
    lib/fw-config-service/src/background_publish.h
    lib/fw-config-service/src/cloud_service.h
    lib/fw-config-service/src/config_service_nodes.h
    lib/fw-config-service/src/config_service.h
    lib/fw-config-service/src/murmur3.h
    lib/gps-nmea-parser/src/gps/gps.h
    lib/gps-ublox/src/ubloxGPS.h
    lib/location-service/src/location_service.h
    lib/Thermistor/src/thermistor.h
    src/gnss_led.h
    src/motion_service.h
    src/temperature.h
    src/tracker_cellular.h
    src/tracker_config.h
    src/tracker_location.h
    src/tracker_motion.h
    src/tracker_rgb.h
    src/tracker_shipping.h
    src/tracker_sleep.h
    src/tracker.h
    lib/AM1805/src/AM1805.cpp
    lib/bmi160/src/bmi160.cpp
    lib/bmi160/test/main.cpp
    lib/can-mcp25x/example/test.cpp
    lib/can-mcp25x/src/mcp_can.cpp
    lib/fw-config-service/src/background_publish.cpp
    lib/fw-config-service/src/cloud_service.cpp
    lib/fw-config-service/src/config_service.cpp
    lib/fw-config-service/src/murmur3.cpp
    lib/gps-nmea-parser/src/gps/gps.cpp
    lib/gps-ublox/src/ubloxGPS.cpp
    lib/location-service/src/location_service.cpp
    lib/location-service/test/main.cpp
    lib/Thermistor/test/main.cpp
    src/gnss_led.cpp
    src/main.cpp
    src/motion_service.cpp
    src/temperature.cpp
    src/tracker_cellular.cpp
    src/tracker_location.cpp
    src/tracker_motion.cpp
    src/tracker_rgb.cpp
    src/tracker_shipping.cpp
    src/tracker_sleep.cpp
    src/tracker.cpp
    project.properties

attempting to flash firmware to your device Tracker One Blynk

make -C ../modules/tracker/user-part all
make[1]: Entering directory `/firmware/modules/tracker/user-part'

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

make -C ../../../user 
make[2]: Entering directory `/firmware/user'
Building cpp file: src/tracker_rgb.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-26-msrc/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=26 -DPLATFORM_NAME=tracker -DPLATFORM_GEN=3 -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD01A -DUSBD_PID_CDC=0xC01A -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=26 -DPRODUCT_FIRMWARE_VERSION=65535 -D_WIZCHIP_=W5500 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DLFS_CONFIG=lfs_config.h -DSYSTEM_VERSION_STRING=3.1.0-rc.1 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/tracker -I../hal/network/lwip/cellular -I../hal/network/lwip/esp32 -I../hal/network/ncp/wifi -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/mbedtls -I../hal/src/nRF52840/littlefs -I../hal -I../hal/src/nRF52840/posix -I../hal/network -I../hal/network/api -I../hal/network/lwip -I../hal/network/lwip/posix -I../hal/network/lwip/wiznet -I../hal/network/ncp -I../hal/network/ncp/at_parser -I../hal/network/util -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/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/softdevice/mbr/nrf52840/headers -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/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../third_party/miniz/miniz -I../platform/MCU/nRF52840/inc -I../dynalib/inc -Isrc -I./libraries -Ilib/bmi160/src -Ilib/gps-nmea-parser/src -Ilib/gps-ublox/src -Ilib/fw-config-service/src -Ilib/Thermistor/src -Ilib/location-service/src -Ilib/can-mcp25x/src -Ilib/AM1805/src -I. -MD -MP -MF ../build/target/user/platform-26-msrc/tracker_rgb.o.d -ffunction-sections -fdata-sections -Wall -Wno-switch -Wno-error=deprecated-declarations -fmessage-length=0 -fno-strict-aliasing -DSPARK=1 -DPARTICLE=1 -Werror=return-type -Wundef -DSTART_DFU_FLASHER_SERIAL_SPEED=14400 -DSTART_YMODEM_FLASHER_SERIAL_SPEED=28800 -DSPARK_PLATFORM_NET=QUECTEL -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -DLOG_INCLUDE_SOURCE_INFO=1 -DPARTICLE_USER_MODULE -DUSER_FIRMWARE_IMAGE_SIZE=0x40000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xB4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=6 -DMODULE_FUNCTION=5 -DMODULE_INDEX=2 -DMODULE_DEPENDENCY=4,1,3102 -DMODULE_DEPENDENCY2=0,0,0 -D_GNU_SOURCE -DLOG_MODULE_CATEGORY="\"app\""  -fno-exceptions -fno-rtti -fcheck-new -flto -ffat-lto-objects -DPARTICLE_COMPILE_LTO_FAT -std=gnu++14 -c -o ../build/target/user/platform-26-msrc/tracker_rgb.o src/tracker_rgb.cpp

Building cpp file: src/tracker.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-26-msrc/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=26 -DPLATFORM_NAME=tracker -DPLATFORM_GEN=3 -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD01A -DUSBD_PID_CDC=0xC01A -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=26 -DPRODUCT_FIRMWARE_VERSION=65535 -D_WIZCHIP_=W5500 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DLFS_CONFIG=lfs_config.h -DSYSTEM_VERSION_STRING=3.1.0-rc.1 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/tracker -I../hal/network/lwip/cellular -I../hal/network/lwip/esp32 -I../hal/network/ncp/wifi -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/mbedtls -I../hal/src/nRF52840/littlefs -I../hal -I../hal/src/nRF52840/posix -I../hal/network -I../hal/network/api -I../hal/network/lwip -I../hal/network/lwip/posix -I../hal/network/lwip/wiznet -I../hal/network/ncp -I../hal/network/ncp/at_parser -I../hal/network/util -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../thi
Error: Command failed with exit code 1: /Users/pavlobayborodin/.vscode/extensions/particle.particle-vscode-core-1.13.9/src/cli/bin/darwin/amd64/particle cloud flash Tracker One Blynk --target 3.1.0-rc.1 --no-update-check
Targeting version: 3.1.0-rc.1

Including:
    lib/AM1805/src/AM1805.h
    lib/bmi160/src/bmi160.h
    lib/bmi160/src/bmi160regs.h
    lib/can-mcp25x/src/mcp_can_dfs.h
    lib/can-mcp25x/src/mcp_can.h
    lib/fw-config-service/src/background_publish.h
    lib/fw-config-service/src/cloud_service.h
    lib/fw-config-service/src/config_service_nodes.h
    lib/fw-config-service/src/config_service.h
    lib/fw-config-service/src/murmur3.h
    lib/gps-nmea-parser/src/gps/gps.h
    lib/gps-ublox/src/ubloxGPS.h
    lib/location-service/src/location_service.h
    lib/Thermistor/src/thermistor.h
    src/gnss_led.h
    src/motion_service.h
    src/temperature.h
    src/tracker_cellular.h
    src/tracker_config.h
    src/tracker_location.h
    src/tracker_motion.h
    src/tracker_rgb.h
    src/tracker_shipping.h
    src/tracker_sleep.h
    src/tracker.h
    lib/AM1805/src/AM1805.cpp
    lib/bmi160/src/bmi160.cpp
    lib/bmi160/test/main.cpp
    lib/can-mcp25x/example/test.cpp
    lib/can-mcp25x/src/mcp_can.cpp
    lib/fw-config-service/src/background_publish.cpp
    lib/fw-config-service/src/cloud_service.cpp
    lib/fw-config-service/src/config_service.cpp
    lib/fw-config-service/src/murmur3.cpp
    lib/gps-nmea-parser/src/gps/gps.cpp
    lib/gps-ublox/src/ubloxGPS.cpp
    lib/location-service/src/location_service.cpp
    lib/location-service/test/main.cpp
    lib/Thermistor/test/main.cpp
    src/gnss_led.cpp
    src/main.cpp
    src/motion_service.cpp
    src/temperature.cpp
    src/tracker_cellular.cpp
    src/tracker_location.cpp
    src/tracker_motion.cpp
    src/tracker_rgb.cpp
    src/tracker_shipping.cpp
    src/tracker_sleep.cpp
    src/tracker.cpp
    project.properties

attempting to flash firmware to your device Tracker One Blynk

make -C ../modules/tracker/user-part all
make[1]: Entering directory `/firmware/modules/tracker/user-part'

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

make -C ../../../user 
make[2]: Entering directory `/firmware/user'
Building cpp file: src/tracker_rgb.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-26-msrc/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=26 -DPLATFORM_NAME=tracker -DPLATFORM_GEN=3 -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD01A -DUSBD_PID_CDC=0xC01A -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=26 -DPRODUCT_FIRMWARE_VERSION=65535 -D_WIZCHIP_=W5500 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DLFS_CONFIG=lfs_config.h -DSYSTEM_VERSION_STRING=3.1.0-rc.1 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/tracker -I../hal/network/lwip/cellular -I../hal/network/lwip/esp32 -I../hal/network/ncp/wifi -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/mbedtls -I../hal/src/nRF52840/littlefs -I../hal -I../hal/src/nRF52840/posix -I../hal/network -I../hal/network/api -I../hal/network/lwip -I../hal/network/lwip/posix -I../hal/network/lwip/wiznet -I../hal/network/ncp -I../hal/network/ncp/at_parser -I../hal/network/util -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/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/softdevice/mbr/nrf52840/headers -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/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../third_party/miniz/miniz -I../platform/MCU/nRF52840/inc -I../dynalib/inc -Isrc -I./libraries -Ilib/bmi160/src -Ilib/gps-nmea-parser/src -Ilib/gps-ublox/src -Ilib/fw-config-service/src -Ilib/Thermistor/src -Ilib/location-service/src -Ilib/can-mcp25x/src -Ilib/AM1805/src -I. -MD -MP -MF ../build/target/user/platform-26-msrc/tracker_rgb.o.d -ffunction-sections -fdata-sections -Wall -Wno-switch -Wno-error=deprecated-declarations -fmessage-length=0 -fno-strict-aliasing -DSPARK=1 -DPARTICLE=1 -Werror=return-type -Wundef -DSTART_DFU_FLASHER_SERIAL_SPEED=14400 -DSTART_YMODEM_FLASHER_SERIAL_SPEED=28800 -DSPARK_PLATFORM_NET=QUECTEL -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -DLOG_INCLUDE_SOURCE_INFO=1 -DPARTICLE_USER_MODULE -DUSER_FIRMWARE_IMAGE_SIZE=0x40000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xB4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=6 -DMODULE_FUNCTION=5 -DMODULE_INDEX=2 -DMODULE_DEPENDENCY=4,1,3102 -DMODULE_DEPENDENCY2=0,0,0 -D_GNU_SOURCE -DLOG_MODULE_CATEGORY="\"app\""  -fno-exceptions -fno-rtti -fcheck-new -flto -ffat-lto-objects -DPARTICLE_COMPILE_LTO_FAT -std=gnu++14 -c -o ../build/target/user/platform-26-msrc/tracker_rgb.o src/tracker_rgb.cpp

Building cpp file: src/tracker.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-26-msrc/
arm-none-eabi-gcc -DSTM32_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=26 -DPLATFORM_NAME=tracker -DPLATFORM_GEN=3 -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD01A -DUSBD_PID_CDC=0xC01A -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=26 -DPRODUCT_FIRMWARE_VERSION=65535 -D_WIZCHIP_=W5500 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DLFS_CONFIG=lfs_config.h -DSYSTEM_VERSION_STRING=3.1.0-rc.1 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/tracker -I../hal/network/lwip/cellular -I../hal/network/lwip/esp32 -I../hal/network/ncp/wifi -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/mbedtls -I../hal/src/nRF52840/littlefs -I../hal -I../hal/src/nRF52840/posix -I../hal/network -I../hal/network/api -I../hal/network/lwip -I../hal/network/lwip/posix -I../hal/network/lwip/wiznet -I../hal/network/ncp -I../hal/network/ncp/at_parser -I../hal/network/util -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../thi
	at makeError (/Users/pavlobayborodin/.vscode/extensions/particle.particle-vscode-core-1.13.9/node_modules/execa/lib/error.js:59:11)
	at handlePromise (/Users/pavlobayborodin/.vscode/extensions/particle.particle-vscode-core-1.13.9/node_modules/execa/index.js:114:26)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:93:5)

- - - -

It appears that Tracker Edge v14 cannot be built targeting 3.1.0.rc.1 because the upgraded compiler in that version causes the error you are seeing. You should target Device OS 3.0.0 until a compatible version of Tracker Edge is released.

Installed toolchain and set it up for 3.0.0

:::: COMPILING APPLICATION & DEVICE OS

  /Users/user/.particle/toolchains/deviceOS/3.0.0/modules/tracker/system-part1/makefile /Users/user/.particle/toolchains/deviceOS/3.0.0/modules/tracker/user-part/makefile
/Users/user/.particle/toolchains/gcc-arm/9.2.1/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ar: ../../build/target/lwip/platform-26-m/liblwip.a: No such file or directory
make[4]: *** [../../build/target/lwip/platform-26-m/liblwip.a] Error 1
make[3]: *** [third_party/lwip] Error 2
make[2]: *** [hal] Error 2
make[1]: *** [/Users/user/.particle/toolchains/deviceOS/3.0.0/modules/tracker/system-part1/makefile] Error 2
make: *** [compile-all] Error 2
The terminal process "/bin/bash '-c', 'make -f '/Users/user/.particle/toolchains/buildscripts/1.10.0/Makefile' compile-all -s'" terminated with exit code: 2.

Press any key to close the terminal.

UPD: I managed to flash using cloud compile (never compiled locally)

@Escko this is what we need in order to help troubleshoot:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.