Dave Hylands
4646801181
Make build output quieter.
...
Use make V=1e make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
This should fix issue #117
2014-01-08 10:30:06 -08:00
Damien George
6c73ca1e75
py: add variable argument exception constructor function.
...
Addresses issue #104 .
2014-01-08 18:11:23 +00:00
Damien George
199b9e04eb
Merge pull request #114 from pfalcon/streams-bootstrap
...
Define buffer and stream protocols, and other starting bits of io.* framework, with io.FileIO-like implementation for Unix
2014-01-08 09:50:15 -08:00
Damien George
bb2ed8e431
Merge pull request #119 from dhylands/teensy-use-py.mk
...
Update teemsy/Makefile to use py.mk
2014-01-08 09:41:38 -08:00
Damien George
84a2c6fbda
Merge pull request #118 from dhylands/stm-use-OBJCOPY-SIZE-macros
...
Update stm/Makeile to use OBJCOPY and SIZE macros
2014-01-08 09:40:01 -08:00
Damien George
38a2da68c2
py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t.
2014-01-08 17:33:12 +00:00
Dave Hylands
ee0013d24e
Update teemsy/Makefile to use py.mk
...
I also fixed main.c to compile with the new str lexer
2014-01-08 09:09:47 -08:00
Dave Hylands
c1db58799d
Update stm/Makeile to use OBJCOPY and SIZE macros
...
While updating the teensy Makfile, I noticed that the stm Makefile
was using calling arm-none-eabi-objcopy and size rather than
$(OBJCOPY) and $(SIZE), so I added these 2 for consistency.
2014-01-08 09:07:29 -08:00
Paul Sokolovsky
e0e79ae6d6
unix: Add basic implementation of io.FileIO object.
...
Note: only read/write/close methods are defined so far, and class
is not exposed (use open() factory function, as usual).
2014-01-08 17:39:06 +02:00
Paul Sokolovsky
e98cf40c34
Add generic implementations of Python read()/write methods for streams.
...
These can be used for any object which implements stream protocol
(mp_stream_p_t).
2014-01-08 17:38:38 +02:00
Paul Sokolovsky
5b15daf6d1
Add support for stream and buffer protocols.
...
Stream protocol is abstraction of serial I/O. Buffer protocol is
abstraction of random-access I/O. These protocols are defined down
to C level, to allow generic, while still efficient algorithms
to be coded in C (like, buffered transfer between 2 stream objects,
saving/loading of buffer object to/from stream, etc). (Note that CPython
define buffer protocol on C level, but apparently not stream protocol).
2014-01-08 17:38:38 +02:00
Damien George
ea9e441a75
Merge pull request #112 from iabdalkader/master
...
Use LSI OSC for RTC clock when LSE is not detected
2014-01-08 07:34:38 -08:00
Damien George
9193f89296
Move lexerstr to main py directory (everyone uses it).
2014-01-08 15:28:26 +00:00
Damien George
dc141db64d
Merge branch 'master' of github.com:dpgeorge/micropython
2014-01-08 15:08:08 +00:00
Damien George
e6b6af5154
Merge pull request #111 from dhylands/teensy
...
Updated teensy to use common code from stm directory.
2014-01-08 07:11:37 -08:00
Damien George
b97669ab94
py: Improve __build_class__.
2014-01-08 11:47:55 +00:00
mux
5df3d47ee0
Use LSI OSC for RTC clock when LSE is not detected
...
* Fix rtc_init to use LSI for RTC clock source when LSE is not detected.
2014-01-08 11:26:18 +02:00
Dave Hylands
9b7b947b01
Updated teensy to use common code from stm directory.
...
Updated mconfigport.h to enable GC
2014-01-08 00:29:44 -08:00
Damien George
6d6bc9efc1
Merge pull request #108 from chipaca/dict_feats
...
Dictionary features that don't involve views or classmethods. First part of issue #99 .
2014-01-07 15:42:16 -08:00
Damien George
dfc0bac086
py: Small big fix to type declarations.
2014-01-07 23:18:54 +00:00
John R. Lenton
baa665406f
Moved dict methods out to a mp_method_t.
2014-01-07 23:18:25 +00:00
John R. Lenton
689c16ae73
Merge remote-tracking branch 'upstream/master' into dict_feats
2014-01-07 23:08:25 +00:00
John R. Lenton
9c83ec0eda
Merge remote-tracking branch 'upstream/master' into dict_feats
2014-01-07 23:06:46 +00:00
John R. Lenton
27d4ca7693
forgot to add test for dict.update
2014-01-07 22:51:51 +00:00
John R. Lenton
88f3043e0a
added a first pass of dict.update
2014-01-07 22:51:08 +00:00