Custom Template Exception

Sysprogs forums Forums VisualGDB Custom Template Exception

This topic contains 24 replies, has 2 voices, and was last updated by  sidprice 3 days, 2 hours ago.

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #13019

    support
    Keymaster

    Hi,

    This should normally be fixed by including the script in the template by adding it to the project before exporting it.

    However previously you have mentioned that you cannot do this because the build system complains. Please provide us the details on any errors you encounter when you try to add the second script before exporting the template.

    #13026

    sidprice
    Participant

    I added the secondary linker script to my reference project and got the following output:

     

    • This reply was modified 2 weeks, 5 days ago by  support. Reason: formatting
    #13031

    support
    Keymaster

    Hi,

    The warning message is actually legitimate: you have included multiple .ld files in your project, but didn’t specify via VisualGDB Project Properties which one is the main one. VisualGDB arbitrarily guesses the first one (and guesses it wrong).

    Please specify the linker script explicitly via VisualGDB Project Properties or change the file type of the unused linker script to “Does not participate in build”:

    Attachments:
    You must be logged in to view attached files.
    #13033

    sidprice
    Participant

    Thank you, this solved the build issue with the reference project and I was able to create a project using the generated template.

     

    Please ignore the attached file, it was uploaded in error.

    Sid

     

    • This reply was modified 2 weeks, 5 days ago by  sidprice.
    • This reply was modified 2 weeks, 5 days ago by  sidprice.
    Attachments:
    You must be logged in to view attached files.
    #13043

    sidprice
    Participant

    One small issue that could be improved upon.

    Note in my last post I uploaded a screen shot. I did this because when I tried to make a project using my template I was told to select a tool chain, even though the wizard had selected the right one. The screen shot shows that.

    I found that if I selected another toolchain then went back to the correct one the error went away, I did not realize this was the case so I changed my post to say it was working.

    This morning I tried the wizard again and got the same effect, it was resolved using the procedure I just described.

    Not a huge problem but one that may confuse others.

    Thanks,

    Sid

    #13077

    support
    Keymaster

    Hi,

    Sorry for the delayed reply. We have tried reproducing this with different toolchains and device settings, but could not get any similar behavior. Please ensure that you are using the latest VisualGDB 5.3R6. Please also feel free to share your template file with us. As it looks like a VisualGDB bug, we will be happy to fix it if we can reproduce the problem on our side.

    #13138

    sidprice
    Participant

    My turn to be slow responding. Attached is the custom template for your testing.

    Sid

    #13139

    sidprice
    Participant

    Once again your server rejected my file …

    Attachments:
    You must be logged in to view attached files.
    #13141

    support
    Keymaster

    Hi,

    Thanks, we have tried reproducing this with your template file, but unfortunately could not get anything similar. Most likely the problem is caused by some combination of installed/referenced toolchain versions. If this is too annoying, we can add extra diagnostic logging to the logic responsible for the toolchain selection, so it will explain what is causing this with your setup. Let us know if you would like to try it out.

    #13201

    sidprice
    Participant

    Thanks, it is annoying but not a show stopper. I would be happy to work with you to trace the issue if you would like,

    Sid

Viewing 10 posts - 16 through 25 (of 25 total)

You must be logged in to reply to this topic.