Skip to content
/ xmodem Public
forked from beweinreich/xmodem

XMODEM Library for embedded, mobile, iot, and desktop systems.

Notifications You must be signed in to change notification settings

ebaeab/xmodem

Repository files navigation

Embedded XModem

Integrator Guide

Setup Environment - Ubuntu 16.10

sudo apt-get install build-essential socat lrzsz minicom ant git libgtest-dev cmake

Build and install libXMODEM

git clone [email protected]:caseykelso/xmodem.git
cd xmodem
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../installdirectory
make install -j8

Development

Setup Environment - OSX

brew install ant git Caskroom/versions/java7 socat lrzsz minicom

Setup Environment - Ubuntu 16.10

sudo apt-get install build-essential socat lrzsz minicom ant git

Features

  • small memory and storage footprint

Get Code

mkdir xmodem
cd xmodem
repo init -m xmodem.xml -u git://github.com/caseykelso/xmodem.git
repo sync

Build Application and All Dependencies

ant all_app

Build Library - HLOS and All Dependencies

ant all_lib

Build Application Only (development iterations)

ant app

or

cd build.app
make

Build Library - Bare Metal

TBD

Tests

Unit Tests

Build & Run Unit Tests

  • It is required that the library be built first.
ant tests

Unit testing is implemented with Google's GTest.

Transmit State Machine

All transitions are covered via unit tests.

Receive State Machine

All transitions are covered via unit tests.

Integration Tests

Open a terminal

ant socat

Open a second terminal

tbd

About

XMODEM Library for embedded, mobile, iot, and desktop systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 72.1%
  • C 23.1%
  • CMake 4.8%