Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Mock Turtle
Commits
7fd12195
Commit
7fd12195
authored
Apr 12, 2018
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demos: move *_APPLICATION_ID to Kconfig
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
9bea7fc6
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
51 additions
and
28 deletions
+51
-28
Kconfig
demos/alarm_clock/firmware/fw-01/Kconfig
+13
-0
Makefile
demos/alarm_clock/firmware/fw-01/Makefile
+0
-3
mt_defconfig
demos/alarm_clock/firmware/fw-01/configs/mt_defconfig
+2
-0
fw-ac.c
demos/alarm_clock/firmware/fw-01/fw-ac.c
+2
-2
Kconfig
demos/data_generator/firmware/fw-01/Kconfig
+13
-0
Makefile
demos/data_generator/firmware/fw-01/Makefile
+0
-3
mt_defconfig
demos/data_generator/firmware/fw-01/configs/mt_defconfig
+2
-0
fw-dg.c
demos/data_generator/firmware/fw-01/fw-dg.c
+2
-2
Makefile
demos/hello_world/firmware/fw-01/Makefile
+0
-3
Kconfig
demos/hello_world_framework/firmware/fw-01/Kconfig
+13
-0
Makefile
demos/hello_world_framework/firmware/fw-01/Makefile
+0
-3
mt_defconfig
...hello_world_framework/firmware/fw-01/configs/mt_defconfig
+2
-0
fw-hellofrm.c
demos/hello_world_framework/firmware/fw-01/fw-hellofrm.c
+2
-2
Makefile
demos/profiling/firmware/fw-01/Makefile
+0
-4
Makefile
demos/profiling/firmware/fw-02/Makefile
+0
-3
Makefile
demos/profiling/firmware/fw-03/Makefile
+0
-3
No files found.
demos/alarm_clock/firmware/fw-01/Kconfig
View file @
7fd12195
...
...
@@ -3,4 +3,17 @@ mainmenu "alarm_clock demo configuration"
comment "Project specific configuration"
config FPGA_APPLICATION_ID
int "FPGA application ID"
default 0
help
Help text
config RT_APPLICATION_ID
int "RT application ID"
default 0
help
Help text
# include Mock Turtle's Kconfig
source "Kconfig.mt"
demos/alarm_clock/firmware/fw-01/Makefile
View file @
7fd12195
...
...
@@ -4,7 +4,4 @@ OUTPUT = fw-ac
TRTL
?=
../../../../
TRTL_SW
=
$(TRTL)
/software
EXTRA_CFLAGS
+=
-DFPGA_APPLICATION_ID
=
0x0
EXTRA_CFLAGS
+=
-DRT_APPLICATION_ID
=
0x0
include
$(TRTL_SW)/rt/Makefile
demos/alarm_clock/firmware/fw-01/configs/mt_defconfig
View file @
7fd12195
...
...
@@ -6,6 +6,8 @@
#
# Project specific configuration
#
CONFIG_FPGA_APPLICATION_ID=0
CONFIG_RT_APPLICATION_ID=0
#
# Mock Turtle configuration
...
...
demos/alarm_clock/firmware/fw-01/fw-ac.c
View file @
7fd12195
...
...
@@ -75,8 +75,8 @@ static struct rt_variable variables[] = {
static
struct
rt_application
app
=
{
.
name
=
"alarm-clk"
,
.
version
=
{
.
fpga_id
=
FPGA_APPLICATION_ID
,
.
rt_id
=
RT_APPLICATION_ID
,
.
fpga_id
=
CONFIG_
FPGA_APPLICATION_ID
,
.
rt_id
=
CONFIG_
RT_APPLICATION_ID
,
.
rt_version
=
RT_VERSION
(
0
,
1
),
.
git_version
=
GIT_VERSION
},
...
...
demos/data_generator/firmware/fw-01/Kconfig
View file @
7fd12195
...
...
@@ -3,4 +3,17 @@ mainmenu "data_generator demo configuration"
comment "Project specific configuration"
config FPGA_APPLICATION_ID
int "FPGA application ID"
default 0
help
Help text
config RT_APPLICATION_ID
int "RT application ID"
default 0
help
Help text
# include Mock Turtle's Kconfig
source "Kconfig.mt"
demos/data_generator/firmware/fw-01/Makefile
View file @
7fd12195
...
...
@@ -4,7 +4,4 @@ OUTPUT = fw-dg
TRTL
?=
../../../../
TRTL_SW
=
$(TRTL)
/software
EXTRA_CFLAGS
+=
-DFPGA_APPLICATION_ID
=
0x0
EXTRA_CFLAGS
+=
-DRT_APPLICATION_ID
=
0x0
include
$(TRTL_SW)/rt/Makefile
demos/data_generator/firmware/fw-01/configs/mt_defconfig
View file @
7fd12195
...
...
@@ -6,6 +6,8 @@
#
# Project specific configuration
#
CONFIG_FPGA_APPLICATION_ID=0
CONFIG_RT_APPLICATION_ID=0
#
# Mock Turtle configuration
...
...
demos/data_generator/firmware/fw-01/fw-dg.c
View file @
7fd12195
...
...
@@ -79,8 +79,8 @@ struct rt_buffer buffers[] = {
static
struct
rt_application
app
=
{
.
name
=
"data-gen"
,
.
version
=
{
.
fpga_id
=
FPGA_APPLICATION_ID
,
.
rt_id
=
RT_APPLICATION_ID
,
.
fpga_id
=
CONFIG_
FPGA_APPLICATION_ID
,
.
rt_id
=
CONFIG_
RT_APPLICATION_ID
,
.
rt_version
=
RT_VERSION
(
0
,
1
),
.
git_version
=
GIT_VERSION
},
...
...
demos/hello_world/firmware/fw-01/Makefile
View file @
7fd12195
...
...
@@ -4,7 +4,4 @@ OUTPUT = fw-hello
TRTL
?=
../../../../
TRTL_SW
=
$(TRTL)
/software
EXTRA_CFLAGS
+=
-DFPGA_APPLICATION_ID
=
0x0
EXTRA_CFLAGS
+=
-DRT_APPLICATION_ID
=
0x0
include
$(TRTL_SW)/rt/Makefile
demos/hello_world_framework/firmware/fw-01/Kconfig
View file @
7fd12195
...
...
@@ -3,4 +3,17 @@ mainmenu "hello_world_framework demo configuration"
comment "Project specific configuration"
config FPGA_APPLICATION_ID
int "FPGA application ID"
default 0
help
Help text
config RT_APPLICATION_ID
int "RT application ID"
default 0
help
Help text
# include Mock Turtle's Kconfig
source "Kconfig.mt"
demos/hello_world_framework/firmware/fw-01/Makefile
View file @
7fd12195
...
...
@@ -4,7 +4,4 @@ OUTPUT = fw-hellofrm
TRTL
?=
../../../../
TRTL_SW
=
$(TRTL)
/software
EXTRA_CFLAGS
+=
-DFPGA_APPLICATION_ID
=
0x0
EXTRA_CFLAGS
+=
-DRT_APPLICATION_ID
=
0x0
include
$(TRTL_SW)/rt/Makefile
demos/hello_world_framework/firmware/fw-01/configs/mt_defconfig
View file @
7fd12195
...
...
@@ -6,6 +6,8 @@
#
# Project specific configuration
#
CONFIG_FPGA_APPLICATION_ID=0
CONFIG_RT_APPLICATION_ID=0
#
# Mock Turtle configuration
...
...
demos/hello_world_framework/firmware/fw-01/fw-hellofrm.c
View file @
7fd12195
...
...
@@ -25,8 +25,8 @@ static struct rt_mq mq[] = {
static
struct
rt_application
app
=
{
.
name
=
"hellofrm"
,
.
version
=
{
.
fpga_id
=
FPGA_APPLICATION_ID
,
.
rt_id
=
RT_APPLICATION_ID
,
.
fpga_id
=
CONFIG_
FPGA_APPLICATION_ID
,
.
rt_id
=
CONFIG_
RT_APPLICATION_ID
,
.
rt_version
=
RT_VERSION
(
0
,
1
),
.
git_version
=
GIT_VERSION
},
...
...
demos/profiling/firmware/fw-01/Makefile
View file @
7fd12195
...
...
@@ -6,8 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT
=
-O0
EXTRA_CFLAGS
+=
-DFPGA_APPLICATION_ID
=
0x0
EXTRA_CFLAGS
+=
-DRT_APPLICATION_ID
=
0x0
include
$(TRTL_SW)/rt/Makefile
demos/profiling/firmware/fw-02/Makefile
View file @
7fd12195
...
...
@@ -6,7 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT
=
-O0
EXTRA_CFLAGS
+=
-DFPGA_APPLICATION_ID
=
0x0
EXTRA_CFLAGS
+=
-DRT_APPLICATION_ID
=
0x0
include
$(TRTL_SW)/rt/Makefile
demos/profiling/firmware/fw-03/Makefile
View file @
7fd12195
...
...
@@ -6,7 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT
=
-O0
EXTRA_CFLAGS
+=
-DFPGA_APPLICATION_ID
=
0x0
EXTRA_CFLAGS
+=
-DRT_APPLICATION_ID
=
0x0
include
$(TRTL_SW)/rt/Makefile
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment