News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

SDCC and PIC development

Started by infausto, October 22, 2007, 05:38:01 PM

Previous topic - Next topic

infausto

hi there. i start using C::B to develop PIC applications and i found some difficult in this task. First: SDCC creates a .asm file from C source code, then C::B create a .hex file using gpasm tool. A good thing would be able to choose what tool C::B must use to build the .hex file. The second thing is when C::B call to SDCC compiler, it include the -p<name_of_pic> in the command line, (i add the -ppic16f84a in "Other options" inside the "Projects build options...").

well, thats all for now...

cheers!

boulabiar

I will be very pleased to know any improvement for this !!

because I am interested in PIC programming

stahta01

#2
I am a newbie on the SDCC, what other than gpasm can SDCC use to create a .hex file?

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Albenejean

As I was devellopping PIC's software two years ago, I am interested in this subject. I don't know very well SDCC, but I believe that it can use the linker from MPLAB named mpasmwin.exe.

More information in the SDCC's manual (page 61) (http://sdcc.sourceforge.net/doc/sdccman.pdf).