kazoo issueshttps://gitrepos.estec.esa.int/taste/kazoo/-/issues2020-02-06T12:25:41Zhttps://gitrepos.estec.esa.int/taste/kazoo/-/issues/1Add template parameters about device drivers2020-02-06T12:25:41ZRafal BabskiAdd template parameters about device driversFor an example following fragment of ocarina_components.aadl:
```subprogram spg_sockets_init
properties
Source_Language => (C);
Source_Name => "__po_hi_driver_sockets_init";
end spg_sockets_init;
```
has not corre...For an example following fragment of ocarina_components.aadl:
```subprogram spg_sockets_init
properties
Source_Language => (C);
Source_Name => "__po_hi_driver_sockets_init";
end spg_sockets_init;
```
has not corresponding parameters in kazoo.Maxime PerrotinMaxime Perrotinhttps://gitrepos.estec.esa.int/taste/kazoo/-/issues/2Add thread properties as template parameters2020-02-07T17:18:14ZRafal BabskiAdd thread properties as template parametersThread Stack_Size, PriorityThread Stack_Size, PriorityMaxime PerrotinMaxime Perrotinhttps://gitrepos.estec.esa.int/taste/kazoo/-/issues/4Templates: CPU_Family for N2X board includes non-existent BSP2020-05-08T07:50:27ZLaura Alexandra Sequeira GouveiaTemplates: CPU_Family for N2X board includes non-existent BSPCommit 663c71c77fb705a472216f717c6815d6c8a5de5f causes N2X targets to attempt to access an n2x BSP, which does not exist.Commit 663c71c77fb705a472216f717c6815d6c8a5de5f causes N2X targets to attempt to access an n2x BSP, which does not exist.https://gitrepos.estec.esa.int/taste/kazoo/-/issues/5InterfaceView is not analysable in SpaceCreator2022-01-31T13:27:35ZAngel Perez MuñozInterfaceView is not analysable in SpaceCreatorHi all,
I am trying to test some simple examples with the SpaceCreator GUI. However, I am getting the following error when executing the Makefile:
```
spacecreator.AppImage --aadlconverter -o interfaceview.xml -t /home/taste/tool-inst...Hi all,
I am trying to test some simple examples with the SpaceCreator GUI. However, I am getting the following error when executing the Makefile:
```
spacecreator.AppImage --aadlconverter -o interfaceview.xml -t /home/taste/tool-inst/share/xml2aadl/interfaceview.tmplt -x InterfaceView.aadl
# Create/update a default deployment view for Linux target, if none other is provided
spacecreator.AppImage --aadlconverter -o interfaceview.xml -t /home/taste/tool-inst/share/xml2dv/interfaceview.tmplt -x Default_Deployment.aadl || exit 1
rsync --checksum Default_Deployment.aadl DeploymentView.aadl
sed -i 's/CoverageEnabled => true/CoverageEnabled => false/g' DeploymentView.aadl || :
kazoo -p --glue --gw -o work
TASTE/Kazoo (Version 1.0.6413ed26)
Copyright (C) Maxime Perrotin / European Space Agency
Based on Ocarina 844f0da (Working Copy from r844f0da0)
[INFO] Added /home/taste/tool-inst/share/SharedTypes/heater to Include path
[INFO] Added /home/taste/tool-inst/share/SharedTypes/pubs_broker_integer to Include path
[INFO] Added /home/taste/tool-inst/share/SharedTypes/groveadchat to Include path
[INFO] Added /home/taste/tool-inst/share/SharedTypes/sub_broker_integer to Include path
[INFO] Added /home/taste/tool-inst/share/SharedTypes/air_device to Include path
InterfaceView.aadl:9:26: parsing Package_Name, list is empty
InterfaceView.aadl:12:11: parsing Defining_Name, an identifier is expected, found token ';'
InterfaceView.aadl:24:01: parsing AADL_Declaration, not allowed in aadl v2
InterfaceView.aadl:29:01: parsing AADL_Declaration, not allowed in aadl v2
InterfaceView.aadl:41:01: parsing AADL_Declaration, unexpected keyword 'properties'
InterfaceView.aadl:47:01: parsing AADL_Declaration, unexpected keyword 'end'
InterfaceView.aadl:49:01: parsing AADL_Declaration, not allowed in aadl v2
InterfaceView.aadl:52:01: parsing AADL_Declaration, unexpected keyword 'end'
InterfaceView.aadl:62:23: parsing Package_Name, list is empty
InterfaceView.aadl:62:31: parsing Import_Declaration, unexpected token ';'
InterfaceView.aadl:62:31: parsing Name_Visibility_Declaration, unexpected token ';'
InterfaceView.aadl:93:64: parsing Subcomponent_Access_Classifier, an identifier is expected, found keyword 'server'
InterfaceView.aadl:93:04: parsing Component_Type, unexpected identifier 'RI_service'
InterfaceView.aadl:115:30: parsing Package_Specification, Empty packages are not allowed
InterfaceView.aadl:121:23: parsing Package_Name, list is empty
InterfaceView.aadl:121:31: parsing Import_Declaration, unexpected token ';'
InterfaceView.aadl:121:31: parsing Name_Visibility_Declaration, unexpected token ';'
InterfaceView.aadl:131:18: parsing Package_Specification, Empty packages are not allowed
InterfaceView.aadl:133:01: parsing AADL_Declaration, not allowed in aadl v2
InterfaceView.aadl:136:03: parsing AADL_Declaration, unexpected identifier 'Client'
InterfaceView.aadl:137:01: parsing AADL_Declaration, unexpected keyword 'connections'
InterfaceView.aadl:139:01: parsing AADL_Declaration, unexpected keyword 'end'
InterfaceView.aadl:141:01: parsing AADL_Declaration, unexpected keyword 'properties'
InterfaceView.aadl:143:04: parsing AADL_Declaration, unexpected identifier 'Taste'
InterfaceView.aadl:144:04: parsing AADL_Declaration, unexpected identifier 'Taste'
InterfaceView.aadl:145:04: parsing AADL_Declaration, unexpected identifier 'Taste'
InterfaceView.aadl:146:01: parsing AADL_Declaration, unexpected keyword 'end'
[INFO] Parsing Interface View
DataView.aadl:15:08: Taste (identifier) is not a package or a property set visible or existing
[ERROR] Could not analyse Interface View
make: *** [Makefile:67: work/glue_release] Error 1
```
I have attached a zip of the project [sdl_pohi_ada.tar.gz](/uploads/ea5cd57cf848956b687cf3cd8660cfd4/sdl_pohi_ada.tar.gz). The IV basically contains two functions, one in SDL and the other in Ada that communicate through a sporadic PI from the SDL function:
![Screenshot_from_2022-01-28_15-39-18](/uploads/f8a5713fdd730fc9d5049e5b22bd4143/Screenshot_from_2022-01-28_15-39-18.png)
I am using the latest version of Kazoo (commit 6413ed26f63c6b7682fbe615248e3b2a549a6fe6).
Thanks in advance. I’m looking forward to your reply,
ÁngelMaxime PerrotinMaxime Perrotinhttps://gitrepos.estec.esa.int/taste/kazoo/-/issues/3Funtion initialization locked in loop2023-02-01T13:12:15ZLaura Alexandra Sequeira GouveiaFuntion initialization locked in loopCommit 0cc92371 introduces function initialization bug when functions request interfaces mutually (e.g. Function1 request interface from Function2, and Function2 requests interface from Function1).
In these cases, function initializati...Commit 0cc92371 introduces function initialization bug when functions request interfaces mutually (e.g. Function1 request interface from Function2, and Function2 requests interface from Function1).
In these cases, function initialization is stuck looping, since the \<function name\>\_initialized flag is updated after initialization is completed, on init\_\<function name\>():
```c
bool function1_initialized = false;
void init_function1(void)
{
if (!function1_initialized) {
// Call user code startup function
function1_startup();
// Iterate over all synchronous RIs, and call their parent's
// init function. Multiple calls are prevented by the "init" guard. -> no longer guaranteed
extern void init_function2(void);
init_function2();
#ifdef __unix__
puts ("[TASTE] Initialization completed for function Function1");
#endif
function1_initialized = true;
}
}
```
```c
bool function2_initialized = false;
void init_function2(void)
{
if (!function2_initialized) {
// Call user code startup function
function2_startup();
// Iterate over all synchronous RIs, and call their parent's
// init function. Multiple calls are prevented by the "init" guard.
extern void init_function1(void);
init_function1();
#ifdef __unix__
puts ("[TASTE] Initialization completed for function Function2");
#endif
function2_initialized = true;
}
}
```