cancel
Showing results for 
Search instead for 
Did you mean: 

STM8 SPL config files for Nucleo boards

Kmax18
Senior

The STM8 Standard Peripheral Library does not include example config files (header files) for STM8 Nucleo boards. Are headers for the Nucleo-S208RB available online? I though I ask before creating one... Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Download AN5178 from section "Demo resources" (en.FW_for_AN5178_on_STM8S.zip), there you find files you are looking for.

https://www.st.com/en/evaluation-tools/nucleo-8s208rb.html#

View solution in original post

6 REPLIES 6
AA1
Senior III
Kmax18
Senior

Thank you for your response. The STM8 SPL includes only examples for the STM8_EVAL and STM8_128_EVAL boards, not for Nucleo boards. See the 'Utilities' sub-folder.

what should "config files for STM8 nucleo" contain ? On STM8S208RB Nucleo you have only user button (PE4), LED (PC5) and UART (PA4/PA5).

Kmax18
Senior

Hello Michal, thanks for your response. You are correct, the SPL header file stm8s.h contains the MCU specifics needed for the Nucleo-8s208RB board.

Kmax18
Senior

Application note AN5178 on www.st.com includes example code for STM8 Nucleo-64 board, including the header STM8S_nucleo.h.

Download AN5178 from section "Demo resources" (en.FW_for_AN5178_on_STM8S.zip), there you find files you are looking for.

https://www.st.com/en/evaluation-tools/nucleo-8s208rb.html#