Rank: 176567 based on 0 downloads (last 30 days) and 0 file submitted
photo

Stefan Disch

E-mail
Company/University
Albert-Ludwigs-University of Freiburg

Personal Profile:
Professional Interests:
Embedded Systems, Hybrid Systems Verification

 

Watch this Author's files

 

Comments and Ratings by Stefan View all
Updated File Comments Rating
29 Mar 2012 Simulink Support Package for Arduino Uno Hardware (R2012a) Simulink block library for creating standalone applications for the Arduino® Uno platform Author: MathWorks Simulink Team

Is it correct, that this package no longer requires the Embedded Coder Toolbox?

03 Jan 2012 Embedded Coder Target for Arduino Custom target for Arduno and other processors Author: MathWorks Embedded Coder Team

I also tried fix 2) (using Arduino 1.0).

With Arduino 1.0 there came some changes in naming and layout of the includes (see http://arduino.cc/en/Main/ReleaseNotes for details).

I made the following changes to the current version of the arduino target:

1. Edit boards.txt and delete lines 145 through 181 (as told in a previous post)
2. Substitute every occurence of "WProgram.h" with "Arduino.h".
3. Add an additonal include path in rtwmkcfg.m in order to find the "pins_arduino.h" header file (moved to the new variants dir).
4. Commented out line 33 in arduino_smain.tlc because __cxa_pure_virtual is now defined in the Arduino 1.0 libs (see new.h).

These changes allowed me to compile the blink demo without errors.

09 Dec 2011 Embedded Coder Target for Arduino Custom target for Arduno and other processors Author: MathWorks Embedded Coder Team

Has anyone used it with Arduino version 1.0 so far?

18 Nov 2011 Embedded Coder Target for Arduino Custom target for Arduno and other processors Author: MathWorks Embedded Coder Team

I needed two changes to get it working in my environment (Win 7, Matlab 2011b, Arduino-0023 Software, Arduino Uno):

- In Prefs.m I changed in the function searchForComPort the string of the device name to '\\Device\\USBSER000'
(Have a look in your registry at HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM to identify the correct string)

- In runAvrDude.m I removed the baudrate option from the avrdude call. (Before it was set to 57600 and it doesn't work)

Best regards
Stefan

Contact us