resc: cmake: robot: Rename Renode variable

Rename Renode variable used to store the .elf file path from `bin` to
`elf` for consistency.

Signed-off-by: Michał Szprejda <mszprejda@antmicro.com>
This commit is contained in:
Michał Szprejda 2024-03-04 17:51:33 +01:00 committed by Alberto Escolar
commit 959ea1a172
9 changed files with 9 additions and 9 deletions

View file

@ -12,6 +12,6 @@ cpu PerformanceInMips 80
macro reset
"""
sysbus LoadELF $bin
sysbus LoadELF $elf
"""
runMacro $reset

View file

@ -12,6 +12,6 @@ cpu PerformanceInMips 4
macro reset
"""
sysbus LoadELF $bin
sysbus LoadELF $elf
"""
runMacro $reset

View file

@ -12,6 +12,6 @@ e51 PerformanceInMips 80
macro reset
"""
sysbus LoadELF $bin
sysbus LoadELF $elf
"""
runMacro $reset

View file

@ -12,6 +12,6 @@ cpu PerformanceInMips 4
macro reset
"""
sysbus LoadELF $bin
sysbus LoadELF $elf
"""
runMacro $reset

View file

@ -23,6 +23,6 @@ showAnalyzer uart0
macro reset
"""
sysbus LoadELF $bin
sysbus LoadELF $elf
"""
runMacro $reset

View file

@ -20,6 +20,6 @@ showAnalyzer uart0
macro reset
"""
sysbus LoadELF $bin
sysbus LoadELF $elf
"""
runMacro $reset

View file

@ -20,6 +20,6 @@ showAnalyzer uart0
macro reset
"""
sysbus LoadELF $bin
sysbus LoadELF $elf
"""
runMacro $reset

View file

@ -22,7 +22,7 @@ add_custom_target(run_renode
COMMAND
${RENODE}
${RENODE_FLAGS}
-e '$$bin=@${PROJECT_BINARY_DIR}/${KERNEL_ELF_NAME}\; include @${RENODE_SCRIPT}\; ${RENODE_OVERLAY} s'
-e '$$elf=@${PROJECT_BINARY_DIR}/${KERNEL_ELF_NAME}\; include @${RENODE_SCRIPT}\; ${RENODE_OVERLAY} s'
WORKING_DIRECTORY ${APPLICATION_BINARY_DIR}
DEPENDS ${logical_target_for_zephyr_elf}
USES_TERMINAL

View file

@ -2,6 +2,6 @@
*** Keywords ***
Prepare Machine
Execute Command $bin = ${ELF}
Execute Command $elf = ${ELF}
Execute Command include ${RESC}
Create Terminal Tester ${UART}