sidprice

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 126 total)
  • Author
    Posts
  • in reply to: Disable ARM Semi Hosting #20164
    sidprice
    Participant

    I have got my base project to compiler and link. I had to add one more linker option “-nostartfiles”, this fixed the above error.

    Now I will proceed to create a template from this project and then rebuild my real project using that template.

    Regards,

    Sid

    in reply to: Disable ARM Semi Hosting #20162
    sidprice
    Participant

    Thanks, I forget that many options may be set in the MS Build Properties dialog.

    I have my custom linker script installed and now I am getting a linker error that I do not understand. Any pointers would be much appreciated. I have attached the verbose output log.

    Sid

    Attachments:
    You must be logged in to view attached files.
    in reply to: Disable ARM Semi Hosting #20155
    sidprice
    Participant

    I am trying and failing to get a non-standalone project to do what I need. I am doing this so that I can then generate a custom template for my projects. These projects need to use libOpenCM3 and this is not an option in VGDB.

    First I created a new embedded project for STM32F401RE, choosing the simple HAL-Blink example.

    Then, because I do not want to use HAL I need to use libOpenCM3, I removed that package from the project using the VGDB properties dialog.

    I also selected the Newlib-nano with floating point support in printf (required) and hardware floating point in the VGDB properties dialog.

    No semihosting was also selected.

    Since libOpenCM3 library brings the startup file I deleted startup_stm32f401rexe.c from the project.

    I also need the project to use my linker script, however, I see no way of doing this in the VGDB properties dialogs, the default linker script is in the file “stm32.props”, however there is a warning there to not edit that file.

    So, how can I get my script used?

    Sid

     

    in reply to: Disable ARM Semi Hosting #20149
    sidprice
    Participant

    My code needs to use printf through a USB-UART for a configuration interface for the device.

    It looks like I really have no option but to create a new project, this is so disappointing and something the project schedule could do without.

    Sid

    in reply to: Disable ARM Semi Hosting #20146
    sidprice
    Participant

    I created the project from a custom template and do not think I converted it to standalone, perhaps the template was standalone. It took a long time to get this project building correctly. The custom template was created in order to have a template for libOpenCM3.

     

    Is there no way to change the project options to turn semihosting off?

    Sid

    in reply to: Disable ARM Semi Hosting #20143
    sidprice
    Participant

    That would be a huge job, it is a large project and would take a long time. Is there no other way to do this.

     

    Not being able to easily migrate projects when there are toolchain updates and is a poor user experience,

    Sid

    in reply to: Disable ARM Semi Hosting #20133
    sidprice
    Participant

    Thanks for the reply, I don’t have mention of rdimon.specs in my LDFLAGS:

    -Wl,–defsym,_stack=0x20006000  -Wl,-T,src/platforms/stm32/f4discovery.ld -nostartfiles  -lc -lnosys -Wl,-Map=mapfile -mthumb -mcpu=cortex-m4 -Wl,-gc-sections -mfloat-abi=hard -mfpu=fpv4-sp-d16

    So, I am a bit lost with your instructions,

    Sid

    in reply to: Disable ARM Semi Hosting #20100
    sidprice
    Participant

    Screenshot,

    Sid

    Attachments:
    You must be logged in to view attached files.
    in reply to: Disable ARM Semi Hosting #20086
    sidprice
    Participant

    Thanks, the options are not available in my project. However, on the “Embedded Debug Tweaking” option page I see the enable/disable setting.

    Sid

    in reply to: Issue with Clang #17256
    sidprice
    Participant

    By setting that option to zero I assume that renaming is now non-functional?

    Sid

    in reply to: Issue with Clang #13501
    sidprice
    Participant

    I would accept the explanation if the red box could be removed without having to close the file, that does not seem like proper behavior and it counter-productive when one is writing code. Clicking on the “light bulb” options does not remove it.

    Sid

    in reply to: Issue with Clang #13486
    sidprice
    Participant

    Thanks for the suggestion but that cannot be the problem because it happens when I type a function for the first time. As I said if I make a mistake typing the function name, then go back to correct it the red box appears and will not go away until I close the file and reopen it. At the time there is no header file that has the function name.

    Easy to reproduce:

    1. type “void aFuntion(void)
    2. Before hitting enter go back and correct the function name to be “aFunction”
    3. go to end of the line and hit enter
    4. Now you have red box until closing and reopening the file.

    Sid

    Sid

    in reply to: Custom Template Exception #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

    in reply to: Custom Template Exception #13139
    sidprice
    Participant

    Once again your server rejected my file …

    Attachments:
    You must be logged in to view attached files.
    in reply to: Custom Template Exception #13138
    sidprice
    Participant

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

    Sid

Viewing 15 posts - 31 through 45 (of 126 total)