Skip to content

Commit

Permalink
Enable Cortex-M33 target in KWS example
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertRostohar committed Sep 28, 2023
1 parent 21a3dc1 commit f0a6a09
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions mlek-kws/MLOps.csolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ solution:
# trustzone: off
# variables:
# - Target-Layer: ../Target/CM23/Target.clayer.yml
# - type: CM33
# device: ARMCM33
# processor:
# trustzone: off
# variables:
# - Target-Layer: ../Target/CM33/Target.clayer.yml
- type: CM33
device: ARMCM33
processor:
trustzone: off
variables:
- Target-Layer: ../Target/CM33/Target.clayer.yml
- type: CM55
device: ARMCM55
processor:
Expand Down
4 changes: 2 additions & 2 deletions mlek-kws/Model/RTE/Machine_Learning/micro_time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ uint32_t GetCurrentTimeTicks() {

if (!is_initialized) {
#if (!defined(TF_LITE_STRIP_ERROR_STRINGS) && !defined(ARMCM0) && \
!defined(ARMCM0plus))
!defined(ARMCM0P) && !defined(ARMCM23))
#ifdef ARM_MODEL_USE_PMU_COUNTERS
ARM_PMU_Enable();
DCB->DEMCR |= DCB_DEMCR_TRCENA_Msk;
Expand All @@ -86,7 +86,7 @@ uint32_t GetCurrentTimeTicks() {
}

#if (!defined(TF_LITE_STRIP_ERROR_STRINGS) && !defined(ARMCM0) && \
!defined(ARMCM0plus))
!defined(ARMCM0P) && !defined(ARMCM23))
#ifdef ARM_MODEL_USE_PMU_COUNTERS
return ARM_PMU_Get_CCNTR();
#else
Expand Down
1 change: 1 addition & 0 deletions mlek-kws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Base Directory: `mlek-kws`
| CM4 | Cortex-M4 | VHT_MPS2_Cortex-M4 |
| CM4_FP | Cortex-M4_FP | VHT_MPS2_Cortex-M4 |
| CM7 | Cortex-M7 | VHT_MPS2_Cortex-M7 |
| CM33 | Cortex-M33 | VHT_MPS2_Cortex-M33 |
| CM55 | Cortex-M55 | VHT_MPS3_Corstone_SSE-300 |
| CM85 | Cortex-M85 | VHT_Corstone_SSE-310 |
| CM55_Ethos | Cortex-M55 with Ethos-U55 | VHT_Corstone_SSE-300_Ethos-U55 |
Expand Down

0 comments on commit f0a6a09

Please sign in to comment.