Skip to content

Commit

Permalink
Added license headers in user code TASTE models
Browse files Browse the repository at this point in the history
  • Loading branch information
RaquelJalvo committed Jan 16, 2019
1 parent 1ac7615 commit b26c3ce
Show file tree
Hide file tree
Showing 156 changed files with 868 additions and 16 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
libpus
=============
PUS services library

License
-------
GPLv2

Installation
------------
From the build directory, run cmake .., then make.

5 changes: 5 additions & 0 deletions generate_coverage.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash

# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

geninfo --base-directory /home/esrocos/esrocos_workspace/tools/libpus --gcov-tool /usr/bin/gcov-6 --output-filename /home/esrocos/esrocos_workspace/tools/libpus/build/coverage.info --no-external `find . -name *.gcda`
genhtml /home/esrocos/esrocos_workspace/tools/libpus/build/coverage.info -o /home/esrocos/esrocos_workspace/tools/libpus/build/coverage
4 changes: 4 additions & 0 deletions gui/PusGui/Utilities/Database.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

import sqlite3 as sq3
from sqlite3 import Error

Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Utilities/DigitalClock.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from PySide import QtCore, QtGui
import time

Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Utilities/Macros.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

import json, time
from datetime import datetime

Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Utilities/PusConsoleTable.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

class PusConsoleTable(list):
"""
This class override the list class to be able
Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Utilities/TestTags.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

class TestTags:
ACTIVITIES_TAG = "activities"
INTERVAL_TAG = "interval"
Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Utilities/ValidateJson.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

import jsonschema
from jsonschema.exceptions import ValidationError
import json
Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Utilities/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from .PacketTranslator import PacketTranslator
from .MakoTranslate import MakoTranslate
from .Database import Database
Expand Down
6 changes: 5 additions & 1 deletion gui/PusGui/Utilities/mpyToHex.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

import sys, os
from shutil import copyfile

Expand Down Expand Up @@ -35,4 +39,4 @@ def convert_py_to_hex(filedata):
if __name__ == '__main__':
(l, string) = convert_py_to_hex(sys.argv[1])
print(string)
print(l)
print(l)
4 changes: 4 additions & 0 deletions gui/PusGui/Views/AddTCView.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from PySide import QtGui, QtCore
from PySide.QtCore import QDateTime
import time
Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Views/CodeView.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from PySide import QtGui, QtCore
from .Ui.Ui_CodeView import Ui_CodeView

Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Views/CreateTCView.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from PySide import QtGui

from .Ui.Ui_CreateTCView import Ui_CreateTCView
Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Views/DetailsView.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from PySide import QtGui, QtCore
from .Ui.Ui_DetailsView import Ui_DetailsView

Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Views/FilterView.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from PySide import QtGui, QtCore

from .Ui.Ui_FilterView import Ui_FilterView
Expand Down
4 changes: 4 additions & 0 deletions gui/PusGui/Views/MainView.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from PySide import QtGui, QtCore

from .Ui.Ui_MainView import Ui_MainView
Expand Down
6 changes: 6 additions & 0 deletions mission/test_01/pus_enable_services.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#ifndef PUS_ENABLED_SERVICES
#define PUS_ENABLED_SERVICES

Expand Down
6 changes: 6 additions & 0 deletions mission/test_01/pus_mission_types.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#ifndef PUS_MISSION_SERVICES
#define PUS_MISSION_SERVICES

Expand Down
6 changes: 6 additions & 0 deletions mission/test_01/pus_obcp_userFunctions.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
Expand Down
6 changes: 6 additions & 0 deletions mission/test_01/st08_functions.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include <stdio.h>
#include "pus_error.h"

Expand Down
4 changes: 4 additions & 0 deletions mission/test_ur5/pus_config_gui.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from PusGui import pb
# Only telecommands needed
def mission_create_packets(packet, svc, msg, apid=0, seq=0):
Expand Down
6 changes: 6 additions & 0 deletions mission/test_ur5/pus_enable_services.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#ifndef PUS_ENABLED_SERVICES
#define PUS_ENABLED_SERVICES

Expand Down
6 changes: 6 additions & 0 deletions mission/test_ur5/pus_mission_types.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#ifndef PUS_MISSION_SERVICES
#define PUS_MISSION_SERVICES

Expand Down
6 changes: 6 additions & 0 deletions mission/test_ur5/pus_obcp_userFunctions.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
Expand Down
6 changes: 6 additions & 0 deletions mission/test_ur5/st08_functions.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include <stdio.h>
#include "pus_types.h"
#include "pus_error.h"
Expand Down
4 changes: 4 additions & 0 deletions mission/test_ur5_rtems/pus_config_gui.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

from PusGui import pb
# Only telecommands needed
def mission_create_packets(packet, svc, msg, apid=0, seq=0):
Expand Down
6 changes: 6 additions & 0 deletions mission/test_ur5_rtems/pus_enable_services.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#ifndef PUS_ENABLED_SERVICES
#define PUS_ENABLED_SERVICES

Expand Down
6 changes: 6 additions & 0 deletions mission/test_ur5_rtems/pus_mission_types.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#ifndef PUS_MISSION_SERVICES
#define PUS_MISSION_SERVICES

Expand Down
6 changes: 6 additions & 0 deletions mission/test_ur5_rtems/pus_obcp_userFunctions.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
Expand Down
6 changes: 6 additions & 0 deletions mission/test_ur5_rtems/st08_functions.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include <stdio.h>
#include "pus_types.h"
#include "pus_error.h"
Expand Down
6 changes: 6 additions & 0 deletions mpy/mpconfigport.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

// options to control how MicroPython is built

#include <stdint.h>
Expand Down
6 changes: 6 additions & 0 deletions mpy/mpcontext.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include "mpcontext.h"
#include "pthread.h"

Expand Down
6 changes: 6 additions & 0 deletions mpy/mpcontext.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#ifndef MPCONTEXT_H
#define MPCONTEXT_H

Expand Down
6 changes: 6 additions & 0 deletions mpy/pus_obcp_libFunctions.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include "pus_types.h"
#ifdef PUS_CONFIGURE_OBCP_ENGINE

Expand Down
6 changes: 6 additions & 0 deletions mpy/pus_obcp_userFunctions.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include "pus_types.h"
#ifdef PUS_CONFIGURE_OBCP_ENGINE

Expand Down
6 changes: 6 additions & 0 deletions mpy/pus_testmodule.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include "pus_types.h"
#ifdef PUS_CONFIGURE_OBCP_ENGINE

Expand Down
4 changes: 4 additions & 0 deletions mpy/superClass.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2

import obcpModule as module
import userFunctions as user

Expand Down
6 changes: 6 additions & 0 deletions src/pus_timebased_scheduling.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

#include "pus_timebased_scheduling.h"

#include "pus_error.h"
Expand Down
6 changes: 6 additions & 0 deletions taste.ur5/camera_control/camera_control.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

/* User code: This file will not be overwritten by TASTE. */

#include "camera_control.h"
Expand Down
6 changes: 6 additions & 0 deletions taste.ur5/events/events.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

/* User code: This file will not be overwritten by TASTE. */

#include "events.h"
Expand Down
3 changes: 3 additions & 0 deletions taste.ur5/fast_skeletons.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# H2020 ESROCOS Project
# Company: GMV Aerospace & Defence S.A.U.
# Licence: GPLv2
/home/esrocos/jmsm/taste-aadl-parser/aadl-parser/aadl_parser --gw -o output --glue -i ./InterfaceView.aadl -c ./DeploymentView.aadl -d ./DataView.aadl /home/esrocos/tool-inst/share/ocarina/AADLv2/ocarina_components.aadl
cd output; make
6 changes: 6 additions & 0 deletions taste.ur5/filemanagement/filemanagement.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* H2020 ESROCOS Project
* Company: GMV Aerospace & Defence S.A.U.
* Licence: GPLv2
*/

/* User code: This file will not be overwritten by TASTE. */

#include "filemanagement.h"
Expand Down
Loading

0 comments on commit b26c3ce

Please sign in to comment.