#pragma to configure the option bytes
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-02-17 4:36 AM
Posted on February 17, 2017 at 13:36
Please,
Is there any #pragma to configure the option bytes in the source code.
Thanks.
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-02-17 8:20 AM
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..
Up vote any posts that you find helpful, it shows what's working..
