Kaspar Schleiser
cf5112b26f
py: Change _mp_obj_fun_builtin_t.fun to function pointer.
...
ISO C forbids conversion between function pointers and void*, gcc
-pedantic triggers a warning.
2015-05-17 17:42:04 +01:00
Damien George
44e7cbf019
py: Clean up declarations of str type/funcs that are also in unicode.
...
Background: trying to make an amalgamation of all the code gave some
errors with redefined types and inconsistent use of static.
2015-05-17 16:44:24 +01:00
Daniel Campora
6f848b6dba
cc3200: Set the timer edge count interrupt value in the calbback const.
2015-05-17 16:11:12 +02:00
Daniel Campora
95a4f61499
cc3200: Make sure RTC wake value is >= 1ms.
2015-05-17 16:09:27 +02:00
Daniel Campora
c27dc38e85
cc3200: Re-name 'intmode' to 'mode' in the callback API.
2015-05-17 14:49:17 +02:00
Daniel Campora
cd3f2523f1
cc3200: Disable WLAN.urn() by default.
...
Can be enabled by defining MICROPY_PORT_WLAN_URN=1 in mpconfigport.h.
2015-05-17 14:20:24 +02:00
Daniel Campora
a379b6ed11
cc3200: Add optional timeout param to WLAN.connect().
2015-05-17 14:05:44 +02:00
Daniel Campora
fb9e4cf463
cc3200: Make sure to handle all pending pin interrupts.
...
When entering the interrupt handler of a given GPIO port, more than
one pin could have pending interrupts, therefore care must be taken
to service each interrupt one by one before leaving.
2015-05-17 13:42:15 +02:00
Daniel Campora
8e611e8414
cc3200: Add Timer module. Supports free running, PWM and capture modes.
2015-05-17 12:34:49 +02:00
Daniel Campora
9466e154b4
cc3200: Fix power mode param check in the UART callback constructor.
2015-05-17 12:26:40 +02:00
Daniel Campora
2b62707051
cc3200: Add os.rename()
2015-05-17 12:22:17 +02:00
Paul Sokolovsky
ebf8dc6b03
Revert "unix: Include stdio.h to allow easy debugging with printf()."
...
This reverts commit 8fbabab1a8 . Turned to
cause problems on MacOSX.
2015-05-17 09:59:06 +03:00
Damien George
d7b7d5f6ee
docs: Bump version to 1.4.3.
2015-05-16 21:26:43 +01:00
stijn
709955b601
py: Fix printing of complex number when imaginary part is nan
2015-05-13 23:10:15 +01:00
Damien George
1db3577bcb
teensy: Add readinto and readlines qstrs.
2015-05-13 20:46:54 +01:00
Damien George
0bfc57022d
docs: Document USB_VCP file-like methods.
2015-05-13 20:42:12 +01:00
Damien George
1511dd4f84
stmhal: Add readinto and readlines methods to sys.stdin, pyb.USB_VCP().
...
Addresses issue #1255 .
2015-05-13 20:22:11 +01:00
Josef Gajdusek
1c132c8587
esp8266: Add configuration option for redirecting the built-in OS output
2015-05-13 18:03:00 +02:00
Josef Gajdusek
40c6d57804
esp8266: Actually use the decimal part of system_rtc_clock_cali_proc()
2015-05-13 17:59:36 +02:00
stijn
a09757f104
windows: Enable some recently added features in mpconfigport.h
2015-05-13 16:26:16 +01:00
Damien George
304a96d7d6
esp8266: Put more literal and text obj data in irom0_0_seg.
...
With newer versions of esp_iot_sdk the iram1_0_seg started to overflow.
Now it doesn't.
Addresses issue #1254 .
2015-05-13 14:49:14 +01:00
Damien George
4e7dc97bdc
esp8266: Add module weak links; link time to utime.
2015-05-13 00:18:41 +01:00
Josef Gajdusek
103d12a877
esp8266: Add utime and pyb.RTC
2015-05-13 00:12:54 +01:00
Josef Gajdusek
b47931978f
esp8266: Update the linker script
...
Moved modesp.o to flash and increased size of the irom0_0_seg segment. The new
value was taken from NodeMCU linker script.
2015-05-13 00:12:54 +01:00
Josef Gajdusek
1db4253886
lib: Move time utility functions to common library.
2015-05-13 00:12:54 +01:00