T32 Simulator: Basic Instruction set sim for ARMM3
The T32 can simulate bare instruction sets without periphery. For the Cortex-M3 we have complete NVIC model including Systick Timer. Currently a simple CiAO can run on the simulator. TODO: - Let memlogger log all memory accesses. - Interact with FailT32 for a complete simulation/FI
This commit is contained in:
22
scripts/t32cmm/armm3/CMakeLists.txt
Normal file
22
scripts/t32cmm/armm3/CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
### Configure cmm Scripts for ARM Cortex-M3
|
||||
|
||||
if(EXISTS $ENV{T32SYS})
|
||||
SET(T32_SYS $ENV{T32SYS})
|
||||
else()
|
||||
message(FATAL_ERROR "Please set env variable T32SYS to valid T32 installation base directory.")
|
||||
endif(EXISTS $ENV{T32SYS})
|
||||
|
||||
if(T32_SIMULATOR)
|
||||
set(T32_OFF_FOR_SIM ";")
|
||||
else()
|
||||
set(T32_OFF_FOR_SIM " ")
|
||||
endif()
|
||||
|
||||
|
||||
set(T32_EXE "${T32_EXE}/t32marm-qt" CACHE INTERNAL "")
|
||||
set(T32_CPUNAME STM32F103RG CACHE PATH "CPU name for SYSTEM.CPU call. (e.g. STM32F103RG)")
|
||||
configure_file(armm3cfg.cmm.in ${PROJECT_BINARY_DIR}/cmm/armm3cfg.cmm)
|
||||
configure_file(init.cmm.in ${PROJECT_BINARY_DIR}/cmm/init.cmm )
|
||||
configure_file(loadelf.cmm ${PROJECT_BINARY_DIR}/cmm/loadelf.cmm COPYONLY)
|
||||
configure_file(t32term.cmm ${PROJECT_BINARY_DIR}/cmm/t32term.cmm COPYONLY)
|
||||
|
||||
Reference in New Issue
Block a user