Paul Sokolovsky
76217064ac
extmod/modlwip.c: Codestyle whitespace changes.
With MicroPython codestyle, with pointer casts, "*" packs with primary type
without space. Few other similar changes too (git diff -b -w is null).
9 years ago
Martijn Koster
a13d22f921
docs/wipy: Fix several typos and change some pyboard to WiPy.
9 years ago
danicampora
1950295735
cc3200: Set pin direction first, then value. Fixes #1542 .
9 years ago
Paul Sokolovsky
e0d7740a22
extmod/modlwip: slip: Use stream protocol and be port-independent.
Based on the original patch by Galen Hazelwood:
https://github.com/micropython/micropython/pull/1517 .
9 years ago
stijn
f3e46d0c52
windows: Rename "time" module to "utime" for consistency with others.
9 years ago
stijn
12fab63928
lib: Replace tabs with spaces in readline.c
9 years ago
stijn
dc93f25bb8
windows: Erase pre-calc'd number of chars instead of clearing whole line.
9 years ago
Paul Sokolovsky
393d0c1679
extmod/moductypes: Implement buffer protocol.
This is required to write structures to files, pass to FFI functions,
etc.
9 years ago
Damien George
79f404a287
stmhal: Fix USB_VCP.recv so that it returns actual amount of bytes read.
Addresses issue #1529 .
9 years ago
Martijn Koster
8e8aac89a5
cc3200: Update README to change pyb to machine.
9 years ago
Martijn Koster
c773053f58
docs/wipy: Fix several typos.
9 years ago
danicampora
a654914de4
cc3200: Allow to read pin value when in OPEN_DRAIN mode.
9 years ago
danicampora
359a8aa760
docs/wipy: Fix error in WLAN quickref.
9 years ago
danicampora
a3a33db409
cc3200: Enable WLAN irq on creation.
9 years ago
stijn
ca9eb81d0b
windows: Add usleep() implementation for msvc port
Also make sleep.c self-contained by moving initialization code,
instead of having part of the code in init.c, and add a header file
to accomodate this.
msec_sleep() now uses the usleep() implementation as well.
9 years ago
stijn
1c55310bcc
windows: Do not use wildcards when looking for sources in directories containing optional features
Fixes issues like #1532
9 years ago
Paul Sokolovsky
b7ab70c71c
docs: USB_VCP: Always in non-blocking mode, clarify stream method returns.
They return None if no data available.
9 years ago
Paul Sokolovsky
cf6daa0966
docs: Explicitly specify behavior of UART stream protocol methods on timeout.
9 years ago
Paul Sokolovsky
4a9c60cdfb
stmhal: Typo fix in comment.
9 years ago
Paul Sokolovsky
81a1e17238
stmhal/ffconf.h: Include py/mpconfig.h.
mpconfigport.h is a private, partial header not providing correct settings
unless included by py/mpconfig.h.
9 years ago
Paul Sokolovsky
0dbd928cee
Makefiles: Remove duplicate object files when linking.
Scenario: module1 depends on some common file from lib/, so specifies it
in its SRC_MOD, and the same situation with module2, then common file
from lib/ eventually ends up listed twice in $(OBJ), which leads to link
errors.
Make is equipped to deal with such situation easily, quoting the manual:
"The value of $^ omits duplicate prerequisites, while $+ retains them and
preserves their order." So, just use $^ consistently in all link targets.
9 years ago
Paul Sokolovsky
9a334d41e3
tests/jni: Test for basic object operations.
9 years ago
Galen Hazelwood
805c6534f8
extmod/modlwip: Initial commit of the lwip network stack module
9 years ago
Galen Hazelwood
22cb7cd953
lib/lwip: Add LwIP stack as a submodule in the library directory
9 years ago
Paul Sokolovsky
91f2168dd5
unix/modjni: Actually check argument type when doing method resolution.
This is required to properly select among overloaded methods. It however
relies on java.lang.Object-overloaded method to come last, which appears
to be the case for OpenJDK.
9 years ago
danicampora
ee7bebc94f
docs: Correct machine.RTC examples.
9 years ago
danicampora
4efed58df1
docs: Fix typos on wipy docs.
9 years ago
danicampora
0212dc65b7
cc3200: Add created sockets to the registry.
9 years ago
Paul Sokolovsky
9ebd4dabf2
unix/modjni: Don't pass Java object to a method which doesn't expect it.
For example, don't pass Integer to double method. This is still not
selective enough to choose the right overloaded method maong those
taking objects.
9 years ago
danicampora
9273cca432
docs/wipy: Correct typo in safe boot description.
9 years ago
danicampora
126373ac70
docs/wipy: Remove windows instructions that refer to the pyboard.
9 years ago
danicampora
e954604ae0
docs: Add remark about ssl sockets and standard sockets.
9 years ago
Damien George
fe08e3a54f
docs: Bump version to 1.5.
9 years ago
danicampora
8fd8bb36b3
cc3200: Bump version to 1.1.0
Incluides several improvements and a few API changes to comply
with the new hardware API.
9 years ago
danicampora
3b24e83731
docs/wipy: Fix formatting indentation.
9 years ago
danicampora
bb489066e8
docs/wipy: Remove incorrect references to usb configuration.
9 years ago
danicampora
109b363ddc
docs/wipy: Add more tutorials and examples.
9 years ago
danicampora
075ca64521
cc3200: Fix UART tests after correcting uart.read() behaviour.
9 years ago
danicampora
be2879ce89
cc3200: Enable "all special methods" configuration option.
9 years ago
danicampora
ee0058d174
docs: Remove remaining references to 'af', which is now 'alt'.
9 years ago
danicampora
1f2daf4304
cc3200: Correct ticks_cpu and ticks_us functions in time module.
9 years ago
danicampora
1c7f9b16f0
cc3200: Remove UART info on README.md.
The UART REPL it's not enabled by default anymore.
9 years ago
danicampora
ceb169008d
docs: Several corrections to the classes in the machine module.
9 years ago
danicampora
04db848dc7
docs: Add usocket and ussl modules' documentation.
9 years ago
danicampora
4b630c452d
cc3200: Make socket.listen([backlog]) compliant with Python 3.5.
9 years ago
danicampora
719dca2515
cc3200: Clean-up socket constants.
9 years ago
danicampora
d67ea6b29f
cc3200: Add comment about micropython extensions to standard modules.
9 years ago
danicampora
7ff585333e
cc3200: uart.read() returns EGAIN if no chars available.
9 years ago
danicampora
9a507c67ad
cc3200: Enable REPL autoindent.
9 years ago
Paul Sokolovsky
9d7ef05caf
README: Document how to enable/build external dependencies.
9 years ago