- 06 Aug, 2016 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This goes bit against websocket nature (message-based communication), as it ignores boundaries bertween messages, but may be very practical to do simple things with websockets.
-
- 05 Aug, 2016 4 commits
-
-
Paul Sokolovsky authored
Name recv() based a "simplistic", as it can't work robustly in every environment. All this is to let people concentreate on proper, read()- based one (and to turn recv() based into a "negative showcase", explaining what are the pitfalls of such approach).
-
Paul Sokolovsky authored
Namely: flags, cachesize, pagesize, minkeypage.
-
Paul Sokolovsky authored
In the sense that while GET_FILE transfers its data, REPL still works. This is done by requiring client to send 1-byte block before WebREPL server transfers next block of data.
-
Paul Sokolovsky authored
-
- 04 Aug, 2016 2 commits
-
-
Paul Sokolovsky authored
-
David Siorpaes authored
-
- 03 Aug, 2016 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Requires firmware generated by the latest makeimg.py (which stores size and md5 of the firmware together with the firmware itself).
-
Paul Sokolovsky authored
md5 is calculated over the entire file, except first 4 bytes, which contain flash parameters and may be changed by flashing tool or MicroPython flash auto-config.
-
Paul Sokolovsky authored
-
- 02 Aug, 2016 2 commits
-
-
Radomir Dopieralski authored
This version of the logo may be useful for displaying on small devices to show that they use MicroPython.
-
Mike Causer authored
-
- 01 Aug, 2016 3 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
These macros are broken and are anyway unused on these two ports. If they are ever needed in the future then their implementation can be taken from either stmhal (working macros in mpconfigport.h) or esp8266 (functions).
-
Mike Causer authored
-
- 31 Jul, 2016 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 30 Jul, 2016 13 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Using __errno() function, and redirect it to use mp_stream_errno from stream module. This is pre-requisite for integrating with 3rd-party libs, like BerkeleyDB.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Requires "embedded" BerkeleyDB BTree implementation.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
It allows to access files via a virtual method tables and thus can integrate with MicroPython's stream objects.
-
Dave Hylands authored
Some boards (like the GHI Electronics G30 Dev Board) don't use NSS at all and rather just use GPIO chip selects.
-
Matt Brejza authored
-
stijn authored
When compiling with msys2's gcc there's no need to apply the binary fmode so adjust the Makefile to reflect that. When compiling with mingw we need to include malloc.h since there is no alloca.h, and the 64bit detection in mpconfigport.h needs some adjustment.
-
Paul Sokolovsky authored
To filter out even prototypes of mp_stream_posix_*() functions, which require POSIX types like ssize_t & off_t, which may be not available in some ports.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
As required for related functions in stream.h.
-
- 29 Jul, 2016 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Helpful when porting existing C libraries to MicroPython. abort()ing in embedded environment isn't a good idea, so when compiling such library, -Dabort=abort_ option can be given to redirect standard abort() to this "safe" version.
-
Paul Sokolovsky authored
Previoussly such read() and write() methods were used by modussl_axtls, move to py/stream for reuse.
-
Paul Sokolovsky authored
-
- 27 Jul, 2016 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
No-op for this object.
-