[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Missing register
From: Joshua Lansford ####@####.#### Date: 7 Jul 2014 19:51:04 -0000 Message-Id: <CAGRhJMaAKd1YNkv8iUj-rcGZoehVa+xnG-OHsPuna4BDs2R0hQ@mail.gmail.com> Hi. Seeing if I can get some help. Attempting to compile the uIP stack to the p18f97j60 using sdcc. I am getting the error message Error[113] Symbol not previously defined: "MIWRL" This is a register which exists in the PIC and is being used by inline assembly. I thought it might just need to be added as this register is only related to the internal ethernet MAC but grepping though the gputils code I see that it is already in the register database file gpreg-table.c as gp_register_t p18f66j60_MIWRL. gpasm --version gpasm-1.3.0 #1067 (Jul 7 2014) What additional information would be useful at this point? Thanks, ~Joshua | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Missing register
From: Joshua Lansford ####@####.#### Date: 8 Jul 2014 12:02:27 -0000 Message-Id: <CAGRhJMaRXdC7e78wsJ4ro-8BkuJHmfg7TziUoBkE+F6u=JdtNA@mail.gmail.com> On Mon, Jul 7, 2014 at 3:50 PM, Joshua Lansford < ####@####.#### wrote: > Hi. Seeing if I can get some help. > Attempting to compile the uIP stack to the p18f97j60 using sdcc. I am > getting the error message > Error[113] Symbol not previously defined: "MIWRL" > This is a register which exists in the PIC and is being used by inline > assembly. > I thought it might just need to be added as this register is only related > to the internal ethernet MAC but grepping though the gputils code I see > that it is already in the register database file gpreg-table.c > as gp_register_t p18f66j60_MIWRL. > gpasm --version > gpasm-1.3.0 #1067 (Jul 7 2014) > What additional information would be useful at this point? Thanks, > ~Joshua > Btw, I decided this morning to cross post this question to the sdcc mailing list as this may be sdcc specific. Also is attached the assembly file which produces the error messages. [Content type application/octet-stream not shown. Download] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Missing register
From: John Pritchard ####@####.#### Date: 8 Jul 2014 20:27:57 -0000 Message-Id: <CAAyPhgYn5t0sf1WTPRnxCnkXx3Mf4PqjYZiPWqXbOvsUnhZ6TQ@mail.gmail.com> It's easy to add a symbol to the compiler's machine description file.. see "linker script" On Tue, Jul 8, 2014 at 8:02 AM, Joshua Lansford < ####@####.#### wrote: > On Mon, Jul 7, 2014 at 3:50 PM, Joshua Lansford < > ####@####.#### wrote: > >> Hi. Seeing if I can get some help. >> Attempting to compile the uIP stack to the p18f97j60 using sdcc. I am >> getting the error message >> Error[113] Symbol not previously defined: "MIWRL" >> This is a register which exists in the PIC and is being used by inline >> assembly. >> I thought it might just need to be added as this register is only related >> to the internal ethernet MAC but grepping though the gputils code I see >> that it is already in the register database file gpreg-table.c >> as gp_register_t p18f66j60_MIWRL. >> gpasm --version >> gpasm-1.3.0 #1067 (Jul 7 2014) >> What additional information would be useful at this point? Thanks, >> ~Joshua >> > > Btw, I decided this morning to cross post this question to the sdcc > mailing list as this may be sdcc specific. > Also is attached the assembly file which produces the error messages. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Missing register
From: Joshua Lansford ####@####.#### Date: 9 Jul 2014 11:08:59 -0000 Message-Id: <CAGRhJMbuuikECc_4v_E7vXZ7Kwo9sNLeQ9uA6YbYuBExfmHF7Q@mail.gmail.com> On Tue, Jul 8, 2014 at 4:27 PM, John Pritchard ####@####.#### wrote: > It's easy to add a symbol to the compiler's machine description file.. see > "linker script" Thank you sir for your response. ~Joshua | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |