Re: [Sdcc-user] Support for a new CPU

2013-08-02 Thread Borut Ražem
Mark, just a small note from my side: don't forget about the licensing stuff: * SDCC is GPL licensed, which means that "your" compiler will be also GPL licensed, which means that the source code will have to be published / accessable to the compiler users (unless it will be used only i

Re: [Sdcc-user] gplink returned errorcode 256?

2013-06-22 Thread Borut Ražem
Hi Kusti, Miguel Montiel Mtz reported similar problem, see http://sourceforge.net/p/sdcc/bugs/2058/?page=2 It seems that SDCC upgrade to version 3.3.0 (and probably also gputils to version 1.2.0) and using #pragma config solved the problem. Borut On 22. 06. 2013 13:43, Kustaa Nyholm wrot

[Sdcc-user] gputils 1.2.0 released

2013-05-19 Thread Borut Ražem
Dear gputils users, gputils-1.2.0 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/1.2.0/gputils-1.2.0.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/1.2.0/gputils-1.2.0.exe.

Re: [Sdcc-user] USB firmware

2013-03-30 Thread Borut Ražem
On 29. 03. 2013 23:49, Luis de Arquer wrote: > Strange though, because that code was said to work with an older > version of gpasm! The bug is not so old: it was introduced 27th of August 2012 (I will not tell you by whom :-[ ). I suppose that there were other older bugs which prevented the code

Re: [Sdcc-user] USB firmware

2013-03-29 Thread Borut Ražem
! It assembled fine now! :) I only had to comment out the line config ICPRT = OFF because it was complaining it did not exist such a config bit for the 2455. Regards, Luis On Fri, Mar 29, 2013 at 7:43 PM, Borut Ražem wrote: On 29. 03. 2013 19:52, Luis de Arquer wrote: Thanks for all the

Re: [Sdcc-user] USB firmware

2013-03-29 Thread Borut Ražem
x27;ll see if I can put it up on my webpage this weekend. That would be great. On Fri, Mar 29, 2013 at 5:32 PM, Borut Ražem wrote: I'm confused: you tried to compile the c (sdcc) source code with gpasm? Probably not. So where the erros came from: sdcc or gpasm? If from gpasm: can you send m

Re: [Sdcc-user] USB firmware

2013-03-29 Thread Borut Ražem
On 29. 03. 2013 15:41, Luis de Arquer wrote: > I tried compiling the latter on gpasm (1.1.0) and got a lot of errors. I'm confused: you tried to compile the c (sdcc) source code with gpasm? Probably not. So where the erros came from: sdcc or gpasm? If from gpasm: can you send me the generated as

[Sdcc-user] gputils 1.1.0 released

2013-03-23 Thread Borut Ražem
Dear gputils users, gputils-1.1.0 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/1.1.0/gputils-1.1.0.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/1.1.0/gputils-1.1.0.exe.

Re: [Sdcc-user] 6502 and AS

2013-03-16 Thread Borut Ražem
On 16. 03. 2013 12:54, Masur Jonathan wrote: Le 16.03.2013 01:13, Borut Ražem a écrit : Helo Jonathan, sdas and sdld are actually a fork of Alan Baldwin's AS assembler (see http://shop-pdp.net/ashtml/as.htm) with some sdcc related modifications. Only the targets supported by sdc

Re: [Sdcc-user] 6502 and AS

2013-03-15 Thread Borut Ražem
Helo Jonathan, sdas and sdld are actually a fork of Alan Baldwin's AS assembler (see http://shop-pdp.net/ashtml/as.htm) with some sdcc related modifications. Only the targets supported by sdcc are included in sdas/sdld but the documentation includes all AS targets, as you already

[Sdcc-user] Fwd: SourceForge Project Upgrade Notification

2013-03-12 Thread Borut Ražem
SDCC SourceForge was updated from the old Classic to the new Allura interface. Please don't forget to relocate the svn repository url as described below! Regards, Borut Original Message Subject:SourceForge Project Upgrade Notification Date: Tue, 12 Mar 2013 15:44:03

Re: [Sdcc-user] SDCC SourceForge project upgrade

2013-03-09 Thread Borut Ražem
I just started to work on it. Please don't make any changes to the project (trackers, svn, wiki, ...) until the transition is complete - I'll let you know. Borut On 04. 03. 2013 18:29, Borut Ražem wrote: > Dear fellows, > > I think that now is the time to upgrade the SDCC

Re: [Sdcc-user] --L option not working?

2013-02-14 Thread Borut Ražem
Sdccman chapter "2.3 Search Paths" might also help you. Borut On 14. 02. 2013 16:54, Maarten Brock wrote: > If you want to see which paths are searched and in which order, use > --print-search-dirs on the command line. > > >> On 14.2.2013 17.18, "Maarten Brock" wrote: >> >> Hi Maarten, >> >> and

Re: [Sdcc-user] Pic14 feature request - implement sfr16

