- 25 Jun, 2015 6 commits
-
-
Damien George authored
Previous to this patch each time a bytes object was referenced a new instance (with the same data) was created. With this patch a single bytes object is created in the compiler and is loaded directly at execute time as a true constant (similar to loading bignum and float objects). This saves on allocating RAM and means that bytes objects can now be used when the memory manager is locked (eg in interrupts). The MP_BC_LOAD_CONST_BYTES bytecode was removed as part of this. Generated bytecode is slightly larger due to storing a pointer to the bytes object instead of the qstr identifier. Code size is reduced by about 60 bytes on Thumb2 architectures.
-
Damien George authored
-
Paul Sokolovsky authored
Recognize and handle "package not found" error.
-
Garrett Berg authored
-
Damien George authored
-
Daniel Campora authored
The --pyboard param has been replaced by --target which defaults to 'unix'. Possible values at this moment are 'unix', 'pyboard' and 'wipy'. Now is also possible to select the baud rate of the serial device when calling the script.
-
- 24 Jun, 2015 10 commits
-
-
Damien George authored
-
Damien George authored
Thanks to Peter Hinch for contributing this.
-
Damien George authored
-
Daniel Campora authored
-
blmorris authored
This removes hard-coded DMA init params from dma_init(), instead defining these parameters in a DMA_InitTypeDef struct that gets passed as an argument to dma_init() This makes dma_init more generic so it can be used for I2S and SD Card, which require different initialization parameters.
-
Damien George authored
-
stijn authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
This script is used by Jenkins to update the WiPy with the newly built firmware before running the tests. It's not placed in the common tools folder because it is very WiPy specific.
-
- 23 Jun, 2015 2 commits
-
-
Damien George authored
-
Daniel Campora authored
Addresses issue #1347
-
- 22 Jun, 2015 5 commits
-
-
Damien George authored
To make it the same as SPI and UART.
-
Damien George authored
This is the standard way of doing things, one should construct a peripheral object (even if it's a singleton). See issue #1330.
-
Damien George authored
The do_str() function is provided essentially as documentation to show how to compile and execute a string. This patch makes do_str take an extra arg to specify how the string should be interpreted: either as a single line (ie from a REPL) or as multiple lines (ie from a file).
-
Paul Sokolovsky authored
Also, simplify dependencies info now that we no longer require GNU readline.
-
Damien George authored
This allows stmhal to be compiled with MICROPY_DEBUG_PRINTERS.
-
- 20 Jun, 2015 4 commits
-
-
Paul Sokolovsky authored
-
Ari Suutari authored
To comply with Python semantics.
-
Bill Owens authored
-
Damien George authored
Previous to this patch a call such as list.append(1, 2) would lead to a seg fault. This is because list.append is a builtin method and the first argument to such methods is always assumed to have the correct type. Now, when a builtin method is extracted like this it is wrapped in a checker object which checks the the type of the first argument before calling the builtin function. This feature is contrelled by MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG and is enabled by default. See issue #1216.
-
- 19 Jun, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 18 Jun, 2015 7 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Radomir Dopieralski authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Daniel Campora authored
-
- 17 Jun, 2015 2 commits
-
-
Bill Owens authored
-
Bill Owens authored
-
- 16 Jun, 2015 2 commits
-
-
Daniel Campora authored
-
Daniel Campora authored
-
- 15 Jun, 2015 1 commit
-
-
Damien George authored
-