petalinux-create apps Options - 2024.1 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2024-06-21
Version
2024.1 English

The petalinux-create apps command allows you to customize how application components are created. The following table details options that are common when creating applications within a PetaLinux project

Table 1. petalinux-create apps Options
Option Functional Description Value Range Default Value
--template TEMPLATE Create the component using a pre-defined application template. This is optional.
  • c
  • c++
  • autoconf
  • dfx_user_dts
  • dfx_dtg_zynq_full
  • dfx_dtg_zynqmp_full
  • dfx_dtg_versal_full
  • dfx_dtg_zynqmp_static
  • dfx_dtg_zynqmp_partial
  • dfx_dtg_versal_static
  • dfx_dtg_versal_partial
  • install
c
--enable Upon creating the component, enable it in the project’s root file system. You can also enable using the petalinux-config -c rootfs. This is optional. None Disabled
--srcuri Creates an application with local sources or from remote source. None None