Project 1 for Advanced Principles of Embedded Software ECEN5013-002, Spring 2018
make run PLATFORM=BBBfor building for BBG/BBB and transferring the executable to /home/proj1 on the BBB/BBGmake testto run unittestsmake buildormake runfor 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 clientto build the external socket request clientmake client TYPE=REMOTEto build the external socket request client that makes request from HOST to BBBmake client PLATFORM=BBBto build the external socket request client for Beagle Bone- Run
make cleanbefore changing platforms - Run
./project1 -f logfilenameto 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