Project 1 for Advanced Principles of Embedded Software ECEN5013-002, Spring 2018
make run PLATFORM=BBB
for building for BBG/BBB and transferring the executable to /home/proj1 on the BBB/BBGmake test
to run unittestsmake build
ormake run
for build on host. run builds and executes the code, build just builds the executable. This option removes I2C sensor files and replaces the functions with pseudo random value generatormake client
to build the external socket request clientmake client TYPE=REMOTE
to build the external socket request client that makes request from HOST to BBBmake client PLATFORM=BBB
to build the external socket request client for Beagle Bone- Run
make clean
before changing platforms - Run
./project1 -f logfilename
to provide a Log file name, if parameters are not proper filename defaults to project1logfile.log - For running unit tests , first install cmocka by running
apt install libcmocka-dev
- Then run
make test