Skip to content

Commit

Permalink
Merge pull request #16 from nasa-itc/nos3#370
Browse files Browse the repository at this point in the history
[nasa/nos3#370] Move to used a shared folder between FSW types
  • Loading branch information
jlucas9 authored Oct 31, 2024
2 parents 8875ec1 + d3a3cef commit 99c34e2
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 372 deletions.
16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
#
# Metadata
#
.vagrant
.vscode

#
# Build Files
#
build
fprime/build
support/build
fsw/standalone/build
tmp
.cdskeyfile
.reservedkeyfile
.resetkeyfile
4 changes: 3 additions & 1 deletion fsw/cfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ include_directories(mission_inc)
include_directories(platform_inc)
include_directories(src)

include_directories(../shared)
include_directories(${hwlib_MISSION_DIR}/fsw/public_inc)

aux_source_directory(src APP_SRC_FILES)

# Create the app module
add_cfe_app(sample ${APP_SRC_FILES})
add_cfe_app(sample ${APP_SRC_FILES}
../shared/sample_device.c)

# If UT is enabled, then add the tests from the subdirectory
# Note that this is an app, and therefore does not provide
Expand Down
274 changes: 0 additions & 274 deletions fsw/cfs/src/sample_device.c

This file was deleted.

77 changes: 0 additions & 77 deletions fsw/cfs/src/sample_device.h

This file was deleted.

4 changes: 2 additions & 2 deletions fsw/cfs/unit-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ include_directories(${hwlib_MISSION_DIR}/fsw/public_inc)
add_cfe_coverage_test(sample ALL
"coveragetest/coveragetest_sample_app.c"
"../src/sample_app.c"
"../src/sample_device.c"
"../../../../fsw/apps/hwlib/fsw/stubs/libuart.c"
"../../shared/sample_device.c"
"../../../../../fsw/apps/hwlib/fsw/stubs/libuart.c"
)

# The sample uses library functions provided by sample_lib so must be linked
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 99c34e2

Please sign in to comment.