2013-01-14 Thread Borut Ražem
_bar res1 Borut On 13. 01. 2013 23:59, Raphael Neider wrote: > Hi Borut, > > On Sun, 13 Jan 2013 21:34:45 +0100, Borut Ražem > wrote: > >> On 13. 01. 2013 19:26, Molnár Károly wrote: >>> On Sun, 13 Jan 2013 17:37:00 +0100 >>> Raphael Neider wr

Re: [Sdcc-user] Pic14 feature request - implement sfr16

2013-01-13 Thread Borut Ražem
On 13. 01. 2013 19:26, Molnár Károly wrote: > On Sun, 13 Jan 2013 17:37:00 +0100 > Raphael Neider wrote: > >> We end up with ADRESL and ADRESw >> occupying 0xFC3 as well as ADRSH and ADRESw occupying 0xFC4. *Should* >> the linker allow this?!? >> > But, unfortunately, I has just discovered that th

Re: [Sdcc-user] Pic14 feature request - implement sfr16

2013-01-10 Thread Borut Ražem
On 10. 01. 2013 18:09, Raphael Neider wrote: > Hi, > >> sfr16 keyword exist for pic16. > It does? Well, that would be news to me ... Does it work?!? > >> There is no reason for discard it from pic14 implementation. > Just lack of time for implementation. > >> Together with change duplicate SFR name

[Sdcc-user] gputils 1.0.0 released

2012-12-31 Thread Borut Ražem
Dear gputils users, gputils-1.0.0 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/1.0.0/gputils-1.0.0.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/1.0.0/gputils-1.0.0.exe.

Re: [Sdcc-user] can sdcc PIC14 generate code which can load value from ROM(placed for idata directive) to RAM in startup?

2012-12-21 Thread Borut Ražem
e the load code(using the idata.c) before startup. Thank you, very much. 2012/12/21 Borut Ražem <mailto:borut.ra...@gmail.com>> > if have Where is the source code doing this LOAD? > if not ,How can i do this? See device/lib/pic14/libsdcc/idata.c > Ano

Re: [Sdcc-user] can sdcc PIC14 generate code which can load value from ROM(placed for idata directive) to RAM in startup?

2012-12-21 Thread Borut Ražem
> if have Where is the source code doing this LOAD? > if not ,How can i do this? See device/lib/pic14/libsdcc/idata.c > Another, in SDCC PIC14 the *pic16f887.lib* doing what? > and how it come from? how can i compile to get it by myself? > What does it contain? See device/non-free/lib/pic14/lib

Re: [Sdcc-user] STM8 port - testsuite results

2012-12-19 Thread Borut Ražem
Page added to wiki at http://sdcc.sourceforge.net/mediawiki/index.php/Stm8_code_size Borut On 19. 12. 2012 08:22, Vaclav Peroutka wrote: Hello, I do not know what exactly happened with emailer when I was sending previous email, but I wrote following: I quickly did code size tests for STM8.

Re: [Sdcc-user] STM8 port

2012-12-18 Thread Borut Ražem
The self-registartion to the wiki is disabled due to spam attacks. If anybody needs the write access, please let me know: send me your prefer use name and I'll give you access. Regards, Borut On 18. 12. 2012 22:33, Vaclav Peroutka wrote: I quickly did code size tests for STM8. I took template

Re: [Sdcc-user] SDCC wiki migration

2012-12-08 Thread Borut Ražem
I'll take a look for anti-spam options. > Please tell me if I'm totally wrong. Only partially ;-) Borut > Maarten > >> See http://sourceforge.net/p/forge/site-support/1896/. >> >> Sdcc wiki was yesterday attacked by spammers so I disabled user >> self-

Re: [Sdcc-user] SDCC wiki migration

2012-12-07 Thread Borut Ražem
See http://sourceforge.net/p/forge/site-support/1896/. Sdcc wiki was yesterday attacked by spammers so I disabled user self-registration. Please contact me if you need the write access. Borut On 06. 12. 2012 13:30, Borut Ražem wrote: I have to configire mailing... Borut On 06. 12. 2012

Re: [Sdcc-user] Adding STM8 support to SDCC

2012-12-06 Thread Borut Ražem
I propose to create separate branches in sdcc svn tree rather then open new sf projects for such developments. I think that Philipp and Leland already proved it with their work on rabbit port, optralloc ant other sub projects. Borut On 06. 12. 2012 20:26, Vaclav Peroutka wrote: Dear Daniel,

Re: [Sdcc-user] SDCC wiki migration

2012-12-06 Thread Borut Ražem
I have to configire mailing... Borut On 06. 12. 2012 11:10, Maarten Brock wrote: > Hi, > > I just registered and it partially failed: > > SDCC wiki could not send your confirmation mail. Please > check your e-mail address for invalid characters. > Mailer returned: Unknown error in PHP's mail() fu

Re: [Sdcc-user] SDCC wiki migration

2012-12-04 Thread Borut Ražem
On 04. 12. 2012 23:22, Maarten Brock wrote: > Hi, > > Is the user base coupled with SourceForge or should we > all register at this wiki again? You have to register to wiki again. Borut > Maarten > >> Dear sdcc users and developers, >> >> as you may already be aware, SourceForge is upgrading to

[Sdcc-user] SDCC wiki migration

