4.3. Automated Build with Makefile - 4.3. Automated Build with Makefile - 2025.1 English - XD346

SCU35 Environmental Monitoring Targeted Reference Design (XD346)

Document ID
XD346
Release Date
2026-04-09
Version
2025.1 English

The repository provides Makefiles to build and copy hardware and software images to the deploy area.

Running make build_sw builds the software components for the given configuration.

Here is an example build command.

cd $REPO_SRC
make build_sw

As the XSA file is not explicitly provided in above command, the build looks for the xsa file at output/scu35-prod-base/reference_images/environmental_monitoring.xsa. If the file is not present here, the build triggers the hardware build to generate the xsa file before building the software.

Here is the output for the above build.

output/
└── scu35-prod-base
    └── reference_images
        ├── environmental_monitoring_wrapper.pdi
        └── environmental_monitoring.xsa

Run make help in $REPO_SRC directory to see various build options.