You can set the memory for testing the embedded environment by setting the virtual memory address.

  1. Top menu [Window] > [Preferences] > [Unit Test] > [Virtual Address] > [Add…] Selection

https://manula.r.sizr.io/large/user/17513/img/img-virtual-address2-en.png

  1. After entering the name and range of the virtual address, click the [Add(A)] button

https://manula.r.sizr.io/large/user/17513/img/img-virtual-address3-en.png

  1. Right-click the project [Properties] > [Unit Test] > [Virtual Address] and select the registered virtual address range in the [Configuration Name] combo box

https://manula.r.sizr.io/large/user/17513/img/img-virtual-address4-en.png

  1. Using a macro to set a value to a virtual address in [Before call code] of the test structure editor

https://manula.r.sizr.io/large/user/17513/img/img-virtual-address5-en.png

  1. Edit test case values

https://manula.r.sizr.io/large/user/17513/img/img-virtual-address6-en.png