Re: [fpc-pascal] ARM-embedded & Interrupt numbers

2015-08-24 Thread Koenraad Lelong
Op 14-08-15 om 14:18 schreef Jeppe Johansen: Hi Koenraad, For simplicity I think it would be best to just add them to each unit without too many macros. There's not a clear line for what to include in the RTL units at the moment, but with CMSIS growing more relevant I think it makes sense to ha

Re: [fpc-pascal] ARM-embedded & Interrupt numbers

2015-08-14 Thread Jeppe Johansen
On 08/14/2015 09:08 AM, Koenraad Lelong wrote: Is this the way to do it ? Or is there better way ? Or does this exist already ? Comments please. If that's a proper way to do this, how could this be included in a next version of fpc ? Do I make a bug-report including the new file, with diffs

Re: [fpc-pascal] ARM-embedded & Interrupt numbers

2015-08-14 Thread Michael Ring
Jeppe would be the best person to answer your question anyway as he is the master of (nearly) all files in the embedded directory. I just checked, when I created my own units for other devices I included those const's, it seems that they never were in Jeppe's files could it be that you saw the

Re: [fpc-pascal] ARM-embedded & Interrupt numbers

2015-08-14 Thread Marc Santhoff
Hi Koenraad, On Fr, 2015-08-14 at 09:08 +0200, Koenraad Lelong wrote: > Is this the way to do it ? Or is there better way ? Or does this exist > already ? > > Comments please. > > If that's a proper way to do this, how could this be included in a next > version of fpc ? Do I make a bug-repor

[fpc-pascal] ARM-embedded & Interrupt numbers

2015-08-14 Thread Koenraad Lelong
Hi, I'm trying to restart my arm-embedded project. A few years ago I had a working compiler, with some utility-files. I made a new cross-compiler (fpc svn 31290). But I don't find where the interrupt-numbers of an STM32F103xx processor are defined. So I made an inc-file and added that to e.g.