Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
eda5f6a5
Commit
eda5f6a5
authored
Sep 18, 2019
by
Maxime Perrotin
Browse files
Add driver configuration support for POHIAda
parent
c4b50c8f
Changes
4
Hide whitespace changes
Inline
Side-by-side
templates/concurrency_view/aadl_2_threads/system.tmplt
View file @
eda5f6a5
...
...
@@ -131,8 +131,13 @@ subcomponents
@@TABLE'
ALIGN_ON
(
":"
)@@
@
_Device_Node_Name_
@
_
@
_Device_Names_
@
:
device
@
_Device_Classifier_
@
{
@@
IF
@@
@
_Use_POHIC_
@
Source_Text
=>
(
"../DriversConfig/@_Device_Partition_@/DeviceConfig-@_Device_Node_Name_@-@_Device_Names_@.c"
);
Type_Source_Name
=>
"pohidrv_@_Device_Node_Name_@_@_Device_Names_@"
;
@@
ELSE
@@
Source_Text
=>
(
"../DriversConfig/@_Device_Partition_@/DeviceConfig-@_Device_Node_Name_@-@_Device_Names_@.ads"
);
Type_Source_Name
=>
"Taste_Drivers_Configuration.pohidrv_@_Device_Node_Name_@_@_Device_Names_@"
;
@@
END_IF
@@
};
@@
END_TABLE
@@
@@--
Specify
the
connections
for
distributed
and
TSP
systems
...
...
templates/concurrency_view/aadl_4_makefile/system.tmplt
View file @
eda5f6a5
...
...
@@ -85,7 +85,11 @@ air:
@@IF@@ @_Bus_Names'Length_@ > 0
DriversConfig/drivers_config.h: drivers_config.asn
mkdir -p DriversConfig
asn1.exe -o DriversConfig -c drivers_config.asn @_REPLACE_ALL(,/ ):UNIQ(,):Device_ASN1_File_@
@@IF@@ @_Use_POHIC_@@
mono $(shell which asn1.exe) -o DriversConfig -c drivers_config.asn @_REPLACE_ALL(,/ ):UNIQ(,):Device_ASN1_File_@
@@ELSE@@
mono $(shell which asn1.exe) -o DriversConfig -Ada drivers_config.asn @_REPLACE_ALL(,/ ):UNIQ(,):Device_ASN1_File_@
@@END_IF@@
@@ELSE@@
DriversConfig/drivers_config.h: # Not a distributed system
@@END_IF@@
...
...
templates/concurrency_view/ada_pohi_gpr/partition.tmplt
View file @
eda5f6a5
...
...
@@ -56,6 +56,10 @@ project @_CAPITALIZE:Name_@ is
@@
IF
@@
@
_Need_Ada_
@
=
TRUE
"../../dataview/Ada"
,
@@
END_IF
@@
@@
IF
@@
@
_VP_Name_
@
=
""
and
@
_In_Port_Names
'Length_@ > 0
@@-- Detect distributed systems (no virtual processor) - add DriversConfig folder
"../DriversConfig",
@@END_IF@@
@@TABLE@@
@@IF@@ @_Block_Languages_@ = SDL
"../../@_LOWER:Block_Names_@/SDL/code",
...
...
templates/concurrency_view/drivers_config/system.tmplt
View file @
eda5f6a5
...
...
@@ -45,7 +45,7 @@
-- Configuration data for device drivers in distributed systems
-- This file was generated automatically by taste/kazoo
@@IF@@ @_Bus_Names'Length_@ > 0
Taste-Drivers-Configuation DEFINITIONS ::=
Taste-Drivers-Configu
r
ation DEFINITIONS ::=
BEGIN
@@INLINE(IMPORTS )(\n )(;)@@
@@TABLE@@
...
...
Write
Preview
Supports
Markdown
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