...
The standard library m will appear in the list as shown above.Click Apply and then Click OK to set the Libraries properly.
One other minor change to the xadc_test source code is required for it to build properly in this environment.
Click on xadc_test in the Project Explorer pane. Navigate to xadc_test -> src -> xadc_core.c then double click on it to open it in an edit window in SDK.
The current version will appear as shown in the right half of the WinMerge screen below. Make the following changes so it appears like the left half of the screen below:
- remove the first line that begins with typedef
- Move lines 2 through 11 to just after old line number 28.
{xadc_coreChanges.PNG}
Save the application by selecting File -> Save from the main menu bar.
We can now build the application software.
To be sure we are using the Release build options (for best performance), Right Click on the xadc_test project in the Project Explorer pane, then select Build Configurations -> Set Active -> Release