2012-12-04 Thread Borut Ražem
Dear sdcc users and developers, as you may already be aware, SourceForge is upgrading to a new platform (code-named Allura), and as a result, the Classic SourceForge platform will be retired. This also means that the Trac system will not be available any more. The (old) sdcc wiki is a Trac wik

Re: [Sdcc-user] I am trying to create a pic18f4550 a custom library and I get the error: "delay.lib" is not a valid coff object or archive returned errorcode 256

2012-12-01 Thread Borut Ražem
You are using wrong tool to create the pic library: you should use the gplib librarian which is a part of gputils. Borut On 30. 11. 2012 23:40, Caio Rodrigues wrote: Thanks Borut Ražem and Douglas Goodall for the advices. I think sdcc compiles by default for the 8051 core and the sdcclib

Re: [Sdcc-user] I am trying to create a pic18f4550 a custom library and I get the error: "delay.lib" is not a valid coff object or archive returned errorcode 256

2012-11-30 Thread Borut Ražem
In your case delay.c is compiled for the default mcs51 target, since you didn't specify -m and -p sdcc command line option. Try with *sdcc -V ***-mpic16 -p18f4550* -c delay.c*. Borut On 30. 11. 2012 22:24, Caio Rodrigues wrote: Hello users of the SDCC list: I am trying to create a pic18f4550

[Sdcc-user] gputils 0.15.0 released

2012-11-30 Thread Borut Ražem
Dear gputils users, gputils-0.15.0 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/0.15.0/gputils-0.15.0.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/0.15.0/gputils-0.15.0.

[Sdcc-user] gputils 0.14.3 released

2012-10-31 Thread Borut Ražem
Dear gputils users, gputils-0.14.3 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/0.14.3/gputils-0.14.3.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/0.14.3/gputils-0.14.3.

Re: [Sdcc-user] Fwd: lang/sdcc fails to build on ia64 portscluster

2012-10-08 Thread Borut Ražem
Hi Tijl, I think we already had a similar problem on spark platforms. That's why there is sparc.h file in include/opcode directory. I already added ia64.h in svn revision #8144. Can you please try it and report the result? Please fill the bug report anyway so that this change will remain doc

[Sdcc-user] New sdcc platform: ARMv6 & Raspbery Pi

2012-08-15 Thread Borut Ražem
Dear sdcc users and developers, some of you probably already noted that we have a new snapshot build: Rasbian on ARMv6 armhf (armv6l-unknown-linux-gnueabihf). The news is that today the regression test star changed it's color from red to green, which means that all regression tests pass (see

Re: [Sdcc-user] CONFIG versus __CONFIG

2012-08-01 Thread Borut Ražem
On Wed, Aug 1, 2012 at 8:46 AM, Kustaa Nyholm wrote: > Hi, > Hi Kusti, > a fried is using a piece of code I wrote and is getting a bunch of these > warnings which I'm not seeing: > > main.asm:19:Warning[212] __CONFIG has been deprecated for PIC18 devices. > Use directive CONFIG. > This warning

Re: [Sdcc-user] Small Device C Compiler 3.2.0 released

2012-07-09 Thread Borut Ražem
improvements in the z80, hc08 and r2k code generation, reducing code size. * Shift, multiplication, division and returning of long long are now supported (modulo for long long is still missing, integer literals of type long long are broken). Sorry, Borut On 09. 07. 2012 19:20, Borut Ražem wrote

[Sdcc-user] Small Device C Compiler 3.2.0 released

2012-07-09 Thread Borut Ražem
A new release of SDCC, the portable optimizing compiler suite for Intel MCS51 based (8031, 8032, 8051, 8052, etc.), Maxim (formerly Dallas) DS80C390 variants, Freescale (formerly Motorola) HC08 based (hc08, s08), Zilog Z80 based (z80, z180, gbz80, Rabbit 2000/3000, Rabbit 3000A) and Microchip P

Re: [Sdcc-user] SDCC 3.2.0 release packages prepared

2012-07-09 Thread Borut Ražem
Probably you already guessed that I meant sdcc 3.2.0 release packages which are just renamed 3.2.0 RC4 packages. Borut On 09. 07. 2012 09:26, Borut Ražem wrote: > Dear sdcc users and developers, > > the sdcc 3.1.0 release packages are prepared and uploaded to the SF > File Release

[Sdcc-user] SDCC 3.2.0 release packages prepared

2012-07-09 Thread Borut Ražem
Dear sdcc users and developers, the sdcc 3.1.0 release packages are prepared and uploaded to the SF File Release system https://sourceforge.net/projects/sdcc/files/. Packages are the same as for sdcc 3.1.0 RC3: I just renamed them. Please download, install and test them on different platforms a

[Sdcc-user] SDCC 3.2.0 release packages prepared

2012-07-09 Thread Borut Ražem
Dear sdcc users and developers, the sdcc 3.2.0 release packages are prepared and uploaded to the SF File Release system https://sourceforge.net/projects/sdcc/files/. Packages are the same as for sdcc 3.2.0 RC4: I just renamed them. Please download, install and test them on different platforms a

