Search found 2 matches

by kawata
Mon Jan 11, 2016 1:30 am
Forum: Programs, Libraries and Tools
Topic: How to install other micropython libs in pyboard?
Replies: 7
Views: 24358

Re: How to install other micropython libs in pyboard?

Where modules get loaded from is controlled by sys.path. On the pyboard, the default sys.path can be observed like this: >>> import sys >>> sys.path ['', '/flash', '/flash/lib'] So if you place your modules that you want to import in the root of the internal flash or in a lib subdirectory, then imp...
by kawata
Fri Jan 08, 2016 6:39 am
Forum: Programs, Libraries and Tools
Topic: How to install other micropython libs in pyboard?
Replies: 7
Views: 24358

How to install other micropython libs in pyboard?

Hi everyone! I am a beginner of micropython. After I flashed the firmware.dfu file made from 'stmhal' to pyboard successfully, I want to install the micropython-libs in my pyboard. But I don't know how to begin with it and I hope that someone know about it can help me to finish it. Thank you so much!