Search found 3465 matches

by dhylands
Thu Apr 17, 2014 10:35 pm
Forum: Development of MicroPython
Topic: Wanted: Travis CI integration
Replies: 23
Views: 16882

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: 3417

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: 16882

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...
by dhylands
Thu Apr 17, 2014 9:52 pm
Forum: Development of MicroPython
Topic: Wanted: Travis CI integration
Replies: 23
Views: 16882

Re: Wanted: Travis CI integration

As for making individual files depend on individual options, the kernel plays a neat game. The .config contains the entire configuration, and include/generated/autoconf.h contains the resulting configuration in C source form. include/config contains a directory tree with an empty file for each confi...
by dhylands
Wed Apr 16, 2014 10:34 pm
Forum: Development of MicroPython
Topic: Wanted: Travis CI integration
Replies: 23
Views: 16882

Re: Wanted: Travis CI integration

If we went with a kbuild-like configuration, at least you can specify dependencies between options. The kernel has a similar problem (try compiling for the all of the variations of config options). The kernel has: allyesconfig, allnoconfig, defconfig. Realisitcally, we really only need to test each ...
by dhylands
Wed Apr 16, 2014 8:54 pm
Forum: Development of MicroPython
Topic: Wanted: Travis CI integration
Replies: 23
Views: 16882

Re: Wanted: Travis CI integration

I think testing with all options (that make sense) enabled, and those same options disabled would buy you a huge amount of coverage. Then we'll need a way to adapt the tests based on the options. For example, if you turn off floating point support, then you don't want to be testing '{:e}'.format(1.0...
by dhylands
Thu Mar 27, 2014 2:54 pm
Forum: Development of MicroPython
Topic: MIPS port?
Replies: 4
Views: 5054

Re: MIPS port?

Work is still ongoing with the main board. The source code repository is here: https://github.com/micropython/micropython This page covers what is and isn't being worked on: https://github.com/micropython/micropython/wiki/Boards-Summary To summarize: You can run micropython under linux (this is used...
by dhylands
Wed Mar 19, 2014 8:55 pm
Forum: Development of MicroPython
Topic: Wanted: Travis CI integration
Replies: 23
Views: 16882

Re: Wanted: Travis CI integration

Hey SwimDud0614, So here's a bit of background on Travis: http://en.wikipedia.org/wiki/Travis_CI Basically, what it does is on every checkin of code (some people call this a push or a merge, or a pull request) into github, then it will kick off a Travis run. The Travis run is essentially a bunch of ...
by dhylands
Tue Mar 11, 2014 9:03 pm
Forum: General Discussion and Questions
Topic: Multitasking?
Replies: 19
Views: 21530

Re: Multitasking?

I guess whether your program is event driven or not is largely up to the program which is running on top of micro python. I know that I will certainly be using event driven approaches for controlling my robots, so I intend to make sure that those approaches will work. MicroPython will allow interrup...
by dhylands
Mon Mar 10, 2014 2:53 pm
Forum: Development of MicroPython
Topic: Unix Build Fails
Replies: 3
Views: 3322

Re: Unix Build Fails

I just posted a pull request for the problem in your first post a few hours ago:
https://github.com/micropython/micropython/pull/335

To fix the second problem, I think that if you do:

Code: Select all

sudo apt-get install libreadline-dev
then you should get further.