This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Build with optimization does not work with DFU

Hi, I'm using IAR ARM Embedded Workbench (v7.20) to build my Nordic applications. Recently I enabled optimizations (in Project Options: C/C++ Compiler:Optimizations: Level-High-Size). However, when I try to DFU this build it always fails. DFU-ing it works fine when I build my application with optimizations set to None. My guess is that there is a struct or some other data object that is getting optimized that needs to exist at a specific memory location for the DFU to work, but I'm not really sure. Any ideas on why DFU would fail with optimizations turned on? thanks! akbar

Related