[Sdcc-user] SDCC 3.2.0 Release Candidate 4

2012-07-06 Thread Borut Ražem
SDCC 3.2.0 Release Candidate 4 source, doc and binary packages for x86 Linux, 32 bit Windows and universal Mac OS X are available in corresponding folders at: http://sourceforge.net/projects/sdcc/files If you find a mistake, please send a mail to sdcc-devel mailing list sdcc-de...@lists.source

Re: [Sdcc-user] SDCC for 80C85

2012-07-01 Thread Borut Ražem
On Sun, Jul 1, 2012 at 10:05 PM, Philipp Klaus Krause wrote: > On 01.07.2012 16:12, Michael Hawkins wrote: > > Can > > anyone point me a general direction to begin? > > Look at the structure of the existing ports: Is the 8085 similar enough > to one so th eports can share a lot of code (hc08 and

Re: [Sdcc-user] SDCC 3.2.0 Release Candidate 3

2012-06-30 Thread Borut Ražem
ceforge.net/projects/sdcc/files/sdcc-win32/3.2.0/sdcc-3.2.0-rc3a-setup.exe/download. P.S.: the Windows setup package content is exactly the same as for RC3. This change does not affect packages for other platforms. Borut On 29. 06. 2012 18:56, Borut Ražem wrote: > SDCC 3.2.0 Release Candidate 3

Re: [Sdcc-user] SDCC 3.2.0 Release Candidate 2

2012-06-30 Thread Borut Ražem
On Sat, Jun 30, 2012 at 9:28 PM, Claude Sylvain < csylv...@electro-technica.com> wrote: > > On 2012-06-30 14:37, Borut Ražem wrote: > > > > > On 30. 06. 2012 16:49, Claude Sylvain wrote: > > > >> On 2012-06-24 14:54, Borut RaÂem wrote: > >>

Re: [Sdcc-user] SDCC 3.2.0 Release Candidate 2

2012-06-30 Thread Borut Ražem
On 30. 06. 2012 16:49, Claude Sylvain wrote: > On 2012-06-24 14:54, Borut Ražem wrote: > >> SDCC 3.2.0 Release Candidate 2 source, doc and binary packages for x86 >> Linux, 32 bit Windows and universal Mac OS X are available in >> corresponding folders at: >> http://sourceforge.net/projects/sdcc/

Re: [Sdcc-user] SDCC 3.2.0 Release Candidate 3

2012-06-29 Thread Borut Ražem
Diego, thanks for the report. Borut On 29. 06. 2012 20:01, Diego Herranz wrote: PIC16 (18F4550) tested on linux x86. Exactly the same code generated than RC2. Regards, Diego On Fri, Jun 29, 2012 at 6:56 PM, Borut Ražem <mailto:borut.ra...@gmail.com>> wrote: SDCC 3.2.

[Sdcc-user] SDCC 3.2.0 Release Candidate 3

2012-06-29 Thread Borut Ražem
SDCC 3.2.0 Release Candidate 3 source, doc and binary packages for x86 Linux, 32 bit Windows and universal Mac OS X are available in corresponding folders at: http://sourceforge.net/projects/sdcc/files If you find a mistake, please send a mail to sdcc-devel mailing list sdcc-de...@lists.source

[Sdcc-user] gputils 0.14.2 released

2012-06-24 Thread Borut Ražem
Dear gputils users, gputils-0.14.2 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/0.14.2/gputils-0.14.2.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/0.14.2/gputils-0.14.2.

[Sdcc-user] SDCC 3.2.0 Release Candidate 2

2012-06-24 Thread Borut Ražem
SDCC 3.2.0 Release Candidate 2 source, doc and binary packages for x86 Linux, 32 bit Windows and universal Mac OS X are available in corresponding folders at: http://sourceforge.net/projects/sdcc/files If you find a mistake, please send a mail to sdcc-devel mailing list sdcc-de...@lists.source

Re: [Sdcc-user] pic14 problem: program does not work with _sdcc_gsinit_startup

2012-06-23 Thread Borut Ražem
Raphael, thanks, I knew who I have to ask for help ;-) There were many changes since the RC1 release, so I plan to make the RC2 release earlier: 2012-06-24 and make the RC3 at the date RC2 was originally planned: 2012-07-01. I will apply Raphael's patch immediately since the currently generated

Re: [Sdcc-user] pic14 problem: program does not work with _sdcc_gsinit_startup

2012-06-23 Thread Borut Ražem
ut program memory isn't changeable. > The cinit_t structure members are read from the program memory, they are never written. I still think that __code qualifier is ok. Borut > 2012/6/23 Borut Ražem : > > I have an impression that __code acts oposite as intendend: if __code is >

Re: [Sdcc-user] pic14 problem: program does not work with _sdcc_gsinit_startup

2012-06-23 Thread Borut Ražem
I have an impression that __code acts oposite as intendend: if __code is defined, then _cinit is assumed to be in data memory - see the generated asm with BANKSELs, which is wrong. Omitting "__code" in line 71 is just a (ugly) workaround since "__code cinit_t *cptr" seems to be correct: cptr IS a

