diff options
Diffstat (limited to 'targets/corstone-300')
-rw-r--r-- | targets/corstone-300/CMakeLists.txt | 2 | ||||
-rw-r--r-- | targets/corstone-300/target.cpp | 2 |
2 files changed, 2 insertions, 2 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" |