Since v4.132 the compiler complains these are not valid names. Just tried V4.134 same issue, V4.130 is OK.
Have the names secretly changed or is this a bug in the compiler?
gaugeguy
Joined: 05 Apr 2011 Posts: 296
18F46K22 - unknown SFR SSPCON/SSPSTAT
Posted: Mon Jul 02, 2012 9:55 am
This chip has 2 MSSP and 3 control registers. You need to specifiy SSPxCONy depending on which you want to access.
picnic
Joined: 09 Oct 2008 Posts: 15
Posted: Mon Jul 02, 2012 10:28 am
Thanks for that, probably a good job the compiler complains then as moving from the PIC16 to 18 probably means the register accesses being made in the code should be reviewed. Shame it allowed it to start with
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum