blob: a1b5b44892630edfdb61b248c85e7519290fc5a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
*****************************************************************************
** ChibiOS/RT port for x86 into a Linux process **
*****************************************************************************
** TARGET **
The demo runs under x86 Linux as an application program. The serial
I/O is simulated over TCP/IP sockets.
** The Demo **
The demo listens on the two serial ports, when a connection is detected a
thread is started that serves a small command shell.
The demo shows how create/terminate threads at runtime, how listen to events,
how ho work with serial ports, how use the messages.
You can develop your ChibiOS/RT application using this demo as a simulator
then you can recompile it for a different architecture.
See demo.c for details.
** Build Procedure **
GCC required. The Makefile defaults to building for a Linux host.
To build on OS X, use the following command: `make HOST_OSX=yes`
** Connect to the demo **
In order to connect to the demo use telnet on the listening ports.
|