![HOLT ADK-2130mPCIe Скачать руководство пользователя страница 11](http://html1.mh-extra.com/html/holt/adk-2130mpcie/adk-2130mpcie_technical-manual_2146798011.webp)
Holt Integrated Circuits
11
7.
Rebuild the kernel module project. Before rebuilding the kernel module project it’s a good idea
to perform a project ‘clean’ first. Perform a project clean by right-clicking on the
‘pcie_kernel_module’ folder in the PE area and select ‘clean’ from the context menu. After the
clean is performed rebuild the project also from the context menu. The project should build
without any errors. There are typically some warnings which can be ignored. The build produces
a new version of pcie_lkm.ko kernel module. To allow this module to be loaded into the OS kernel
perform this command in a terminal window.
sudo chmod 777 pcie_lkm.ko or sudo chmod +x pcie_lkm.ko
8.
Open a terminal window in the pcie_kernel_module subfolder and execute this bash script to
load the newly built kernel module.
sudo sh holt_pcie_load
Loading the kernel module is only required once after powering up the PC. If the kernel module
project is modified and rebuilt the exiting kernel module must be unloaded before the new one
is reloaded.
sudo sh unload_pcie_load
sudo sh load_pcie_load
These script commands were embedded in the ‘run’ script used on the QSG instructions.
9.
Clean and Rebuild the H1553Library project using the same steps previously provided. Navigate
in the PE and find the file: libH1553Library.a. Copy this file and paste it in the Demo project folder
in PE.
10.
Clean and Rebuild the Demo project. There are two Demo project targets: “debug” rebuilds the
Holt API source files and Demo files to produce the Demo executable. This is the easiest and
fastest way to rebuild the Demo project. Without Holt API source files the
Debug_precompiled_library target must be used. This project uses the libH1553Library.a file
which should already be in the Demo folder that was pre-built and provided by Holt.
TIP:
An alternate method to rebuild any of the projects is to first select the corresponding project
folder in the PE window area then click on the build “hammer” Icon that appears on the top of the Eclipse
screen. Select the build target using the pull-down menu.
Содержание ADK-2130mPCIe
Страница 1: ...AN 2130mPCIe_New 01 20 ADK 2130mPCIe Technical Manual Jan 16 2020...
Страница 2: ...This page intentionally blank...
Страница 13: ...Holt Integrated Circuits 13...
Страница 32: ...Holt Integrated Circuits 32 Figure 3 Board References...