Skip to content

Commit

Permalink
update the pack and pdsc
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Jul 27, 2024
1 parent ca842d7 commit f956cae
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 23 deletions.
6 changes: 6 additions & 0 deletions GorgonMeducer.perf_counter.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
<repository type="git">https://github.com/GorgonMeducer/perf_counter.git</repository>

<releases>
<release date="2024-07-27" version="2.3.3" tag="v2.3.3" url="https://github.com/GorgonMeducer/perf_counter/releases/download/v2.3.3/GorgonMeducer.perf_counter.2.3.3.pack">
Release v2.3.3
- Enhance foreach() and with() with __typeof__()
- Always use systick_wrapper_gnu.s when Arm Compiler 6 is detected
- Some minor fixes
</release>
<release date="2024-07-06" version="2.3.2" tag="v2.3.2" url="https://github.com/GorgonMeducer/perf_counter/releases/download/v2.3.2/GorgonMeducer.perf_counter.2.3.2.pack">
Release v2.3.2
- Adds __perfc_sync_barrier__() and improves __cycleof__()
Expand Down
Binary file not shown.
58 changes: 37 additions & 21 deletions cmsis-pack/GorgonMeducer.perf_counter.pdsc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>

<package schemaVersion="1.7.28" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/v1.7.28/schema/PACK.xsd">
<package schemaVersion="1.7.37" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/v1.7.37/schema/PACK.xsd">
<vendor>GorgonMeducer</vendor>
<name>perf_counter</name>
<description>A dedicated performance counter for the Cortex-M Systick. It shares the SysTick with users' original SysTick function without interfering with it. This library will bring new functionalities, such as performance counter, APIs for delay, clock() defined in time.h etc.</description>
Expand All @@ -16,6 +16,12 @@
<repository type="git">https://github.com/GorgonMeducer/perf_counter.git</repository>

<releases>
<release date="2024-07-27" version="2.3.3" tag="v2.3.3" url="https://github.com/GorgonMeducer/perf_counter/releases/download/v2.3.3/GorgonMeducer.perf_counter.2.3.3.pack">
Release v2.3.3
- Enhance foreach() and with() with __typeof__()
- Always use systick_wrapper_gnu.s when Arm Compiler 6 is detected
- Some minor fixes
</release>
<release date="2024-07-06" version="2.3.2" tag="v2.3.2" url="https://github.com/GorgonMeducer/perf_counter/releases/download/v2.3.2/GorgonMeducer.perf_counter.2.3.2.pack">
Release v2.3.2
- Adds __perfc_sync_barrier__() and improves __cycleof__()
Expand Down Expand Up @@ -125,6 +131,13 @@
</keywords>

<conditions>

<condition id="Arm Compiler 6">
<description>Arm Compiler 6 (armclang).</description>
<accept Tcompiler="ARMCC" Toptions="AC6"/>
<accept Tcompiler="ARMCC" Toptions="AC6LTO"/>
</condition>

<condition id="Arm Compiler">
<description>Arm Compiler 5 (armcc) or Arm Compiler 6 (armclang).</description>
<accept Tcompiler="ARMCC" Toptions="AC6"/>
Expand All @@ -136,17 +149,25 @@
<accept Tcompiler="GCC"/>
</condition>

<condition id="Armv8.1-M Processors">
<accept Dcore="ARMV81MML"/>
<accept Dcore="Cortex-M55"/>
<accept Dcore="Cortex-M85"/>
<accept Dcore="Cortex-M52"/>
</condition>


<condition id="Armv8-M Processors">
<accept Dcore="ARMV8MBL"/>
<accept Dcore="ARMV8MML"/>
<accept Dcore="ARMV81MML"/>

<accept Dcore="Star-MC1"/>
<accept Dcore="Cortex-M23"/>
<accept Dcore="Cortex-M33"/>
<accept Dcore="Cortex-M35P"/>
<accept Dcore="Cortex-M55"/>
<accept Dcore="Cortex-M85"/>

<accept condition="Armv8.1-M Processors"/>

</condition>

<condition id="Previous Generation Cortex-M Processors">
Expand Down Expand Up @@ -191,12 +212,7 @@
<condition id="PMU Devices">
<description>Require Perf_Counter Core</description>
<require condition="perf_counter" />
<accept Dcore="ARMV8MML"/>
<accept Dcore="ARMV81MML"/>
<accept Dcore="Cortex-M33"/>
<accept Dcore="Cortex-M35P"/>
<accept Dcore="Cortex-M55"/>
<accept Dcore="Cortex-M85"/>
<require condition="Armv8.1-M Processors" />
</condition>

<condition id="Cortex-M Arm GCC">
Expand Down Expand Up @@ -237,17 +253,17 @@
</condition>

<condition id="Previous Generation Cortex-M Arm Compiler CMSIS-CORE Default Porting">
<description>Compile Cortex-M Processors with GNU Tools for Arm Embedded Processors.</description>
<require condition="Arm Compiler"/>
<description>Compile Cortex-M Processors with Arm Compiler 5.</description>
<require Tcompiler="ARMCC" Toptions="AC5"/>
<require condition="Previous Generation Cortex-M Processors"/>
<require condition="CMSIS-CORE"/>
<require condition="Default Porting"/>
</condition>

