Damien George
98bd4f24ff
Fix README build status image.
2014-04-14 21:33:31 +01:00
Damien George
1d8d2f84aa
Merge branch 'master' of github.com:micropython/micropython
2014-04-14 21:31:11 +01:00
Damien George
15bbd251f6
Update README to include build status from Travis CI.
2014-04-14 21:30:53 +01:00
Damien George
2a2cfbd0cf
Merge pull request #484 from aitjcize/travis
...
Add Travis CI support.
2014-04-14 21:27:25 +01:00
Damien George
3bb8bd899b
Make USE_COMPUTED_GOTO a config option in mpconfig.h.
...
Disabled by default. Enabled in unix port.
2014-04-14 21:20:30 +01:00
Damien George
0ae9c7042a
Merge branch 'master' of github.com:micropython/micropython
2014-04-14 19:44:49 +01:00
Damien George
1da8a6cfc7
Merge pull request #482 from aitjcize/threaded
...
Use computed goto instead of switching op-codes.
2014-04-14 19:45:37 +01:00
AZ Huang
b1f692e82e
Use computed goto instead of switching op-codes.
2014-04-15 02:40:28 +08:00
Damien George
5904dad842
Merge pull request #483 from aitjcize/parallel
...
Fix parallel build.
2014-04-14 19:34:08 +01:00
Damien George
ad8abd1a95
Merge branch 'master' of github.com:micropython/micropython
2014-04-14 19:33:23 +01:00
AZ Huang
60993c166d
Add Travis CI support.
2014-04-15 02:25:43 +08:00
AZ Huang
658eae308f
Fix parallel build.
2014-04-15 01:47:14 +08:00
Damien George
48a9b3fd11
tools: Improve timout/reading of pyboard.py.
2014-04-14 01:47:36 +01:00
Damien George
cce7119a2b
stmhal: Work around crazy bug in USB CDC.
...
Packets of 64 bytes length are not send to the host until the following
packet is sent. Fixed by never sending packets of 64 bytes length.
2014-04-14 01:46:25 +01:00
Damien George
7e5be0b1b4
stmhal: Improved usart module a bit.
2014-04-14 01:45:58 +01:00
Damien George
6dba016a56
stmhal: Add pyb.wfi() function (calls __WFI).
2014-04-14 01:45:24 +01:00
Paul Sokolovsky
bbae42d62f
modsys: Implement sys.version.
...
The logic appears to be that (at least beginning of) sys.versions is the
version of reference Python language implemented, not version of particular
implementation.
Also, bump set versions at 3.4.0, based on @dpgeorge preference.
2014-04-14 01:46:45 +03:00
Paul Sokolovsky
58676fc2c7
objstr: Allow to define statically allocated str objects.
...
Similar to tuples, lists, dicts. Statically allocated strings don't have hash
computed.
2014-04-14 01:45:06 +03:00
Paul Sokolovsky
59e269cfec
qstr, objstr: Make sure that valid hash != 0, treat 0 as "not computed".
...
This feature was proposed with initial hashing RFC, and is prerequisite for
seamless static str object definition.
2014-04-14 01:43:01 +03:00
Paul Sokolovsky
14de114ba8
objdict: Add __delitem__.
2014-04-13 23:55:59 +03:00
Paul Sokolovsky
cd94b384a3
objdict: Add __setitem__.
2014-04-13 23:41:49 +03:00
Damien George
86a03044e3
stmhal: Add stdin/stdout/stderr objects.
...
Available via sys.std{in,out,err}. Basic reading and writing supported.
Even sys.stdin.readline!
2014-04-13 19:00:56 +01:00
Damien George
e2a48b66c2
tests: Add property test.
2014-04-13 19:00:27 +01:00
Damien George
777b0f32f4
py: Add property object, with basic functionality.
...
Enabled by MICROPY_ENABLE_PROPERTY.
2014-04-13 18:59:45 +01:00
Damien George
4417478d0f
tests: Make tests pass on pyboard.
2014-04-13 17:46:30 +01:00