Skip to content

kotfranek/ESys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESys

System framework suited for resource constrained embedded applications

Features

  • simple application framework
  • no dynamic memory allocation, use the automatic/stack variables whenever possible
  • OOD multithreading abstraction layer
  • minimalistic UDP networking
  • template based containers: Automatic Arrays and String stack-memory analogues
  • extends the generic C++11 implementation
  • posix and WinAPI compatible

Building project

Dependencies

  • Requires the CMake installed. Minimum version required is 3.0.0.

Building

In the project root directory execute the shell script configure.sh with root privileges, if you intend to install the binary output and headers:

sudo ./configure.sh

This script will create a new output directory, named build, to enable an out-of-place build.

Single static library will be created: libesys.a. It contains the whole framework code.

If you choose to install the project, then the binaries, headers and example code will be copied to default directory, which, on Linux systems is normally /usr/local/.

Location Content
/usr/local/bin demo executables
/usr/local/lib libraries
/usr/local/include/ESys headers

Usage

Integration into user code

Example

TBD

Linking

Link your binaries with the esys static library.

Remark: For the posix builds you have to link the executable with the -pthread flag.

g++ example/main.o -lesys -pthread -o esys-demo

Todo

  • switch the implementation to use the AutoString for text handling

Copyright © 2016 Przemysław Podwapiński.
Distributed under the Simplified BSD License.

About

System framework suited for resource constrained embedded applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published