Search found 3482 matches

by dhylands
Fri May 02, 2014 3:08 pm
Forum: General Discussion and Questions
Topic: print
Replies: 10
Views: 10973

Re: print

Hi Boris,

print is there, but with the Python 3.3 syntax (so it requires parenthesis).

Code: Select all

Micro Python build 1f85d62-dirty on 2014-05-01; NetduinoPlus2 with STM32F405RG
Type "help()" for more information.
>>> print('Hello there %s' % 'Boris')
Hello there Boris
by dhylands
Thu May 01, 2014 8:14 pm
Forum: MicroPython pyboard
Topic: Flashing PyBoard
Replies: 8
Views: 9033

Re: Flashing PyBoard

The README.md has some instructions near the bottom. There is also some more detailed instructions on the STM32F407-Discovery wiki but the USB id has changed since those were written (the old USB ID was 0483:5740 and the new USB ID is f055:9800) When programming the chip, it will appear as ID 0483:d...
by dhylands
Thu May 01, 2014 8:04 pm
Forum: MicroPython pyboard
Topic: Powering PYBv1.0 externally
Replies: 5
Views: 6668

Re: Powering PYBv1.0 externally

Hi Steve, The schematics for the board can be found here: https://github.com/micropython/pyboard/raw/master/PYBv10b.pdf When you plug in the USB cable, VBUS powers VIN (through D1 - a 1n5819 diode near the center right of the schematic), so you should definitely be able to provide 5V on VIN. When th...
by dhylands
Thu May 01, 2014 7:31 pm
Forum: MicroPython pyboard
Topic: Pin outs
Replies: 1
Views: 1966

Re: Pin outs

This file: https://github.com/micropython/pyboard/raw/master/PYBv10b.pdf has a bunch of key information on the board itself. Page 1 - schematics of the pyboard Page 2 - shows some of the functions available for each pin Page 5 & 6 show 3D views of the board (of course if you have the real board, pre...
by dhylands
Tue Apr 29, 2014 7:00 pm
Forum: Other Boards
Topic: Tiva-C Connected Launchpad port?
Replies: 3
Views: 4090

Re: Tiva-C Connected Launchpad port?

I've looked at the Tiva-C, and it looks like a pretty nice processor. I started out doing a port of MicroPython to the teensy 3.1 (which uses a FreeScale M4), and got it to the point of working, but decided to work on the STM port instead. At least until the dust settles and the target isn't moving ...
by dhylands
Tue Apr 29, 2014 5:33 am
Forum: Development of MicroPython
Topic: Wanted: Travis CI integration
Replies: 23
Views: 17283

Re: Wanted: Travis CI integration

Just saw that Travis now supports Python 3.4:
http://gehrcke.de/2014/04/travis-ci-fin ... ython-3-4/
by dhylands
Sun Apr 20, 2014 12:03 am
Forum: Development of MicroPython
Topic: Wanted: Travis CI integration
Replies: 23
Views: 17283

Re: Wanted: Travis CI integration

I think that's a sensible approach, especially for testing. We could write out the comple set of configuration options in a python module that the tests could import. For the most part, I'm not sure how much information a typical running python program would need. I guess that will come up when we s...
by dhylands
Thu Apr 17, 2014 10:35 pm
Forum: Development of MicroPython
Topic: Wanted: Travis CI integration
Replies: 23
Views: 17283

Re: Wanted: Travis CI integration

Since you're modifying the command line for every source file, I would expect that to recompile each and every file, thereby giving no speedup. And yeah - modifying mpconfigport.h will cause almost all of the files to get rebuilt. The big advantage of ccache is: $ ccache -C $ make clean $ time make ...
by dhylands
Thu Apr 17, 2014 10:23 pm
Forum: General Discussion and Questions
Topic: Beginners
Replies: 5
Views: 3498

Re: Beginners

So, I would expect that your micropython board will come with micropython already installed. You'll only need to download the source from github if you want to update to the latest firmware. There is a wiki here: https://github.com/micropython/micropython/wiki Currently, I think you need linux in or...
by dhylands
Thu Apr 17, 2014 10:08 pm
Forum: Development of MicroPython
Topic: Wanted: Travis CI integration
Replies: 23
Views: 17283

Re: Wanted: Travis CI integration

So we don't necessarily need to adopt Kconfig, just use the same ideas. We could extract the config options and put them all into .mk files. Then generate a .h file and the empty header files (seems like a fairly straight forward python script) and write a script to fixup the dependencies (just by s...