Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can it generate atomic code like embedded coder in matlab ? #387

Open
parthmpatel1110 opened this issue Mar 16, 2024 · 1 comment
Open

Comments

@parthmpatel1110
Copy link

Hi,
You did great work developing the library. I am trying to use it smt32G4. I have generated a base-level driver from stm32cubeide and modified it to suit my needs. Is there any way this library generates atomic code for the Modelica function? If there is another way to do that, please provide a reference.

@bernhard-thiele
Copy link
Collaborator

Hm, this library doesn't generate C code. It's the Modelica tool which generates the code. MDD just uses the Modelica external function interface for interfacing to C code which finally accesses the hardware device. There is a relevant paper which describes some experimental work targeting STM32F4 Boards (https://doi.org/10.1145/3158191.3158204). It used an experimental code generator target from OpenModelica which probably comes close to what you need in respect of the code structure, but it was very limited in terms of supported Modelica code. I haven't checked for long time what the status of that target is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants