This is an old revision of the document!
Building Using Keil Studio Web IDE
Clone the Precision Converters Firmware repository into Keil Studio using “File→clone…” menu. The link to github repository is here:
precision-converters-firmware
Once the project repository is imported, wait until all library dependencies are imported as shown in below screenshot. Now, open the '.medignore' file present in the root directory of repository. Add comment syntax (two forward slashes) in front of the project name which you want to build. This will ignore all other projects and build only the comment syntax selected project.
Select the target device (default used for development is SDP-K1) and click on 'Clean build' option to build the project. After a successful compile a binary will be downloaded to your computer- store this on your drive. Drag and drop this binary to the
USB drive hosted by your controller board to flash the MCU.
Note: If you intend to build different project, then modify the .medignore file in the root directory as mentioned in step2 and clean build project as mentioned in step3
Building Using Make
Clone Precision Converter Repository into local drive of your PC:
git clone https://github.com/analogdevicesinc/precision-converters-firmware
Build Prerequisites
It is required to set up some environment variables so that the build process find the necessary tools.
Building a project
Open Command Prompt and change current directory to project directory which you want to build.
Run “make” command in the project directory. If you want to clean the previous build files and rebuild project, then run “make clean” followed with “make” command in Command Prompt.
After successful build, binary file is created into the Project_Name/build/TARGET_Name/COMPILER_Name directory.
NOTE: Default TARGET_Name is SDP_K1 and COMPILER_Name is
GCC_ARM.