There are some GPLed USB frameworks laying around, my faworite is
http://openprog.altervista.org/USB_firm_eng.html.
It works fine, but using it for create a  bootloader with sdcc is a
bit pointless becouse
SDCC generate a bigger final code than C18.
This is a simple test compiling usb firmware from above link:
sdcc:
Flash usage: 13704 bytes
C18:
Flash usage: 8797 bytes

Marico



2013/3/29 Luis de Arquer <dearquerf...@gmail.com>:
> I am starting a project on a pic18f2455 using USB, and I was trying to
> find any library that I could use off the shelf with sdcc, if any -I
> used ccs compiler in the past.
>
> I found one from an article published in nuts&volts, and also a port
> from c18 to sdcc, but it looks like neither has been updated in the
> last 6 years. I tried compiling the latter on gpasm (1.1.0) and got a
> lot of errors.
>
> There is a post here including a few other options, but again this is
> 2008 stuff:
> http://mcuee.blogspot.co.uk/2008/04/usb-pic-related-open-source-projects.html
>
> I will go on trying these routes, but maybe there is an
> obvious-much-easier way of dealing with USB in sdcc that I am
> missing... or is it still a work in progress?
>
> Thanks!
>
> Luis
>
> ------------------------------------------------------------------------------
> Own the Future-Intel(R) Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest. Compete
> for recognition, cash, and the chance to get your game on Steam.
> $5K grand prize plus 10 genre and skill prizes. Submit your demo
> by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to