Giter Site home page Giter Site logo

stm32g4-esc1's Introduction

STM32G4-ESC1

STM32G4-ESC-DEMO

This is a standard STM32CubeIDE firmware project, that blinks the STATUS LED every 2s.

STM32G4-ESC-SIMULINK

This is a simulink embedded coder project.

MATLAB Requirements

  • MATLAB R2023A (this is what I've used for everything)
  • Simulink
  • Embedded Coder
  • MATLAB Coder
  • Simulink Coder
  • STM32 Embedder Coder Support Package

https://au.mathworks.com/matlabcentral/fileexchange/43093-embedded-coder-support-package-for-stmicroelectronics-stm32-processors

Follow installation instructions for above, and make sure to select STM32G4xxxx as target hardware.

After this, you will need to install STM32 stuff for code gen and flashing code, MATLAB recommends the following versions, and I've verified they work.

STM32CubeMX - Version 6.4.0 https://www.st.com/en/development-tools/stm32cubemx.html#st-get-software

STM32CubeProg - Version 2.4.0 https://www.st.com/en/development-tools/stm32cubeprog.html#st-get-software

I've then followed this tutorial for setting the project up https://au.mathworks.com/help/supportpkg/stmicroelectronicsstm32f4discovery/ug/Getting-started-stm32cubemx.html

After you've installed everything above, you should be able to just load up the simulink project, make sure

Hardware Settings -> Hardware Implementation -> Hardware board settings -> Target hardware resources -> STM32CubeMX project file

points to

ROOTDIR\STM32G4-ESC1\STM32G4-ESC-SIMULINK\STM32Code\STM32G4-ESC-Simulink.ioc

Any changes to the IOC file for hardware config should be done to the file in the STM32Code folder.

stm32g4-esc1's People

Contributors

cwljohnson avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.