Damien George
d4bd37a561
py: Fix printing of error message when parsing malformed integer.
10 years ago
danicampora
78d7c45b69
cc3200: Disable all wake sources on start-up.
10 years ago
danicampora
ed20ac56f7
cc3200: Fix bug in RTC msec register access functions.
10 years ago
danicampora
5dd8ae6b9c
cc3200: Fix spaces aligment in LAUNCHXL/mpconfigboard.h
10 years ago
danicampora
0962358026
cc3200: Align SD card driver with new SDK release(1.1.0).
10 years ago
danicampora
1080802e8f
cc3200: Update socket event handler to align with new SDK(1.1.0) API.
10 years ago
danicampora
dc545d6512
cc3200: Do not reset the DTHE module before every SHA operation.
According to the new SDK (1.1.0) this is not needed, and it's best
not to do it, because this module is a shared resource.
10 years ago
danicampora
b2cb75efb7
cc3200: Remove double administration of callback objects.
10 years ago
danicampora
2b8a718d73
drivers: Update CC3100 driver library to SDK release version 1.1.0.
10 years ago
danicampora
c292632b59
cc3200: Update simplelink SPI driver to SDK release version 1.1.0.
10 years ago
danicampora
0d0646d915
cc3200: Update HAL to SDK release version 1.1.0.
10 years ago
Damien George
dac79324b5
stmhal: Add rtc.wakeup method, to set wakeup timer.
This allows to wake from low-power modes at a regular interval.
This method is preliminary, pending testing and API overhaul.
10 years ago
Damien George
1ef26b35c1
py, extmod: Remove include of unnecessary system headers.
10 years ago
Damien George
836e46976f
py: In pfenv_vprintf, adjust type from mp_uint_t to unsigned int.
10 years ago
Damien George
f256cfef4f
tests: Add some more tests for complex numbers and ure module.
10 years ago
Damien George
fa1edff006
py: Remove unnecessary and unused sgn argument from pfenv_print_mp_int.
10 years ago
Damien George
6837d46c1d
py: Fix builtin abs so it works for bools and bignum.
10 years ago
Damien George
26a9975fba
tests: Add some more tests for bytes, bignum, string and ujson.
10 years ago
Damien George
0683c1ceef
tests: Don't try to verify amount of memory used in cmd_showbc test.
10 years ago
Damien George
703c009681
tests: Add cmdline test to test showbc code.
10 years ago
Damien George
42e0c59308
py: Add MICROPY_COMP_{DOUBLE,TRIPLE}_TUPLE_ASSIGN config options.
These allow to fine-tune the compiler to select whether it optimises
tuple assignments of the form a, b = c, d and a, b, c = d, e, f.
Sensible defaults are provided.
10 years ago
Damien George
a77ffe66b2
py: In compiler, put macro guard around potentially unused asm vars.
10 years ago
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