Wiki

The most recent version of this page is a draft.DiffThis version is outdated by a newer approved version.DiffThis version (26 Dec 2022 20:02) was approved by Mahesh Phalke.The Previously approved version (25 Dec 2022 13:03) is available.Diff

This is an old revision of the document!


Precision Converters Firmware Build Guide for Mbed Platform

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.

Necessary tools and configuration

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.
resources/tools-software/product-support-software/pcg-fw-mbed-build-guide.1672058113.txt.gz · Last modified: 26 Dec 2022 13:35 by Chandrakant Minajigi