Skip to content

Commit

Permalink
CMake: USE_SCI_COM_WINGS -> C2A_USE_SCI_COM_WINGS, USE_SCI_COM_UART -…
Browse files Browse the repository at this point in the history
…> C2A_USE_SCI_COM_UART
  • Loading branch information
sksat committed Oct 12, 2023
1 parent 1957734 commit f8f3f48
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/mobc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ project(C2A)
# !!!注意!!!
# これをONにした状態で,SCIの受け口がない場合(TMTC IFが動いてない状態)
# そちらのバッファが詰まってSILSの動作が止まることがあるので注意すること!
option(USE_SCI_COM_WINGS "Use SCI_COM_WINGS" ON)
option(C2A_USE_SCI_COM_WINGS "Use SCI_COM_WINGS" ON)

# SCI COM for connection to PC UART
# !!!注意!!!
# これをONにした状態で,SCIの受け口がない場合(受けてのTeratermが起動していない状態)
# そちらのバッファが詰まってSILSの動作が止まることがあるので注意すること!
option(USE_SCI_COM_UART "Use SCI_COM_UART" OFF)
option(C2A_USE_SCI_COM_UART "Use SCI_COM_UART" OFF)

option(C2A_BUILD_WITH_SILS_MOCKUP "Build C2A with SILS mockup for check undefined symbols by build minimal C2A user executable(C89 only)" OFF)

Expand Down
4 changes: 2 additions & 2 deletions examples/mobc/src/src_user/hal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else()
sils/wdt_sils.cpp
)

if(USE_SCI_COM_WINGS)
if(C2A_USE_SCI_COM_WINGS)
add_definitions(-DUSE_SCI_COM_WINGS)
#target_sources(${PROJECT_NAME} PUBLIC
set(C2A_HAL_COM_WINGS_SRCS
Expand All @@ -35,7 +35,7 @@ else()
message("USE SCI_COM_WINGS")
endif()

if(USE_SCI_COM_UART)
if(C2A_USE_SCI_COM_UART)
add_definitions(-DUSE_SCI_COM_UART)
#target_sources(${PROJECT_NAME} PUBLIC
set(C2A_HAL_COM_UART_SRCS
Expand Down
2 changes: 1 addition & 1 deletion examples/subobc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(C2A)
# !!!注意!!!
# これをONにした状態で,SCIの受け口がない場合(TMTC IFが動いてない状態)
# そちらのバッファが詰まってSILSの動作が止まることがあるので注意すること!
option(USE_SCI_COM_WINGS "Use SCI_COM_WINGS" ON)
option(C2A_USE_SCI_COM_WINGS "Use SCI_COM_WINGS" ON)

option(C2A_BUILD_WITH_SILS_MOCKUP "Build C2A with SILS mockup for check undefined symbols by build minimal C2A user executable(C89 only)" OFF)

Expand Down
2 changes: 1 addition & 1 deletion examples/subobc/src/src_user/hal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else()
sils/wdt_sils.cpp
)

if(USE_SCI_COM_WINGS) # TODO: これ USE_SCI_COM_UART では?
if(C2A_USE_SCI_COM_WINGS) # TODO: これ USE_SCI_COM_UART では?
add_definitions(-DUSE_SCI_COM_WINGS)
#target_sources(${PROJECT_NAME} PUBLIC
set(C2A_HAL_COM_UART_SRCS
Expand Down

0 comments on commit f8f3f48

Please sign in to comment.