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
Skyward Build System (SBS)
Changes
Page history
New page
Templates
Clone repository
[SBS] Added "defines" in the description of an SBS section
authored
4 years ago
by
Luca Conterio
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Skyward-Build-System-(SBS).md
+6
-2
6 additions, 2 deletions
Skyward-Build-System-(SBS).md
with
6 additions
and
2 deletions
Skyward-Build-System-(SBS).md
View page @
8f3354bc
...
...
@@ -49,18 +49,22 @@ so that they can be referred to when building entrypoints by simply using `%name
Sections of type
`board`
and
`test`
define how to compile the entrypoints.
```
conf
board
:
[
board
-
name
]:
Type
:
board
BoardId
:
which
board
to
compile
for
BinName
:
name
of
the
final
binary
(
without
extension
!)
Include
:
a
space
-
separated
list
of
files
, %
something
will
be
substituted
with
the
corresponding
'srcfiles'
Defines
:
a
space
-
separated
list
of
flags
,
each
starting
with
'-D'
(
e
.
g
. -
DDEBUG
)
Main
:
name
of
the
main
file
(
e
.
g
.
'foo'
->
ENTRY_PATH
/
foo
.
cpp
)
test
:
[
test
-
name
]:
Type
:
test
BoardId
:
which
board
to
compile
for
BinName
:
name
of
the
final
binary
(
without
extension
!)
Include
:
a
space
-
separated
list
of
files
, %
something
will
be
substituted
with
the
corresponding
'srcfiles'
Defines
:
a
space
-
separated
list
of
flags
,
each
starting
with
'-D'
(
e
.
g
. -
DDEBUG
)
Main
:
name
of
the
main
file
(
e
.
g
.
'foo'
->
TEST_PATH
/
foo
.
cpp
)
```
...
...
This diff is collapsed.
Click to expand it.