【源码】Arduino嵌入式编程工具包

在这里插入图片描述

此工具包用于Arduino的嵌入式编程设计。

This file exchange submission is an Embedded Coder custom target for Arduino.

它使用Arduino平台作为示例硬件,通过相关代码的学习,可以应用于任何自定义的目标硬件。

It uses the Arduino platform as the example hardware, yet the examples it shows can be used to learn and then be applied on any custom target.

作为一种应用方式——展示了利用嵌入式编程器的许多特性,以及创建自定义目标的功能和步骤。

In an applied way - it shows capabilities and steps that leverage many features of Embedded Coder and creating custom targets.

之所以选择Arduino,是因为它具有广泛的可获取性,拥有一个大型的DIY社区,是一个伟大的平台,可以随着各种Arduino平台的变化来探索定制目标所需的各种内容。

Arduino has been selected since it is widely accessible, has a large DIY community, and is a great platform to explore the varying things that a custom target would need as the various Arduino platforms change.

自定义目标硬件的工程师可以使用本工具包来扩展/创建更多的Arduino目标,或者轻松地将其作为示例来创建自己的目标。

A custom target author can use this submission to extend/create more Arduino targets, or to simply use this as an example to create your own.

采用嵌入式编程器的最终用户可以将此应用于自己的Arduinos。

An end user that has Embedded Coder can use this submission for their Arduinos.

本工具包的特点包括:

Some highlights included in this custom target include:

展示如何处理不同Arduino板(甚至非Arduino板)的依赖项。

  • Shows how to handle dependencies for different Arduino boards (and even non-Arduino boards).

当前支持的内容包括Uno, Leonardo, Mega2560。

Current set includes Uno, Leonardo, Mega2560.

可用于驱动最小管脚和存储的选项。

  • Options available to drive to minimal footprint and memory

循环中的处理器(PIL)

  • Processor in the Loop (PIL)

探索多种调度和定时模式

  • Numerous scheduling and timing modes explored.

Simulink算法中直接暴露的溢出检测,从而允许在检测到溢出时进行算法调整。

  • Overrun detection exposed in the Simulink algorithm directly to allow for algorithmic adjustments when overrun is detected during execution.

关于如何添加/更改外围设备模块/功能(LCD、伺服电机、UART、打印到UART、DIO、超声波传感器、异步中断、I2C主设备、I2C从设备等)的大量示例。

  • A wealth of examples on how to add/change peripherals blocks/capabilities (LCD, Servo Motor, UART, printf into UART, DIO, Ultrasonic sensor, Async interrupt, I2C Master, I2C Slave, etc, etc).

其它相关资源如下:

Additional resources for creating custom targets

嵌入式编程器的产品手册

  • Embedded Coder Product Documentation

www.mathworks.com/help/ecoder/index.html (account/license required)

嵌入式开发的咨询服务

  • Developing Embedded Targets Advisory Service

www.mathworks.com/services/consulting/proven-solutions/developing-embedded-targets.html

MATLAB问答:开发自定义嵌入式目标示例

  • MATLAB Answers: example of developing a custom target

www.mathworks.com/matlabcentral/answers/93884

注:只支持Arduino IDE 1.0.5版本。

Note: Only Arduino IDE version 1.0.5 is supported and this submission is not maintained to support new IDEs.

其它更多资源,请参考以下网站:

For additional Arduino support, see www.mathworks.com/hardware-support/arduino-simulink.html.

完整源码下载地址:

http://page2.dfpan.com/fs/cl3c7j32027192a9163/

更多精彩文章请关注微信号:在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42825609/article/details/88414387