I'm new to mikroBasic.
I'm using a PIC24FJ64GA002 and wanted to set the Flash Configuration Word bit "IOL1WAY" to 0 (the default is 1). There isn't a Flag in the "Edit Project" dialog box under the "Device Flags" for the "IOL1WAY" bit.
I know I'm a new to the tool, so am I missing something?
Is there a way I can set it?
Is there a way I could add it to the device "DEFS" files (p24fj64ga002.dbas, p24fj64ga002.mcl, p24fj64ga002.mlk)?
I can see how I may add it to the p24fj64ga002.dbas file. I can also see that the flags are in the p24fj64ga002.mcl, but it is a binary file and I'm not sure how it is produced.
Any help would be greatly appreciated!
Flash Configuration word bit flag missing
Unfortunately some of these flags are missing in the distributed definition files.
the .mcl file is generated when the .dbas is compiled. You can add the configuration flags you are missing in the .dbas file in the section near the end of that file.
When you have done the modification the first compile will create a new .mcl and the flags will show in the project editor. ( maybe you must leave the compiler and restart to see this )
the .mcl file is generated when the .dbas is compiled. You can add the configuration flags you are missing in the .dbas file in the section near the end of that file.
When you have done the modification the first compile will create a new .mcl and the flags will show in the project editor. ( maybe you must leave the compiler and restart to see this )
Au royaume des aveugles, les borgnes sont rois.
- mileta.miletic
- mikroElektronika team
- Posts: 493
- Joined: 05 Jun 2009 14:46
- Location: Belgrade, Serbia
- Contact: