From 204210b1074071532627da9dc69950d058a809f4 Mon Sep 17 00:00:00 2001 From: Ledion Daja Date: Tue, 15 Aug 2023 13:32:07 +0200 Subject: Fix minor typos and naming in comments Change-Id: Ie0c57c520d591016855239a502eaf74d23b418fe Signed-off-by: Ledion Daja --- targets/corstone-300/CMakeLists.txt | 2 +- targets/corstone-300/target.cpp | 2 +- targets/corstone-310/CMakeLists.txt | 4 ++-- targets/corstone-310/target.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/targets/corstone-300/CMakeLists.txt b/targets/corstone-300/CMakeLists.txt index dfa2792..62205bb 100644 --- a/targets/corstone-300/CMakeLists.txt +++ b/targets/corstone-300/CMakeLists.txt @@ -81,7 +81,7 @@ set(TRUSTZONE_BUILD ON) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common target) target_compile_definitions(ethosu_target_common INTERFACE - # Confiugure NPU architecture and number of timing adapters + # Configure NPU architecture and number of timing adapters ETHOSU_NPU_COUNT=${ETHOSU_TARGET_NPU_COUNT} ETHOSU_NPU_TA_COUNT=${ETHOSU_TARGET_NPU_TA_COUNT} diff --git a/targets/corstone-300/target.cpp b/targets/corstone-300/target.cpp index f186ddf..f52a5db 100644 --- a/targets/corstone-300/target.cpp +++ b/targets/corstone-300/target.cpp @@ -252,7 +252,7 @@ void HardFault_Handler() { struct ExcContext *e; uint32_t sp; - asm volatile("mrs %0, ipsr \n" // Read IPSR (Exceptio number) + asm volatile("mrs %0, ipsr \n" // Read IPSR (Exception number) "sub %0, #16 \n" // Get it into IRQn_Type range "tst lr, #4 \n" // Select the stack which was in use "ite eq \n" diff --git a/targets/corstone-310/CMakeLists.txt b/targets/corstone-310/CMakeLists.txt index 62b06ea..d1c151f 100644 --- a/targets/corstone-310/CMakeLists.txt +++ b/targets/corstone-310/CMakeLists.txt @@ -59,7 +59,7 @@ project(ethos-u-corstone-310 VERSION 0.0.1) include(${CMAKE_CURRENT_SOURCE_DIR}/../../cmake/helpers.cmake) ############################################################################# -# Corstone-Polaris +# Corstone-310 ############################################################################# get_filename_component(ETHOSU_TARGET ${CMAKE_CURRENT_SOURCE_DIR} NAME) @@ -83,7 +83,7 @@ set(TRUSTZONE_BUILD OFF) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common target) target_compile_definitions(ethosu_target_common INTERFACE - # Confiugure NPU architecture and number of timing adapters + # Configure NPU architecture and number of timing adapters ETHOSU_NPU_COUNT=${ETHOSU_TARGET_NPU_COUNT} ETHOSU_NPU_TA_COUNT=${ETHOSU_TARGET_NPU_TA_COUNT} diff --git a/targets/corstone-310/target.cpp b/targets/corstone-310/target.cpp index 915ba0d..ea20077 100644 --- a/targets/corstone-310/target.cpp +++ b/targets/corstone-310/target.cpp @@ -254,7 +254,7 @@ void HardFault_Handler() { struct ExcContext *e; uint32_t sp; - asm volatile("mrs %0, ipsr \n" // Read IPSR (Exceptio number) + asm volatile("mrs %0, ipsr \n" // Read IPSR (Exception number) "sub %0, #16 \n" // Get it into IRQn_Type range "tst lr, #4 \n" // Select the stack which was in use "ite eq \n" -- cgit v1.2.1