Search found 22 matches

by salimfadhley
Sun Oct 26, 2014 1:41 pm
Forum: Programs, Libraries and Tools
Topic: pybkick - tools to make deploying code to pyboard easier
Replies: 24
Views: 26391

Re: pybkick - tools to make deploying code to pyboard easier

What was the command line settings or function arguments you used?
by salimfadhley
Tue Oct 21, 2014 10:34 pm
Forum: Programs, Libraries and Tools
Topic: pybkick - tools to make deploying code to pyboard easier
Replies: 24
Views: 26391

Re: pybkick - tools to make deploying code to pyboard easier

Did you ever find a solution to this? The pybkick script assumes that the pyboard is in a normal (not raw) repl. It might be that a simple factory reset will be good enough to make this error go away. I get the following erro runnin pybkick: [shell@xolotl:~/git/pcspinnt/pyboard] (master)$ pybkick --...
by salimfadhley
Tue Oct 21, 2014 10:32 pm
Forum: Programs, Libraries and Tools
Topic: pybkick - tools to make deploying code to pyboard easier
Replies: 24
Views: 26391

Re: pybkick - tools to make deploying code to pyboard easier

I see what you mean - replacing micropython-pip is not a good idea.

I think it would be better to focus on making this more reliable and faster.
by salimfadhley
Sun Oct 19, 2014 11:31 am
Forum: Development of MicroPython
Topic: Where do I get the ffi module/package, a dependancy of _libc
Replies: 1
Views: 3025

Where do I get the ffi module/package, a dependancy of _libc

I'm trying to use the os module from the micropython-lib. That requires _libc which in turn requires a module called ffi. I couldn't see that module in the micopython-lib, nor does it appear to be a builtin on the version of Micropython I'm currently using.

Where am I supposed to get this component?
by salimfadhley
Sun Oct 19, 2014 11:27 am
Forum: Programs, Libraries and Tools
Topic: pybkick - tools to make deploying code to pyboard easier
Replies: 24
Views: 26391

Re: pybkick - tools to make deploying code to pyboard easier

do a reset after files are transfered to run the code Yeah, that was always part of the plan. You could specify an "entry point", basically something callable to invoke from main.py. It would adjust the main.py file to ensure that this happens on reset. show files on pyboard am sd card I was thinki...
by salimfadhley
Sun Oct 19, 2014 1:36 am
Forum: Programs, Libraries and Tools
Topic: micropython-lib - "distributed" uPython standard library
Replies: 30
Views: 217048

Re: micropython-lib - "distributed" uPython standard library

Where do I find the ffi module which is required by the _libc package?
by salimfadhley
Sat Oct 18, 2014 10:38 pm
Forum: Programs, Libraries and Tools
Topic: pybkick - tools to make deploying code to pyboard easier
Replies: 24
Views: 26391

Re: pybkick - tools to make deploying code to pyboard easier

I tend to treat the file system on my pyboard as fairly volatile and that it might disappear at any point in time. So I tend to keep a directory with all of the files I want on my pyboard locally on my host, and then sync them to the pyboard. So, what I'd like to implement is something like rsync, ...
by salimfadhley
Sat Oct 18, 2014 3:35 pm
Forum: Programs, Libraries and Tools
Topic: pybkick - tools to make deploying code to pyboard easier
Replies: 24
Views: 26391

Re: pybkick - tools to make deploying code to pyboard easier

For the next feature, I was thinking of making a micropython-lib installer. It would be able to install/update specfic modules from micropython-lib directly onto the pyboard, for example: kick_micropython_lib(['os', 'json'] Would download the appropriate modules from https://github.com/micropython/m...
by salimfadhley
Sat Oct 18, 2014 12:19 am
Forum: Programs, Libraries and Tools
Topic: pybkick - tools to make deploying code to pyboard easier
Replies: 24
Views: 26391

Re: pybkick - tools to make deploying code to pyboard easier

A 0.0.1 release has been pushed to pypi. There are also some very basic docs on the github page. If anybody has time to try this out I'd be most grateful. Current limitations: * The program can only copy to the root directory of the pyboard * The program can only copy flat directories (i.e. no subdi...
by salimfadhley
Fri Oct 17, 2014 10:32 pm
Forum: Programs, Libraries and Tools
Topic: pybkick - tools to make deploying code to pyboard easier
Replies: 24
Views: 26391

Re: pybkick - tools to make deploying code to pyboard easier

I intend to fully document it. :-) Once I get it basically working, I'm going to describe a pattern for how it should be used with a setuptools-configured project (i.e. one with a setup.py file).