koheron / koheron-server Goto Github PK
View Code? Open in Web Editor NEWHigh performance TCP / Websocket server for instrument control
License: GNU Affero General Public License v3.0
High performance TCP / Websocket server for instrument control
License: GNU Affero General Public License v3.0
Can we use that ?
http://linux.die.net/man/2/mremap
Binary protocol for tcp-server requires C++14, available in GCC >5 (default c++ version in GCC 6).
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-5
sudo rm -f /usr/bin/gcc
sudo rm -f /usr/bin/g++
sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
sudo ln -s /usr/bin/g++-5 /usr/bin/g++
Good starting point:
http://events.linuxfoundation.org/sites/events/files/slides/elc_2014_usb_0.pdf
Need to determine if we want to operate in interrupt
or bulk
mode.
For userspace driver development there is libusb. Example of bulk transfer (host side). Device side.
It seems that GCC supports LTO:
https://gcc.gnu.org/wiki/LinkTimeOptimization
I have embedded device with ARM linux, i want give user a web page as user interface to control all the pins in the board.
my board can handle tcp program,
can koheron web server can be used on other boards?
We are assuming some correlation between the name of the driver class and the name of the class hpp file. For example, with the class MyTopDriver the filename my_top_driver.hpp is expected. This is arbitrary and it only follows our internal naming conventions.
$ pip install koheron-tcp-client
You first need to get the C/C++ compiler. To install a given GCC based cross-compiler toolchain run
$ sudo apt-get install gcc-<toolchain>
$ sudo apt-get install g++-<toolchain>
The build requires Python 2.7. You also need the following programs:
$ sudo apt-get install wget git
$ sudo bash scripts/install_eigen.sh
$ sudo apt-get -y install python-pip python-dev build-essential python-virtualenv libyaml-dev
$ sudo pip install --upgrade pip
$ sudo pip install -r requirements.txt
To build simply do
$ make CONFIG=<config.yaml>
for examples of configuration files checkout the config folder.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.