diff --git a/GorgonMeducer.perf_counter.pdsc b/GorgonMeducer.perf_counter.pdsc index cf1515b..8cf3520 100644 --- a/GorgonMeducer.perf_counter.pdsc +++ b/GorgonMeducer.perf_counter.pdsc @@ -19,6 +19,7 @@ - Update stop_cycle_counter prototype to solve return-value-overflow issue - Provide timer service for EventRecorder automatically + - Remove the bundle from cmsis-pack - Add Coremark @@ -229,10 +230,7 @@ --> - - A dedicated performance counter for Cortex-M systick. - documents/Doxygen/html/index.html - + A dedicated performance counter for Cortex-M systick. @@ -250,7 +248,7 @@ #define __PERF_COUNTER_CFG_USE_SYSTICK_WRAPPER__ 1 - + A dedicated performance counter for Cortex-M systick. @@ -270,7 +268,7 @@ - + Coremark @@ -293,7 +291,7 @@ - + A Patch for RTX5 @@ -305,7 +303,7 @@ - + A Patch for FreeRTOS @@ -328,7 +326,7 @@ extern void __freertos_evr_on_task_switched_in(void *ptTCB, unsigned int uxTopPr - + A Patch for RT-Thread @@ -346,7 +344,7 @@ extern void __rt_thread_scheduler_hook(struct rt_thread *from, struct rt_thread - + A Patch for ThreadX @@ -359,14 +357,13 @@ extern void __rt_thread_scheduler_hook(struct rt_thread *from, struct rt_thread - - - + diff --git a/README.md b/README.md index 5de952d..29daaf6 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,9 @@ If you have not modify anything in `EventRecorderConf.h`, **you don't have to an Invalid Time Stamp Source selected in EventRecorderConf.h! ``` -Please ignore it, or you can set the macro `EVENT_TIMESTAMP_SOURCE` to `3` to suppress it. +Please set the macro `EVENT_TIMESTAMP_SOURCE` to `3` to suppress it. + +**IMPORTANT**: Please always make sure the macro `EVENT_TIMESTAMP_FREQ` is `0` @@ -370,6 +372,19 @@ void SysTick_Handler(void) **NOTE**: If you deploy perf_counter using cmsis-pack and encounter this issue, please **DO NOT** call function `user_code_insert_to_systick_handler()` in this **should-be-empty** `SysTick_Handler()`. +### 3.2 Why I see perf_counter is in red in MDK project manager? + +Since version v2.1.0 I removed the unnecessary bundle feature from the cmsis-pack, hence causing this problem if you have used the older version. + +Sovlving this problem is simple: + +1. please unselect ALL the performance components in RTE, press OK and close the uVision. +2. reopen the mdk project and select the perf_counter components in RTE + + + +Sorry about this. + ## 4. License diff --git a/cmsis-pack/GorgonMeducer.perf_counter.2.1.0.pack b/cmsis-pack/GorgonMeducer.perf_counter.2.1.0.pack index ad97a7b..e555a70 100644 Binary files a/cmsis-pack/GorgonMeducer.perf_counter.2.1.0.pack and b/cmsis-pack/GorgonMeducer.perf_counter.2.1.0.pack differ diff --git a/cmsis-pack/GorgonMeducer.perf_counter.pdsc b/cmsis-pack/GorgonMeducer.perf_counter.pdsc index cf1515b..8cf3520 100644 --- a/cmsis-pack/GorgonMeducer.perf_counter.pdsc +++ b/cmsis-pack/GorgonMeducer.perf_counter.pdsc @@ -19,6 +19,7 @@ - Update stop_cycle_counter prototype to solve return-value-overflow issue - Provide timer service for EventRecorder automatically + - Remove the bundle from cmsis-pack - Add Coremark @@ -229,10 +230,7 @@ --> - - A dedicated performance counter for Cortex-M systick. - documents/Doxygen/html/index.html - + A dedicated performance counter for Cortex-M systick. @@ -250,7 +248,7 @@ #define __PERF_COUNTER_CFG_USE_SYSTICK_WRAPPER__ 1 - + A dedicated performance counter for Cortex-M systick. @@ -270,7 +268,7 @@ - + Coremark @@ -293,7 +291,7 @@ - + A Patch for RTX5 @@ -305,7 +303,7 @@ - + A Patch for FreeRTOS @@ -328,7 +326,7 @@ extern void __freertos_evr_on_task_switched_in(void *ptTCB, unsigned int uxTopPr - + A Patch for RT-Thread @@ -346,7 +344,7 @@ extern void __rt_thread_scheduler_hook(struct rt_thread *from, struct rt_thread - + A Patch for ThreadX @@ -359,14 +357,13 @@ extern void __rt_thread_scheduler_hook(struct rt_thread *from, struct rt_thread - - - +