- 21 Sep, 2016 1 commit
-
-
Damien George authored
One can instead lookup __name__ in the modules dict to get the value.
-
- 20 Sep, 2016 1 commit
-
-
Damien George authored
So now ticks_ms can count up to the full 30 bits. Fixes issue #2412.
-
- 18 Sep, 2016 2 commits
-
-
Paul Sokolovsky authored
Instead of busy-looping waiting for UART input. Not enabled by default, needs more testing.
-
Paul Sokolovsky authored
-
- 17 Sep, 2016 2 commits
-
-
Paul Sokolovsky authored
A port now just needs to define FROZEN_DIR var and add $(BUILD)/frozen.c to SRC_C to support frozen modules.
-
Paul Sokolovsky authored
With FROZEN_MPY_DIR.
-
- 08 Sep, 2016 1 commit
-
-
Damien George authored
machine.POWER_ON is renamed to machine.PWRON_RESET to match other reset-cause constants that all end in _RESET. The cc3200 port keeps a legacy definition of POWER_ON for backwards compatibility.
-
- 06 Sep, 2016 3 commits
-
-
Paul Sokolovsky authored
When dealing with a board which controls chip reset with UART's DTR/RTS, we never see REASON_DEFAULT_RST (0), only REASON_EXT_SYS_RST (6). However, trying a "raw" module with with just TXD/RXD UART connection, on power up it has REASON_DEFAULT_RST as a reset reason.
-
Damien George authored
According to the Arduino ESP8266 implementation the first argument to the wifi scan callback is actually a bss_info pointer. This patch fixes the iteration over this data so the first 2 entries are no longer skipped. Fixes issue #2372.
-
Torsten Wagner authored
Interrupts during neopixel_write causes timing problems and therefore wrong light patterns. Switching off IRQs should help to keep the strict timing schedule.
-
- 05 Sep, 2016 2 commits
-
-
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.
-
- 04 Sep, 2016 3 commits
-
-
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()).
-
- 03 Sep, 2016 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 01 Sep, 2016 2 commits
-
-
Damien George authored
-
Damien George authored
-
- 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
-
-
Damien George authored
-
Damien George authored
This allows 1-wire drivers (eg DS18X20) to perform in-place operations and hence do less memory allocations.
-
Damien George authored
The OneWire class is now in its own onewire.py module, and the temperature sensor class is in its own ds18x20.py module. The latter is renamed to DS18X20 to reflect the fact that it will support both the "S" and "B" variants of the device. These files are moved to the modules/ subdirectory to take advantage of frozen bytecode.
-
- 28 Aug, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 26 Aug, 2016 1 commit
-
-
Radomir Dopieralski authored
This is an object-oriented approach, where uos is only a proxy for the methods on the vfs object. Some internals had to be exposed (the STATIC keyword removed) for this to work. Fixes #2338.
-
- 25 Aug, 2016 2 commits
-
-
Radomir Dopieralski authored
Without this, spi.read(1, 0xff) would use 16 clock cycles, first to send 0xff and then to receive one byte, as visible with a logic analyzer.
-
Damien George authored
-
- 20 Aug, 2016 1 commit
-
-
Paul Sokolovsky authored
Disabling it was an omission from early development stages.
-
- 19 Aug, 2016 2 commits
-
-
Radomir Dopieralski authored
-
Radomir Dopieralski authored
This module uses ESP8266's SPI hardware, which allows much higher speeds. It uses a library from https://github.com/MetalPhreak/ESP8266_SPI_Driver
-
- 15 Aug, 2016 1 commit
-
-
Damien George authored
This type was used only for the typedef of mp_obj_t, which is now defined by the object representation. So we can now remove this unused typedef, to simplify the mpconfigport.h file.
-
- 13 Aug, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 10 Aug, 2016 2 commits
-
-
Damien George authored
-
Damien George authored
Pin(16) now works as an input.
-
- 09 Aug, 2016 2 commits
-
-
Paul Sokolovsky authored
To accommodate growing firmware.
-
Paul Sokolovsky authored
Of them, 0x87000 is irom0 segment. This is required to ship increasing number of modules and examples developed in teh course of ESP8266 port project.
-
- 07 Aug, 2016 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-