1*** Variables *** 2${UART} sysbus.usart2 3${URI} @https://dl.antmicro.com/projects/renode 4 5${MB85RC1MT}= SEPARATOR= 6... """ ${\n} 7... using "platforms/cpus/stm32l072.repl" ${\n} 8... ${\n} 9... mb85rc1mt_base: I2C.MB85RC1MT ${\n} 10... ${\n} 11... mb85rc1mt_lo: I2C.MB85RC1MTLo @ i2c1 0x50 ${\n} 12... ${SPACE*4}mb85rc1mt: mb85rc1mt_base ${\n} 13... ${\n} 14... mb85rc1mt_hi: I2C.MB85RC1MTHi @ i2c1 0x51 ${\n} 15... ${SPACE*4}mb85rc1mt: mb85rc1mt_base ${\n} 16... """ 17 18*** Keywords *** 19Create Machine 20 [Arguments] ${elf} 21 Execute Command mach create 22 Execute Command machine LoadPlatformDescriptionFromString ${MB85RC1MT} 23 Execute Command sysbus LoadELF ${URI}/${elf} 24 25*** Test Cases *** 26Should Read Write Single Byte In Lower Half 27 Create Machine b_l072z_lrwan1--zephyr-mb85rc1mt_test_single_rw_lo.elf-s_600916-15dc98eb4c8dc5994e41aca035997b11ef862e15 28 Create Terminal Tester ${UART} 29 30 Wait For Line On Uart single rw succesful 31 32Should Read Write Single Byte In Upper Half 33 Create Machine b_l072z_lrwan1--zephyr-mb85rc1mt_test_single_rw_hi.elf-s_600908-ca570f42e3f67a9f8b5a6a4eefe9e755ee443327 34 Create Terminal Tester ${UART} 35 36 Wait For Line On Uart single rw succesful 37 38Should Read Write Multiple Bytes 39 Create Machine b_l072z_lrwan1--zephyr-mb85rc1mt_test_multiple_rw.elf-s_600964-8ed0caa4fbb6f9a9bcfc77e43c00dc57c95a5f6c 40 Create Terminal Tester ${UART} 41 42 Wait For Line On Uart multiple rw succesful 43 44Should Read Write Multiple Bytes On Address Boundary 45 Create Machine b_l072z_lrwan1--zephyr-mb85rc1mt_test_multiple_rw_halves_boundary.elf-s_600972-30d5e09c8ebc57bab9472c80d49defbf79f4fbc4 46 Create Terminal Tester ${UART} 47 48 Wait For Line On Uart multiple rw succesful 49 50Should Not Modify Data When Write Protection Is Active 51 Create Machine b_l072z_lrwan1--zephyr-mb85rc1mt_test_write_protection.elf-s_600892-1f9ae182df41a1e432a1c24a32cc6b3c83b4d35f 52 Create Terminal Tester ${UART} 53