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

Using Optimisation in nRF 51822 (Keil)

Hi,

I am using nRF51822 Evaluation Kit along with keil uvision4. Will using optimization in keil IDE make any problem in the normal working of BLE project? Will it affect the delay function ? My code size is nearly 35KB. I am using the Keil demo version. It can compile only 32KB. So i am using the optimization level 1.Please let me know if it affect the normal working.My project is entirely depending on timings.

Thanks and regards,
Shiju

Parents
  • The optimization should not affect the normal working of the program. My projects which are also time-dependent work correctly using any level of optimization.

  • I ran out of characters, will continue here:

    I suggest to redesign it as those constructions are generally ineffective and can generate further errors. There maybe are scenarios where this cannot be performed but my general suggestion is to do it.

    Just a bit funny ending - Keil is in my opinion way too much expensive IDE to make those kinds of errors :-)

Reply
  • I ran out of characters, will continue here:

    I suggest to redesign it as those constructions are generally ineffective and can generate further errors. There maybe are scenarios where this cannot be performed but my general suggestion is to do it.

    Just a bit funny ending - Keil is in my opinion way too much expensive IDE to make those kinds of errors :-)

Children
No Data
Related