This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: Visual Studio cross compile setup (windows IDE setup)

Part Number: AM5728


Hi, I am working on a future project and start gathering information on how exact we can develop software on AM5728 EVM. 

This project uses AM5728 as a inter-media, it receives data from one PCIE and send out processed data to PC via another PCIE (custom board will be made) , so no display or anything graphical needed. 

The manager wants to try Visual Studio 2017 for this development, (I do realize that VS does not support gcc cross compile until v15.5 which was released Nov 2017, so there is barely any people doing it.) , because it will make it more unified as this is cross platform project on Windows/linux/embedded. I previously have some experience on Qt on this board, but have no clue on how to use visual studio 2017 to cross compile on the board.

I remember in Qt, I am able to choose the toolchain provided by TI in Qt, so that the program is compiled on PC, and just sent to the board, it will run.However, in VS, the only place is to change the compiler from default gcc to my own (arm-linux-gnueabihf-g++ from the SDK), it wasn't successful. 

First my question is: The project needs some 3rd party libraries such as g3log, in order to use it, we need to include the files in VS. Then compile it on PC, copy over the .out. Do I need to install or do anything on the board side? My understanding is that unlike Qt support that requires runtime libraries preinstalled onto the board system before running Qt application, small libraries typically don't need the runtime library.

Second question is: Does the SDK provide any support (toolchain ) for windows? like gdb.exe and gcc.exe, etc? 

And after some researching, I came up with a few solutions.

1, Somehow setup the VS so that it will work just like Qt does (as the Wiki site instructed), everything is compiled on PC, and nothing is required on the board, the program should just run.

2, Use VS basically as IDE, edit the code on PC, copy over all files to the board, run gcc remotely. But since this project is gonna be big in the future, without cmake on the board, it's going to be very hard to gcc build by myself.

3, CCS, if windows cross compile is not supported or not well supported, and have to use linux, I would go CCS as IDE, (should be able to follow Qt tutorial similarly to setup CCS cross compile, will looking to that)

4, Other ways of doing it on windows. like VisualGDB but I dont see this board is supported on it.