From 68d33968ab1967040cae8cd913d1ab9be9dd8c26 Mon Sep 17 00:00:00 2001 From: Gabriel Wang Date: Tue, 12 Mar 2024 01:14:44 +0000 Subject: [PATCH] minor update --- README.md | 2 +- example/gcc_example.uvprojx | 8 ++++---- perf_counter.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a205d14..c2c6992 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# perf_counter (v2.3.0) +# perf_counter (v2.3.1) A dedicated performance counter for Cortex-M Systick. It shares the SysTick with users' original SysTick function(s) without interfering with it. This library will bring new functionalities, such as performance counter,` delay_us` and `clock()` service defined in `time.h`. ### Features: diff --git a/example/gcc_example.uvprojx b/example/gcc_example.uvprojx index acf8ed4..257e203 100644 --- a/example/gcc_example.uvprojx +++ b/example/gcc_example.uvprojx @@ -15,8 +15,8 @@ ARMCM0 ARM - ARM.CMSIS.5.9.0 - http://www.keil.com/pack/ + ARM.Cortex_DFP.1.0.0 + https://www.keil.com/pack/ IRAM(0x20000000,0x00020000) IROM(0x00000000,0x00040000) CPUTYPE("Cortex-M0") CLOCK(12000000) ESEL ELITTLE @@ -429,8 +429,8 @@ ARMCM0 ARM - ARM.CMSIS.5.9.0 - http://www.keil.com/pack/ + ARM.Cortex_DFP.1.0.0 + https://www.keil.com/pack/ IRAM(0x20000000,0x00020000) IROM(0x00000000,0x00040000) CPUTYPE("Cortex-M0") CLOCK(12000000) ESEL ELITTLE diff --git a/perf_counter.h b/perf_counter.h index 525cd2f..6eb939b 100644 --- a/perf_counter.h +++ b/perf_counter.h @@ -42,7 +42,7 @@ extern "C" { #define __PERF_COUNTER_VER_MINOR__ 3 #define __PERF_COUNTER_VER_REVISE__ 1 -#define __PERF_COUNTER_VER_STR__ "dev" +#define __PERF_COUNTER_VER_STR__ "" #define __PER_COUNTER_VER__ (__PERF_COUNTER_VER_MAJOR__ * 10000ul \ +__PERF_COUNTER_VER_MINOR__ * 100ul \ @@ -365,7 +365,7 @@ __asm(".global __ensure_systick_wrapper\n\t"); __perf_counter_printf__("\r\n"); \ __perf_counter_printf__("-[Cycle Report]"); \ __perf_counter_printf__( \ - "--------------------------------------------\r\n"); \ + "------------------------------------\r\n"); \ __perf_counter_printf__( \ __STR " total cycle count: %ld [%08lx]\r\n", \ (long)_, (long)_); \