summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* extmod/modussl: Remove unused header.Paul Sokolovsky2015-10-20
|
* lib/mp-readline: Add n_chars argument to mp_hal_erase_line_from_cursor.Damien George2015-10-20
| | | | | | | | | If VT100 support is not available then a given implementation of mp_hal_erase_line_from_cursor might need to know the number of characters to erase. This patch does not change generated code when VT100 is supported, since compiler can optimise away the argument.
* py/nlrthumb: Make compatible with Cortex-M0 (ARMv6M instr set).Damien George2015-10-20
|
* py: With obj repr "C", change raw str accessor from macro to function.Damien George2015-10-20
| | | | | | This saves around 1000 bytes (Thumb2 arch) because in repr "C" it is costly to check and extract a qstr. So making such check/extract a function instead of a macro saves lots of code space.
* py: Add object repr "C", where 30-bit floats are stuffed in obj word.Damien George2015-10-20
| | | | | | This new object representation puts floats into the object word instead of on the heap, at the expense of reducing their precision to 30 bits. It only makes sense when the word size is 32-bits.
* py: Make float representation configurable with object representation.Damien George2015-10-20
|
* py: Move float e/pi consts to objfloat and make mp_obj_float_t private.Damien George2015-10-20
|
* py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George2015-10-20
|
* stmhal/rtc: Fix indentation to use spaces rather than tabs.Damien George2015-10-20
|
* stmhal/rtc: Init uses YMD rather than backup register to detect powerup.Peter Hinch2015-10-20
|
* unix: Use "Ctrl" as a name of the key, not "CTRL".Paul Sokolovsky2015-10-20
|
* tests/extmod: Add tests for sleep_ms/us(), ticks_ms/us/diff().Paul Sokolovsky2015-10-20
| | | | | Simple smoke tests, mostly for coverage. Added to extmod based on the fact that they're extensions to standard modules.
* travis: Build "deplibs" in unix port.Paul Sokolovsky2015-10-20
|
* tools/pyboard: Add -c argument to run a program passed as a string.Tom Soulanille2015-10-19
|
* teensy: Update to compile with latest changes to stmhal Pin class.Damien George2015-10-19
|
* stmhal: Bring Pin class close to new machine module specification.Damien George2015-10-19
| | | | | Looks like we can use the same Pin class for legacy pyb module and new machine module.
* stmhal/uart: If char is not received within timeout, return EAGAIN error.Paul Sokolovsky2015-10-20
| | | | | | | | Instead of return 0, which means EOF. There's no good way to detect EOF on continuously active bus like UART, and treat timeout as just temporary unvailability of data. .read() method of UART object will return None in this case (instead of 0, which again measn EOF). This is fully compliant with unix port.
* stmhal: Implement os.dupterm (was pyb.repl_uart).Damien George2015-10-19
| | | | pyb.repl_uart still exists but points to os.dupterm.
* stmhal: Add sleep_{ms,us} and ticks_{ms,us,cpu,diff} to time module.Damien George2015-10-19
| | | | | pyb module still has pyb.delay and pyb.udelay, but these now point to time.sleep_ms and time.sleep_us respectively.
* stmhal: Early version of machine module for stmhal.Dave Hylands2015-10-19
|
* libffi: Skip building docs.Paul Sokolovsky2015-10-19
| | | | This requires makeinfo installed and wastes time (especially in CI).
* cc3200: WLAN class can retrieve the existing instance.danicampora2015-10-19
|
* tests/wipy: Make WLAN test more stable.danicampora2015-10-19
|
* cc3200: Fix time.ticks_* functions.danicampora2015-10-19
|
* docs/wipy: Add wipy tutorials section.danicampora2015-10-19
|
* docs: Add wipy and network.server documentation.danicampora2015-10-19
|
* cc3200: Refactor network module to make the server a propper object.danicampora2015-10-19
|
* cc3200: Increase stack sizes a bit.danicampora2015-10-19
|
* cc3200: Create wipy module, remove HeartBeat class.danicampora2015-10-19
| | | | | The heartbeat is now controllable via a single function within the wipy module.
* unix/modos: Android Bionic lacks statvfs(), has BSD statfs().Paul Sokolovsky2015-10-19
|
* all: Make netutils.h available to all ports by default.Paul Sokolovsky2015-10-19
| | | | | Generally, ports should inherit INC from py.mk, append to it, not overwrite it. TODO: Likely should do the same for other vars too.
* unix/modtime: Implement ticks_ms(), ticks_us() and ticks_diff().Paul Sokolovsky2015-10-19
| | | | | All of these functions return positive small int, thus range is 2 bits less than word size (30 bit on 32-bit systems, 62 bit on 64-bit systems).
* unix/modtime: Implement sleep_ms(), sleep_us().Paul Sokolovsky2015-10-19
|
* py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler.Damien George2015-10-19
|
* unix/unix_mphal: Implement HAL_Delay() and HAL_GetTick().Paul Sokolovsky2015-10-19
|
* py/stream: Allow to reuse is_nonblocking_error().Paul Sokolovsky2015-10-18
|
* unix/modos: Checking config macros requires mpconfig.h.Paul Sokolovsky2015-10-18
|
* unix/modos: Guard sys/statvfs.h include with MICROPY_PY_OS_STATVFS check.Paul Sokolovsky2015-10-18
| | | | E.g. Windows lacks this header.
* docs: In top index fix machine module link for the WiPy.danicampora2015-10-18
|
* unix/modos: Add statvfs() function.Paul Sokolovsky2015-10-18
| | | | | | | | | | | Another function (like stat) which is problematic to deal with on ABI level (FFI), as struct statvfs layout may differ unpredictably between OSes and even different versions of a same OS. So, implement it in C, returning a 10-element tuple of f_bsize, f_frsize, f_blocks, f_bfree, f_bavail, f_files, f_ffree, f_favail, f_flag, f_namemax. This is exactly the order described in Python3 docs, https://docs.python.org/3/library/os.html#os.statvfs (but note that os.statvfs() should make these values available as attributes).
* unix: Build libffi in a directory which is gitgnored.Paul Sokolovsky2015-10-18
| | | | | To avoid "-dirty" version previous and spurious "modified" output from git status, etc.
* docs: Update all WiPy docs to reflect the new API.danicampora2015-10-17
|
* cc3200: Improvements to terminal duplication.danicampora2015-10-17
|
* cc3200: In scan results rename 'auth' field to 'sec'.danicampora2015-10-17
| | | | | As defined by the new API, since 'auth' is actually a tuple composed by the security type and the key.
* stmhal: Make USB serial number actually be unique.Dave Hylands2015-10-17
|
* tools/upip: Update to 0.5.9.Paul Sokolovsky2015-10-17
| | | | | MICROPYPATH environment variable is now honored, package are installed to first path specified in it.
* lib/libffi: Add libffi as a submodule.Paul Sokolovsky2015-10-17
| | | | | | | | | | | This allows to build libffi from source together with micropython, and is useful for cross-compilation. Support for this was already merged previously, to use: make libffi make MICROPY_STANDALONE=1 (To both commands appropriate cross-compilition flags can be added).
* py: Add support for _ in REPL to hold last computed value.Damien George2015-10-17
| | | | Only available when MICROPY_CAN_OVERRIDE_BUILTINS is enabled.
* py: Add option for inline assembler to support ARMv7-M instructions.Damien George2015-10-16
| | | | | | Cortex-M0, M0+ and M1 only have ARMv6-M Thumb/Thumb2 instructions. M3, M4 and M7 have a superset of these, named ARMv7-M. This patch adds a config option to enable support of the superset of instructions.
* py: Fix with+for+return bug by popping for-iter when unwinding exc stack.Damien George2015-10-15
| | | | Addresses issue #1182.