summaryrefslogtreecommitdiffstatshomepage
path: root/examples/unix
Commit message (Collapse)AuthorAge
* examples/unix/machine_bios.py: Fix typo.Thomas2023-09-29
| | | | Signed-off-by: Thomas <th.acker.0302@gmail.com>
* all: Replace all uses of umodule in Python code.Jim Mussared2023-06-08
| | | | | | | | Applies to drivers/examples/extmod/port-modules/tools. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* all: Reformat C and Python source code with tools/codeformat.py.Damien George2020-02-28
| | | | This is run with uncrustify 0.70.1, and black 19.10b0.
* examples/unix/ffi_example: Clean up and update the ffi example.Paul Sokolovsky2018-10-23
| | | | | | | | | | | | | | | | | | | 1. Use uctypes.bytearray_at(). Implementation of the "ffi" module predates that of "uctypes", so initially some convenience functions to access memory were added to ffi. Later, they landed in uctypes (which follows CPython's ctype module). So, replace undocumented experimental functions from ffi to documented ones from uctypes. 2. Use more suitable type codes for arguments (e.g. "P" (const void*) instead of "p" (void*). 3. Some better var naming. 4. Clarify some messages printed by the example.
* tests/machine_mem.py: Too non-portable, rework as an example for unix port.Paul Sokolovsky2016-07-31
|
* examples/unix/ffi_example.py: Remove TODO, make output more clear.Paul Sokolovsky2016-06-17
|
* examples/unix/ffi_example.py: Update for current "ffi" module API.Paul Sokolovsky2016-06-17
|
* examples: http_client.py, http_server.py aren't just unix, move to network/.Paul Sokolovsky2016-04-01
|
* examples/unix: Rename example be importable as modules.Paul Sokolovsky2016-01-09
| | | | Replace hyphens with undescores in modules.
* unix: Rename "microsocket" module to "usocket".Paul Sokolovsky2014-10-09
| | | | | | Per new conventions, we'd like to consistently use "u*" naming conventions for modules which don't offer complete CPython compatibility, while offer subset or similar API.
* examples: Rename unix socket examples to have more precise naming (http).Paul Sokolovsky2014-10-09
|
* ffi: Implement ffivar.get()/set() methods.Paul Sokolovsky2014-02-14
| | | | | Done by introducing another factored out helper API in binary.c. This API can be reused also by array and struct modules.
* Rename "rawsocket" module to "microsocket".Paul Sokolovsky2014-02-08
| | | | | | | It's no longer intended to provide just "raw" socket interface, may include some convenience methods for compatibility with CPython socket - but anyway just minimal set required to deal with socket client and servers, not wider network functionality.
* Add FFI module example.Paul Sokolovsky2014-01-29
|
* sock-server.py: Use SO_REUSEADDR to avoid errors on quick restart.Paul Sokolovsky2014-01-26
|
* socket-client, socket-server examples now run on both Micro- and C-Python.Paul Sokolovsky2014-01-20
|
* Add socket examples (simple HTTP client and server).Paul Sokolovsky2014-01-19