Question
Configuration of Option bytes in source code, Cosmic
Posted on October 17, 2016 at 11:12
Hi,
is it possible to specify Options bytes in source file ?I mean something similar to what I use with Microchip PIC18 (in .c files):#pragma config WDT = ON // WDT Enabled#pragma config WDTPS = 256 // Watchdog prescaler 1:256#pragma config CP0 = ON // Program memory is code-protected#pragma config IESO = OFF // Two-Speed Start-up disabled#pragma config FOSC = HS // HS oscillatoror with Microchip PIC16 (in .asm files): __CONFIG _DEBUG_OFF & _FCMEN_ON & _IESO_ON & _BOD_ON & _CPD_ON & _CP_ON & _MCLRE_ON & _PWRTE_ON & _WDT_ON & _HS_OSCI have found only one method yet, which is via STVD->Tools->Programmer->OPTION BYTEThis is very clumsy, I would like to provide customer a single .s19 file that contains everything.