Author Topic: SDCC and PIC development  (Read 14924 times)


  • Guest
SDCC and PIC development
« on: October 22, 2007, 05:38:01 pm »
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...



  • Guest
Re: SDCC and PIC development
« Reply #1 on: December 18, 2007, 11:49:44 am »
I will be very pleased to know any improvement for this !!

because I am interested in PIC programming

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7625
    • My Best Post
Re: SDCC and PIC development
« Reply #2 on: December 18, 2007, 04:34:56 pm »
I am a newbie on the SDCC, what other than gpasm can SDCC use to create a .hex file?

Tim S
« Last Edit: December 18, 2007, 04:40:36 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
When in doubt, read the CB WiKi FAQ.

Offline Albenejean

  • Multiple posting newcomer
  • *
  • Posts: 65
Re: SDCC and PIC development
« Reply #3 on: December 28, 2007, 10:46:09 pm »
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) (