How to Compile And Deploy The Win10 IoT Experience App

2024.1.15by debix.io

1. Download the source code.

SPI:

https://github.com/microsoft/Windows-iotcore-samples/tree/develop/BusTools/SpiTestTool

I2C:

https://github.com/microsoft/Windows-iotcore-samples/tree/develop/BusTools/I2cTestTool

GPIO:

https://github.com/microsoft/Windows-iotcore-samples/tree/develop/BusTools/GpioTestTool

UART:

https://github.com/microsoft/Windows-iotcore-samples/tree/develop/Samples/SerialUART

Download all the apps via the command:

git clone https://github.com/microsoft/Windows-iotcore-samples.git


2. Compile.

Select ARM64 framework and compile.

3. Configuration Remote windows debugger.

·Please refer to the documentation:

https://learn.microsoft.com/en-us/visualstudio/debugger/remote-debugging-cpp?view=vs-2019


·Steps are as follows:

a. Install VS_RemoteTools.exe with the ARM64 version on DEBIX.

b. On DEBIX, run Remote Debugger as administrator.

c. On the PC, configure VS2019 for Debugging.

·Please refer to the documentation: 

https://learn.microsoft.com/en-us/visualstudio/debugger/remote-debugging-cpp?view=vs-2019


·The configuration steps are as follows:

①Right-click the project --> select "Configuration Properties" --> select "Debugging".

②Configure Working Directory, Remote Server Name, Debugger Type, Deloyment Directory and so on.

Note: Remote Server Name consists of the device name of DEBIX and the port number configured by VS_RemoteTools.

③Tick Deploy: In the Debugging tab of the project properties, click Configuration Manager, and then check "Deploy".

d. Run the deployment.

In VS2019, click Remote Windows Debugger. SpiTestTool.exe will be automatically deployed to DEBIX and run; as shown below: