• AVR Freaks

Hot!What can I do about this?

Page: < 12 Showing page 2 of 2
Author
ric
Super Member
  • Total Posts : 27627
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: What can I do about this? 2020/05/11 14:08:42 (permalink)
0
Thanks for the explanation Jeff.
Is this documented anywhere?
As you can see, it can get pretty confusing when the IDE gets its knickers in a knot and starts not being able to find things as shown in post#1.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#21
jtemples
عُضْوٌ جَدِيد
  • Total Posts : 11882
  • Reward points : 0
  • Joined: 2004/02/13 12:31:19
  • Location: Southern California
  • Status: offline
Re: What can I do about this? 2020/05/11 14:25:00 (permalink)
+1 (1)
The 2.20 XC8 compiler does now use device family packs (DFPs). The compiler comes with in-built device support


Do you mean the compiler has its own DFPs, and doesn't use the IDE's DFPs?
#22
mad_c
Super Member
  • Total Posts : 1243
  • Reward points : 0
  • Joined: 2010/12/12 17:48:27
  • Location: Brisbane, Australia
  • Status: offline
Re: What can I do about this? 2020/05/11 18:35:05 (permalink)
+2 (2)
ric
Is this documented anywhere?

The compiler guides with 2.20 have been updated and contain some info on DFPs, but much of this is an attribute of the IDE. There is a webinar here, and there is a Developer Help article coming soon, but it is still working its way through the system.
 
Jeff.
 
#23
mad_c
Super Member
  • Total Posts : 1243
  • Reward points : 0
  • Joined: 2010/12/12 17:48:27
  • Location: Brisbane, Australia
  • Status: offline
Re: What can I do about this? 2020/05/11 18:41:29 (permalink)
+1 (1)
jtemples
Do you mean the compiler has its own DFPs, and doesn't use the IDE's DFPs?

The compiler has its own DFPs, but you can make it use any another DFP you like using the option. If the IDE knows about other DFPs and you select one, the IDE will tell the compiler to use that DFP. You can manually download DFPs and use those if you really want, but it is much easier to let the IDE do this. You just give the compiler a DFP path to use; the compiler doesn't care where the DFP is stored or where it came from. If you don't give it a DFP path, it falls back to its in-built DFPs.
 
Jeff.
#24
jtemples
عُضْوٌ جَدِيد
  • Total Posts : 11882
  • Reward points : 0
  • Joined: 2004/02/13 12:31:19
  • Location: Southern California
  • Status: offline
Re: What can I do about this? 2020/05/11 18:51:33 (permalink)
+2 (2)
Ok, thanks.  My concern was the IDE updating its DFPs, there being a bug in an IDE DFP, and then all of the previously-working compilers break because of an IDE update.
#25
mad_c
Super Member
  • Total Posts : 1243
  • Reward points : 0
  • Joined: 2010/12/12 17:48:27
  • Location: Brisbane, Australia
  • Status: offline
Re: What can I do about this? 2020/05/12 13:39:22 (permalink)
+4 (4)
jtemples
Ok, thanks.  My concern was the IDE updating its DFPs, there being a bug in an IDE DFP, and then all of the previously-working compilers break because of an IDE update.

That shouldn't be an issue. The IDE project stores which DFP it has been assigned for the build, and that will not change unless you make another selection. Like the compilers, you can have installed multiple versions of the same DFP.
 
Jeff.
#26
LaoMa
Starting Member
  • Total Posts : 38
  • Reward points : 0
  • Joined: 2017/08/01 21:39:42
  • Location: 0
  • Status: offline
Re: What can I do about this? 2020/05/22 00:19:45 (permalink)
0
Hello,
 
I agree with the concept "if the compiler doesn't complain, it works fine for me!" but it's still a nightmare to surf correctly in the code when a lot of lines are marked red. 
And clearing the Unrecognized Identifier error is not an option at all.
Is there any way to clear this issue? 
 
Maurizio
 
post edited by LaoMa - 2020/05/22 00:20:54
#27
du00000001
Just Some Member
  • Total Posts : 3778
  • Reward points : 0
  • Joined: 2016/05/03 13:52:42
  • Location: Germany
  • Status: offline
Re: What can I do about this? 2020/05/22 01:53:25 (permalink)
+1 (1)
LaoMa
Hello,
 
I agree with the concept "if the compiler doesn't complain, it works fine for me!" but it's still a nightmare to surf correctly in the code when a lot of lines are marked red. 
And clearing the Unrecognized Identifier error is not an option at all.
Is there any way to clear this issue? 
 
Maurizio



post #9 documents the only viable approach that might or might not work.
Beyond that: use your grey matter! (How could all this software available today be developed without any reasonable "show it all - immediately'" hekper function?
 
An afterthought:
Copying all the headers used by your project (and including these files into said project) might resolve the issue. Side effect: any compiler updates won't affect your project unless you update the copies.

PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
#28
Page: < 12 Showing page 2 of 2
Jump to:
© 2020 APG vNext Commercial Version 4.5