Re: [Sdcc-user] pic14 problem: program does not work with _sdcc_gsinit_startup

2012-06-22 Thread Borut Ražem
On Fri, Jun 22, 2012 at 5:56 PM, Gál Zsolt wrote: > Hello, > > I realised that my programs doesn't work if I don't use a simple > routine to avoid linking the sdcc_gsinit_startup code. It could be > problematic for those sdcc users who started to use sdcc for a couple > months ago. I am using thi

Re: [Sdcc-user] gputils 0.14.2 Release Candidate 3

2012-06-22 Thread Borut Ražem
Dear gputils users, due to the application of patch #3536090 - "This is the patch fixes some INC files." I decided to make the third gputils release candidate: RC3. Gputils-0.14.2 Release Candidate 3 is available at http://sourceforge.net/projects/gputils/files/gputils/0.14.2/gputils-0.14.2_RC3

Re: [Sdcc-user] Problem with config words for PIC18FxxJ10 devices

2012-06-18 Thread Borut Ražem
Tamas, try to use "#pragma config" to define configuration bits (see sdccman). You should use a recent sdcc version which implements it. I suggest to use sdcc 3.2.0 RC1, so it will be additionally tested. Let us know if it works for you. If it works, then we should remove config words definitions

[Sdcc-user] SDCC 3.2.0 Release Candidate 1

2012-06-17 Thread Borut Ražem
SDCC 3.2.0 Release Candidate 1 source, doc and binary packages for x86 Linux, 32 bit Windows and universal Mac OS X are available at: http://sourceforge.net/projects/sdcc/files/snapshot_builds/sdcc-3.2.0-rc1 If you find a mistake, please send a mail to sdcc-devel mailing list sdcc-de...@lists.so

[Sdcc-user] gputils 0.14.2 Release Candidate 2

2012-06-17 Thread Borut Ražem
Dear gputils users, due to the fix of bug # 3526915 - "Wrong crossreferences in the COD file." and some other small fixes (see the ChangeLog) I decided to make an other gputils release candidate: RC2. Gputils-0.14.2 Release Candidate 2 is available at http://sourceforge.net/projects/gputils/

[Sdcc-user] gputils 0.14.2 Release Candidate 1

2012-06-11 Thread Borut Ražem
Dear gputils users, gputils-0.14.2 Release Candidate 1 is available at http://sourceforge.net/projects/gputils/files/gputils/0.14.2/gputils-0.14.2_RC1.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/0.14.2/gputils-0.14.2_RC1.exe. Final rele

[Sdcc-user] gputils 0.14.2 Release Candidate 1

2012-06-11 Thread Borut Ražem
Dear gputils users, gputils-0.14.2 Release Candidate 1 is available at http://sourceforge.net/projects/gputils/files/gputils/0.14.2/gputils-0.14.2_RC1.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/0.14.2/gputils-0.14.2_RC1.exe. Final rele

Re: [Sdcc-user] Fuse definitions for pic18f46j50.h

2012-05-28 Thread Borut Ražem
#pragma config accepts underscore characters in svn revision #7797. Borut On Sun, May 27, 2012 at 11:51 PM, Diego Herranz < diegoherr...@diegoherranz.com> wrote: > Great! Thank you. > > On Sun, May 27, 2012 at 10:47 PM, Borut Ražem wrote: > >> Yes, the problem are unde

Re: [Sdcc-user] Fuse definitions for pic18f46j50.h

2012-05-27 Thread Borut Ražem
= HSPLL_HS >> [...] >> >> Warnings: >> MIDI_PEDAL_fuses.h:27: warning 191: #pragma config: bad argument(s); >> pragma ignored >> MIDI_PEDAL_fuses.h:31: warning 191: #pragma config: bad argument(s); >> pragma ignored >> >> Maybe a problem

Re: [Sdcc-user] Fuse definitions for pic18f46j50.h

2012-05-26 Thread Borut Ražem
"allow space characters in #pragma config" problem fixed in svn revision #7792. Borut On 26. 05. 2012 10:58, Diego Herranz wrote: Thanks! On Sat, May 26, 2012 at 10:37 AM, Borut Ražem <mailto:borut.ra...@gmail.com>> wrote: #pragma config is correct. #pragma configu

Re: [Sdcc-user] Fuse definitions for pic18f46j50.h

2012-05-26 Thread Borut Ražem
> > #pragma configure CP0=OFF,OSCS=ON > > The former is the correct one, isn't it? > > Thanks > > > On Fri, May 25, 2012 at 9:27 PM, Borut Ražem wrote: > >> On 25. 05. 2012 18:43, Richard Hughes wrote: >> > I've built master, and tried that. O

Re: [Sdcc-user] Fuse definitions for pic18f46j50.h

2012-05-25 Thread Borut Ražem
On 25. 05. 2012 18:43, Richard Hughes wrote: > I've built master, and tried that. On initial try it worked fine, but > trying to build my firmware image I'm getting: > > test.c:7: warning 191: #pragma config: bad argument(s); pragma ignored > > It seems sdcc expects: > > #pragma config WDTEN=ON > >

