John R. Lenton
4ce6ceadca
Added dict.clear.
Added 0 to the list of primes. Funky primes, these.
11 years ago
John R. Lenton
a41fe31322
Added dict iterator.
11 years ago
Paul Sokolovsky
24507aff7d
Typo fix in comment.
11 years ago
Paul Sokolovsky
af61a1a492
Use constructor to create small int (avoid exposing mp_obj_t internals to VM).
11 years ago
Dave Hylands
b6e9c7c697
Initial support for Teensy 3.1
11 years ago
mux
b59fa2da28
Fix LED pin enum
* Fix LED pin enum, first one should start at 1
* Fix LED initialization typo
11 years ago
Damien George
777575712b
Merge pull request #105 from chipaca/listsort
A more python-style list.sort. And keyword arguments.
11 years ago
Paul Sokolovsky
1e40840b3b
Add OSError, Python 3.3 generic I/O exception.
11 years ago
John R. Lenton
3391e19068
A bit of stylistic cleanup (chose the wrong side during conflict resolution).
11 years ago
John R. Lenton
270112f731
Merge remote-tracking branch 'upstream/master' into listsort. Lots of conflict fun.
Conflicts:
py/obj.h
py/objbool.c
py/objboundmeth.c
py/objcell.c
py/objclass.c
py/objclosure.c
py/objcomplex.c
py/objdict.c
py/objexcept.c
py/objfun.c
py/objgenerator.c
py/objinstance.c
py/objmodule.c
py/objrange.c
py/objset.c
py/objslice.c
11 years ago
John R. Lenton
c06763a020
This implements a better (more python-conformant) list.sort.
It's not really about that, though; it's about me figuring out a sane
way forward for keyword-argument functions (and function
metadata). But it's useful as is, and shouldn't break any existing
code, so here you have it; I'm going to park it in my mind for a bit
while sorting out the rest of the dict branch.
11 years ago
Damien George
fd04bb3bac
Add some example scripts for pyboard (some can run on PC).
11 years ago
Damien George
7b21c2d8f0
py: Fix allocation of unique code blocks.
11 years ago
Damien George
97209d38e1
Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ian-v-cplusplus
Conflicts:
py/objcomplex.c
11 years ago
Damien George
d49420e74c
Merge branch 'master' of github.com:dpgeorge/micropython
11 years ago
Damien George
d3ebe4829d
Factor and simplify Makefile's and mpconfig, part 2.
11 years ago
Damien George
136f67523b
Factor and simplify Makefile's and mpconfig.
11 years ago
Mark Schafer
501399330e
vector logo master with layers
inkscape master file has dxf and coloured svg layers.
Choose a layer for suitable work.
11 years ago
Damien George
880ce2d7fa
Merge pull request #97 from dhylands/teensy-3.1
Initial support for Teensy 3.1
11 years ago
Damien George
ff07bb3adb
stm: Re-fix LED defines.
11 years ago
Damien George
439ff90959
Merge branch 'master' of https://github.com/iabdalkader/micropython
11 years ago
ian-v
a5a01df81d
Make list and str method tables static
11 years ago
Damien George
8b1b59c28e
Merge branch 'master' of github.com:dpgeorge/micropython
11 years ago
Damien George
e2e3d11e87
py: Fix up number operations and coercion.
11 years ago
ian-v
5fd8fd2c16
Revert MP_BOOL, etc. and use <stdbool.h> instead
11 years ago
ian-v
7a16fadbf8
Co-exist with C++ (issue #85 )
11 years ago
Paul Sokolovsky
fe039b4f4f
Typo fix in comment.
11 years ago
Paul Sokolovsky
e5ee1693ad
Use constructor to create small int (avoid exposing mp_obj_t internals to VM).
11 years ago
Dave Hylands
297446e7af
Initial support for Teensy 3.1
11 years ago
mux
7c0c28dd71
Fix LED pin enum
* Fix LED pin enum, first one should start at 1
* Fix LED initialization typo
11 years ago
Damien George
e03c0533fe
Merge pull request #94 from chipaca/list_reverse
Implements list.reverse; fixes issue #66 .
11 years ago
John R. Lenton
a10dba7509
Merge remote-tracking branch 'upstream/master' into list_reverse
11 years ago
Damien George
8137b004b0
Merge branch 'list_remove' of git://github.com/chipaca/micropython into chipaca-list_remove
11 years ago
Damien George
aa35fc60d7
Merge pull request #92 from chipaca/list_insert
List insert. Fixes issue #61 .
11 years ago
Damien George
17f4497d6d
Merge pull request #91 from chipaca/list_index
Fix off-by-one in non-default values of index's 2nd and 3rd arguments.
11 years ago
Damien George
73595feb75
Merge pull request #89 from pfalcon/c99-tagged-structs
Convert many object types structs to use C99 tagged initializer syntax.
11 years ago
Damien George
6b0b4a0cad
stm: pull-up usr switch on pyboard (fixes regression).
11 years ago
Damien George
568a6c9d79
Merge pull request #86 from iabdalkader/master
Add Initial Support for STM32F4DISCOVERY Board
11 years ago
Damien George
8a7604da3b
Merge pull request #88 from dhylands/mp-qstr-init
Make qstr_init reinitialize last_pool.
11 years ago
John R. Lenton
ba3f87c947
Merge remote-tracking branch 'upstream/master' into list_reverse
11 years ago
John R. Lenton
d52a0318ce
Merge remote-tracking branch 'upstream/master' into list_remove
11 years ago
John R. Lenton
8428b8f3c9
Merge remote-tracking branch 'upstream/master' into list_insert
11 years ago
John R. Lenton
c553162ebc
Fix off-by-one in non-default values of index's 2nd and 3rd arguments.
11 years ago
Paul Sokolovsky
860ffb0a43
Convert many object types structs to use C99 tagged initializer syntax.
11 years ago
Dave Hylands
d986b582c0
Make qstr_init reinitialize last_pool.
This causes the pool to get reinitialized properly on a soft-reset.
11 years ago
mux
b3683abaeb
Add gitignore file
11 years ago
mux
50d5420deb
Add Initial Support for STM32F4DISCOVERY Board
* Add a TARGET definition to Makefile (default PYBOARD).
* Add support for discovery LEDs in led module.
* Add support for discovery user switch in usersw
* Add EXTI interrupt handler for discovery user switch on (PA0).
* Parameterize led and usrsw modules pins and port.
* Issue #83
11 years ago
Damien George
12e2656472
stm: allow more flash for the binary.
11 years ago
Damien George
823877bce0
stm: rename sw_xx to switch_xx; change Python bindings to new version.
11 years ago
Damien George
cd3c1ee3fc
Merge pull request #82 from iabdalkader/master
Move user switch code into a separate module
11 years ago