Add Svc.BufferAllocation FPP interface (#4148)

* Add Fw::Buffer allocation interface

* Update Svc/Interfaces/Allocation.fpp

Co-authored-by: Thomas Boyer-Chammard <49786685+thomas-bc@users.noreply.github.com>

* Rename BufferAllocation.fpp interface file

* Update input file for Svc_Interfaces module

---------

Co-authored-by: Thomas Boyer-Chammard <49786685+thomas-bc@users.noreply.github.com>
This commit is contained in:
M Starch 2025-09-15 16:35:24 -07:00 committed by GitHub
parent ade6cc5ff3
commit e21fa7b109
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
module Svc {
@ Interface for allocating and deallocating buffers
interface BufferAllocation {
@ Allocation request to buffer manager
output port allocate: Fw.BufferGet
@ Deallocation request to buffer manager
output port deallocate: Fw.BufferSend
}
}

View File

@ -8,6 +8,7 @@
register_fprime_module(
Svc_Interfaces
AUTOCODER_INPUTS
"${CMAKE_CURRENT_LIST_DIR}/BufferAllocation.fpp"
"${CMAKE_CURRENT_LIST_DIR}/Com.fpp"
"${CMAKE_CURRENT_LIST_DIR}/Deframer.fpp"
"${CMAKE_CURRENT_LIST_DIR}/FrameAccumulator.fpp"