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 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'targets/corstone-300') 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" -- cgit v1.2.1