Re: [Sdcc-user] Fuse definitions for pic18f46j50.h

2012-05-25 Thread Borut Ražem
In p18f45j50.inc from gputils and from mpasm is written: ; IMPORTANT: For the PIC18 devices, the __CONFIG directive has been ; superseded by the CONFIG directive. The following settings ; are available for this device. This is why there are no __config definitions in

Re: [Sdcc-user] sdcc 7731 compiler build error

2012-05-19 Thread Borut Ražem
Just guessing: did you re-run configure? Borut On Sun, May 20, 2012 at 12:58 AM, roelof 't Hooft wrote: > Hi, > > I've downloaded the latest sdcc source and it fails > to compile with the following error : > > .. > SDCCmain.c:326: error: ‘r3ka_port’ undeclared here (not in a function) > make

Re: [Sdcc-user] sdcc works on the Hurd

2012-05-06 Thread Borut Ražem
Philipp, can you give me some instructions how to create / install the hurd VM, so I don't have to reinvent the wheel? Would it make sense to create a hurd snapshot build VM? Borut On Sat, May 5, 2012 at 3:54 PM, Philipp Klaus Krause wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 >

[Sdcc-user] Obsolete documents from web to wiki

2012-03-12 Thread Borut Ražem
Hi, I moved some old & obsolete files laying without links on sdcc web folder to the sdcc wiki under "Obsolete documents" chapter: * Home Made Single Sided PC BOARDS * Building SDCC on NT4: A proposal * Cygwin Help * Flat Mode * SDCC Tarballs and Binaries Borut -

Re: [Sdcc-user] PIC16F721 - how to get supported ?

2012-02-29 Thread Borut Ražem
I created a gputils Win32 snaphot build from svn revision 674 (current head). You can find it at http://sourceforge.net/projects/gputils/files/gputils-win32-snapshots/gputils-0.14.1-20120229-674.exe. Borut On 28. 02. 2012 07:58, KHMan wrote: > On 2/28/2012 2:30 PM, Raphael Neider wrote: >>> do

Re: [Sdcc-user] PIC16F721 - how to get supported ?

2012-02-25 Thread Borut Ražem
On 25. 02. 2012 14:22, Raphael Neider wrote: >>> SDCC supports the new devices since r7353. > Oh, by the way, all build machines (and interested users) now require > gputils r668+ to build successfully ... I'd guess that's probably OK > for a non-release version of sdcc. gputils is now updated to

Re: [Sdcc-user] PIC16F721 - how to get supported ?

2012-02-25 Thread Borut Ražem
On 25. 02. 2012 12:03, Raphael Neider wrote: > Hi, > For one project I started to use PIC16F721. I haven't noticed that it is still not yet supported. >>> So the first will be to get support into >>> gputils (maybe Borut can help here? >> Done. PIC16{L}F72[01] are supported in gputils sv

Re: [Sdcc-user] PIC16F721 - how to get supported ?

2012-02-24 Thread Borut Ražem
On 21. 02. 2012 21:31, Raphael Neider wrote: > Dear Vaclav, > >> For one project I started to use PIC16F721. I haven't noticed that it is >> still not yet supported. > So the first will be to get support into > gputils (maybe Borut can help here? Done. PIC16{L}F72[01] are supported in gputils svn

Re: [Sdcc-user] PIC16F721 - how to get supported ?

2012-02-23 Thread Borut Ražem
Vaclav, can you please add a feature request to both sdcc and gputils fearture request trackers? Borut On 21. 02. 2012 21:31, Raphael Neider wrote: > Dear Vaclav, > >> For one project I started to use PIC16F721. I haven't noticed that it is >> still not yet supported. > The PI16F72[01] parts

Re: [Sdcc-user] Preprocessor directive: selected microcontroller

2012-02-01 Thread Borut Ražem
The following works for me: $ sdcc -mpic16 -p18F25J50 -E -Wp,-dM t.c #define STACK_MODEL_SMALL 1 #define __pic16 1 #define __STDC_HOSTED__ 0 #define pic18f25j50 1 #define SDCC 312 #define SDCC_REVISION 7243 #define __18f25j50 1 #define SDCC_pic16 1 #define __STDC__ 1 So you should use #ifdef __18

Re: [Sdcc-user] Memory allocation error when use two arrays

2012-01-21 Thread Borut Ražem
Hi Tamas, problem is that sdcc puts all variables, including both arrays, in the same section. The linker tries to allocate a continuous memory block for the complete section, which is 125 bytes, and fails. Solution would be to put each variable in it's own section, the same as the code genera

Re: [Sdcc-user] SDCC bug: Optimizer breaks the code

2012-01-19 Thread Borut Ražem
On 19. 01. 2012 16:50, Butuza Tamas wrote: > Dear SDCC developers, > > I found a bug when I tried to compile a code for pic16F1938. (14 bit enhanced > core) > > The problem is: The optimizer breaks the code. Makes part of the code > unreachable. > Error message is: > test.c:51: warning 110: condi

Re: [Sdcc-user] New x68 build machine

