I have been running platformio on my raspberry for quite some time, with very few obstacles. Now I moved to windows and it seems problematic.
I am running 3.5.3b3 in VS Code on Win10, the project builds fine, but the upload fails (see below). Does anyone have hints what the problem might be?
> Executing task: C:\Users\njbuc\.platformio\penv\Scripts\platformio.exe run --target upload <
[05/12/18 21:13:34] Processing sleepypi (platform: atmelavr; board: sleepypi; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: Atmel AVR > SpellFoundry Sleepy Pi 2
SYSTEM: ATMEGA328P 8MHz 2KB RAM (30KB Flash)
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(light)
Collected 33 compatible libraries
Scanning dependencies...
No dependencies
Configuring upload protocol...
AVAILABLE: arduino
CURRENT: upload_protocol = arduino
Looking for upload port...
Auto-detected: COM3
*** [upload] /sys/class/gpio/export: No such file or directory
=================================================================================================== [ERROR] Took 3.77 seconds ===================================================================================================
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
The platform.ini looks like this:
[env:sleepypi]
platform = atmelavr
board = sleepypi
framework = arduino