If you want you can also have a look at a bit more complex Firmware for the OggStreamer (oggstreamer.wordpress.com) which is using the Headerfiles from ST's "STM8S_StdPeriph_Driver"
http://sourceforge.net/p/oggstreamer/oggs-stm8-firmware-001/ci/master/tree/ best wishes, Georg > Am 25.09.2013 12:45, schrieb Rogier Wolff: >> >> Hi, >> >> I just got myself an STM8 discovery board. I'm trying to get the >> development environment working. I cloned the SVN repository for the >> latest version of SDCC. >> >> I found an stm8 example, at: >> https://github.com/vdudouyt/sdcc-examples-stm8/ >> >> The blinky.c file starts out by including the stm8l.h header. sdcc >> cannot find this file. And neither can I. >> >> Where is that header supposed to come from? >> >> (I have an STM8S processor, not STM8L, but I'm hoping that findind >> stm8l.h will help me find stm8s.h too... :-) ) >> >> Roger. >> > > I have attached my own blinky example. This one is a bit more > complicated, since it uses a timer instead of a delay loop. It does not > use any stm8-specific header (the header file just contains some > defines). It ist meant for the STM8L, but by adjusting the defines, > could be used for STM8S. > > Philipp > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk_______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user