aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-29stmhal/moduselect: Use mp_hal_ticks_ms().Paul Sokolovsky
2015-10-29cc3200: Switch from HAL_Delay() to mp_hal_delay_ms().Paul Sokolovsky
2015-10-29teensy: Switch from HAL_* to mp_hal_* functions.Paul Sokolovsky
2015-10-29minimal: Use mp_hal_ticks_ms().Paul Sokolovsky
2015-10-29esp8266: Switch to standard mp_hal_ticks_ms() MPHAL function.Paul Sokolovsky
2015-10-29stmhal/pyexec: Use mp_hal_ticks_ms().Paul Sokolovsky
This file is actually port-generic and should be moved out of stmhal/ . Other ports already use it, and thus it should use mp_hal_ticks_ms() right away.
2015-10-29esp8266: Switch to standard mp_hal_delay_ms() MPHAL function.Paul Sokolovsky
2015-10-29esp8266: Switch to standard mp_hal_delay_us() MPHAL function.Paul Sokolovsky
2015-10-28examples: Add example of I2C usage, taking PyBoard accelerometer as subject.Paul Sokolovsky
2015-10-28cc3200: Actually allow to specify a custom build directory.danicampora
2015-10-28cc3200: Fix bug in FTP command buffer, and set listening backlog to 0.danicampora
2015-10-28extmod/moductypes: When dealing with UINT64, use mp_obj_new_int_from_ull().Paul Sokolovsky
Since we now have it.
2015-10-27unix, stmhal: Introduce mp_hal_delay_ms(), mp_hal_ticks_ms().Paul Sokolovsky
These MPHAL functions are intended to replace previously used HAL_Delay(), HAL_GetTick() to provide better naming and MPHAL separation (they are fully equivalent otherwise). Also, refactor extmod/modlwip to use them.
2015-10-26docs/wipy: Fix bug in example code and add note regarding OTA.danicampora
2015-10-27extmod/modlwip: Codestyle: no need for () when taking address of primary expr.Paul Sokolovsky
Like foo.bar or foo->bar.
2015-10-27extmod/modlwip: lwip_tcp_send(): Common subexpression elimination, use MIN().Paul Sokolovsky
2015-10-27extmod/modlwip.c: Codestyle whitespace changes.Paul Sokolovsky
With MicroPython codestyle, with pointer casts, "*" packs with primary type without space. Few other similar changes too (git diff -b -w is null).
2015-10-26docs/wipy: Fix several typos and change some pyboard to WiPy.Martijn Koster
2015-10-26cc3200: Set pin direction first, then value. Fixes #1542.danicampora
2015-10-27extmod/modlwip: slip: Use stream protocol and be port-independent.Paul Sokolovsky
Based on the original patch by Galen Hazelwood: https://github.com/micropython/micropython/pull/1517 .
2015-10-26windows: Rename "time" module to "utime" for consistency with others.stijn
2015-10-26lib: Replace tabs with spaces in readline.cstijn
2015-10-26windows: Erase pre-calc'd number of chars instead of clearing whole line.stijn
2015-10-26extmod/moductypes: Implement buffer protocol.Paul Sokolovsky
This is required to write structures to files, pass to FFI functions, etc.
2015-10-25stmhal: Fix USB_VCP.recv so that it returns actual amount of bytes read.Damien George
Addresses issue #1529.
2015-10-25cc3200: Update README to change pyb to machine.Martijn Koster
2015-10-25docs/wipy: Fix several typos.Martijn Koster
2015-10-25cc3200: Allow to read pin value when in OPEN_DRAIN mode.danicampora
2015-10-25docs/wipy: Fix error in WLAN quickref.danicampora
2015-10-25cc3200: Enable WLAN irq on creation.danicampora
2015-10-25windows: Add usleep() implementation for msvc portstijn
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.
2015-10-25windows: Do not use wildcards when looking for sources in directories ↵stijn
containing optional features Fixes issues like #1532
2015-10-25docs: USB_VCP: Always in non-blocking mode, clarify stream method returns.Paul Sokolovsky
They return None if no data available.
2015-10-25docs: Explicitly specify behavior of UART stream protocol methods on timeout.Paul Sokolovsky
2015-10-24stmhal: Typo fix in comment.Paul Sokolovsky
2015-10-24stmhal/ffconf.h: Include py/mpconfig.h.Paul Sokolovsky
mpconfigport.h is a private, partial header not providing correct settings unless included by py/mpconfig.h.
2015-10-24Makefiles: Remove duplicate object files when linking.Paul Sokolovsky
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.
2015-10-24tests/jni: Test for basic object operations.Paul Sokolovsky
2015-10-23extmod/modlwip: Initial commit of the lwip network stack moduleGalen Hazelwood
2015-10-23lib/lwip: Add LwIP stack as a submodule in the library directoryGalen Hazelwood
2015-10-23unix/modjni: Actually check argument type when doing method resolution.Paul Sokolovsky
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.
2015-10-22docs: Correct machine.RTC examples.danicampora
2015-10-22docs: Fix typos on wipy docs.danicampora
2015-10-22cc3200: Add created sockets to the registry.danicampora
2015-10-22unix/modjni: Don't pass Java object to a method which doesn't expect it.Paul Sokolovsky
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.
2015-10-22docs/wipy: Correct typo in safe boot description.danicampora
2015-10-21docs/wipy: Remove windows instructions that refer to the pyboard.danicampora
2015-10-21docs: Add remark about ssl sockets and standard sockets.danicampora
2015-10-21docs: Bump version to 1.5.Damien George
2015-10-21cc3200: Bump version to 1.1.0danicampora
Incluides several improvements and a few API changes to comply with the new hardware API.