- 05 Sep, 2016 5 commits
-
-
Peter Hinch authored
Fixes issue #2176.
-
Damien George authored
It's useful to be able to use symbolic links to add files and directories to the set of scripts to be frozen.
-
Delio Brignoli authored
This new config option allows to control whether MicroPython uses its own internal printf or not (if not, an external one should be linked in). Accompanying this new option is the inclusion of lib/utils/printf.c in the core list of source files, so that ports no longer need to include it themselves.
-
Damien George authored
-
Radomir Dopieralski authored
Adds horizontal scrolling. Right now, I'm just leaving the margins created by the scrolling as they were -- so they will repeat the edge of the framebuf. This is fast, and the user can always fill the margins themselves.
-
- 04 Sep, 2016 11 commits
-
-
Paul Sokolovsky authored
Consistency and formatting.
-
Paul Sokolovsky authored
SPI(1) is not used for hardware SPI. Few more details are provided.
-
Paul Sokolovsky authored
modpybhspi now does the needed multiplexing, calling out to modpybspi (bitbanging SPI) for suitable peripheral ID's. modmachinespi (previous multiplexer class) thus not needed and removed. modpybhspi also updated to following standard SPI peripheral naming: SPI0 is used for FlashROM and thus not supported so far. SPI1 is available for users, and thus needs to be instantiated as: spi = machine.SPI(1, ...)
-
Paul Sokolovsky authored
There functionality is available via standard SPI class.
-
Paul Sokolovsky authored
Both tested to work. (WDT_RESET can be seen by issuing machine.disable_irq() and waiting for WDT reset, SOFT_RESET - by machine.reset()).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Dave Hylands authored
This set the CPU frequency to 216 MHz (the max) and leaves the USB Frequency at 48 MHz. These settings were copied from one of the HAL examples.
-
Damien George authored
-
Damien George authored
So that users of framebuf don't need to have stmhal directory in their path. (Eventually the font can be moved elsewhere.)
-
Chris Packham authored
Signed-off-by:
Chris Packham <chris.packham@alliedtelesis.co.nz>
-
- 03 Sep, 2016 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
Usage: import machine wdt = machine.WDT(0, 5000) # 5 second timeout wdt.feed() Thanks to Moritz for the initial implementation.
-
- 02 Sep, 2016 10 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Radomir Dopieralski authored
There was a bug in `framebuf1_fill` function, that makes it leave a few lines unfilled at the bottom if the height is not divisible by 8. A similar bug is fixed in the scroll method.
-
Damien George authored
This makes it more efficient at runtime to hash str/bytes objects.
-
Damien George authored
Makes it easier to access them without passing around another dict of the config values.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 01 Sep, 2016 7 commits
-
-
Delio Brignoli authored
Arguments of an unknown type cannot be skipped and continuing to parse a format string after encountering an unknown format specifier leads to undefined behaviour. This patch helps to find use of unsupported formats.
-
Radomir Dopieralski authored
With backwards compatibility for pyboard.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
The idea is that all ports can use these helper methods and only need to provide initialisation of the SPI bus, as well as a single transfer function. The coding pattern follows the stream protocol and helper methods.
-
- 31 Aug, 2016 1 commit
-
-
Damien George authored
This extra forward slash for the starting-point directory is unnecessary and leads to additional slashes on Max OS X which mean that the frozen files cannot be imported. Fixes #2374.
-
- 29 Aug, 2016 3 commits
-
-
Paul Sokolovsky authored
Or alternatively, refer to an exact library file, not just phony target "lib".
-
Paul Sokolovsky authored
-
Damien George authored
-