danicampora
2c103d5200
cc3200: Rewrite the PRCM RTC functionality methods.
This allows to use the On-Chip retention registers for both the
RTC and to share notification flags between the bootloader and the
application. The two flags being shared right now are the "safe boot"
request and the WDT reset cause. we still have 2 more bits free for
future use.
10 years ago
danicampora
d432bcb9ac
cc3200: Prevent multiple memory allocations if sflash init fails.
10 years ago
danicampora
2ae17def52
cc3200: Clean up linker scripts and startup file.
10 years ago
danicampora
09721e2314
cc3200: Increase heartbeat period from 3 to 5 seconds.
10 years ago
danicampora
c7fabe1f3e
cc3200: Remove unneeded code from modwlan and optimize startup time.
These changes also help reduce the hibernate wake-up time to 1s.
10 years ago
Damien George
ac4f6b804f
stmhal: Fix adc.read_timed so buffer store respects element size.
Addresses issue #1154 .
10 years ago
Paul Sokolovsky
1129de5ac0
unix: Support readline history saving to file, improves interactive usage.
10 years ago
Damien George
143c34109c
tests: Add ability to test uPy cmdline executable.
This allows to test options passed to cmdline executable, as well as the
behaviour of the REPL.
10 years ago
Damien George
af43565322
tests: Add tests for things that are not already tested.
The aim here is to improve coverage of the code.
10 years ago
Damien George
848dd0e762
py: Make some mpz functions static and remove unused ones.
10 years ago
danicampora
04749e677f
cc3200: Allow separate selection of the power mode in Pin callbacks.
10 years ago
danicampora
10f7ef0832
cc3200: Keep WLAN enabled during suspend mode.
10 years ago
danicampora
d1ba8b7659
cc3200: Correct WiPy's pinout and the pin generation script.
10 years ago
danicampora
6ae9383f63
cc3200: Remove WLAN.getmode since it's superseded by WLAN.ifconfig.
10 years ago
danicampora
37337427c3
cc3200: Trigger a new network scan when WLAN.scan() is called.
10 years ago
Damien George
c832bde05f
tests: Add zlib test for decompressing uncompressed data.
10 years ago
danicampora
b761ed2103
cc3200: Register ADC and I2C with the sleep module.
10 years ago
danicampora
db0580d0a5
cc3200: Reduce stack sizes of simplelink and the servers.
10 years ago
Peter D. Gray
b2a237d337
py: Add support for start/stop/step attributes of builtin range object.
10 years ago
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