Skip to content

Commit

Permalink
Merge branch 'release-1.1.0'. Refs #112.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanperez-keera committed Nov 22, 2023
2 parents d2b0f28 + 91ba18c commit ceb628b
Show file tree
Hide file tree
Showing 28 changed files with 102 additions and 62 deletions.
5 changes: 5 additions & 0 deletions ogma-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Revision history for ogma-cli

## [1.1.0] - 2023-11-21

* Version bump 1.1.0 (#112).
* Document cabal update step in README (#100).

## [1.0.11] - 2023-09-21

* Version bump 1.0.11 (#103).
Expand Down
1 change: 1 addition & 0 deletions ogma-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Once GHC and cabal are installed, the simplest way to install Ogma is with:
$ git clone https://github.com/nasa/ogma.git
$ cd ogma
$ export PATH="$HOME/.cabal/bin/:$PATH"
$ cabal v1-update
$ cabal v1-install alex happy
$ cabal v1-install BNFC copilot
$ cabal v1-install ogma-*/
Expand Down
4 changes: 2 additions & 2 deletions ogma-cli/ogma-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cabal-version: 2.0
build-type: Simple

name: ogma-cli
version: 1.0.11
version: 1.1.0
homepage: http://nasa.gov
license: OtherLicense
license-file: LICENSE.pdf
Expand Down Expand Up @@ -141,7 +141,7 @@ executable ogma
build-depends:
base >= 4.11.0.0 && < 5
, optparse-applicative
, ogma-core >= 1.0.11 && < 1.1
, ogma-core >= 1.1.0 && < 1.2

hs-source-dirs:
src
Expand Down
6 changes: 6 additions & 0 deletions ogma-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Revision history for ogma-core

## [1.1.0] - 2023-11-21

* Version bump 1.1.0 (#112).
* Remove trailing spaces from cFS app template (#108).
* Replace all mentions of the Sample App (#105).

## [1.0.11] - 2023-09-21

* Version bump 1.0.11 (#103).
Expand Down
16 changes: 8 additions & 8 deletions ogma-core/ogma-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cabal-version: 2.0
build-type: Simple

name: ogma-core
version: 1.0.11
version: 1.1.0
homepage: http://nasa.gov
license: OtherLicense
license-file: LICENSE.pdf
Expand Down Expand Up @@ -109,13 +109,13 @@ library
, IfElse
, mtl

, ogma-extra >= 1.0.11 && < 1.1
, ogma-language-c >= 1.0.11 && < 1.1
, ogma-language-cocospec >= 1.0.11 && < 1.1
, ogma-language-copilot >= 1.0.11 && < 1.1
, ogma-language-fret-cs >= 1.0.11 && < 1.1
, ogma-language-fret-reqs >= 1.0.11 && < 1.1
, ogma-language-smv >= 1.0.11 && < 1.1
, ogma-extra >= 1.1.0 && < 1.2
, ogma-language-c >= 1.1.0 && < 1.2
, ogma-language-cocospec >= 1.1.0 && < 1.2
, ogma-language-copilot >= 1.1.0 && < 1.2
, ogma-language-fret-cs >= 1.1.0 && < 1.2
, ogma-language-fret-reqs >= 1.1.0 && < 1.2
, ogma-language-smv >= 1.1.0 && < 1.2

hs-source-dirs:
src
Expand Down
2 changes: 1 addition & 1 deletion ogma-core/src/Command/CFSApp.hs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ fileContents variables msgIds msgNames msgDatas = cfsFileContents
, "** File: copilot_cfs.c"
, "**"
, "** Purpose:"
, "** This file contains the source code for the Sample App."
, "** This file contains the source code for the Copilot App."
, "**"
, "*********************************************************************/"
, ""
Expand Down
2 changes: 1 addition & 1 deletion ogma-core/templates/copilot-cfs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 2.6.4)
project(CFE_SAMPLE_APP C)
project(CFE_COPILOT_APP C)

include_directories(../../Modules/Core/Interfaces)
include_directories(../Icarouslib/fsw/platform_inc)
Expand Down
28 changes: 14 additions & 14 deletions ogma-core/templates/copilot-cfs/fsw/for_build/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
###############################################################################
# File: CFS Application Makefile
# File: CFS Application Makefile
#
# $Id: Makefile 1.8 2009/07/09 12:25:54EDT rmcgraw Exp $
#
# $Log: Makefile $
# Revision 1.8 2009/07/09 12:25:54EDT rmcgraw
# Revision 1.8 2009/07/09 12:25:54EDT rmcgraw
# DCR8291:1 Changed CFE_MISSION_INC to CFS_MISSION_INC and added log
#
###############################################################################
Expand All @@ -13,9 +13,9 @@
#
APPTARGET = copilot_cfs

#
#
# Entry Point for task
#
#
ENTRY_PT = COPILOT_CFSMain

#
Expand All @@ -33,7 +33,7 @@ SOURCES = $(OBJS:.o=.c)
##
## Specify extra C Flags needed to build this subsystem
##
LOCAL_COPTS =
LOCAL_COPTS =


##
Expand All @@ -49,22 +49,22 @@ EXEDIR=../exe
## entry like the following:
## -R../tst_lib/tst_lib.elf
##
SHARED_LIB_LINK =
SHARED_LIB_LINK =

########################################################################
# Should not have to change below this line, except for customized
# Should not have to change below this line, except for customized
# Mission and cFE directory structures
########################################################################

#
# Set build type to CFE_APP. This allows us to
# Set build type to CFE_APP. This allows us to
# define different compiler flags for the cFE Core and Apps.
#
#
BUILD_TYPE = CFE_APP

##
##
## Include all necessary cFE make rules
## Any of these can be copied to a local file and
## Any of these can be copied to a local file and
## changed if needed.
##
##
Expand Down Expand Up @@ -98,13 +98,13 @@ INCLUDE_PATH = \
-I../inc

##
## Define the VPATH make variable.
## Define the VPATH make variable.
## This can be modified to include source from another directory.
## If there is no corresponding app in the cfs-apps directory, then this can be discarded, or
## if the mission chooses to put the src in another directory such as "src", then that can be
## if the mission chooses to put the src in another directory such as "src", then that can be
## added here as well.
##
VPATH = $(CFS_APP_SRC)/$(APPTARGET)/fsw/src
VPATH = $(CFS_APP_SRC)/$(APPTARGET)/fsw/src

##
## Include the common make rules for building a cFE Application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
** File:
** $Id: copilot_cfs_perfids.h $
**
** Purpose:
** Define Sample App Performance IDs
** Purpose:
** Define Copilot App Performance IDs
**
** Notes:
**
Expand All @@ -12,7 +12,7 @@
#define _copilot_cfs_perfids_h_


#define COPILOT_CFS_PERF_ID 91
#define COPILOT_CFS_PERF_ID 91

#endif /* _copilot_cfs_perfids_h_ */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
** File:
** $Id: copilot_cfs_msgids.h $
**
** Purpose:
** Define Sample App Message IDs
** Purpose:
** Define Copilot App Message IDs
**
** Notes:
**
Expand Down
14 changes: 7 additions & 7 deletions ogma-core/templates/copilot-cfs/fsw/src/copilot_cfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
** File: copilot_cfs.c
**
** Purpose:
** This file contains the source code for the Sample App.
** This file contains the source code for the Copilot App.
**
*******************************************************************************/

Expand Down Expand Up @@ -60,7 +60,7 @@ void COPILOT_AppMain( void )

/* Pend on receipt of command packet -- timeout set to 500 millisecs */
status = CFE_SB_RcvMsg(&COPILOTMsgPtr, COPILOT_CommandPipe, 500);

CFE_ES_PerfLogEntry(COPILOT_CFS_PERF_ID);

if (status == CFE_SUCCESS)
Expand Down Expand Up @@ -88,7 +88,7 @@ void COPILOT_AppInit(void)

/*
** Register the events
*/
*/
CFE_EVS_Register(COPILOT_EventFilters,
sizeof(COPILOT_EventFilters)/sizeof(CFE_EVS_BinFilter_t),
CFE_EVS_BINARY_FILTER);
Expand All @@ -103,10 +103,10 @@ void COPILOT_AppInit(void)
CFE_EVS_SendEvent (COPILOT_STARTUP_INF_EID, CFE_EVS_INFORMATION,
"COPILOT App Initialized. Version %d.%d.%d.%d",
COPILOT_CFS_MAJOR_VERSION,
COPILOT_CFS_MINOR_VERSION,
COPILOT_CFS_REVISION,
COPILOT_CFS_MINOR_VERSION,
COPILOT_CFS_REVISION,
COPILOT_CFS_MISSION_REV);

} /* End of COPILOT_AppInit() */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/
Expand Down Expand Up @@ -147,7 +147,7 @@ void COPILOT_ProcessIcarousPosition(void)
position_t* msg;
msg = (position_t*) COPILOTMsgPtr;
my_position = *msg;

// Run all copilot monitors.
step();
}
Expand Down
10 changes: 5 additions & 5 deletions ogma-core/templates/copilot-cfs/fsw/src/copilot_cfs_events.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/************************************************************************
** File:
** copilot_app_events.h
** copilot_app_events.h
**
** Purpose:
** Purpose:
** Define COPILOT App Events IDs
**
** Notes:
Expand All @@ -14,11 +14,11 @@


#define COPILOT_RESERVED_EID 0
#define COPILOT_STARTUP_INF_EID 1
#define COPILOT_STARTUP_INF_EID 1
#define COPILOT_COMMAND_ERR_EID 2
#define COPILOT_COMMANDCPVIOL_INF_EID 3
#define COPILOT_INVALID_MSGID_ERR_EID 4
#define COPILOT_LEN_ERR_EID 5
#define COPILOT_INVALID_MSGID_ERR_EID 4
#define COPILOT_LEN_ERR_EID 5

#endif /* _copilot_app_events_h_ */

Expand Down
6 changes: 3 additions & 3 deletions ogma-core/templates/copilot-cfs/fsw/src/copilot_cfs_msg.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*******************************************************************************
** File:
** copilot_cfs_msg.h
** copilot_cfs_msg.h
**
** Purpose:
** Purpose:
** Define COPILOT App Messages and info
**
** Notes:
Expand All @@ -26,7 +26,7 @@ typedef struct
/*
** Type definition (COPILOT App housekeeping)
*/
typedef struct
typedef struct
{
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE];
uint8 copilot_command_error_count;
Expand Down
6 changes: 3 additions & 3 deletions ogma-core/templates/copilot-cfs/fsw/src/copilot_cfs_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
** File:
** $Id: copilot_app_version.h $
**
** Purpose:
** The Sample Application header file containing version number
** Purpose:
** The Copilot Application header file containing version number
**
** Notes:
**
Expand All @@ -16,7 +16,7 @@
#define COPILOT_CFS_MINOR_VERSION 0
#define COPILOT_CFS_REVISION 0
#define COPILOT_CFS_MISSION_REV 0

#endif /* _copilot_app_version_h_ */

/************************/
Expand Down
4 changes: 4 additions & 0 deletions ogma-extra/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for ogma-extra

## [1.1.0] - 2023-11-21

* Version bump 1.1.0 (#112).

## [1.0.11] - 2023-09-21

* Version bump 1.0.11 (#103).
Expand Down
2 changes: 1 addition & 1 deletion ogma-extra/ogma-extra.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cabal-version: 2.0
build-type: Simple

name: ogma-extra
version: 1.0.11
version: 1.1.0
homepage: http://nasa.gov
license: OtherLicense
license-file: LICENSE.pdf
Expand Down
4 changes: 4 additions & 0 deletions ogma-language-c/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for ogma-language-c

## [1.1.0] - 2023-11-21

* Version bump 1.1.0 (#112).

## [1.0.11] - 2023-09-21

* Version bump 1.0.11 (#103).
Expand Down
2 changes: 1 addition & 1 deletion ogma-language-c/ogma-language-c.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cabal-version: 2.0
build-type: Custom

name: ogma-language-c
version: 1.0.11
version: 1.1.0
homepage: http://nasa.gov
license: OtherLicense
license-file: LICENSE.pdf
Expand Down
4 changes: 4 additions & 0 deletions ogma-language-cocospec/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for ogma-language-cocospec

## [1.1.0] - 2023-11-21

* Version bump 1.1.0 (#112).

## [1.0.11] - 2023-09-21

* Version bump 1.0.11 (#103).
Expand Down
2 changes: 1 addition & 1 deletion ogma-language-cocospec/ogma-language-cocospec.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cabal-version: 2.0
build-type: Custom

name: ogma-language-cocospec
version: 1.0.11
version: 1.1.0
homepage: http://nasa.gov
license: OtherLicense
license-file: LICENSE.pdf
Expand Down
4 changes: 4 additions & 0 deletions ogma-language-copilot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for ogma-language-copilot

## [1.1.0] - 2023-11-21

* Version bump 1.1.0 (#112).

## [1.0.11] - 2023-09-21

* Version bump 1.0.11 (#103).
Expand Down
2 changes: 1 addition & 1 deletion ogma-language-copilot/ogma-language-copilot.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cabal-version: 2.0
build-type: Simple

name: ogma-language-copilot
version: 1.0.11
version: 1.1.0
homepage: http://nasa.gov
license: OtherLicense
license-file: LICENSE.pdf
Expand Down
Loading

0 comments on commit ceb628b

Please sign in to comment.