aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-13moduzlib: New zlib-like module, based on uzlib.Paul Sokolovsky
2014-10-12stmhal: Oops: rename mod files in Makefile.Damien George
2014-10-12stmhal: Rename module files to keep consistency with module name.Damien George
2014-10-12stmhal: Enable module weak links.Damien George
os, time, select modules are now prefixed with u, but are still available (via weak links) as their original names. ure and ujson now available as re and json via weak links.
2014-10-12py: Add module weak link support.Damien George
With this patch a port can enable module weak link support and provide a dict of qstr->module mapping. This mapping is looked up only if an import fails to find the requested module in the filesystem. This allows to have the builtin module named, eg, usocket, and provide a weak link of "socket" to the same module, but this weak link can be overridden if a file by the name "socket.py" is found in the import path.
2014-10-12py: Fix x86 viper code generation, mem8 <-> mem16 for load.Damien George
2014-10-12py: Implement native load for viper.Damien George
Viper can now do: ptr8(buf)[0], which loads a byte from a buffer using machine instructions.
2014-10-12py: Implement and,or,xor native ops for viper.Damien George
2014-10-12modure: Make sure that re1.5 compiled in only of modure itself is enabled.Paul Sokolovsky
This is achieved by including re1.5 *.c files straight from modure.c .
2014-10-12modure: Upgrade re1.5 to 0.5.1Paul Sokolovsky
Changes include: regexp.h: Add double-include protection.
2014-10-11Merge pull request #902 from pfalcon/readme-unixDamien George
README: Update "unix" section with more info/details.
2014-10-11Merge branch 'pfalcon-modure'Damien George
2014-10-11stmhal: Enable ure module (tests pass on pyboard).Damien George
2014-10-11Merge branch 'modure' of https://github.com/pfalcon/micropython into ↵Damien George
pfalcon-modure
2014-10-11README: Update "unix" section with more info/details.Paul Sokolovsky
2014-10-11Merge pull request #900 from dhylands/comp-deadtimeDamien George
Add support for complimentary channel output and deadtime.
2014-10-11unix: Update comment MICROPY_GCREGS_SETJMP (untested -> undertested).Paul Sokolovsky
2014-10-11unix: Add comment about needed dependencies for MICROPY_FORCE_32BIT.Paul Sokolovsky
2014-10-11modure: Basic tests.Paul Sokolovsky
2014-10-11modure: Import needed files from re1.5 v0.5.Paul Sokolovsky
https://github.com/pfalcon/re1.5
2014-10-11modure: Initial module, using re1.5 (which is based on re1 codebase).Paul Sokolovsky
https://github.com/pfalcon/re1.5
2014-10-10Add support for complimentary channel output and deadtime.Dave Hylands
This patch enables output on the complimentary channels (TIMx_CHyN). For timers 1 and 8, deadtime can also be inserted when the channels transition. For the pyboard, TIM8_CH1/CH1N and TIM8_CH2/CH2N can take advantage of this.
2014-10-09stmhal: Add pyb.stop() and pyb.standby() functions.Damien George
2014-10-09Merge pull request #899 from pfalcon/usocket-renameDamien George
unix: Rename "microsocket" module to "usocket".
2014-10-09unix: Rename "microsocket" module to "usocket".Paul Sokolovsky
Per new conventions, we'd like to consistently use "u*" naming conventions for modules which don't offer complete CPython compatibility, while offer subset or similar API.
2014-10-09examples: Rename unix socket examples to have more precise naming (http).Paul Sokolovsky
2014-10-09Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-10-09Merge branch 'dhylands-lexer-crash'Damien George
2014-10-09py: Add further checks for failed malloc in lexer init functions.Damien George
2014-10-09Merge branch 'lexer-crash' of https://github.com/dhylands/micropython into ↵Damien George
dhylands-lexer-crash
2014-10-09Merge pull request #897 from tomvonclef/masterDamien George
Updating README.md. The Unix build requires pkg-config for FFI.
2014-10-09Merge branch 'dhylands-memory-error'Damien George
2014-10-09py: Add #if guard around gc-specific code.Damien George
2014-10-08Make lexer fail gracefully when memory can't be allocated.Dave Hylands
2014-10-08Updating README.md to include the fact that the Unix build requires ↵Tom von Clef
pkg-config to build the FFI module.
2014-10-07Allow real memory errors (from locked gc) to be reported with traceback.Dave Hylands
2014-10-06travis: Install realpath, required for teensy build.Paul Sokolovsky
2014-10-06windows: mingw32 gcc doesn't define endianness macros, so just assume little.Paul Sokolovsky
Specifically, at least Ubuntu's i586-mingw32msvc-gcc doesn't supply __LITTLE_ENDIAN__ and friends. And as it's safe enough to assume that Windows is only little-endian, then it's defined unconditionally, instead of duplicating detection logic in py/mpconfig.h (or adding windows-specific defines to it).
2014-10-06tests: Skip ffi_float.py if module ffi is not available.Paul Sokolovsky
2014-10-06tests: Add missing "import sys".Paul Sokolovsky
2014-10-06tests: Force skip of LE test on non-LE arch; improve run-tests-exp.sh.Damien George
2014-10-06tests: Make run-tests-exp.sh skip tests that fail due to invalid decorator.Damien George
Should address issue #856.
2014-10-06py: Extra autodetect for little endianness using __LITTLE_ENDIAN__.Damien George
2014-10-06stmhal: Remove long-obsolete pybwlan.[ch] files from old CC3k driver.Damien George
2014-10-06py: Make mp_binary_set_val work on big endian machine.Damien George
2014-10-06py: Make int.to_bytes work on big endian machine.Damien George
Partly addresses issue #856.
2014-10-06py: Try to autodetect machine endianness when not defined by port.Damien George
2014-10-05tests: Add check for micropython.native and then skip relevant tests.Damien George
If micropython.native decorator doesn't compile, then we skill all native/viper tests. This patch also re-enables the ujson_loads test on NT. Addresses issue #861, and partially addresses issue #856.
2014-10-05unix: Detect and print compile error.Damien George
2014-10-05stmhal: Use mp_uint_t where appropriate.Damien George
Found these by compiling stmhal with mp_uint_t of type uint32_t instead of unsigned int. This actually makes a difference to the code, but just a curiosity.