- 08 Jan, 2017 3 commits
-
-
Damien George authored
-
Damien George authored
The commit d9047d3c introduced a bug whereby "from a.b import c" stopped working for frozen packages. This is because the path was not properly truncated and became "a//b". Such a path resolves correctly for a "real" filesystem, but not for a search in the list of frozen modules.
-
syndycat authored
-
- 07 Jan, 2017 2 commits
-
-
Paul Sokolovsky authored
Prints NWP/MAC/PHY version, as affected by servicepack installed.
-
Paul Sokolovsky authored
-
- 06 Jan, 2017 5 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
set isn't the most basic type and can be disabled by a port.
-
Damien George authored
There is no longer space reserved by default for native code.
-
Damien George authored
This effectively reverts the change that introduced this new constant. The reason is so that users do not need to rebuild the filesystem on their modules when upgrading the firmware. Users can change RESERVED_SECS by hand if they need the feature, and in future firmware it may default to a non-zero value.
-
Damien George authored
-
- 05 Jan, 2017 10 commits
-
-
Paul Sokolovsky authored
This code is no longer pertinent for some time - since switchover to SDK2.0, there must be correct flash size set for bootloader, or there's a risk of flash data corruption. And indeed, the correct flash size is by default auto-detected by esptool.py 1.2.
-
Damien George authored
-
Damien George authored
With caching of map lookups in the bytecode, frozen bytecode can still work but must be stored in RAM, not ROM. This patch allows mpy-tool.py to generate code that works with this optimisation, but it's not recommended to use it on embedded targets (because of lack of RAM).
-
Damien George authored
So that ports can pass their own custom options to mpy-cross.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Rami Ali authored
-
Rami Ali authored
-
Rami Ali authored
-
- 04 Jan, 2017 8 commits
-
-
Paul Sokolovsky authored
If sets are not enabled, set literals lead to SyntaxError during parsing, so it requires feature_check. Set tests are skipped based on set_*.py pattern.
-
Paul Sokolovsky authored
Otherwise, they serve reoccurring source of copy-paste mistakes and breaking nanbox build.
-
Damien George authored
-
Damien George authored
Starting at esp.flash_user_start(), the reserved sectors are for general purpose use, for example for native code generation. There is currently one sector reserved as such.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
With warnings of need to close files, sockets, etc.
-
Damien George authored
-
Max authored
-
- 03 Jan, 2017 3 commits
-
-
Dave Hylands authored
The driver seems to be be enabling the pullup resistor in most places, but not this one. Making this one little change allows onewire devices to be used with no external pullup resistor.
-
TheSpooler authored
-
Damien George authored
-
- 02 Jan, 2017 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Should allow to diagnose/try to recover FS easier.
-
- 31 Dec, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 30 Dec, 2016 3 commits
-
-
Paul Sokolovsky authored
This makes unix "uselect" compatible with baremetal "uselect". Previosuly, unix version accepted file/socket objects, but internally converted that to file descriptors, and that's what .poll() returned. To acheive new behavior, file-like objects are stored internally in an array, in addition to existing array of struct pollfd. This array is created only on first case of file-like object being passed to .register(). If only raw fd's are passed, there will be no additional memory used comparing to the original implementation.
-
Damien George authored
-
Andrew Mulholland authored
Add a "Getting the firmware" section to better describe how to get hold of the MicroPython firmware, especially if you have a 512kb module.
-
- 29 Dec, 2016 2 commits
-
-
Paul Sokolovsky authored
Try to put sections in more logical order, and information about cc3200tool to be the default flashing method.
-
Paul Sokolovsky authored
cc3200tool, https://github.com/ALLTERCO/cc3200tool is a (mostly, some binary blobs present) open-source, Linux-friendly tool to flash a cc3200 devices. It's an alternative to fully proprietary, Windows-only Uniflash from TI. The provided make targets are for erasing flash, flashing the uPy bootloader and firmware, and flashing vendor's WiFi firmware "servicepacks" (the latter needs to be downloaded from vendor side, a link is present inside Makefile).
-