Re: [Sdcc-user] SDCC preprocessor issue

2015-01-26 Thread Erik Petrich
On Mon, 26 Jan 2015, Georg Icking-Konert wrote: hello all,   as mentioned elsewhere I am trying to port the STM8-SPL library by STM to SDCC. Currently I got stuck at a seemingly simple problem. Here’s the technical background: 1) my target is to modify only the common headers, not the projec

Re: [Sdcc-user] SDCC port of STM8 Standard Peripheral Library

2015-01-26 Thread Erik Petrich
On Mon, 26 Jan 2015, Georg Icking-Konert wrote: On Thu, 22 Jan 2015, Philipp Klaus Krause wrote: On 21.01.2015 19:36, Georg Icking-Konert wrote: 1) how do I declare and implement the trap handler? According to http://sourceforge.net/p/sdcc/patches/224/ the keyword "__trap? is available v

Re: [Sdcc-user] SDCC preprocessor issue

2015-01-26 Thread Maarten Brock
Hi Georg, You forgot the option to modify SDCC so it accepts the __interrupt keyword either before or after the function :) Maarten > hello all, > > as mentioned elsewhere I am trying to port the STM8-SPL library by STM to > SDCC. Currently I got stuck at a seemingly simple problem. Here’s the

Re: [Sdcc-user] Z180 port status?

2015-01-26 Thread Philipp Klaus Krause
On 26.01.2015 22:39, Dave McGuire wrote: > On 01/21/2015 06:51 AM, Philipp Klaus Krause wrote: >>> Hi folks. Someone (Philipp, I think) wrote some Z180 support for >>> SDCC a couple of years ago. What's the current status of that >>> support? >> >> Stable port, passes regression tests. Code gener

Re: [Sdcc-user] Z180 port status?

2015-01-26 Thread Dave McGuire
On 01/21/2015 06:51 AM, Philipp Klaus Krause wrote: >> Hi folks. Someone (Philipp, I think) wrote some Z180 support for >> SDCC a couple of years ago. What's the current status of that >> support? > > Stable port, passes regression tests. Code generation uses the > Z80-specific mul and tst inst

Re: [Sdcc-user] SDCC preprocessor issue

2015-01-26 Thread Philipp Klaus Krause
On 26.01.2015 20:51, Georg Icking-Konert wrote: > hello all, > > as mentioned elsewhere I am trying to port the STM8-SPL library by STM > to SDCC. Currently I got stuck at a seemingly simple problem. Here’s the > technical background: > > 1) my target is to modify only the common headers, not th

[Sdcc-user] SDCC preprocessor issue

2015-01-26 Thread Georg Icking-Konert
hello all, as mentioned elsewhere I am trying to port the STM8-SPL library by STM to SDCC. Currently I got stuck at a seemingly simple problem. Here’s the technical background: 1) my target is to modify only the common headers, not the project specific header 2) all other supported compiler

Re: [Sdcc-user] SDCC port of STM8 Standard Peripheral Library

2015-01-26 Thread Philipp Klaus Krause
On 21.01.2015 19:36, Georg Icking-Konert wrote: > hello all, > > I am currently trying to port the STM8S Standard Peripheral Library to > SDCC > (http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC1807/SS1754/PF258009). > If I succeed it would open up the whole range of examples and libs > avai

Re: [Sdcc-user] SDCC port of STM8 Standard Peripheral Library

2015-01-26 Thread Georg Icking-Konert
> On Thu, 22 Jan 2015, Philipp Klaus Krause wrote: > >> On 21.01.2015 19:36, Georg Icking-Konert wrote: >>> >>> 1) how do I declare and implement the trap handler? According >>> to http://sourceforge.net/p/sdcc/patches/224/ the keyword "__trap? is >>> available via patch (2014-02-22). Is this al