Re: [Sdcc-user] Another question about interrupts on STM8

2020-11-19 Thread Karsten Langeloh
> > And the second is that for the system in general the vector table > > flash should be empty > > to be written (as from code running in ram) at a later point. > > And yes _that_ is a very special case. > > I am intrigued as to what your use-case is for dynamically installing > interrupt handlers

Re: [Sdcc-user] Another question about interrupts on STM8

2020-11-19 Thread Karsten Langeloh
Hi, On Thu, Nov 19, 2020 at 8:33 AM Philipp Klaus Krause wrote: > Am 18.11.20 um 23:10 schrieb Karsten Langeloh: > > The target mcu is a stm8s208. > > I have two files: main.c and isr.c > > I am using SDCC : hc08/s08/stm8 4.0.0 #11528 (Linux) on Gentoo Linux > > Compi

[Sdcc-user] Another question about interrupts on STM8

2020-11-18 Thread Karsten Langeloh
Hello everyone, no this is not the "how do i do interrupts with sdcc" question :) I have used sdas-stm8 in the past to convert some "old" projects from STVD to something more usable (aka Makefiles and git) and it worked great. For another project I would like to stay away from assembler coding so