Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task 3, libSMCE console #51

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ FetchContent_Declare (Lyra
)
FetchContent_MakeAvailable(Termcolor Lyra)

include_directories(${PROJECT_SOURCE_DIR}/src)
add_executable (${PROJECT_NAME} SMCE_Client.cpp)
target_include_directories(${PROJECT_NAME} PRIVATE ${PROJECT_SOURCE_DIR}/src)
target_sources (${PROJECT_NAME} PRIVATE
src/UartToFile.hpp
src/UartToFile.cpp
Expand Down
13 changes: 1 addition & 12 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
# libSMCE command line frontend

Like SMCE, this sample program requires a C++20 toolchain (for `<span>` mostly).
Like SMCE, this command line frontend requires a C++20 toolchain.

**IMPORTANT**
As is, SMCE_Client is not guaranteed to work on Windows machines!
Due to a bug that causes the running sketch to crash when sending or reciving messages on uart.


## Build instructions
To be able to build SMCE_client, the enviroment variable SMCE_ROOT needs to point to a current installed release of libSMCE.
These can be found under releases on git. Or it can be build directly from the source code with the commands below.
These should be ran in the libSMCE folder.
```shell
cmake -S . -B build/
cmake --build build/
cmake --build build/ --config Release
cmake --install build/ --prefix <path to installation folder>
```

After SMCE_ROOT is added, run:

```shell
cd client
Expand Down
Loading