Skip to content

Commit

Permalink
Add CMake file list variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pkwiek authored and hubertmis committed Jan 26, 2021
1 parent 8e22bea commit d8a42d6
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
53 changes: 53 additions & 0 deletions nrf_802154_driver_sources.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
set(NRF_802154_DRIVER_INCLUDE_DIRS ${NRF_802154_DRIVER_ROOT}/src)

set(NRF_802154_DRIVER_SOURCES_COMMON
${NRF_802154_DRIVER_ROOT}/src/nrf_802154.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_core.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_core_hooks.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_critical_section.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_debug.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_debug_assert.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_pib.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_queue.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_rssi.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_rx_buffer.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_stats.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_swi.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_trx.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/nrf_802154_csma_ca.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/nrf_802154_delayed_trx.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/nrf_802154_filter.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/nrf_802154_frame_parser.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/nrf_802154_ifs.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/nrf_802154_precise_ack_timeout.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/ack_generator/nrf_802154_ack_data.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/ack_generator/nrf_802154_ack_generator.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/ack_generator/nrf_802154_enh_ack_generator.c
${NRF_802154_DRIVER_ROOT}/src/mac_features/ack_generator/nrf_802154_imm_ack_generator.c
${NRF_802154_DRIVER_ROOT}/src/platform/random/nrf_802154_random_zephyr.c
${NRF_802154_DRIVER_ROOT}/src/platform/temperature/nrf_802154_temperature_none.c
)

set(NRF_802154_DRIVER_SOURCES_NRF52
${NRF_802154_DRIVER_SOURCES_COMMON}
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_trx_ppi.c
)

set(NRF_802154_DRIVER_SOURCES_NRF53
${NRF_802154_DRIVER_SOURCES_COMMON}
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_trx_dppi.c
)

set(NRF_802154_DRIVER_SOURCES_DIRECT
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_notification_direct.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_request_direct.c
)

set(NRF_802154_DRIVER_SOURCES_SWI
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_notification_swi.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_priority_drop_swi.c
${NRF_802154_DRIVER_ROOT}/src/nrf_802154_request_swi.c
)

set(NRF_802154_SL_ROOT ${NRF_802154_DRIVER_ROOT}/nrf_802154_sl)
include(nrf_802154_sl/nrf_802154_sl_files.cmake)
27 changes: 27 additions & 0 deletions nrf_802154_sl/nrf_802154_sl_files.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
set(NRF_802154_SL_OPENSOURCE_SOURCES
${NRF_802154_SL_ROOT}/open/src/nrf_802154_sl_ant_div.c
${NRF_802154_SL_ROOT}/open/src/nrf_802154_sl_coex.c
${NRF_802154_SL_ROOT}/open/src/nrf_802154_sl_fem.c
${NRF_802154_SL_ROOT}/open/src/nrf_802154_sl_log.c
${NRF_802154_SL_ROOT}/open/src/nrf_802154_sl_rsch.c
${NRF_802154_SL_ROOT}/open/src/nrf_802154_sl_timer.c
${NRF_802154_SL_ROOT}/platform/clock/nrf_802154_clock_zephyr.c
${NRF_802154_SL_ROOT}/platform/irq/nrf_802154_irq_zephyr.c
)

set(NRF_802154_SL_OPENSOURCE_INCLUDE_DIRS
${NRF_802154_SL_ROOT}/include
)

set(NRF_802154_SL_SOURCES
${NRF_802154_SL_ROOT}/platform/gpiote/nrf_802154_gpiote_zephyr.c
${NRF_802154_SL_ROOT}/platform/gpiote/nrf_802154_gpiote_crit_sect.c
${NRF_802154_SL_ROOT}/platform/hp_timer/nrf_802154_hp_timer.c
${NRF_802154_SL_ROOT}/platform/lp_timer/nrf_802154_lp_timer.c
${NRF_802154_SL_ROOT}/platform/clock/nrf_802154_clock_zephyr.c
${NRF_802154_SL_ROOT}/platform/irq/nrf_802154_irq_zephyr.c
)

set(NRF_802154_SL_INCLUDE_DIRS
${NRF_802154_SL_ROOT}/include
)

0 comments on commit d8a42d6

Please sign in to comment.