gnupic: Pic 18F configuration
Subject:
Pic 18F configuration
From:
Paul ####@####.####
Date:
25 Jun 2005 17:03:51 +0100
Message-Id: <42BD8048.7060904@sbcglobal.net>
Hello,
I'm attempting to migrate my pic development from windows (MPLab)
over to linux (pikdev / gpasm) and have a couple questions.
Is there any support for the "config" command described in section 4.12
here
(http://ww1.microchip.com/downloads/en/DeviceDoc/MPASM_&_MPLINK_33014h.pdf)?
If this feature is not supported I think it would be a welcome addition
as it greatly simplifies generating adaptable 18F configuration bits.
Also, I've run into a problem with a couple include files. If I include
them one line after the next I get the following error messages:
gpasm -c -I "/home/paul/Desktop/USB Pic/asm" -p p18f4550 -r dec -w 0
"/home/paul/Desktop/USB Pic/asm/main.asm"
/home/paul/Desktop/USB Pic/asm/main.asm:3:Error [103] syntax error
/home/paul/Desktop/USB Pic/asm/main.asm:15:Warning [212] Expected (ENDIF)
Error code: 256
I've attached the source code that produces this error. The interesting
thing is that if I separate my include lines with an empty line it
assembles fine. Is there something up with my inc files?
I am very impressed with both pikdev and gpasm / gplink and see it as a
great (open) alternative to MPLab. Thanks for everyone's hard work.
Paul
[Content type application/zip not shown. Download]