2012-01-08 Thread Borut Ražem
Hello sdcc users and developers, we have a new sdcc DCF Mac OS X i386 build machine named dhcp101. It produces Mac OS X 10.4 i386/ppc universal binaries (i386_universal-apple-macosx) which can be used on both i386 and ppc Mac OS X architectures, same as the mirror-dorrs ppc machine does (univ

[Sdcc-user] gputils 0.14.1 released

2012-01-07 Thread Borut Ražem
Dear gputils users, gputils-0.14.1 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/0.14.1/gputils-0.14.1.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/0.14.1/gputils-0.14.1.

[Sdcc-user] sdcpp on i386 Mac OS X

2012-01-02 Thread Borut Ražem
Dear sdcc users and developers, I've made some changes in sdcc preprocessor sdcpp, which depend on the machine endianness. I'm not sure if the endianness detection works correctly on i386 Mac OS X. Can somebody please try it on svn head or on snapshot build equal or later then sdcc-snapshot-u

Re: [Sdcc-user] sdcc version 3.1.0

2011-12-11 Thread Borut Ražem
Rich, thanks for the report. Borut On 12/11/2011 04:30 PM, Rich Bayless wrote: > Hello Borut, > > I downloaded the 32 bit windows setup from sourceforge by clicking on the > green box that says 'Download setup-3.1.0.exe' and ran the installer. > > This PC is running 32 bit Windows XP, SP3. >

Re: [Sdcc-user] SDCC - own libs

2011-12-06 Thread Borut Ražem
Michal, see sdccman, chapters 3.1.4 - 3.1.6. I recommend to use ar formatted libraries as described in chapter 3.1.6, since the sdcclib utility and sdcclib formatted libraries might be obsoleted in the future. Borut On 12/06/2011 02:57 PM, Michal Hucik - ORDOZ wrote: Hello, I would like

Re: [Sdcc-user] SDCC 3.1.0 release packages prepared

2011-11-27 Thread Borut Ražem
Jamie and Maatren, thanks for the reports. Borut On 11/27/2011 11:10 PM, Maarten Brock wrote: > I had already installed RC3 on XP and found no problems. > My apologies for not reporting it before. I also tested > on Win98 without problems, after the fix in RC2. > > Maarten On 11/27/2011 09:53 P

[Sdcc-user] Small Device C Compiler 3.1.0 released

2011-11-27 Thread Borut Ražem
A new release of SDCC, the portable optimizing compiler for 8051, DS390, Z80, Z180, Rabbit 2000, HC08 and PIC microprocessors is now available (http://sdcc.sourceforge.net). Sources, documentation and binaries compiled for x86 Linux, x86 MS Windows and PPC Mac OS X are available. SDCC 3.1.0 Fea

[Sdcc-user] SDCC 3.1.0 release packages prepared

2011-11-27 Thread Borut Ražem
Dear sdcc users and developers, the sdcc 3.1.0 release packages are prepared and uploaded to the SF File Release system https://sourceforge.net/projects/sdcc/files/. Packages are the same as for sdcc 3.1.0 RC3: I just renamed them. Please download, install and test them on different platforms a

Re: [Sdcc-user] SDCC 3.1.0 Release Candidate 3

2011-11-22 Thread Borut Ražem
SDCC 3.1.0 Release Candidate 3 source, doc and binary packages for x86 Linux, 32 bit Windows and universal Mac OS X are available at: http://sourceforge.net/projects/sdcc/files/snapshot_builds/sdcc-3.1.0-rc3 If you find a mistake, please send a mail to sdcc-devel mailing list sdcc-de...@lists.so

Re: [Sdcc-user] SDCC 3.1.0 Release Candidate 2

2011-11-18 Thread Borut Ražem
SDCC 3.1.0 Release Candidate 2 source, doc and binary packages for x86 Linux, 32 bit Windows and universal Mac OS X are available at: http://sourceforge.net/projects/sdcc/files/snapshot_builds/sdcc-3.1.0-rc2 If you find a mistake, please send a mail to sdcc-devel mailing list sdcc-de...@lists.so

Re: [Sdcc-user] Large array with 14 enhanced core PIC devices

2011-11-17 Thread Borut Ražem
Hi Tamas, thanks for the report. Linear ram is supported by gputils, although not profoundly tested. Gputils 0.14.0 has serious bugs in this area, but in svn HEAD and in 0.14.1 ALPHA1 build the bugs should be fixed. Linear ram is not supported by sdcc. I agree with you that it would be nice t

Re: [Sdcc-user] New pic14 enhanced core devices

2011-11-11 Thread Borut Ražem
On 11/11/2011 02:46 PM, Butuza Tamas wrote: > Dear sdcc developers, > > I cannot buid sdcc and gputils from source, therefore I could use precompiled > binaries for testing. Which platform (operating system) are you using? I'll prepare the gputils from the svn head for you. > These are a bit ol

Re: [Sdcc-user] New pic14 enhanced core devices

2011-11-11 Thread Borut Ražem
Hello Raphael, On 11/11/2011 08:07 AM, Raphael Neider wrote: > 1. I can check in only the new files using the old naming scheme > (underscore) for consistency. > > 2. I can check in the new files using the old naming scheme plus > updated versions of existing header files that have seen changes in

Re: [Sdcc-user] New pic14 enhanced core devices

2011-11-10 Thread Borut Ražem
Hi Raphael, all enhanced 14 bit devices should be now supported by gputils svn head (thanks to Gál Zsolt). I also fixed a nasty bug which made the gputils 0.14.0 unusable :-( . I'm still waiting for reports from Gál and Robert Pearce about the stability. If everything is OK, I'll probably made

Re: [Sdcc-user] SDCC 3.1.0 Release Candidate 1

2011-11-06 Thread Borut Ražem
SDCC 3.1.0 Release Candidate 1 source, doc and binary packages for x86 Linux, 32 bit Windows and universal Mac OS X are available at: http://sourceforge.net/projects/sdcc/files/snapshot_builds/sdcc-3.1.0-rc1 If you find a mistake, please send a mail to sdcc-devel mailing list sdcc-de...@lists.so

Re: [Sdcc-user] New pic14 enhanced core devices

2011-11-05 Thread Borut Ražem
I'm willing to add support for all missing pic14 enh. devices to gputils and make a new release 0.14.1. If somebory wants to help me preparing the gputils gpprocessors.c file, he is welcome! It would be nice if this would be done before the sdcc RC2 release, planned for nest weekend, so that we

Re: [Sdcc-user] sdcc 3.1.0 release

2011-11-05 Thread Borut Ražem
On 11/04/2011 11:14 PM, Maarten Brock wrote: >> Dear sdcc developers, > Are you asking the developers through the user list? > Oops, sorry. But most of (or maybe all) sdcc developers are also sdcc users, so no big harm was done, except spamming the sdcc-user list. >> are we ready for the sdcc 3.1

Re: [Sdcc-user] sdcc 3.1.0 release

2011-11-04 Thread Borut Ražem
Dear sdcc developers, are we ready for the sdcc 3.1.0 RC1 planned for tomorrow? Borut On 10/16/2011 09:15 AM, Borut Ražem wrote: Dear sdcc users, I'm pleased to announce that the SDCC 3.1.0 is planed to be released on 2011-11-26. *SDCC 3.1.0 release is dedicated to memory of Den

[Sdcc-user] gputils 0.14.0 released

2011-10-29 Thread Borut Ražem
Dear gputils users, gputils-0.14.0 has been released. The source code package is available at http://sourceforge.net/projects/gputils/files/gputils/0.14.0/gputils-0.14.0.tar.gz. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/0.14.0/gputils-0.13.0.

Re: [Sdcc-user] asranlib rename to sdranlib

2011-10-25 Thread Borut Ražem
I haven't received any complain, so I'm going to rename "asranlib" to "sdranlib". Borut On 10/15/2011 05:48 PM, Borut Ražem wrote: > Dear sdcc users and developers, > > in order to unify the sdcc toolchain utility prefixes to "sd*" I > pro

Re: [Sdcc-user] How to build sdcc?

2011-10-24 Thread Borut Ražem
Hi Tamas, in the mean time I released gputils 0.14.0 RC2. Widows 32bit setup package is at http://sourceforge.net/projects/gputils/files/gputils-win32/0.14.0/gputils-0.14.0_RC2.exe. Happy testing ;-) And don't forget to let me know about results... Borut > On 10/24/2011 01:14 PM, Butuza Tama

Re: [Sdcc-user] Problem defining config values for pic14 enhanced core device

2011-10-23 Thread Borut Ražem
On 10/23/2011 08:21 PM, Butuza Tamas wrote: > Dear Borut Razem, > Thank you for the fast work. > Hopefully it fix the problem. > I tried to build gputils by myself but I had no success. > I tried it on Ubuntu 11.04. > I checked out the trunk from sourceforge svn, next downloaded the > Byacc and fl

Re: [Sdcc-user] Problem defining config values for pic14 enhanced core device

2011-10-23 Thread Borut Ražem
On 10/22/2011 11:25 PM, Butuza Tamas wrote: > > Ps: I realized that there is also a severe bug in gputils with this > class of pic devices. > At the moment it is impossible to create even a trivially simple > program to these pics. > Ps2: > However I'm trying to figure out some workaround. > Mayb

[Sdcc-user] sdcc 3.1.0 release

2011-10-16 Thread Borut Ražem
Dear sdcc users, I'm pleased to announce that the SDCC 3.1.0 is planed to be released on 2011-11-26. *SDCC 3.1.0 release is dedicated to memory of Dennis M. Ritchie, father of the C programming language.* More info at https://sourceforge.net/apps/trac/sdcc/wiki/SDCC%203.1.0%20Release Bor

[Sdcc-user] asranlib rename to sdranlib

2011-10-15 Thread Borut Ražem
Dear sdcc users and developers, in order to unify the sdcc toolchain utility prefixes to "sd*" I propose to rename "asranlib" to "sdranlib". I don't have an idea how many of you are using "ar" format libraries with the "asranlib" utility and what would such a (cosmetic) change mean for you (up

  1   2   >