Commit Graph

1668 Commits

Author SHA1 Message Date
Andrew Scheller 6fc40cc3da pip-micropython: revert $HOME back to ~ 2014-04-14 22:26:34 +01:00
Damien George 5224705248 travis: Change to tests directory before running. 2014-04-14 22:04:15 +01:00
Damien George 3d867f5eab Merge pull request #479 from lurch/patch-1
Don't allow both ENDIANNESSes to be set
2014-04-14 21:41:05 +01:00
Damien George a7239b2fc2 Merge pull request #480 from lurch/patch-2
Make pip-micropython more portable
2014-04-14 21:39:31 +01:00
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
Andrew Scheller 0aac7ba344 Make pip-micropython more portable
Replace /tmp with a $TMPDIR variable
Replace multiple occurrences of /tmp/pip-micropy-venv with a $TMPVENV variable
Replace ~ with $HOME
2014-04-14 12:26:12 +01:00
Andrew Scheller cc83737d35 Don't allow both ENDIANNESSes to be set
See discussion on https://github.com/micropython/micropython/commit/2da81fa80c4cd965f05ad237d81d9764322fde20

Explicitly set `MP_ENDIANNESS_LITTLE` because that's the #define that is used in code elsewhere.
2014-04-14 02:39:56 +01: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