1*** Variables ***
2${CPU}                        sysbus.cpu
3${UART}                       sysbus.uart
4${URI}                        @https://dl.antmicro.com/projects/renode
5${SCRIPT}                     ${CURDIR}/../../scripts/single-node/picosoc.resc
6
7*** Test Cases ***
8Should Run Sample Binary
9    [Documentation]           Runs a demo application on PicoSoC platform
10    [Tags]                    riscv  uart
11    Execute Command           $bin = ${URI}/icebreaker_fw.elf-s_14080-c09a99cd3716d6428af7700e19af66d7935ea438
12    Execute Script            ${SCRIPT}
13
14    Create Terminal Tester    ${UART}  endLineOption=TreatCarriageReturnAsEndLine
15    Start Emulation
16
17    Wait For Line On Uart     Press ENTER to continue..
18    Send Key To Uart          0xD
19    Wait For Prompt On Uart   Command>
20