1*** Variables *** 2${UART} sysbus.uart0 3${URI} @https://dl.antmicro.com/projects/renode 4 5*** Keywords *** 6Create Machine 7 Execute Command mach create 8 Execute Command machine LoadPlatformDescription @platforms/boards/arduino_nano_33_ble.repl 9 10 Execute Command sysbus LoadELF ${URI}/arduino_nano_33_ble--tf_magic_wand.elf-s_7482772-5722cd8b1dd7b040366cbc259f5175b62aa4496c 11 12*** Test Cases *** 13Should Detect RING Motion 14 Create Machine 15 Create Terminal Tester ${UART} 16 17 # This line must use the "path" notation to handle paths with spaces 18 Execute Command sysbus.twi0.lsm9ds1_imu FeedAccelerationSample "${CURDIR}${/}circle_rotated.data" 19 20 Start Emulation 21 Wait For Line On Uart Magic starts 22 Wait For Line On Uart RING: 23 24Should Detect SLOPE Motion 25 Create Machine 26 Create Terminal Tester ${UART} 27 28 # This line must use the "path" notation to handle paths with spaces 29 Execute Command sysbus.twi0.lsm9ds1_imu FeedAccelerationSample "${CURDIR}${/}angle_rotated.data" 30 31 Start Emulation 32 Wait For Line On Uart Magic starts 33 Wait For Line On Uart SLOPE: 34 35 36