Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
October 15, 2009 - 11:11am
|
hi all forgot to add: thank you |
Forum : ST7/STM8
Post Information | Post |
---|---|
October 15, 2009 - 11:11am
|
hi all forgot to add: thank you |
ok, found the STM8_OB.asm file
What is the best way to program option bytes at compile/program time instead of at run time when programming in C? Should I just include an ASM file like STM8_OB.asm in the project or is there another way? I didn't see any #pragma definitions or other compiler/linker directives for this. Thanks.
Hi,
STM8_OB.asm like in the example is the best way. (if there was a better way, we would have used it in the example ;) )
For the programmer/debugger, option bytes are little more than data to program at address x4800...
Best Regards,
Vincent