cancel
Showing results for 
Search instead for 
Did you mean: 

whether there are libraries for STM8 periphery? (assembler)

s1975
Associate II
Posted on August 01, 2013 at 11:56

whether there are libraries for STM8 periphery? (assembler)

I didn't find if at someone is, report the link, please.

4 REPLIES 4
s1975
Associate II
Posted on August 01, 2013 at 11:57

STVD assembler

fggnrc2
Associate II
Posted on August 01, 2013 at 12:04

The hardware peripheral include files are stored under the root directory of your STVD installation, i.e. inside C:\Program Files\STMicroelectronics\st_toolset\asm

s1975
Associate II
Posted on August 01, 2013 at 12:11

more correctly, for example i2c library, etc., so that it would be possible to use record and reading function, as for C

fggnrc2
Associate II
Posted on August 01, 2013 at 13:22

Sorry, there is no assembler library for using a STM8 peripheral.

If you want one, you could compile the STM8 standard peripheral library and use the compiler assembler output.

You can also ''call'' the library C functions from your assembler code if it meets the calling convention of the C compiler, but it's easier to ''translate'' the C algorithm in an assembler one starting from the assembler output of the compiler...