Hello JA,

> I used the nuts&volts code to implement a USB-CDC device. For this i had
> add the following lines to a local copy of the 18f2550.lkr file.
> 
> SECTION    NAME=CONFIG     ROM=config
> SECTION    NAME=bank1      RAM=gpr1
> SECTION    NAME=usbram4    RAM=usb4
> SECTION    NAME=usbram5    RAM=usb5
> SECTION    NAME=eeprom     ROM=eedata
> 
> IIrc i also had to add
> 
> -Wl-s$(lkr_PIC_TYPE).lkr,-m -mpic16 -p$(sdcc_PIC_TYPE)
> 
> with $lkr_PIC_TYPE=PIC18F2550 and $sdcc_PIC_TYPE=18f2550 to the compile
> options in the Makefile.
> 

I already have it in the LKR file and the makefile as well...

Vaclav

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to