Looks like i am experiencing this exact issue. Upgraded to 3.5.2b1, but that did not help. Running on a Teensy 3.2. Everything was working just fine, until all of a sudden it wasn’t. By all indications the code is nor running on the uC. Example code runs just fine from the arduino IDE
[platformio]
env_default = teensy31
[env:teensy31]
platform = teensy
board = teensy31
;build_flags = -DSERIAL_RX_BUFFER_SIZE=256
framework = arduino
;board_f_cpu = 96000000
lib_deps =
file://./platformio_libs/nanopb.z1.zip
file://./platformio_libs/HX711.z1.zip
file://./platformio_libs/VescUartControl.z1.zip
[env:bt_only]
platform = teensy
board = teensy31
framework = arduino
;build_flags = -D BT_ONLY -DSERIAL_RX_BUFFER_SIZE=256
lib_deps =
file://./platformio_libs/nanopb.z1.zip
file://./platformio_libs/HX711.z1.zip
file://./platformio_libs/VescUartControl.z1.zip