createbsp
Create a bsp project
Syntax
createbsp [OPTIONS]
Create a bsp project for the specified hardware and processor.
Options
Option | Description |
---|---|
-name <project-name> | Project name that should be created |
-proc <processor-name> | Processor instance that should be used for creating bsp project. |
-hwproject <hw project name> | Hardware project for which the application or bsp project should be created. |
-os <OS name> | OS type for the application project. Default type is standalone |
-mss <MSS File path> | MSS File path for creating BSP. This option can be used for creating a BSP from user mss file. When mss file is specified, then processor and os options will be ignored and processor/os details are extracted from mss file. |
-arch <arch-type> | Processor architecture, <arch-type> can be 32 or 64 bits. This option is used to build the project with 32/64 bit toolchain. This is valid only for A53 processors, defaults to 32-bit for other processors. |
Returns
Nothing, if the BSP project is created successfully. Error string, if invalid options are used or if the project cannot be created.
Example(s)
createbsp -name bsp1 -hwproject hw1 -proc ps7_cortexa9_0
Create a BSP project with name bsp1 from the hardware project hw1 for processor 'ps7_cortexa9_0'
createbsp -name bsp1 -hwproject hw1 -proc ps7_cortexa9_0 -os standalone
Create a BSP project with name bsp1 from the hardware project hw1 for processor 'ps7_cortexa9_0' and standalone OS.
createbsp -name bsp1 -hwproject hw1 -mss system.mss
Create a BSP project with name bsp1 with all the details from system.mss
createbsp -name bsp1 -hwproject hw1 -proc psu_cortexa53_0 -arch 32
Create a BSP project with name bsp1 for psu_cortexa53_0 using a 32 bit tool chain.