| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-09-21 | extmod, ujson: Slight reduction in code size. | Damien George | |
| 2014-09-21 | extmod: Add loads to ujson module. | Damien George | |
| 2014-09-21 | Merge branch 'dhylands-timer-pwm2' | Damien George | |
| 2014-09-21 | stmhal: Add pulse_width_ratio to timer channel object. | Damien George | |
| This allows to set the pulse width (for PWM mode) as a ratio relative to the period of the timer. Eg, 0.5 is a 50% duty cycle. You can set the ratio in the channel init, or using channel.pulse_width_ratio; the latter can also read the pulse width as a ratio. | |||
| 2014-09-19 | Add Timer support (PWM, OC, IC) for stmhal and teensy | Dave Hylands | |
| 2014-09-17 | stmhal: Fix bugs in documentation so it compiles. | Damien George | |
| 2014-09-18 | lib: Add basic README. | Damien George | |
| 2014-09-17 | py: Add 'builtins' module. | Damien George | |
| 2014-09-17 | py: Add native json printing using existing print framework. | Damien George | |
| Also add start of ujson module with dumps implemented. Enabled in unix and stmhal ports. Test passes on both. | |||
| 2014-09-17 | py: Make dict use a bit less RAM when iterating; properly del values. | Damien George | |
| Heap RAM was being allocated to print dicts and do some other types of iterating. Now these iterations use 1 word of state on the stack. Deleting elements from a dict was not allowing the value to be reclaimed by the GC. This is now fixed. | |||
| 2014-09-15 | stmhal: Change 64-bit arithmetic to 32-bit for SD card block addressing. | Damien George | |
| By measuring SD card addresses in blocks and not bytes, one can get away with using 32-bit numbers. This patch also uses proper atomic lock/unlock around SD card read/write, adds SD.info() function, and gives error code for failed read/writes. | |||
| 2014-09-15 | stmhal/sdcard.c: add pyb.SD.write | Felix Domke | |
| 2014-09-15 | stmhal/hal/src/stm32f4xx_hal_sd.c: fix SDHC card capacity | Felix Domke | |
| 2014-09-15 | py: Make asm_arm_less_op take destination register as first arg. | Damien George | |
| This gets ARM native emitter working againg and addresses issue #858. | |||
| 2014-09-15 | py: Move definition of mp_sys_exit to core. | Damien George | |
| sys.exit always raises SystemExit so doesn't need a special implementation for each port. If C exit() is really needed, use the standard os._exit function. Also initialise mp_sys_path and mp_sys_argv in teensy port. | |||
| 2014-09-13 | py: Fix build error when float disabled; add test for divmod. | Damien George | |
| 2014-09-13 | py: Implement divmod, % and proper // for floating point. | Damien George | |
| Tested and working on unix and pyboard. | |||
| 2014-09-13 | Merge branch 'iabdalkader-memcpy' | Damien George | |
| 2014-09-13 | stmhal: Slightly improved memcpy; memset uses word store when aligned. | Damien George | |
| 2014-09-12 | Merge branch 'memcpy' of github.com:iabdalkader/micropython into ↵ | Damien George | |
| iabdalkader-memcpy | |||
| 2014-09-12 | py: Load strings as objects when compiling viper. | Damien George | |
| Eventually, viper wants to be able to use raw pointers to strings and arrays for efficient access. But for now, let's just load strings as a Python object so they can be used as normal. This will anyway be compatible with eventual intended viper behaviour. Addresses issue #857. | |||
| 2014-09-11 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-09-11 | py and libm: Add asinf,acosf; print higher precision for float. | Damien George | |
| Also use less stack space when printing single precision float. Addition of asinf and acosf addresses issue #851. | |||
| 2014-09-11 | Merge pull request #852 from techno/staccel_LIS3DSH | Damien George | |
| Add LIS3DSH accelometer support to staccel.py | |||
| 2014-09-11 | Optimize memcpy more | iabdalkader | |
| 2014-09-11 | Add LIS3DSH accelometer support to staccel.py | Hirotaka Kawata | |
| 2014-09-11 | Memcpy: copy words | iabdalkader | |
| 2014-09-10 | py: Enable struct/binary-helper to parse q and Q sized ints. | Damien George | |
| Addresses issue #848. | |||
| 2014-09-08 | py: Put define of x86 argument registers in asmx86.h. | Damien George | |
| 2014-09-08 | py: Convert [u]int to mp_[u]int_t in emit.h and associated .c files. | Damien George | |
| Towards resolving issue #50. | |||
| 2014-09-08 | py: Print imported module's location (__file__) if available. | Damien George | |
| 2014-09-07 | stmhal: uart ioctl uses EINVAL, and checks TXE bit for write-ability. | Damien George | |
| 2014-09-07 | Remove skeletal modselect from extmod and just put it in stmhal. | Damien George | |
| 2014-09-07 | stmhal: Fix modselect so non-hashable objects can be polled. | Damien George | |
| 2014-09-07 | py: Rename mp_builtin_id to mp_obj_id and make it public. | Damien George | |
| 2014-09-07 | stmhal: Add polling ability to UART object. | Damien George | |
| 2014-09-07 | stmhal: Implement generic select.select and select.poll. | Damien George | |
| 2014-09-07 | py: Add ioctl method to stream protocol; add initial modselect. | Damien George | |
| 2014-09-07 | py: Clean up x86-64 native assembler; allow use of extended regs. | Damien George | |
| Native x86-64 now has 3 locals in registers. | |||
| 2014-09-06 | py: Adjust regs for x86 so that 1 more local can live in a reg. | Damien George | |
| 2014-09-06 | unix: Fix modffi to be able to return double on x86 machines. | Damien George | |
| 2014-09-06 | py: Allow x86 native functions to take arguments. | Damien George | |
| Fix some bugs with x86 stack and saving registers correctly. | |||
| 2014-09-06 | py: Add support for emitting native x86 machine code. | Damien George | |
| 2014-09-06 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-09-06 | tests: Enable misc tests on pyboard; output 4 sig figs in rge_sm. | Damien George | |
| 2014-09-06 | py: Native emitter now supports delete name & global, and end finally. | Damien George | |
| 2014-09-06 | modstruct: Implement 'O', 'P', 's' types for packed structs. | Paul Sokolovsky | |
| This is required to deal with, well, packed C structs containing pointers. | |||
| 2014-09-06 | py: Correctly set sys.maxsize value for 64-bit. | Paul Sokolovsky | |
| Type representing signed size doesn't have to be int, so use special value which defaults to SSIZE_MAX, but as it's not defined by C standard (but rather by POSIX), allow ports to set it. | |||
| 2014-09-06 | unix: Don't use -Wno-error=cpp or #warning; fix strict alias warning. | Damien George | |
| For the sake of older versions of gcc (and other compilers), don't use the #warning CPP directive, nor the -Wno-error=cpp option. Also, fix a strict alias warning in modffi.c for older compilers, and add a test for ffi module. Addresses issue #847. | |||
| 2014-09-06 | py: Fix definition of sys.maxsize with mpz changes. | Damien George | |
