Simulink (Embedded Coder) Target for TI Stellaris LaunchPad
Simulink (Embedded Coder) Target for TI Stellaris LaunchPad
Summary:
TI Stellaris LaunchPad (http://www.ti.com/stellaris-launchpad-b) is a low-cost development board based on ARM Cortex-M4F.
Simulink (http://www.mathworks.com/products/simulink) is a leading environment for multidomain simulation and Model-Based Design.
Embedded Coder (http://www.mathworks.com/products/embedded-coder) allows you to generate C code and deploy your algorithms to target hardware.
Please refer to this repository: https://github.com/kyak/stellaris_ert for the latest development version. Your input and feedback is highly appreciated!
Installation:
1) Windows/Linux: Have Code Composer Studio 5.3 (or above) installed (http://processors.wiki.ti.com/index.php/Download_CCS).
2) Windows/Linux: Have StellarisWare installed (http://www.ti.com/tool/SW-EK-LM4F120XL). You don't have to download the complete StellarisWare package. "StellarisWare for the Stellaris LM4F120 LaunchPad Evaluation Board" is enough.
Make sure your toolchain is working (build and download some test project, check connection) before you proceed!
3) Make sure you have a working/supported host compiler (http://www.mathworks.com/support/compilers/R2014a/index.html) by running
mex -setup
in MATLAB.
4) Extract this package somewhere. Make sure there are no spaces/non-ASCII characters in path (just in case).
5) Within MATLAB, 'cd' to the directory containing stellaris_setup.m and run this script.
You should be good to go.
What this package already has:
Standalone execution on target (driven by ISR)
Execution in PIL mode
PIL mode profiling
Simulink library blocks for:
* GPIO
* Push Buttons
* UART Read/Write
* Built-in temperature sensor
* Generic ADC
What this package would like to have:
Simulink library blocks for:
* PWM, Interrupts, uDMA...
* Timers
More documentation
External Mode support
引用格式
Mikhail (2024). Simulink (Embedded Coder) Target for TI Stellaris LaunchPad (https://github.com/kyak/stellaris_ert), GitHub. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Code Generation > Embedded Coder >
- Code Generation > Embedded Coder > Deployment, Integration, and Supported Hardware > Embedded Coder Supported Hardware >
标签
社区
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!blocks
help/source
stellaris
stellaris/+stellaris
blocks
demos
无法下载基于 GitHub 默认分支的版本
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.6.0.0 | Validated with R2017b |
|
|
1.5.0.0 | Validated with R2016b |
|
|
1.4.0.0 | Link to Github repo |
|
|
1.3.0.0 | Among various fixes, this release was tested to work with MATLAB R2014a |
||
1.2.0.0 | Add ADC support
|
||
1.1.0.0 | Link to the source repository, so people would know where to find a bleeding edge version. |
||
1.0.0.0 |