You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PlatformIO Core.
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Windows 10
PlatformIO Version (platformio --version): 6.1.14
Description of problem
When trying to build a project for the Adafruit "Feather M0" (note the space) microcontroller, the following error occurs:
Building in release mode
Compiling .pio\build\release\src\main.cpp.o
arm-none-eabi-g++: error: Feather: No such file or directory
arm-none-eabi-g++: error: M0" -DUSB_MANUFACTURER="Adafruit" -DARDUINO_ARCH_SAMD -DUSB_CONFIG_POWER=100 -DARDUINO_SAMD_ADAFRUIT -Iinclude -Isrc -I.pio\libdeps\release\avarange-cnc\src -I.pio\libdeps\release\avarange-cnc\src\feather -I.pio\libdeps\release\avarange-cnc@src-70ebec3fa7d6c847ce02952497bc5f88\src -I.pio\libdeps\release\avarange-cnc@src-70ebec3fa7d6c847ce02952497bc5f88\src\feather -I.pio\libdeps\release\Adafruit: No such file or directory
arm-none-eabi-g++: error: BME280: No such file or directory
arm-none-eabi-g++: error: Library -I.pio\libdeps\release\Adafruit: No such file or directory
arm-none-eabi-g++: error: SHTC3: No such file or directory
arm-none-eabi-g++: error: Library -I.pio\libdeps\release\Adafruit: No such file or directory
arm-none-eabi-g++: error: Unified: No such file or directory
arm-none-eabi-g++: error: Sensor -I.pio\libdeps\release\Adafruit: No such file or directory
arm-none-eabi-g++: error: INA219 -I.pio\libdeps\release\Adafruit: No such file or directory
arm-none-eabi-g++: error: BusIO -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\libraries\Wire -I.pio\libdeps\release\Adafruit: Invalid argument
arm-none-eabi-g++: error: SleepyDog: No such file or directory
arm-none-eabi-g++: error: Library -I.pio\libdeps\release\Adafruit: No such file or directory
arm-none-eabi-g++: error: SleepyDog: No such file or directory
arm-none-eabi-g++: error: Library\utility -I.pio\libdeps\release\RadioHead -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\libraries\SPI -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\libraries\Adafruit_ZeroDMA -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\libraries\Adafruit_ZeroDMA\utility -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\libraries\Adafruit_TinyUSB_Arduino\src -IC:\Users\tehmi.platformio\packages\framework-cmsis\CMSIS\Core\Include -IC:\Users\tehmi.platformio\packages\framework-cmsis-atmel\CMSIS\Device\ATMEL -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\cores\arduino -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\libraries\Adafruit_TinyUSB_Arduino\src\arduino -IC:\Users\tehmi.platformio\packages\framework-cmsis\CMSIS\DSP\Include -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\variants\feather_m0 src\main.cpp: No such file or directory
arm-none-eabi-g++: error: unrecognized command line option '--dirty'
arm-none-eabi-g++: error: unrecognized command line option '--always'
arm-none-eabi-g++: error: unrecognized command line option '--tags)"'
arm-none-eabi-g++: fatal error: no input files
compilation terminated.
Compiling .pio\build\release\lib288\Adafruit_TinyUSB_Arduino\arduino\Adafruit_TinyUSB_API.cpp.o
*** [.pio\build\release\src\main.cpp.o] Error 1
arm-none-eabi-g++: error: Feather: No such file or directory
arm-none-eabi-g++: error: M0" -DUSB_MANUFACTURER="Adafruit" -DARDUINO_ARCH_SAMD -DUSB_CONFIG_POWER=100 -DARDUINO_SAMD_ADAFRUIT -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\libraries\Adafruit_TinyUSB_Arduino\src -IC:\Users\tehmi.platformio\packages\framework-cmsis\CMSIS\Core\Include -IC:\Users\tehmi.platformio\packages\framework-cmsis-atmel\CMSIS\Device\ATMEL -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\cores\arduino -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\libraries\Adafruit_TinyUSB_Arduino\src\arduino -IC:\Users\tehmi.platformio\packages\framework-cmsis\CMSIS\DSP\Include -IC:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\variants\feather_m0 C:\Users\tehmi.platformio\packages\framework-arduino-samd-adafruit\libraries\Adafruit_TinyUSB_Arduino\src\arduino\Adafruit_TinyUSB_API.cpp: No such file or directory
arm-none-eabi-g++: error: unrecognized command line option '--dirty'
arm-none-eabi-g++: error: unrecognized command line option '--always'
arm-none-eabi-g++: error: unrecognized command line option '--tags)"'
arm-none-eabi-g++: fatal error: no input files
compilation terminated.
*** [.pio\build\release\lib288\Adafruit_TinyUSB_Arduino\arduino\Adafruit_TinyUSB_API.cpp.o] Error 1
======================================================= [FAILED] Took 25.84 seconds =======================================================
Environment Status Duration
release FAILED 00:00:25.843
================================================== 1 failed, 0 succeeded in 00:00:25.843 ==================================================
Steps to Reproduce
Try to compile any platformio project for the Adafruit Feather M0 on Windows 10
Actual Results
The code should compile successfully.
Expected Results
PlatformIO has some problems with spaces in the names of microcontrollers on Windows 10, where compile commands are accidentally split into multiple parts, leading to the above error.
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Windows 10
PlatformIO Version (
platformio --version
): 6.1.14Description of problem
When trying to build a project for the Adafruit "Feather M0" (note the space) microcontroller, the following error occurs:
Steps to Reproduce
Actual Results
The code should compile successfully.
Expected Results
PlatformIO has some problems with spaces in the names of microcontrollers on Windows 10, where compile commands are accidentally split into multiple parts, leading to the above error.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
The text was updated successfully, but these errors were encountered: