This is an old revision of the document!
Setup the environment
RT Kernel for Beagle Bone Blue
You can also run the Beagle Bone Blue with a real-time Kernel. Check if there is already a RT-Kernel:
uname -r
If not, download:
$ sudo apt-get install linux-image-4.4.49-ti-rt-r89
Do not use a newer one. Robotics Cape won't work anymore (ERROR: missing PINMUX driver). Reboot and delete the old kernel:
sudo apt remove --purge linux-image-4.4.54-ti-r93
Get your IDE
It is highly recommended to use an IDE for your EEROS applications. You can use an IDE of your choice. The following steps explain how to setup an EEROS application with KDevelop.
$ sudo apt-get install kdevelop
Import an EEROS project
- Start KDevelop
- Project → Open/Import project
- Get to your working directory and choose the folder “BeagleBoneBlue/myApp”. Select the CMakeLists.txt and click next.
- You can use myApp as name, or any other, as you prefer. If you change this name, you also have to make changes to the deploy.txt file (later on).
- Click finish.
- Create the build configuration. It is recommended to put the target architecture in the name of the build folder. Put the path where EEROS is install in the “Installation Prefix” field.
You now have your main.cpp, HwConfigBBBlue.json and the CMakeLists.txt in your project solution. You can build this application by pressing the build-button in the top left corner. To run this application on your target device, get to your working directory
$ cd /path/to/working/directory/BeagleBoneBlue
If your project name is still myApp you can run the
$ ./deploy.sh
otherwise you have to change the project name in the deploy.txt file
install-armhf/lib/libeeros.so.1.0.0.0 install-armhf/lib/libbbblueeeros.so.0.1.0 myApp/HwConfigBBBlue.json build-armhf/YOUR-PROJECT-NAME/myApp
and run the deploy.sh afterwards.