zharijs

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • zharijs
    Participant

    Either I am doing something really wrong, or it does not work like that. As far as my experimenting goes, the Custom Step in Linker settings from Configuration Properties are is called before the *.bin file is generated, so no matter if I make a bat file or add lines to command line option – they are always called before the *.bin so they always fail.

    Now, I could add the segment rename script not to the end of bootloader build but at the start of main project build, but I can’t find any way to do that.

    zharijs
    Participant

    Linker settings post-build script allows only one line and one command to be run. Maybe you could explain / show on example, how to “port” step 16 from this example to MSbuild project: https://visualgdb.com/tutorials/arm/bootloader/

    Everything else I have figured out, that’s the only issue left.

    zharijs
    Participant

    Hi.

    Is there a chance to have Custom Build Settings in “Embedded” version? I am asking because with advertising to use MSBuild instead of makefile project and not allowing to use Custom build settings, you are killing the previous functionality. For instance now there seems to be no way to make a bootloader in a different project and insert it in to the main project, as there is no way to call the objcopy to rename the .data field. If I try to add the binary file as resource and use properties menu to change section name, it fails to add the upon mentioned file to the map. Instead there is just a reserved space filled with FFs where the loader should have been.

    Is there any other way to solve this without building loader, the running objcopy manually and the adding the o file to linker manually?

Viewing 3 posts - 1 through 3 (of 3 total)