-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes for debugging on macOS, cleanup, docs
- Loading branch information
1 parent
6a51a05
commit 7f5a10e
Showing
4 changed files
with
50 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,24 @@ | ||
# sample-workspace | ||
|
||
A sample workspace for a project based on macchina.io IoT Edge Device SDK. | ||
Configuration file for Visual Studio code are included. | ||
This can be used as a template for your own projects. | ||
The workspace includes the macchina.io IoT Edge SDK sources via a Git submodule. | ||
The workspace includes one sample project, a simple implementation of a | ||
temperature sensor based on the Linux Thermal subsystem (`/sys/class/thermal`). | ||
|
||
## Visual Studio Code | ||
|
||
Configuration files for Visual Studio Code are included in the workspace. | ||
The following Visual Studio Code extensions should be installed: | ||
- C/C++ (required) | ||
- C++ Intellisense (highly recommended) | ||
- CodeLLDB (required on macOS for debugging) | ||
|
||
The following tasks have been defined in [tasks.json](.vscode/tasks.json): | ||
- Build all: Builds the entire workspace using the global Makefile. | ||
- Clean all: Cleans the entire workspace. | ||
- Build single project: Builds a single project. The project's Makefile must be selected. | ||
- Clean single project: Cleans a single project. The project's Makefile must be selected. | ||
- RemoteGen: Runs the Remoting code generator. A RemoteGen.xml configuration file must be selected. | ||
|
||
Launch configurations for debugging via gdb (on Linux) and lldb (on macOS) are also included. |