From e15c29c3dd58bd9c3cc308acb1e0d01e98d03a01 Mon Sep 17 00:00:00 2001 From: Shivaly Date: Wed, 2 Oct 2024 10:36:52 -0700 Subject: [PATCH 1/2] FP-2784: Add trace id to fpp --- .../lib/src/main/scala/codegen/CppWriter/CppWriterState.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala index 93d5d39a9..d1d7fd3ce 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala @@ -201,6 +201,7 @@ object CppWriterState { "FwTimeBaseStoreType" -> zero, "FwTimeContextStoreType" -> zero, "FwTlmPacketizeIdType" -> zero, + "FwTraceIdType" -> zero, ) } From 3828f6092f135e87759428d2df9a284dfa87b8de Mon Sep 17 00:00:00 2001 From: Rob Bocchino Date: Wed, 2 Oct 2024 10:57:51 -0700 Subject: [PATCH 2/2] Update User's Guide Add FwTraceIdType to build-in types --- docs/fpp-spec.html | 2 +- docs/fpp-users-guide.html | 5 +++-- docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/fpp-spec.html b/docs/fpp-spec.html index c5caeb31f..b6bc7111b 100644 --- a/docs/fpp-spec.html +++ b/docs/fpp-spec.html @@ -9785,7 +9785,7 @@

21.4. Translation Tools

diff --git a/docs/fpp-users-guide.html b/docs/fpp-users-guide.html index 1965c0706..d3b99b835 100644 --- a/docs/fpp-users-guide.html +++ b/docs/fpp-users-guide.html @@ -12133,7 +12133,8 @@

15.1. I type FwSizeType type FwTimeBaseStoreType type FwTimeContextStoreType -type FwTlmPacketizeIdType +type FwTlmPacketizeIdType +type FwTraceIdType
@@ -12530,7 +12531,7 @@

diff --git a/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc b/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc index 1e98ffa5b..03cc88938 100644 --- a/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc +++ b/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc @@ -165,6 +165,7 @@ type FwSizeType type FwTimeBaseStoreType type FwTimeContextStoreType type FwTlmPacketizeIdType +type FwTraceIdType ---- Each of these types is an alias for a {cpp} integer type, and each