- 08 Mar, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
-
- 07 Mar, 2014 1 commit
-
-
Damien George authored
-
- 06 Mar, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
-
- 05 Mar, 2014 1 commit
-
-
mux authored
* Issue #322
-
- 03 Mar, 2014 6 commits
-
-
Damien George authored
Addresses issue #327.
-
Damien George authored
Checks for non-default args following default args, and errors out. Addresses issue #328.
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
I.e. as replacement of MP_OBJ_IS_TYPE(), which takes into account subclassing.
-
Paul Sokolovsky authored
-
- 01 Mar, 2014 3 commits
-
-
Damien George authored
Implement not, shl and shr in mpz library. Add function to create mpzs on the stack, used for memory efficiency when rhs is a small int. Factor out code to parse base-prefix of number into a dedicated function.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 26 Feb, 2014 6 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Don't need to wrap bitfields in their own struct. Compiler does the correct thing without it.
-
Damien George authored
-
Damien George authored
-
- 24 Feb, 2014 1 commit
-
-
Damien George authored
Also change int -> machine_int_t where appropriate.
-
- 22 Feb, 2014 5 commits
-
-
Damien George authored
Some functionality is still missing (eg and, or, bit shift), and some things are buggy (eg subtract).
-
Damien George authored
-
Damien George authored
strtonum clashes with BSD function of same name, and our version is different so warrants a unique name. Addresses Issue #305.
-
Damien George authored
-
Paul Sokolovsky authored
Based on suggestion by @dpgeorge at https://github.com/micropython/micropython/pull/313
-
- 21 Feb, 2014 2 commits
-
-
Paul Sokolovsky authored
Specifically, VM's small ints are 31 bit, while parser's only 28. There's already MP_OBJ_FITS_SMALL_INT(), so, for clarity, rename MP_FIT_SMALL_INT() to MP_PARSE_FITS_SMALL_INT().
-
Paul Sokolovsky authored
TODO: De-duplicate DECODE_UINT, etc. definitions.
-
- 20 Feb, 2014 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Assuming we have truncating (floor) division, way to do ceiling division by N is to use formula (x + (N-1)) / N. Specifically, 63 bits, if stored 7 bits per byte, require exactly 9 bytes. 64 bits overflow that and require 10 bytes.
-
Paul Sokolovsky authored
-
Damien George authored
-
- 19 Feb, 2014 3 commits
-
-
Paul Sokolovsky authored
http://docs.python.org/3.3/library/functions.html#__import__ : "When the name variable is of the form package.module, normally, the top-level package (the name up till the first dot) is returned, not the module named by name. However, when a non-empty fromlist argument is given, the module named by name is returned."
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 18 Feb, 2014 1 commit
-
-
Dave Hylands authored
This commit also introduces board directories and moves board specific config into the appropriate board directory. boards/stm32f4xx-af.csv was extracted from the STM32F4xx datasheet and hand-tweaked. make-pins.py takes boards/stm32f4xx-af.csv, boards/stm32f4xx-prefix.c, and boards/BOARD-NAME/pins.csv as input and generates the file build/pins_BOARD_NAME.c The generated pin file for PYBOARD4 looks like this: https://gist.github.com/dhylands/9063231 The generated pins file includes all of the supported alternate functions, and includes upsupported alternate functions as comments. See the commnet block at the top of stm/pin_map.c for details on how to use the pin mapper. I also went ahead and modified stm/gpio.c to use the pin mapper.
-
- 17 Feb, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This is compatible with what search path was before sys.path refactor, with addition of module library path ("0:/lib").
-
- 16 Feb, 2014 1 commit
-
-
Paul Sokolovsky authored
For this, record argument names along with each bytecode function. The code still includes extensive debug logging support so far.
-