Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Software Development
Skyward Boardcore
Wiki
LED Driver
Changes
Page history
New page
Templates
Clone repository
Update LED Driver - added entry in boardcore.cmake
authored
2 years ago
by
Angelo Zangari
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LED-Driver.md
+6
-0
6 additions, 0 deletions
LED-Driver.md
with
6 additions
and
0 deletions
LED-Driver.md
View page @
00da1475
...
...
@@ -203,6 +203,12 @@ Add a new `SIMPLE_LED_SOURCES` variable in `cmake/dependencies.cmake`:
set
(
SIMPLE_LED_SOURCES src/shared/drivers/led/SimpleLed.cpp
)
```
In
`cmake/boardcore.cmake`
, under #Drivers, add the following line:
```
cmake
${
SBS_BASE
}
/src/shared/drivers/led/SimpleLed.cpp
```
Now you can add the entrypoint in
`CMakeLists.txt`
:
```
cmake
...
...
This diff is collapsed.
Click to expand it.