General Options
The following command line options are applicable to anysdscc
invocation or display information for the user.
-sds-pf platform_name
Specify the target platform that defines the base system hardware and software, including operation system and boot files. Theplatform_name
can be the name of a platform in the SDSoC™ environment installation, or a file path to a folder containing platform files, with the last component of the path matching the platform name. The platform defines the base hardware and software, including operation system and boot files. Use this option when compiling accelerator source files and when linking the ELF file. Use the–sds-pf-list
option to list available platforms.
-sds-pf-info platform_name
Display general information about a platform. Use the–sds-pf-list
option to list available platforms. The information displayed includes available system configurations that can be specified with the-sds-sys-config
system_configuration option.
-sds-pf-list
Display a list of available platforms and exit (no other options are specified). The information displayed includes available system configurations that can be specified with the-sds-sys-config
system_configuration option.
-sds-sys-config configuration_name
Specify the system configuration that defines the software platform used, which includes the target operating system and other settings. The-sds-pf-list
and-sds-pfinfo
options can be used to list the available system configurations for a platform. When the-sds-sys-config
option is used, do not specify the-target-os
option. If the-sds-sys-config
option is not specified, the default system configuration is used.
-sds-proc processor_name
Specify the processor name to use with the system configuration defined by the-sds-sys-config
option. A system configuration normally specifies a target CPU, and this option is not required.
-target-os os_name
sdscc
.
os_name
can be one of the following:
linux
: for the Linux OS. This is the default if the command line contains no-target-os
optionstandalone
: for standalone or bare-metal applicationsfreertos
: for FreeRTOS
If the-sds-sys-config
system_configuration option is specified, do not specify the-target-os
option, because a system configuration itself defines a target operating system. If you do not specify the-sds-sys-config
but do specify the-target-os
option, SDSoC searches for a system configuration with an OS that matches the one specified by-target-os
.
-verbose
Print verbose output to STDOUT.
-version
Print thesdscc
version information to STDOUT.
--help
Print command line help information. Note that two consecutive hyphen or dash characters-
are used.
The following command line options are applicable only tosdscc
invocations used to compile a source file.
-mno-ir
Suppress the generation of an intermediate representation (IR) for a source file that does not contain hardware accelerators or their callers. This option is not used unless needed to override an error condition during compilation of a specific source file (do not apply this option to every source file), for example IR generation does not handle source files containing Zynq NEON intrinsics. By default, an IR is created for each source file when it is compiled and used in the analysis of the application program.