commit | 78f3a84931efabec8191aa732b41fe28bb8891e3 | [log] [tgz] |
---|---|---|
author | June Tate-Gans <jtgans@google.com> | Thu Apr 04 16:21:32 2019 -0700 |
committer | June Tate-Gans <jtgans@google.com> | Thu Apr 04 16:21:32 2019 -0700 |
tree | d40457afed537a70ab95a5de8fcfc7a10d4d0566 | |
parent | b5ddcadc713b7727d5d5f8025e6c79e83cd10b71 [diff] |
console: Update socket timeout functionality for Macs This adjusts the original timeout code to use getsockopt(..., SO_NWRITE) to get the number of sent but not acknowledged bytes. This is supported on all BSD-derived/POSIX compliant systems since 4.3 BSD, but apparently Linux is the sole outlier and only supports the fcntl() method. Change-Id: I6ad4cb8d3f5e04d70bfbfa855de133674087814b
MDT is a simple tool to aid in working with single board computers that the Mendel Linux distribution runs on. It consists of a whole bunch of pre-existing open source tooling, coupled with some simple wrappers written in python to ease their use.
It also provides an easy way to interact with these boards without having to fight with serial consoles, IP addresses, and other fiddly bits, reducing barrier to entry when working with these boards.
With minimal effort, MDT should also be portable to existing systems such as Debian and Ubuntu, if needed. This, however, is out of the scope of this project.
Install it via pip like this:
pip install mendel-development-tool
Note that if you run this as a non-root user, the executable will be stored in $HOME/.local/bin
which may not be in your PATH environment variable, so you'll want to add it.