- Sep 23, 2014
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
windows: Enable input(), sys.maxsize(), ujson module, emergency exceptio...
-
Damien George authored
Fix unix/Makefile to build on OSX
-
blmorris authored
Add more specific comments describing what is going on.
-
Damien George authored
Stack is full descending and must be 8-byte aligned. It must start off pointing to just above the last byte of RAM. Previously, stack started pointed to last byte of RAM (eg 0x2001ffff) and so was not 8-byte aligned. This caused a bug in combination with alloca. This patch also updates some debug printing code. Addresses issue #872 (among many other undiscovered issues).
-
blmorris authored
-
- Sep 22, 2014
- Sep 21, 2014
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
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.
-
- Sep 19, 2014
-
-
Dave Hylands authored
-
- Sep 17, 2014
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Also add start of ujson module with dumps implemented. Enabled in unix and stmhal ports. Test passes on both.
-
Damien George authored
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.
-
- Sep 15, 2014
-
-
Damien George authored
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.
-
Felix Domke authored
-
Felix Domke authored
-
Damien George authored
This gets ARM native emitter working againg and addresses issue #858.
-
Damien George authored
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.
-
- Sep 13, 2014
-
-
Damien George authored
-
Damien George authored
Tested and working on unix and pyboard.
-
- Sep 12, 2014
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
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.
-
- Sep 11, 2014
-
-
Damien George authored
-
Damien George authored
Also use less stack space when printing single precision float. Addition of asinf and acosf addresses issue #851.
-
Damien George authored
Add LIS3DSH accelometer support to staccel.py
-
iabdalkader authored
-
Hirotaka Kawata authored
-
iabdalkader authored
-
- Sep 10, 2014
-
-
Damien George authored
Addresses issue #848.
-
- Sep 08, 2014
-
-
Damien George authored
-