Skip to content

Commit 81af14b

Browse files
committed
SDS RecPlay: Replace legacy SDS:Recorder and SDS:Player components and drivers with combined SDS:RecPlay component and driver
1 parent 1a8a0ef commit 81af14b

File tree

9 files changed

+652
-949
lines changed

9 files changed

+652
-949
lines changed

ARM.SDS.pdsc

+11-28
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
SDSIO:
2626
- Gathered common SDSIO client code into sdsio_client.c/.h; low-level I/O dependant code remain in individual drivers
2727
- Added SDS:IO:Custom component and driver
28+
SDS Recorder and Player:
29+
- Replaced legacy SDS:Recorder and SDS:Player components and drivers with combined SDS:RecPlay component and driver.
2830
</release>
2931
</releases>
3032

@@ -52,14 +54,8 @@
5254
<description>SDS IO via File System (Semihosting)</description>
5355
<require Cclass="CMSIS-View" Cgroup="Event Recorder" Cvariant="Semihosting"/>
5456
</condition>
55-
<condition id="SDS Recorder with CMSIS-RTOS2">
56-
<description>SDS Recorder with CMSIS-RTOS2</description>
57-
<require Cclass="CMSIS" Cgroup="RTOS2"/>
58-
<require Cclass="SDS" Cgroup="Buffer"/>
59-
<require Cclass="SDS" Cgroup="IO"/>
60-
</condition>
61-
<condition id="SDS Player with CMSIS-RTOS2">
62-
<description>SDS Player with CMSIS-RTOS2</description>
57+
<condition id="SDS Recorder and Player with CMSIS-RTOS2">
58+
<description>SDS Recorder and Player with CMSIS-RTOS2</description>
6359
<require Cclass="CMSIS" Cgroup="RTOS2"/>
6460
<require Cclass="SDS" Cgroup="Buffer"/>
6561
<require Cclass="SDS" Cgroup="IO"/>
@@ -177,29 +173,16 @@
177173
</files>
178174
</component>
179175

180-
<!-- SDS Recorder -->
181-
<component Cclass="SDS" Cgroup="Recorder" Cvariant="CMSIS-RTOS2" Cversion="2.0.0" condition="SDS Recorder with CMSIS-RTOS2">
182-
<description>Record to Output device</description>
183-
<RTE_Components_h>
184-
#define RTE_SDS_RECORDER /* Synchronous Data Stream Recorder */
185-
</RTE_Components_h>
186-
<files>
187-
<file category="header" name="sds/include/sds_rec.h"/>
188-
<file category="source" name="sds/source/sds_rec.c"/>
189-
<file category="header" name="sds/config/sds_rec_config.h" attr="config" version="2.0.0"/>
190-
</files>
191-
</component>
192-
193-
<!-- SDS Player -->
194-
<component Cclass="SDS" Cgroup="Player" Cvariant="CMSIS-RTOS2" Cversion="2.0.0" condition="SDS Player with CMSIS-RTOS2">
195-
<description>Play from Input device</description>
176+
<!-- SDS Recorder and Player -->
177+
<component Cclass="SDS" Cgroup="RecPlay" Cvariant="CMSIS-RTOS2" Cversion="1.0.0" condition="SDS Recorder and Player with CMSIS-RTOS2">
178+
<description>Recorder/Player interface for data stream</description>
196179
<RTE_Components_h>
197-
#define RTE_SDS_PLAYER /* Synchronous Data Stream Player */
180+
#define RTE_SDS_REC_PLAY /* Synchronous Data Stream Recorder and Player */
198181
</RTE_Components_h>
199182
<files>
200-
<file category="header" name="sds/include/sds_play.h"/>
201-
<file category="source" name="sds/source/sds_play.c"/>
202-
<file category="header" name="sds/config/sds_play_config.h" attr="config" version="2.0.0"/>
183+
<file category="header" name="sds/include/sds_rec_play.h"/>
184+
<file category="source" name="sds/source/sds_rec_play.c"/>
185+
<file category="header" name="sds/config/sds_rec_play_config.h" attr="config" version="1.0.0"/>
203186
</files>
204187
</component>
205188
</components>

sds/config/sds_play_config.h

-37
This file was deleted.

sds/config/sds_rec_config.h renamed to sds/config/sds_rec_play_config.h

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023-2024 Arm Limited. All rights reserved.
2+
* Copyright (c) 2025 Arm Limited. All rights reserved.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
@@ -15,22 +15,23 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*
18-
* Name: sds_rec_config.h
19-
* Purpose: SDS Recorder configuration options
20-
* Rev.: V2.0.0
18+
* Name: sds_rec_play_config.h
19+
* Purpose: SDS Recorder and Player configuration options
20+
* Rev.: V1.0.0
2121
*/
2222

2323
//-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
2424

25-
// <h>SDS Recorder
25+
// <h>SDS Recorder and Player
2626

27-
// <o>Maximum number of recorder streams <1-31>
27+
// <o>Maximum number of streams <1-31>
2828
// <i>Default: 16
29-
#define SDS_REC_MAX_STREAMS 16U
29+
#define SDS_REC_PLAY_MAX_STREAMS 16U
3030

3131
// <o>Size of a temporary recorder buffer
3232
// <i>Default: 8192
33-
#define SDS_REC_BUF_SIZE 8192U
33+
// <i>Default: At least the size of the largest record
34+
#define SDS_REC_PLAY_BUF_SIZE 8192U
3435

3536
// </h>
3637

sds/include/sds_play.h

-113
This file was deleted.

sds/include/sds_rec.h

-92
This file was deleted.

0 commit comments

Comments
 (0)