sipeed / Maixduino

Arduino port on Maix board ( k210 )
https://maixduino.sipeed.com
Other
214 stars 93 forks source link

Path Issue? (No such file or directory) #12

Closed WaskaLabs closed 5 years ago

WaskaLabs commented 5 years ago

Maixduino 0.3.8 and 0.3.7 tested on Arduino 1.8.8 and 1.8.9. The directory contains the files but for some reason are not being seen by arduino.

-- \Maixduino\hardware\k210\0.3.8/cores/arduino/kendryte-standalone-sdk/lib/bsp/include: No such file or directory

(happening with all files in cores/arduino/...)

Possibly an issue on my end, but not sure.

WaskaLabs commented 5 years ago

UPDATE: The issue seems to be that my computers name contains a space. e.g. "name name2" ... Only name2 appeared on the path. I had to install it on another computer to figure it out. I have never had this issue with any other packages, so I assume its an easy fix.

Also, I was unaware that kflash required python3 and pyserial. May add that into the install docs. Otherwise it seems to work great!

Neutree commented 5 years ago

Did you use Windows? python3 is not required!

WaskaLabs commented 5 years ago

I used a windows first, then got it to work on a mac. kflash requires python3 and pyserial, I got compilation errors in the IDE (in verbose mode) that prompted me to pip install pyserial

bitsk commented 5 years ago

This problem is caused by a space in the username. this bug has been fixed in v0.3.9.

WaskaLabs commented 5 years ago

Thanks!