how to write option byte in compile time
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-10-13 7:23 AM
Posted on October 13, 2017 at 16:23
how to write option byte in compile time.
Like when i compiling my code,at that time of compiling, i have to write values in option byte or set read out protection.
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-10-24 11:05 PM
Posted on October 25, 2017 at 08:05
In C the answer is simple: you don't. You'll have to do that in the tool chain that compiles the code, and then transfers it to the µC. Setting option bytes clearly is a task for the second part, the transfer.
Note that in Forth the compiler runs on the µC. There the answer would be different. Running a compiler on the target opens the door to very interesting solutions for adaptive systems.
