Am 29.03.2013 15:41, schrieb Luis de Arquer: > 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 > >
I recently rewrote (changed a lot of code) the puf-usb code to be faster (probably smaller and support the new pic18fX5K50 devices). This is a USB-Bootloader. You could just extract the USB-relevant code from it. ------------------------------------------------------------------------------ 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