Keysight U3810 Series Getting Started Guide
117
5
Type
cmake -D CMAKE_INSTALL_PREFIX=/usr .. ..
to create the files to compile
debian@beaglebone:~/mraa/build$
cmake -D CMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
. . .
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/mraa/build
debian@beaglebone:~/mraa/build$
6
If there are no errors, it is ready for the next step which is to compile the files. There may be some
warning messages during the compile, ignore them. To compile, type
make
and it may take a few
minutes to compile.
debian@beaglebone:~/mraa/build$
make
Scanning dependencies of target mraa
[ 1%] Building C object src/CMakeFiles/mraa.dir/mraa.c.o
[ 2%] Building C object src/CMakeFiles/mraa.dir/gpio/gpio.c.o
[ 3%] Building C object src/CMakeFiles/mraa.dir/gpio/gpio_chardev.c.o
[ 4%] Building C object src/CMakeFiles/mraa.dir/i2c/i2c.c.o
[ 5%] Building C object src/CMakeFiles/mraa.dir/pwm/pwm.c.o
. . .
[ 97%] Built target mraa-i2c
Scanning dependencies of target mraa-uart
[ 98%] Building C object tools/CMakeFiles/mraa-uart.dir/mraa-uart.c.o
[100%] Linking C executable mraa-uart
[100%] Built target mraa-uart
debian@beaglebone:~/mraa/build$
NOTE
Do not continue if there are errors in the
make
. Warnings are allowed.
7
To install what was built the older revision of the code will need to be removed. To do this it is an
apt-get uninstall of the mraa files done in Task 1e Step 2. Type
sudo apt-get remove
libmraa1 libmraa-dev mraa-tools
.
8
Install the build with elevated privileges
sudo make install
. This will place all the executables
and link libraries in the correct locations.
Summary of Contents for U3810A
Page 1: ...Keysight U3810A Advanced IoT Teaching Solution Getting Started Guide ...
Page 78: ...Keysight U3810 Series Getting Started Guide 78 IMU Characteristics from the LSM9DS1 datasheet ...
Page 131: ...Keysight U3810 Series Getting Started Guide 131 ...
Page 132: ...Keysight U3810 Series Getting Started Guide 132 Disassembly ...