osccon statement causes compile to hex failure
Posted: Sun Sep 27, 2015 3:26 pm
Flowcode v6.1.2.0
Chip: PIC 12F617 (Internal 4/8MHz oscillator)
Adding the C code:
... causes the BoostC compiler to fail with the infamous and always unhelpful "error code 1" message.
The osccon statement is being inserted correctly into the generated C code.
If I disable the C Code icon, the hex compilation completes without error.
(PS: The comment "// 8MHz clock speed" makes no difference on the failure outcome whether it is present or not)
Chip: PIC 12F617 (Internal 4/8MHz oscillator)
Adding the C code:
osccon = 0x70; // 8MHz clock speed
... causes the BoostC compiler to fail with the infamous and always unhelpful "error code 1" message.
The osccon statement is being inserted correctly into the generated C code.
If I disable the C Code icon, the hex compilation completes without error.
(PS: The comment "// 8MHz clock speed" makes no difference on the failure outcome whether it is present or not)