Skip to content

Commit

Permalink
update cmsis-pack
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Mar 12, 2024
1 parent 68d3396 commit d1755d7
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 23 deletions.
7 changes: 4 additions & 3 deletions GorgonMeducer.perf_counter.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
<repository type="git">https://github.com/GorgonMeducer/perf_counter.git</repository>

<releases>
<!--automatically generated content, please do not modify -->
<release version="9.9.9" tag="9.9.9">
Active development ...
<release date="2024-03-12" version="2.3.1" tag="v2.3.1" url="https://github.com/GorgonMeducer/perf_counter/releases/download/v2.3.1/GorgonMeducer.perf_counter.2.3.1.pack">
Release v2.3.1
- Fixed PMU-SysTick-overflow-miscounting issue
- Other minor changes.
</release>
<release date="2024-02-28" version="2.3.0" tag="v2.3.0" url="https://github.com/GorgonMeducer/perf_counter/releases/download/v2.3.0/GorgonMeducer.perf_counter.2.3.0.pack">
Release v2.3.0
Expand Down
Binary file not shown.
52 changes: 34 additions & 18 deletions cmsis-pack/GorgonMeducer.perf_counter.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
<repository type="git">https://github.com/GorgonMeducer/perf_counter.git</repository>

<releases>
<release version="2.3.0" date="2024-02-28" tag="v2.3.0" url="https://github.com/GorgonMeducer/perf_counter/releases/download/v2.3.0/GorgonMeducer.perf_counter.2.3.0.pack">
<release date="2024-03-12" version="2.3.1" tag="v2.3.1" url="https://github.com/GorgonMeducer/perf_counter/releases/download/v2.3.1/GorgonMeducer.perf_counter.2.3.1.pack">
Release v2.3.1
- Fixed PMU-SysTick-overflow-miscounting issue
- Other minor changes.
</release>
<release date="2024-02-28" version="2.3.0" tag="v2.3.0" url="https://github.com/GorgonMeducer/perf_counter/releases/download/v2.3.0/GorgonMeducer.perf_counter.2.3.0.pack">
Release v2.3.0
- Support porting to a different architecture
- Support Armv8.1-m PMU
Expand Down Expand Up @@ -212,32 +217,43 @@
<require condition="Armv8-M Processors"/>
</condition>

<condition id="Cortex-M Arm GCC CMSIS-CORE">
<description>Compile Cortex-M Processors with GNU Tools for Arm Embedded Processors.</description>
<require condition="Arm GCC"/>
<require condition="Cortex-M Processors"/>
<require condition="CMSIS-CORE"/>
</condition>

<condition id="Cortex-M Arm Compiler CMSIS-CORE">
<description>Compile Cortex-M Processors with GNU Tools for Arm Embedded Processors.</description>
<require condition="Arm Compiler"/>
<require condition="Cortex-M Processors"/>
<require condition="CMSIS-CORE"/>
</condition>

<condition id="Previous Generation Cortex-M Arm Compiler CMSIS-CORE">
<condition id="Default Porting">
<description>Reject PMU and other portings</description>
<deny Cclass="Utilities" Cgroup="perf_counter" Csub="Porting" Cvariant="PMU" />
<deny Cclass="Utilities" Cgroup="perf_counter" Csub="Porting" Cvariant="User Defined" />
</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"/>
<require condition="Previous Generation Cortex-M Processors"/>
<require condition="CMSIS-CORE"/>
<require condition="Default Porting"/>
</condition>
<condition id="Armv8-M Arm Compiler CMSIS-CORE">

<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"/>
<require condition="CMSIS-CORE"/>
<require condition="Default Porting"/>
</condition>

<condition id="Cortex-M Arm GCC CMSIS-CORE Default Porting">
<description>Compile Cortex-M Processors with GNU Tools for Arm Embedded Processors.</description>
<require condition="Arm GCC"/>
<require condition="Cortex-M Processors"/>
<require condition="CMSIS-CORE"/>
<require condition="Default Porting"/>
</condition>

</conditions>
<!-- apis section (optional - for Application Programming Interface descriptions) -->
Expand Down Expand Up @@ -271,15 +287,15 @@
-->

<components>
<component Cclass="Utilities" Cversion="2.3.0" Cgroup="perf_counter" Csub="Core" Cvariant="Source" isDefaultVariant="true" condition="CMSIS-CORE">
<component Cclass="Utilities" Cversion="2.3.1" 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"/>
<file category="sourceC" name="perf_counter.c" />
<file category="sourceC" name="perfc_port_default.c" />
<file category="sourceAsm" name="systick_wrapper_ual.s" condition="Previous Generation Cortex-M Arm Compiler CMSIS-CORE"/>
<file category="sourceAsm" name="systick_wrapper_gcc.S" condition="Cortex-M Arm GCC CMSIS-CORE"/>
<file category="sourceAsm" name="systick_wrapper_gnu.s" condition="Armv8-M Arm Compiler CMSIS-CORE"/>
<file category="sourceAsm" name="systick_wrapper_ual.s" condition="Previous Generation Cortex-M Arm Compiler CMSIS-CORE Default Porting"/>
<file category="sourceAsm" name="systick_wrapper_gcc.S" condition="Cortex-M Arm GCC CMSIS-CORE Default Porting"/>
<file category="sourceAsm" name="systick_wrapper_gnu.s" condition="Armv8-M Arm Compiler CMSIS-CORE Default Porting"/>
</files>
<RTE_Components_h>

Expand All @@ -292,7 +308,7 @@
</Pre_Include_Global_h>
</component>

<component Cclass="Utilities" Cversion="2.3.0" Cgroup="perf_counter" Csub="Core" Cvariant="SourceNoWrapper" isDefaultVariant="false" condition="CMSIS-CORE">
<component Cclass="Utilities" Cversion="2.3.1" 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 All @@ -305,7 +321,7 @@
</RTE_Components_h>
</component>

<component Cclass="Utilities" Cversion="1.0.2" Cgroup="perf_counter" Csub="Porting" Cvariant="User Defined" isDefaultVariant="false" condition="perf_counter">
<component Cclass="Utilities" Cversion="1.0.3" Cgroup="perf_counter" Csub="Porting" Cvariant="User Defined" isDefaultVariant="false" condition="perf_counter">
<description>A user define system timer</description>
<files>
<file category="sourceC" name="template/perfc_port_user.c" attr="config" version="1.0.2"/>
Expand All @@ -317,15 +333,15 @@
</RTE_Components_h>

<Pre_Include_Global_h>

#define __PERFC_USE_PORTING__ 1
#define __PERFC_USE_USER_CUSTOM_PORTING__ 1
#define __PERFC_CFG_DISABLE_DEFAULT_SYSTICK_PORTING__ 1
#define __PERFC_CFG_PORTING_INCLUDE__ "perfc_port_user.h"

</Pre_Include_Global_h>
</component>

<component Cclass="Utilities" Cversion="1.1.0" Cgroup="perf_counter" Csub="Porting" Cvariant="PMU" isDefaultVariant="true" condition="PMU Devices">
<component Cclass="Utilities" Cversion="1.1.1" Cgroup="perf_counter" Csub="Porting" Cvariant="PMU" isDefaultVariant="true" condition="PMU Devices">
<description>Using the Performande Monitor Unit</description>
<files>
<file category="sourceC" name="perfc_port_pmu.c"/>
Expand All @@ -337,7 +353,7 @@
</RTE_Components_h>

<Pre_Include_Global_h>

#define __PERFC_USE_PORTING__ 1
#define __PERFC_USE_PMU_PORTING__ 1
#define __PERFC_CFG_DISABLE_DEFAULT_SYSTICK_PORTING__ 1
#define __PERFC_CFG_PORTING_INCLUDE__ "perfc_port_pmu.h"
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://github.com/raw/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/</url>
<timestamp>2024-02-28</timestamp>
<timestamp>2024-03-12/timestamp>
<pindex>
<pdsc url="https://github.com/raw/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/" vendor="GorgonMeducer" name="perf_counter" version="2.3.0"/>
<pdsc url="https://github.com/raw/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/" vendor="GorgonMeducer" name="perf_counter" version="2.3.1"/>
</pindex>
</index>

0 comments on commit d1755d7

Please sign in to comment.