danicampora
10f7ef0832
cc3200: Keep WLAN enabled during suspend mode.
2015-03-12 16:22:16 +01:00
danicampora
d1ba8b7659
cc3200: Correct WiPy's pinout and the pin generation script.
2015-03-12 16:22:15 +01:00
danicampora
6ae9383f63
cc3200: Remove WLAN.getmode since it's superseded by WLAN.ifconfig.
2015-03-12 16:22:13 +01:00
danicampora
37337427c3
cc3200: Trigger a new network scan when WLAN.scan() is called.
2015-03-12 16:22:12 +01:00
Damien George
c832bde05f
tests: Add zlib test for decompressing uncompressed data.
2015-03-12 00:17:04 +00:00
danicampora
b761ed2103
cc3200: Register ADC and I2C with the sleep module.
2015-03-11 22:09:52 +01:00
danicampora
db0580d0a5
cc3200: Reduce stack sizes of simplelink and the servers.
2015-03-11 22:09:51 +01:00
Peter D. Gray
b2a237d337
py: Add support for start/stop/step attributes of builtin range object.
2015-03-11 20:02:06 +00:00
Damien George
5be4a84a58
Add ACKNOWLEDGEMENTS file with list of Kickstarter backer names.
2015-03-11 19:55:02 +00:00
danicampora
e9786f40f5
cc3200: Disable WLAN in suspended mode if NW wake is not enabled.
2015-03-11 17:11:10 +01:00
danicampora
8cbbaa052a
cc3200: Add WiPy and WiPy_SD board support.
2015-03-11 17:00:38 +01:00
danicampora
9e44383e3f
cc3200: Add power management framework. Add mpcallback class.
...
Supports suspend and hibernate modes. Waking is possible throug GPIO
and WLAN.
The mpcallback class is generic and can be reused by other classes.
2015-03-11 17:00:33 +01:00
danicampora
73aee8da54
cc3200: Merge ExtInt class into Pin class.
...
Also add another method to change the pin's interrupt mode
on the fly.
2015-03-11 17:00:28 +01:00
danicampora
26cbc91373
cc3200: Place functions only used while booting in a special section.
...
Such functions are never used after MicroPython has started, and they
remain in RAM wasting space. Now they are placed in a special section
named "boot" which sits just before the heap, allowing us to extend
the effective heap area up to the new boot section. Right now, this
gives us back ~1K, but in the future, more functions might end up in
there as well.
2015-03-11 16:59:29 +01:00
danicampora
02fda44a30
cc3200: Combine and disable sections in startup_gcc.c to reduce size.
2015-03-11 16:54:14 +01:00
danicampora
d226dd2f59
cc3200: Add preliminary low power deep sleep support.
2015-03-11 16:54:09 +01:00
danicampora
0475de1350
cc3200: Make WDT and HeartBeat constant objects on their own right.
2015-03-11 16:54:05 +01:00
Damien George
55278dcc76
tests: Add test for modure when regex has errors.
2015-03-10 17:47:43 +00:00
Damien George
8dead2a6c6
extmod: Pull in upstream changes to re1.5; fixes bugs with regex errors.
2015-03-10 17:47:13 +00:00
Dave Hylands
b4c9a25eab
stmhal: Add support for quadrature encoder mode to pyb.TimerChannel.
2015-03-09 13:23:14 +00:00
Peter Hinch
b57b56f293
docs: Update pyb.Timer.rst to fix pulse widths that exceed the period.
2015-03-09 12:14:32 +00:00
Paul Sokolovsky
cb0fc063ed
objmemoryview: Introduce mp_obj_new_memoryview().
...
This follows existing pattern for object constructor API and allows to
create memoryview objects e.g. in external modules.
2015-03-06 21:37:28 +02:00
Paul Sokolovsky
24c1000741
objarray: Support array('O'), array of objects, as extension to CPython.
...
Might be useful at least for memoryview hacks.
2015-03-05 22:58:31 +02:00
Paul Sokolovsky
16b1f5e842
objarray: Fix typo in null TYPECODE_MASK.
2015-03-04 23:03:31 +02:00
Damien George
48ef64a729
stmhal: Make os.sync use disk_ioctl exclusively; reuse os.sync in pyb.
2015-03-04 20:38:28 +00:00
Damien George
4f94d90d4d
stmhal: Include fatfs headers using lib/fatfs prefix.
...
This helps make files reusable across other ports.
2015-03-04 20:35:41 +00:00
Damien George
6cb6947b99
extmod/ure: Correctly return None when a group has no match.
...
See issue #1122 .
2015-03-04 13:51:32 +00:00
Damien George
2a68c2c21b
README.md: Add issuestats badges for PRs and issues.
2015-03-03 21:53:35 +00:00
Damien George
d891452a73
py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API.
2015-03-03 21:23:13 +00:00
Paul Sokolovsky
e104acdb8c
runtime: Typo fixes in comments.
2015-03-03 21:37:50 +02:00
Damien George
72ddcfd9ff
tests: Skip basics/boundmeth1.py for native emitter.
2015-03-03 18:06:45 +00:00
Damien George
dc790977d4
py: In inline assembler, reset labels on code-size pass.
2015-03-03 17:34:49 +00:00
Damien George
3665d0b2ff
py: Simplify some inline-assembler error messages, but retain meaning.
...
Just to reduce code size. Messages are still to the point and
unambiguous.
2015-03-03 17:11:18 +00:00
Damien George
9c5cabb502
py: Give error for duplicate label in inline assembler.
2015-03-03 17:08:02 +00:00
Damien George
086a7616dd
tests: Add tests for boundmeth; and bignum cmp, unary, float, error.
2015-03-03 16:45:39 +00:00
stijn
25f1264699
tests: Skip special math fun tests when math module exists but not funs.
2015-03-03 14:36:59 +00:00
stijn
803264bb17
py: Guard against redef of nlr_push with DEBUG + MICROPY_NLR_SETJMP.
2015-03-03 14:34:40 +00:00
Damien George
9be0d599cd
drivers: Add onewire driver and ds18x20 temperature sensor driver.
2015-03-03 01:29:52 +00:00
Damien George
f2a889564b
tests: Add basics test for gc module.
2015-03-02 18:30:17 +00:00
Damien George
fe3da09fa0
tests: Use range as iterable instead of list comprehension.
...
So that navite emitter passes (comprehensions use yield which is not yet
supported by native emitter).
2015-03-02 17:55:55 +00:00
Damien George
67c5f89af5
py: In inline assembler, fix branch out-of-range error reporting.
...
Should only give an error on the last pass of the assembler, since
that's when we are certain about the branch size.
2015-03-02 17:51:32 +00:00
Damien George
24ffb8e876
tests: Add tests for builtins: all, any, sum, abs.
2015-03-02 17:21:10 +00:00
Damien George
db1e10d5ea
py: Use SMALL_INT creation macro in builtin sum.
2015-03-02 17:19:44 +00:00
Damien George
96e37d3bb8
tests: Add tests for inline assembler beq_n and beq_w ops.
2015-03-02 14:31:00 +00:00
Damien George
9f142f0c84
py: For inline assembler, add bcc_n and bcc_w ops.
...
Addresses issue #1143 .
2015-03-02 14:29:52 +00:00
Damien George
565da3f569
stmhal: Enable MICROPY_PY_ARRAY_SLICE_ASSIGN.
2015-03-02 13:45:35 +00:00
Damien George
a2e383820d
py: Clean up and comment out unused functions in mpz.
2015-03-02 12:58:06 +00:00
Damien George
2af921fb51
tests: Add tests for op special meths, ubinascii, complex.
2015-03-02 12:47:44 +00:00
Damien George
18fd7e8305
README.md: Change coveralls badge from travis-testing to master branch.
2015-03-01 15:12:00 +00:00
Damien George
81e661f28b
travis: Add automated coverage testing using coveralls.
2015-03-01 14:50:09 +00:00