Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
1d4cefb1
Commit
1d4cefb1
authored
Apr 01, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/includes-oai_usrpdevif' into integration_2022_wk13b
parents
e8463bd6
e15002c8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
+12
-5
ci-scripts/conf_files/gnb.band78.tm1.106PRB.usrpn300.conf
ci-scripts/conf_files/gnb.band78.tm1.106PRB.usrpn300.conf
+1
-1
ci-scripts/xml_files/gnb_usrp_build.xml
ci-scripts/xml_files/gnb_usrp_build.xml
+1
-1
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+4
-2
cmake_targets/build_oai
cmake_targets/build_oai
+6
-1
No files found.
ci-scripts/conf_files/gnb.band78.tm1.106PRB.usrpn300.conf
View file @
1d4cefb1
...
...
@@ -219,7 +219,7 @@ RUs = (
## beamforming 4x4 matrix:
#bf_weights = [0x00007fff, 0x0000, 0x0000, 0x0000, 0x00000000, 0x00007fff, 0x0000, 0x0000, 0x0000, 0x0000, 0x00007fff, 0x0000, 0x0000, 0x0000, 0x0000, 0x00007fff];
sdr_addrs
=
"addr=192.168.
20.2
"
;
sdr_addrs
=
"addr=192.168.
10.2,second_addr=192.168.20.2,mgmt_addr=192.168.18.85
"
;
}
);
...
...
ci-scripts/xml_files/gnb_usrp_build.xml
View file @
1d4cefb1
...
...
@@ -34,7 +34,7 @@
<mode>
TesteNB
</mode>
<class>
Build_eNB
</class>
<desc>
Build gNB (USRP)
</desc>
<Build_eNB_args>
--gNB -w USRP --ninja
</Build_eNB_args>
<Build_eNB_args>
--gNB -w USRP --ninja
--cmake-opt -DBoost_INCLUDE_DIR=/usr/include/boost169
</Build_eNB_args>
<forced_workspace_cleanup>
True
</forced_workspace_cleanup>
</testCase>
...
...
cmake_targets/CMakeLists.txt
View file @
1d4cefb1
...
...
@@ -53,7 +53,6 @@ include_directories("/usr/local/include/")
add_list2_option
(
RF_BOARD
"None"
"RF head type"
"None"
"OAI_USRP"
"OAI_BLADERF"
"OAI_LMSSDR"
"OAI_SIMU"
"EXMIMO"
)
if
(
${
RF_BOARD
}
STREQUAL
"OAI_USRP"
)
find_package
(
Boost REQUIRED
)
include_directories
(
${
LIBBOOST_INCLUDE_DIR
}
)
elseif
(
${
RF_BOARD
}
STREQUAL
"OAI_IRIS"
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/IRIS/USERSPACE/LIB/"
)
...
...
@@ -705,11 +704,14 @@ set (SHLIB_LOADER_SOURCES
# include RF devices / transport protocols library modules
######################################################################
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/USRP/USERSPACE/LIB/"
)
set
(
HWLIB_USRP_SOURCE
${
OPENAIR_TARGETS
}
/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
)
add_library
(
oai_usrpdevif MODULE
${
HWLIB_USRP_SOURCE
}
)
target_include_directories
(
oai_usrpdevif PRIVATE
"
${
OPENAIR_TARGETS
}
/ARCH/USRP/USERSPACE/LIB/"
${
Boost_INCLUDE_DIR
}
)
target_link_libraries
(
oai_usrpdevif uhd
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/BLADERF/USERSPACE/LIB/"
)
...
...
cmake_targets/build_oai
View file @
1d4cefb1
...
...
@@ -72,6 +72,8 @@ Options
Erase all files made by previous compilations, installations
--clean-kernel
Erase previously installed features in kernel: iptables, drivers, ...
--cmake-opt
Pass the supplied option verbatim to cmake.
-d | --build-dir
Sets build directory (will be <oai-root>/cmake_targets/<build-dir>/build)
-I | --install-external-packages
...
...
@@ -193,9 +195,12 @@ function main() {
clean_kernel
echo_info
"Erased iptables config and removed modules from kernel"
shift
;;
--cmake-opt
)
CMAKE_CMD
=
"
$CMAKE_CMD
$2
"
shift
2
;;
-d
|
--build-dir
)
BUILD_DIR
=
$2
shift
;;
shift
2
;;
-I
|
--install-external-packages
)
INSTALL_EXTERNAL
=
1
echo_info
"Will install external packages"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment