2025-08-17 11:10 PM
Hi all, I am currently working on an IR remote control project using the STM8S microcontroller and developing with ST Visual Developer (STVD), using the STM8S Standard Peripheral Library (STSW-STM8069). While I have made some progress, I am facing a few challenges that I was hoping you could help me with.
MCU: STM8S (exact model: STM8S003F3P6)
IDE: ST Visual Developer (STVD)
Library: STM8S Standard Peripheral Library (STSW-STM8069)
Toolchain: Cosmic C compiler
I’m unsure how to properly configure the STM8 timers in STVD for precise pulse width measurements. Could you provide some guidance or example code for this?
During compilation of empty file with libraries , I encountered several errors that I’m struggling to resolve:
Where should stm8s_conf.h be located in the project structure?
Is there a sample or default version I should copy and modify?
Are these errors caused by missing or incorrect includes in my main source file?
Should I manually include the prototypes for these functions (e.g., from stm8s_adc1.h)?
I’d appreciate any guidance, example project structure, or suggestions to resolve these issues
Thank you for your support.
Best regards,
vaishnavi