Extract nr_ra_procedures.c into a separate library and add a testcase for init_RA function. The testcase redefines the following functions as stubs: - nr_mac_rrc_ra_ind - nr_write_ce_ulsch_pdu - mac_rlc_data_req - *lockGet_ul_config - release_ul_config - remove_ul_config_last_item - nr_ue_configure_pucch These stubs can be used to check init_RA behavior
8 lines
376 B
CMake
8 lines
376 B
CMake
add_library(nr_ue_power_procedures nr_ue_power_procedures.c)
|
|
target_link_libraries(nr_ue_power_procedures PUBLIC asn1_nr_rrc ${T_LIB} MAC_NR_COMMON nr_common)
|
|
add_library(nr_ue_ra_procedures nr_ra_procedures.c)
|
|
target_link_libraries(nr_ue_ra_procedures PUBLIC asn1_nr_rrc asn1_lte_rrc_hdrs ${T_LIB} MAC_NR_COMMON nr_common)
|
|
if (ENABLE_TESTS)
|
|
add_subdirectory(tests)
|
|
endif()
|