Re: [Sdcc-user] pic18f1230

2012-03-15 Thread Bastiaan van Kesteren
Hi Raphael, Thanks again. You are right about the printf size thing; disabling that makes the compilation work, so the rest is up to me :) Does make me wander; why does the "_SSPBUF" not come up on the 18f1320 (which doesn't have an SSP interface either)? And what's the best way to check the f

Re: [Sdcc-user] pic18f1230

2012-03-14 Thread Bastiaan van Kesteren
96bytes i should have here. Any pointers? Thanks, -Bastiaan On Sun, Mar 11, 2012 at 10:32 AM, Bastiaan van Kesteren wrote: > Hi, > > You're the best! Will test this over the next few days, and report back > > Regards, > -Bastiaan > > On Sat, Mar 10, 2012 at 6:59 PM, Ra

Re: [Sdcc-user] pic18f1230

2012-03-11 Thread Bastiaan van Kesteren
Hi, You're the best! Will test this over the next few days, and report back Regards, -Bastiaan On Sat, Mar 10, 2012 at 6:59 PM, Raphael Neider wrote: > Hi again! > >> I recently started a project using the PIC18F1230, which, as i found >> out afterwards, isn't supported by SDCC. > > This is to

[Sdcc-user] pic18f1230

2012-03-10 Thread Bastiaan van Kesteren
Hi, I recently started a project using the PIC18F1230, which, as i found out afterwards, isn't supported by SDCC. Since gputils does support it, i figured following the 'Adding new devices to the port' from the manual should get me there. However, i stopped at step 4 since i seem to be missing th

Re: [Sdcc-user] PIC16 and proper use of printf()

2008-10-30 Thread Bastiaan van Kesteren
Hi, Seems very similair to a problem i had recently with an 18f4520. As someone on this mailinglist pointed out, the extended instruction set had to be disabled. To do this add _XINST_OFF_4L to the __CONFIG4L initialisation. Regards, -Bastiaan On Thursday 30 October 2008 09:35:36 Vaclav Peroutk

Re: [Sdcc-user] PIC18f4520; passing array to a function doesn't work

2008-10-16 Thread Bastiaan van Kesteren
Hi, Just tried my 18f452 project code on a 18f4520 with this change, and so far it works completely OK! Thanks a lot!!! (on a side-note, might it be a good idea to disable this by default, as the datasheet suggests it is?) Thanks!, -Bastiaan On Thursday 16 October 2008 22:07:27 Raphael Neide

[Sdcc-user] Quoted define from makefile

2008-10-16 Thread Bastiaan van Kesteren
Hi, In most of my projects, I use a define rule from the Makefile like this: -D'SVN_REV='"$(shell svnversion -n .)"' which creates a define SVN_REV with the svn revision, quoted (so svn revision 6M will appear as "6M"). Just tried this with my brand new SDCC project, but it seems as if SDCC (o

Re: [Sdcc-user] PIC18f4520; passing array to a function doesn't work

2008-10-16 Thread Bastiaan van Kesteren
ng complained about missing _usart functions. > > > > It runs as it should. Compiling the code for the 18f4520 using SDCC 2.7.0 > > still doesn't work. > > > > Any ideas? > > > > Thanks, > > -Bastiaan van Kesteren > > > > On Monday 13 Oc

Re: [Sdcc-user] PIC18f4520; passing array to a function doesn't work

2008-10-13 Thread Bastiaan van Kesteren
SDCC 2.7.0 still doesn't work. Any ideas? Thanks, -Bastiaan van Kesteren On Monday 13 October 2008 14:39:19 Bastiaan van Kesteren wrote: > Hi, > > I'm working on a project using the 18f4520, and i've ran into a problem. It > seems that passing an array to a function re

[Sdcc-user] PIC18f4520; passing array to a function doesn't work

2008-10-13 Thread Bastiaan van Kesteren
indows XP machine). Output on the uart @ 19200 baud should be "[]", but I get "[??" followed by a lot of garbage Hope anyone can give me some pointers here! Thanks in advance, -Bastiaan van Kesteren --the code:-- #include #include #include