I have build ADuCM360_demo_cn0338 project and receiving below build error
Description Resource Path Location TypeSymbol '_command_help' could not be resolved Cmd.cpp /ADuCM360_demo_cn0338/src line 168 Semantic Error in cmd.cpp file
Also there are three more errors which although does not appear at compiler but appears in the cmd.ccp file when opened at line number 79 to 81 on below codes
MD_MAP(5, help, &CmdHelp, " Display available commands\t\t");CMD_MAP(run, &CmdRun, " Starts CN0338 measurements\t\t");CMD_MAP(resetTodefault, &CmdResetToDefault, " Reset system settings to default values");
I have downloaded this repository from github at https://github.com/analogdevicesinc/EVAL-ADICUP360/tree/master/projects/ADuCM360_demo_cn0338
Can anybody help me
Thanks in advance !
Does the compile succeed despite the errors, and they don't show up unless you open the specific file?
If yes, do try to run the example on your end. I think it should work. It is most likely a problem related to the indexer.
I will investigate, but the application should still work.
I was eagerly waiting for your reply, Please see in the attached picture the error is present even after build.
You are very right some errors are only apparent in the file but not reflecting in the problem tab except _command_help symbol error.
I tried my level best to correct it in this new IDE but unable to do that. I am aloo trying to modify the code to meet our application need but it also seems not very easy for me.
Also we are very familiar with Keil MDK IDE or IAR IDE, I took several attempts to convert it into these IDE's but was unsuccessful, can you please suggest with some porting guide to convert Cross core workspace into Keil MDk or IAR IDE's
Very thanks for your reply!
The error is only reported by the indexer in the IDE, but I think the compilation actually succeeds. In this case you can still run the program and make changes to it to develop your solution. I have not identified the problem yet, but you can delete the error marker by selecting it in the Problems view and pressing delete.
For your application will you be using the same controller? If yes, then you just have to make sure the your IDE of choice supports ADI software pack (which I think IAR and Keil do) and make sure to install them in the pack manager tool. If it's not the same controller you would have to implement the equivalent UART, GPIO, timer, flash and adc controls for your specific hardware.
As per your advice, after deleting the said error and I rebuild it and the error disappears.
Whereas I am using the same part ADuCM360 and have reproduced the same circuit in our application board and installed all packs in Keil MDK but still lot of issues. I am confused from where to start to convert into Keil MDK, it will be of great help if have some porting guide kind of document from Cross Core to Keil MDK. Otherwise I am retrying it with Keil IDE again.
But your support is admired by me!
Try this wiki article. It should be close to what you are trying to do. There are also some other articles similar to this on the wiki. Try searching for "keil" and see if something helpful pops up.