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