cancel
Showing results for 
Search instead for 
Did you mean: 

#pragma to configure the option bytes

Brahim Ouinten
Associate
Posted on February 17, 2017 at 13:36

Please,

Is there any #pragma to configure the option bytes in the source code.

Thanks.

1 REPLY 1
Posted on February 17, 2017 at 17:20

#pragma are compiler/tool-chain specific, and they don't what to get that chip/processor specific

Can you push the option bytes into a linker section, and direct content there with an attribute?

The most practical method is to have your own code check the option bytes for desired settings, and then configure those setting when the defaults are detected.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..