Forum Replies Created
-
AuthorPosts
-
February 4, 2018 at 03:30 in reply to: Missing Pre/Post build steps settings – exception raised when VS2017 start #19937zharijsParticipant
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.
February 4, 2018 at 00:04 in reply to: Missing Pre/Post build steps settings – exception raised when VS2017 start #19932zharijsParticipantLinker 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.
February 3, 2018 at 21:35 in reply to: Missing Pre/Post build steps settings – exception raised when VS2017 start #19926zharijsParticipantHi.
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?
-
AuthorPosts