-
Notifications
You must be signed in to change notification settings - Fork 270
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
Porting to SMT32G0 #164
Comments
Hi, Goil templatesThe templates should be adapted in 4 parts:
template/configIn config templates, each file inherits from higher level directories. For instance, the
First, the config templates should be adapted. Copy the configuration template from another port (i.e. Files are:
template/codeMost of these files are generic to the STM32. They are related to the way the interrupts are handled (exti for instance). You have to update the template/linkerThe linker scripts are pretty much the same for a given family (CortexM4, cortexM7,...), except for:
template/buildThe build scripts have been already defined in the config templates. However, one can set VSCode related tools (when using the CMake build system) for a better integration. The directory should be copied from another port (stm32l432 for instance) and
CodeSome files should be specialized in the machineWe need to take a file from a similar target (CM4/CM7). In fact, only one file should be updated: Different files (copied from the STM32L432 target):
exampleTo build the first application, a basic application should be defined. The best way is to copy a basic app (blink) from another target, and get .c, .oil and README files. |
I got it, I made the blinking and interrupt examples, and now I'm working on my app. |
Great, |
Hi @mbriday Where can I find or when will the script you mentioned above - setInterruptDefsOil.py - be available? |
Hi, |
@mbriday thanks for your reply. I have a question about external communication - between ECUs. |
Hello.
I want to port the OS to a STM32G0 mcu (Nucleo board), which has the Cortex m0+, can someone tell me which files I need to modify, considering the CPU is already supported.
I will really appreciate your help.
The text was updated successfully, but these errors were encountered: