Hi, I want to avoid the CALL \ RET overhead of a certain function which is called only once in my program.
I understand the uVision compiler does not support the inline keyword (http://www.keil.com/support/docs/1755.htm), and I should use macros instead. The problem is that uVision cannot step into macros when debugging.
Is there any good solution for this problem?
OK we can differ on how modular something must be to be called modular :)
I just want to avoid that non-modular (by the 'firm' definition) becomes equalized with spaghetti.
So let us agree that you can have well organized code that is not modular (by the 'firm' definition).
I have seen truly modular code and I have seen code that made me call for tomato sauce, and then I have seen well organized code.
Erik