C Code OSCCON unidentified
Posted: Fri Nov 10, 2017 11:29 pm
I have pulled a flowcode 5 file into FC7 build V7.2.1.4
Compiles fine in FC5, but the following message appears in FC7 - Can you assist?
Build date: Jan 24 2017
Part Support Version: 1.41
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
Employing 18F4455 errata work-arounds:
* Corrupted fast interrupt shadow registers
* No stopping on H/W breakpoints after NOP2
Flowcode 7 First Hardware Test Rev7t_v7.c: main()
5959: osccon = 0x70;
^ (192) undefined identifier "osccon"
(908) exit status = 1
(908) exit status = 1
Here is the C code box:
/*
Enter C code below this comment
*/
osccon = 0x70;//8mhz
FINISHED
Compiles fine in FC5, but the following message appears in FC7 - Can you assist?
Build date: Jan 24 2017
Part Support Version: 1.41
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
Employing 18F4455 errata work-arounds:
* Corrupted fast interrupt shadow registers
* No stopping on H/W breakpoints after NOP2
Flowcode 7 First Hardware Test Rev7t_v7.c: main()
5959: osccon = 0x70;
^ (192) undefined identifier "osccon"
(908) exit status = 1
(908) exit status = 1
Here is the C code box:
/*
Enter C code below this comment
*/
osccon = 0x70;//8mhz
FINISHED