File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1010# ~~~ 
1111
1212cmake_minimum_required (VERSION  3.19)
13+ set (CMAKE_C_COMPILER "/home/zephyruser/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc" )
14+ set (CMAKE_CXX_COMPILER "/home/zephyruser/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-g++" )
15+ set (CMAKE_ASM_COMPILER "/home/zephyruser/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc" )
16+ set (CMAKE_LINKER "/home/zephyruser/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-ld" )
1317project (arm_example)
1418
1519# Option to register op list 
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ if(NOT DEFINED ET_PTE_FILE_PATH AND NOT ${SEMIHOSTING})
2121  )
2222endif ()
2323
24- set (CMAKE_C_COMPILER arm-zephyr-eabi- gcc)
25- set (CMAKE_CXX_COMPILER arm-zephyr-eabi- g++)
24+ set (CMAKE_C_COMPILER "/home/zephyruser/zephyr-sdk-0.16.0/ arm-zephyr-eabi/bin/arm-zephyr-eabi- gcc"  )
25+ set (CMAKE_CXX_COMPILER "/home/zephyruser/zephyr-sdk-0.16.0/ arm-zephyr-eabi/bin/arm-zephyr-eabi- g++"  )
2626# Example ExecuTorch demo for bare metal Cortex-M based systems 
2727set (ET_DIR_PATH
2828    "../../.." 
Original file line number Diff line number Diff line change 9191#  Default Ethos-u tool folder override with --scratch-dir=<FOLDER>
9292ethos_u_scratch_dir=$( realpath ${ethos_u_scratch_dir} ) 
9393setup_path_script=${ethos_u_scratch_dir} /setup_path.sh
94- toolchain_cmake=${script_dir} /ethos-u-setup/arm-none-eabi-gcc.cmake
9594toolchain_cmake=${script_dir} /ethos-u-setup/arm-zephyr-eabi-gcc.cmake
9695_setup_msg=" please refer to ${script_dir} /setup.sh to properly install necessary tools." 
9796
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments