Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

OAD version and ID gotcha

$
0
0

Good day,

I was testing some OAD functionality, and I wanted to bump the version of the SimpleBLEPeripheral so I could be sure it detected the change properly. The most obvious place to change this is in oad_target.c. Much to my dismay, this did not have the desired effect. After what feels like hours, I finally discovered that OAD_IMAGE_VERSION, OAD_IMAGE_A_USER and OAD_IMAGE_B_USER values are defined in the local buildConfig.cfg file. This prevents the #defines in the oad_target.c from ever being used.

So this is a warning to others: either change the values in the buildConfig.cfg or remove them from the buildConfig.cfg file and adjust the values in oad_target.c.

Thank you,

Tyler


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>