06-17-2019 08:07 AM
I have a application program that I need to build for two different boards. one is a SDR board and another is a ultrazed board. While the application is same for both the boards, I need to create separate builds for each of them. Is there any way I can include mulitple HDF files in petalinux build and in my code specify to check which board the code is working for ? Is there any way to also include some global variables during the build which I can use to check if the HDF/board used is of a particular type or not just like building an application which runs on windows and linux both by specifying "ifdef win32" pre-processor statements.
Please also let me know if there can be an alternate method to achieve this task.
06-26-2019 08:27 PM
I think it is not recommended to build multiple HDF at a time.
We always reommend one HDF for one Petalinux project.