Skip to main content
NMurr.2
Associate
June 7, 2021
Question

Is there a library for C++ that simulates the stm32 micro controllers?

  • June 7, 2021
  • 3 replies
  • 1160 views

I'm developing on Linux and I would like to find a c++ library that simulates the behavior of the stm32 micro controller's family.

I'm looking for something similar to simavr.

is there something like that?

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    June 7, 2021

    Which STM32? The real bear is simulating/emulating the peripheral level functionality rather than the Cortex-Mx

    Perhaps look a MAME or QEMU type projects, or emulators where you can support code/scripts to simulate specific HW of interest.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    NMurr.2
    NMurr.2Author
    Associate
    June 7, 2021

    Hello, Thanks for the answer.

    I'm currently developing on the Nucleo Boards the l432kc and the f446re.

    So I would like something to simulate/emulate them as first.

    TDK
    June 7, 2021

    No, not really. There is this for the F1 series but not sure how much use it gets:

    http://beckus.github.io/qemu_stm32/

    "If you feel a post has answered your question, please click ""Accept as Solution""."