I’m getting the below error with a blank sketch with empty setup and loop functions. I have the RTL8735B AMB82 Mini board
Compilation error: fork/exec C:\Users\advic\AppData\Local\Arduino15\packages\realtek\tools\ameba_pro2_toolchain\1.0.1-p1/bin/arm-none-eabi-ar.exe: The parameter is incorrect.
Can anyone point me in the right direction with this compilation error
Thanks
Error occurred while unzipping sdk toolchain. Suspected that the toolchain was not download correctly. Maybe you can try to erase folder under path: C:\Users\advic\AppData\Local\Arduino15\packages\realtek and download the AMB82-MINI sdk from Arduino IDE again.
Thank you
Currently the fix is on the /dev branch, if you wish to continuing using released version v4.0.4 for your development, you many download the windows executables tools and replace them under C:\Users\advic\AppData\Local\Arduino15\packages\realtek\tools\ameba_pro2_tools\1.x.x upon reinstall your Arduino SDK environment.
Note:
In order to set up a clear environment without causing any compilation issues from toolchain folder, I suggest to delete everything under C:\Users\advic\AppData\Local\Arduino15\packages\realtek\tools and C:\Users\advic\AppData\Local\Arduino15\packages\realtek\hardware before download a new SDK from Arduino IDE.
Ok great, so do you mean this is a known issue with 4.0.4
Because in that case it might be easier just to install earlier version instead of trying to fix 4.0.4
fork/exec C:\Users\advic\AppData\Local\Arduino15\packages\realtek\tools\ameba_pro2_toolchain\1.0.1-p1/bin/arm-none-eabi-ar.exe: The parameter is incorrect.
Compilation error: fork/exec C:\Users\advic\AppData\Local\Arduino15\packages\realtek\tools\ameba_pro2_toolchain\1.0.1-p1/bin/arm-none-eabi-ar.exe: The parameter is incorrect.
On Version 4.0.0 for dev I get this compilation error
fork/exec C:\Users\advic\AppData\Local\Arduino15\packages\realtek\tools\ameba_pro2_tools\1.0.6/prebuild_windows.exe: The parameter is incorrect.
Compilation error: fork/exec C:\Users\advic\AppData\Local\Arduino15\packages\realtek\tools\ameba_pro2_tools\1.0.6/prebuild_windows.exe: The parameter is incorrect.
For errors occurring in \ameba_pro2_toolchain\1.0.1-p1/bin/ folder, mostly related to your tool chain environment was not unzipped correctly. Can you please take a screenshot of your \ameba_pro2_toolchain folder and send it here again?