Best Practices for Setting Up a Multi-Targeted Alire Project #1986
Joebeazelman
started this conversation in
General
Replies: 2 comments 6 replies
-
|
Is it "firmware" project? I mean that it produce few executables for different MCUs? Do you have platform independent HAL layer? Or is HAL part of the MCU specific project? |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Have the common code in a directory and then set up multiple crates that points to the common code. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the past, I have inquired about setting up a project to target multiple microcontrollers, each utilizing a distinct cross-compiler. This presents a unique challenge due to the varying hardware requirements.
Below is an overview of my project structure:
Hardware Project:
Core :
Hardware Support Projects:
I am seeking guidance on finding an Alire-based project solution to this issue. I have been advised to maintain all projects as separate crates and “with” them together. This approach is effective when each project operates independently and can be reused. In my case, however, the projects are tightly intertwined.
What the best practices for building a mono-repo with or without external dependencies? Are there any real examples?
Beta Was this translation helpful? Give feedback.
All reactions