<condition id="Armv8-M Arm Compiler CMSIS-CORE Default Porting">
<description>Compile Cortex-M Processors with GNU Tools for Arm Embedded Processors.</description>
<require condition="Arm Compiler"/>
<require condition="Armv8-M Processors"/>
<description>Compile Cortex-M Processors with Arm Compiler 6.</description>
<require condition="Arm Compiler 6"/>
<require condition="Cortex-M Processors"/>
<require condition="CMSIS-CORE"/>
<require condition="Default Porting"/>
</condition>
Expand Down Expand Up @@ -292,7 +308,7 @@
-->

<components>
<component Cclass="Utilities" Cversion="2.3.1" Cgroup="perf_counter" Csub="Core" Cvariant="Source" isDefaultVariant="true" condition="CMSIS-CORE">
<component Cclass="Utilities" Cversion="2.3.3" Cgroup="perf_counter" Csub="Core" Cvariant="Source" isDefaultVariant="true" condition="CMSIS-CORE">
<description>A dedicated performance counter for Cortex-M systick.</description>
<files>
<file category="header" name="perf_counter.h"/>
Expand All @@ -313,7 +329,7 @@
</Pre_Include_Global_h>
</component>

<component Cclass="Utilities" Cversion="2.3.1" Cgroup="perf_counter" Csub="Core" Cvariant="SourceNoWrapper" isDefaultVariant="false" condition="CMSIS-CORE">
<component Cclass="Utilities" Cversion="2.3.3" Cgroup="perf_counter" Csub="Core" Cvariant="SourceNoWrapper" isDefaultVariant="false" condition="CMSIS-CORE">
<description>A dedicated performance counter for Cortex-M systick.</description>
<files>
<file category="header" name="perf_counter.h"/>
Expand Down Expand Up @@ -390,7 +406,7 @@
</Pre_Include_Global_h>
</component>

<component Cclass="Utilities" Cversion="2.3.0" Cgroup="perf_counter" Csub="RTX5 Patch" condition="RTX5 Patch">
<component Cclass="Utilities" Cversion="2.3.3" Cgroup="perf_counter" Csub="RTX5 Patch" condition="RTX5 Patch">
<description>A Patch for RTX5</description>
<files>
<file category="source" name="os/perf_os_patch_rtx5.c"/>
Expand All @@ -402,7 +418,7 @@
</Pre_Include_Global_h>
</component>

<component Cclass="Utilities" Cversion="2.3.0" Cgroup="perf_counter" Csub="FreeRTOS Patch" condition="perf_counter">
<component Cclass="Utilities" Cversion="2.3.3" Cgroup="perf_counter" Csub="FreeRTOS Patch" condition="perf_counter">
<description>A Patch for FreeRTOS</description>
<files>
<file category="sourceC" name="os/perf_os_patch_freertos.c"/>
Expand All @@ -425,7 +441,7 @@ extern void __freertos_evr_on_task_switched_in(void *ptTCB, unsigned int uxTopPr
</Pre_Include_Global_h>
</component>

<component Cclass="Utilities" Cversion="2.3.0" Cgroup="perf_counter" Csub="RT-Thread Patch" condition="perf_counter">
<component Cclass="Utilities" Cversion="2.3.3" Cgroup="perf_counter" Csub="RT-Thread Patch" condition="perf_counter">
<description>A Patch for RT-Thread</description>
<files>
<file category="sourceC" name="os/perf_os_patch_rt_thread.c"/>
Expand All @@ -443,7 +459,7 @@ extern void __rt_thread_scheduler_hook(struct rt_thread *from, struct rt_thread
</Pre_Include_Global_h>
</component>

<component Cclass="Utilities" Cversion="2.3.0" Cgroup="perf_counter" Csub="ThreadX Patch" condition="perf_counter">
<component Cclass="Utilities" Cversion="2.3.3" Cgroup="perf_counter" Csub="ThreadX Patch" condition="perf_counter">
<description>A Patch for ThreadX</description>
<files>
<file category="sourceC" name="os/perf_os_patch_threadx.c"/>
Expand Down
4 changes: 2 additions & 2 deletions cmsis-pack/GorgonMeducer.pidx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<index schemaVersion="1.0.0" xs:noNamespaceSchemaLocation="PackIndex.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<vendor>GorgonMeducer</vendor>
<url>https://raw.githubusercontent.com/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/</url>
<timestamp>2024-07-6</timestamp>
<timestamp>2024-07-27</timestamp>
<pindex>
<pdsc url="https://raw.githubusercontent.com/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/" vendor="GorgonMeducer" name="perf_counter" version="2.3.2"/>
<pdsc url="https://raw.githubusercontent.com/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/" vendor="GorgonMeducer" name="perf_counter" version="2.3.3"/>
</pindex>
</index>

0 comments on commit f956cae

Please sign in to comment.