Damien George
5be4a84a58
Add ACKNOWLEDGEMENTS file with list of Kickstarter backer names.
10 years ago
danicampora
e9786f40f5
cc3200: Disable WLAN in suspended mode if NW wake is not enabled.
10 years ago
danicampora
8cbbaa052a
cc3200: Add WiPy and WiPy_SD board support.
10 years ago
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.
10 years ago
danicampora
73aee8da54
cc3200: Merge ExtInt class into Pin class.
Also add another method to change the pin's interrupt mode
on the fly.
10 years ago
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.
10 years ago
danicampora
02fda44a30
cc3200: Combine and disable sections in startup_gcc.c to reduce size.
10 years ago
danicampora
d226dd2f59
cc3200: Add preliminary low power deep sleep support.
10 years ago
danicampora
0475de1350
cc3200: Make WDT and HeartBeat constant objects on their own right.
10 years ago
Damien George
55278dcc76
tests: Add test for modure when regex has errors.
10 years ago
Damien George
8dead2a6c6
extmod: Pull in upstream changes to re1.5; fixes bugs with regex errors.
10 years ago
Dave Hylands
b4c9a25eab
stmhal: Add support for quadrature encoder mode to pyb.TimerChannel.
10 years ago
Peter Hinch
b57b56f293
docs: Update pyb.Timer.rst to fix pulse widths that exceed the period.
10 years ago
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.
10 years ago
Paul Sokolovsky
24c1000741
objarray: Support array('O'), array of objects, as extension to CPython.
Might be useful at least for memoryview hacks.
10 years ago
Paul Sokolovsky
16b1f5e842
objarray: Fix typo in null TYPECODE_MASK.
10 years ago
Damien George
48ef64a729
stmhal: Make os.sync use disk_ioctl exclusively; reuse os.sync in pyb.
10 years ago
Damien George
4f94d90d4d
stmhal: Include fatfs headers using lib/fatfs prefix.
This helps make files reusable across other ports.
10 years ago
Damien George
6cb6947b99
extmod/ure: Correctly return None when a group has no match.
See issue #1122 .
10 years ago
Damien George
2a68c2c21b
README.md: Add issuestats badges for PRs and issues.
10 years ago
Damien George
d891452a73
py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API.
10 years ago
Paul Sokolovsky
e104acdb8c
runtime: Typo fixes in comments.
10 years ago
Damien George
72ddcfd9ff
tests: Skip basics/boundmeth1.py for native emitter.
10 years ago
Damien George
dc790977d4
py: In inline assembler, reset labels on code-size pass.
10 years ago
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.
10 years ago
Damien George
9c5cabb502
py: Give error for duplicate label in inline assembler.
10 years ago
Damien George
086a7616dd
tests: Add tests for boundmeth; and bignum cmp, unary, float, error.
10 years ago
stijn
25f1264699
tests: Skip special math fun tests when math module exists but not funs.
10 years ago
stijn
803264bb17
py: Guard against redef of nlr_push with DEBUG + MICROPY_NLR_SETJMP.
10 years ago
Damien George
9be0d599cd
drivers: Add onewire driver and ds18x20 temperature sensor driver.
10 years ago
Damien George
f2a889564b
tests: Add basics test for gc module.
10 years ago
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).
10 years ago
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.
10 years ago
Damien George
24ffb8e876
tests: Add tests for builtins: all, any, sum, abs.
10 years ago
Damien George
db1e10d5ea
py: Use SMALL_INT creation macro in builtin sum.
10 years ago
Damien George
96e37d3bb8
tests: Add tests for inline assembler beq_n and beq_w ops.
10 years ago
Damien George
9f142f0c84
py: For inline assembler, add bcc_n and bcc_w ops.
Addresses issue #1143 .
10 years ago
Damien George
565da3f569
stmhal: Enable MICROPY_PY_ARRAY_SLICE_ASSIGN.
10 years ago
Damien George
a2e383820d
py: Clean up and comment out unused functions in mpz.
10 years ago
Damien George
2af921fb51
tests: Add tests for op special meths, ubinascii, complex.
10 years ago
Damien George
18fd7e8305
README.md: Change coveralls badge from travis-testing to master branch.
10 years ago
Damien George
81e661f28b
travis: Add automated coverage testing using coveralls.
10 years ago
Damien George
b753009a38
stmhal: Add I2S2EXT and I2S3EXT constants to stm module.
10 years ago
Damien George
47538cc880
tests: Add test for micropython const feature when it has a SyntaxError.
10 years ago
Damien George
62a3a287d9
py: Set compiler scope before folding constants so error messages work.
Addresses issue #1140 .
10 years ago
danicampora
d01060241a
cc3200: Add heartbeat signal on system led.
10 years ago
Johan Hendriks
6a41bf99bd
cc3200: Create separate release/debug build directories
10 years ago
Damien George
7711afbb4a
py: Combine complie functions for or_test/and_test to reduce code size.
Saves around 60 bytes code on Thumb2 archs.
10 years ago
Damien George
63f3832e81
py: Combine emit functions for jump true/false to reduce code size.
Saves 116 bytes for stmhal and 56 bytes for cc3200 port.
10 years ago
Damien George
0b2fd91890
py: Combine logic for compiling and/or tests, to reduce code size.
Reduces code size by 72 bytes on Thumb2 archs.
10 years ago