Hi!
I am implementing new features in an old project. It uses the LL driver, but I programmed this new feature in the newest HAL driver using STMCUBEIDE, my code worked there...
My code compiles without erros but when I debug the code Keil does not allow me to place breakpoints inside the function.
I appreciate the help!
Take a look at the disassembly. Is the function being inlined? Looking at your source, the function seems to be just a memcpy() call, then a call to another function, which could be optimized away to save the extra branches.
Try lowering optimization level whilst debugging.
Thank you sir, you saved my day.
Hi ScottWashington if you think that a reply on this thread is the correct answer please could you mark it as an accepted answer? Select Actions > Accept Answer. Many thanks.