When using tool-simavr on 32-bit Windows, the executable fails to run.
>file C:\Users\%USERNAME%\.platformio\packages\tool-simavr\bin\simavr.exe
C:\Users\Max\.platformio\packages\tool-simavr\bin\simavr.exe; PE32+ executable for MS Windows (console) Mono/.Net assembly
PE32+ is 64-bit, but the package.json declares windows_x86.
After jumping through considerable hoops in the compilation of simavr and the AVR toolchain (https://github.com/buserror/simavr/issues/459), I managed to produce a pure 32-bit version using MinGW of the bleeding-edge simavr, which is attached here.
>file simavr.exe
simavr.exe; PE32 executable for MS Windows (console) Intel 80386 32-bit
Per https://community.platformio.org/t/how-to-simulate-serial-port-on-debugger-simulator/14503/3?u=maxgerhardt.
When using
tool-simavr
on 32-bit Windows, the executable fails to run.PE32+
is 64-bit, but thepackage.json
declareswindows_x86
.After jumping through considerable hoops in the compilation of simavr and the AVR toolchain (
https://github.com/buserror/simavr/issues/459
), I managed to produce a pure 32-bit version using MinGW of the bleeding-edgesimavr
, which is attached here.tool-simavr-win32.zip
Please update the packages accordingly.