Skip to content

Commit

Permalink
Fix #131, Moves interface definition files to inc
Browse files Browse the repository at this point in the history
  • Loading branch information
chillfig committed Dec 7, 2022
1 parent 91d3b7d commit cc5b10b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
cmake_minimum_required(VERSION 3.5)
project(CFS_SCH_LAB C)

include_directories(fsw/mission_inc)
include_directories(fsw/platform_inc)
include_directories(${ci_lab_MISSION_DIR}/fsw/platform_inc)
include_directories(${to_lab_MISSION_DIR}/fsw/platform_inc)
include_directories(${sample_app_MISSION_DIR}/fsw/platform_inc)

# Create the app module
add_cfe_app(sch_lab fsw/src/sch_lab_app.c)
add_cfe_tables(sch_lab_table fsw/tables/sch_lab_table.c)

# This permits direct access to public headers in the fsw/inc,
# ci_lab/fsw/inc, to_lab/fsw/inc, and sample_app/fsw/inc directories
target_include_directories(to_lab PUBLIC fsw/inc)
target_include_directories(to_lab PUBLIC ${ci_lab_MISSION_DIR}/fsw/inc)
target_include_directories(to_lab PUBLIC ${to_lab_MISSION_DIR}/fsw/inc)
target_include_directories(to_lab PUBLIC ${sample_app_MISSION_DIR}/fsw/inc)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This lab application is a non-flight packet scheduler application for the cFS Bu

sch_lab is a simple packet scheduler application with a one second resolution.

To change the list of packets that sch_lab sends out, edit the schedule table located in the platform include file: fsw/platform_inc/sch_lab_sched_tab.h
To change the list of packets that sch_lab sends out, edit the schedule table located in the tables directory: fsw/tables/sch_lab_table.c

## Known issues

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit cc5b10b

Please sign in to comment.