05-29-2015 03:08 PM - edited 07-07-2015 05:27 PM
I tried to use SDK2015.1 to generate the freeRTOS bsp with the repository from xilinx.
But if the BSP is generated by SDK2014.4 or older versions, it works well.
Hereby the console msgs FYI as well.
05-31-2015 10:02 AM - edited 05-31-2015 10:04 AM
it looks like most of the initial errors can be cleared up with a include of a file like stdint.h or types.h or similar.
06-10-2015 09:45 AM - edited 06-12-2015 09:40 AM
Thanks for your reply.
But these are the errors in BSP project, which is generated by SDK automatically. If adding these include files in the BSP project manually, these revisions may be deleted when the BSP project is regenerated in some situations.
I checked the xil_types.h file in the standlone BSP project, which is generated by SDK as well.
There are type definitions, like:
#if !defined(LONG) || !defined(ULONG)
typedef long LONG;
typedef unsigned long ULONG;
But the xil_types.h file in freeRTOS BSP doesn't include these type definitions. I tried to add these definitions manually into xil_types.h file, but SDK erases the code automatically after compilation.
07-13-2015 01:19 PM
Replace the Xil_types.h to the xil_types.h folder that you are using in the SDK from the standlone 5_1 that can be found at Xilinx/SDK/2015.2/standalone_version. Basically, the xil_types for 2015.2 have those typedefs defined.
Hope that solves the problem.
08-12-2015 11:01 AM
Thank you very much for your post.
I checked the file of xil_types.h in the folder of C:\Xilinx\SDK\2015.2\data\embeddedsw\lib\bsp\standalone_v5_1. It does include the data types which show in the previous error msg.
Then I deleted all the subfolders of standalone_v*_* except the standalone_v5_1 which contains the right xil_types.h file. Created a new freeRTOS BSP project again. The same errors still exist.
It turns out when freeRTOS bsp project was created, SDK2015.2 automatically copies a xil_types.h file to the bsp project. But this xil_types.h is NOT from C:\Xilinx\SDK\2015.2\data\embeddedsw\lib\bsp\standalone_v5_1
11-27-2015 06:19 AM
I have exact the same issue. Did you manage to find a solution?
I spent days on this and I can not say where SDK get this old xil_types.h. I put in all standalone_vX_X maps contents of standalone_v5_1. ( C:\Xilinx\SDK\2015.2\data\embeddedsw\lib\bsp )
But still when SDK generates BSP it get an old copy of standalone_v4_1. But I can not figure out where it gets it.
I would realy appreciate if someone has an answer?
I am using Vivado & SDK 2015.2.
01-21-2016 03:40 AM
I have had the same problem using BSP on Vivado 2015.3 and I have managed to solve the problem. As you have said before, the problem is that the type LONG is missing in some xil_types.h files under the folders standalone_vX.
However, modifying those files has no effect if you are using a repo. In that case, you should modify the content of the xil_types.h files included in the repo. For example, for the project used by sam025023 (https://secure.xilinx.com/webreg/clickthrough.do?cid=107743&license=RefDesLicense&filename=xapp1026.zip&languageID=1) you should modify all the xil_types.h files included.
I hope you can solve the problem by doing this.