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
C Code OSCCON unidentified
Moderator: Benj
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: C Code OSCCON unidentified
Change it to upper case, so
Code: Select all
OSCCON = 0x70;
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis