How can one create debug/release configuration in Keil uVision 5.14? I have single target in my project and I want to easily switch compiler optimization, pin mappings on my MCU etc by switching between debug and release configuration.
You use Keil uVision 5.14.
I use Keil uVision 4.79 and I have a problem with it.
I need to return the value from a dynamic object to more than one different place but I can't see a way to do it with the version I have.
I have to wait for a whole sensor packet to be read serially, then passed into an array of 123 elements, then that array can be read for the necessary bit. I thought I could use this whole class and object thing to put the array in place, use a getSensor() thing to just return the value needed so the program doesn't bother wasting time polling stuff I'm not going to use at the moment.
Can you do it with Keil uVision 5.14
The sky is the limit.
You can do object-oriented programming in C.
You most definitely can do it in C++.
You can encapsulate and work with methods as much as you like.
In the end, your skills and the amount of time and processing resources will be the limiting factors (assuming you have a full license, so the compiler isn't codesize-limited).
But the biggest question here is why you do not start your own thread and instead jump into a thread that debates how best to configure a project for supporting different builds for debug and release.