Daniel Campora
1811c6bccf
cc3200: Remove Timer.AB constant.
...
Timer.A and Timer.B can be ORed for this purpose.
2015-06-10 23:35:43 +02:00
Daniel Campora
e2dc7ac2a9
cc3200: Clarify notes about the extended functionality of uhashlib.
2015-06-10 23:35:41 +02:00
Daniel Campora
95cc1ff542
cc3200: Re-name pyb.hard_reset() to pyb.reset().
2015-06-10 23:35:40 +02:00
Daniel Campora
330e21c986
cc3200: Use the pull up/down resistors on the antenna selection pins.
2015-06-10 23:35:38 +02:00
Daniel Campora
f960d753e4
cc3200: Fix bootloader build error.
2015-06-10 23:35:36 +02:00
Daniel Campora
3319780e96
cc3200: Add sendbreak method to the UART.
2015-06-10 23:35:35 +02:00
Daniel Campora
8a6d93aeed
cc3200: Make UART API more similar to stmhal.
2015-06-10 23:35:33 +02:00
Daniel Campora
640d00ea9d
cc3200: Change MP_OBJ_NULL for mp_const_none in params default value.
2015-06-10 23:35:32 +02:00
Daniel Campora
071d47fa3b
cc3200: Only kick the WDT if it's actually running.
2015-06-10 23:35:30 +02:00
Daniel Campora
6148f8b7d2
cc3200: Add contructor to the HeartBeat class.
2015-06-10 23:35:28 +02:00
Damien George
76285469d3
stmhal: Make I2C use DMA when interrupts are enabled.
2015-06-10 14:01:44 +01:00
Damien George
3d30d605f5
stmhal: Factor out DMA initialisation code from spi.c.
...
This is so that the DMA can be shared by multiple peripherals.
2015-06-10 14:01:44 +01:00
Damien George
7ed58cb663
py: Support unicode (utf-8 encoded) identifiers in Python source.
...
Enabled simply by making the identifier lexing code 8-bit clean.
2015-06-09 10:58:07 +00:00
Damien George
6e56bb623c
py: Fallback to stack alloca for Python-stack if heap alloc fails.
...
If heap allocation for the Python-stack of a function fails then we may
as well allocate the Python-stack on the C stack. This will allow to
run more code without using the heap.
2015-06-08 22:07:27 +01:00
Daniel Campora
371f4ba6b3
cc3200: Wrap antenna_init0() with #if MICROPY_HW_ANTENNA_DIVERSITY.
2015-06-08 10:38:19 +02:00
Damien George
0aa5e75000
stmhal: Break immediately from USB CDC busy wait loop if IRQs disabled.
...
If IRQs are disabled then the USB CDC buffer will never be
drained/filled and the sys-tick timer will never increase, so we should
not busy wait in this case.
2015-06-07 23:48:07 +01:00
Daniel Campora
491c321720
cc3200: Re-config antenna selection when waking from suspended mode.
2015-06-07 13:28:47 +02:00
Daniel Campora
b4a41a8f70
cc3200: Add missing antenna diversity source files.
2015-06-07 00:42:40 +02:00
Daniel Campora
a3acaa000c
cc3200: Add antenna selection feature to WLAN.
2015-06-07 00:06:27 +02:00
Paul Sokolovsky
098f5ae221
micropython-upip: Mark as binary file and re-commit.
2015-06-06 23:09:23 +03:00
Paul Sokolovsky
1406d9ccde
upip: Upgrade to 0.5.3 to follow uctypes.struct() signature change.
2015-06-06 23:03:28 +03:00
Paul Sokolovsky
06e85ecfa6
docs/uctype: Update for constructor argument order changes.
...
Also, other small cleanups/improvements.
2015-06-06 22:58:04 +03:00
Paul Sokolovsky
1679696612
moductypes: Swap address and descriptor args in constructor.
...
Now address comes first, and args related to struct type are groupped next.
Besides clear groupping, should help catch errors eagerly (e.g. forgetting
to pass address will error out).
Also, improve args number checking/reporting overall.
2015-06-06 22:57:54 +03:00
Paul Sokolovsky
07408cbd1f
unix: Make micropython -m <module> work for frozen modules.
...
This requires some special handling, which was previosuly applied only to
the main code path.
2015-06-06 00:10:58 +03:00
Damien George
d7192fe68c
py: Expose KeyboardInterrupt in builtins module.
2015-06-05 10:46:22 +01:00