-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Board: sipeed-maixduino, framework=arduino #19
Comments
Hi, @fivefishstudios In order to make kflash run in python2, the enum module is placed in the kflash directory, which will be encountered in recent python3. You can open the kflash directory like this |
Thank you so much! It's working now. |
Hi @dimitre ! This issue should have been fixed already. Could you please upload to https://hastebin.com/ the contents of |
Now it is working here but this file is not present
|
@dimitre Sorry, that's my bad, I gave you a wrong path. Here is the correct one |
here |
Platformio Build works fine.
But I'm getting this error when trying to Upload to a Maxiduino board.
File "/Users/username/.platformio/packages/tool-kflash-kendryte210/kflash.py", line 13, in
import argparse
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/argparse.py", line 87, in
import re as _re
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/re.py", line 143, in
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
*** [upload] Error 1
This enum error only seems to affect when uploading to Sipeed/Kendryte boards.
PIO uploading to ESP8266 and ESP32 boards work fine. Only when uploading to Kendryte platform do I get this error.
The text was updated successfully, but these errors were encountered: