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 |
|
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 |
|
Damien George
|
9dcc60d0b1
|
py: Detect ZeroDivisionError properly for floats.
|
2014-04-13 17:45:30 +01:00 |
|
Damien George
|
212f89e61a
|
stmhal: Improve USB CDC write function (increase timeout).
|
2014-04-13 16:39:04 +01:00 |
|
Damien George
|
0e4ba25834
|
py: Fix SyntaxError exception: don't have a block name, so pass NULL.
|
2014-04-13 15:01:28 +01:00 |
|
Damien George
|
73496fbbe4
|
py: Fix up source-line calculation.
Should address issue #475.
|
2014-04-13 14:51:56 +01:00 |
|
Damien George
|
b636d024d2
|
Make pyboard.py have its own exception; update run-tests for pyboard.
|
2014-04-13 13:48:33 +01:00 |
|
Damien George
|
d240ff83c7
|
Merge branch 'master' of github.com:micropython/micropython
|
2014-04-13 13:25:27 +01:00 |
|
Damien George
|
b502156e22
|
py: Adjust #includes in lexerunix.c.
|
2014-04-13 13:25:05 +01:00 |
|
Paul Sokolovsky
|
978d2c0267
|
modsys: Implement sys.byteorder.
|
2014-04-13 15:25:00 +03:00 |
|
Paul Sokolovsky
|
baaaf65eaa
|
modsys: Implement basic sys.version_info.
|
2014-04-13 15:25:00 +03:00 |
|
Damien George
|
da6c2fafb5
|
Merge pull request #470 from errordeveloper/misc_fix/lexerunix
py: don't look for any additional headers when lexerunix is disabled
|
2014-04-13 13:24:39 +01:00 |
|
Damien George
|
d395a0e4b1
|
Merge pull request #471 from errordeveloper/misc_fix/unistd
py: the entire `<unistd.h>` shouldn't be needed
|
2014-04-13 13:22:36 +01:00 |
|
Damien George
|
674f9887ce
|
bare-arm/unix-cpy: Minor changes.
|
2014-04-13 13:19:28 +01:00 |
|
Damien George
|
cb861a5c6a
|
stm[hal]: Init mp_sys_path and mp_sys_argv correctly.
|
2014-04-13 13:19:09 +01:00 |
|
Damien George
|
5bb7d99175
|
py: Modify makeqstrdata to recognise better the output of CPP.
|
2014-04-13 13:16:51 +01:00 |
|
Damien George
|
49f20b841d
|
py: Add more #if's for configurable MOD_SYS.
|
2014-04-13 13:05:16 +01:00 |
|
Damien George
|
640e7e4779
|
Merge pull request #476 from pfalcon/static-sys
Convert sys module to static allocation
|
2014-04-13 12:52:39 +01:00 |
|
Damien George
|
f95c68e536
|
Merge pull request #473 from pfalcon/list-extend-iter
objlist: Make .extend accept arbitrary iterable.
|
2014-04-13 12:46:34 +01:00 |
|
Damien George
|
b9e7ed4ebc
|
py: Oops, fix int.from_bytes to correctly convert bytes!
|
2014-04-13 12:40:50 +01:00 |
|