Message Boards Message Boards

Issue with MicrocontrollerKit for ArduinoMirco?

Posted 4 years ago

Hello, I am trying to learn "MicrocontrollerKit`", and I came across a strange issue with some example code. It appears that when using a specific target, "ArduinoMicro", compilation always fails with an error, regardless of what model I am trying to compile (state space, transfer function, etc.).

I am using Wolfram Desktop version 12.1.0 on Windows 10.

The following is an example notebook that I have uploaded demonstrating compilation of a simple model failing for "ArduinoMicro" and succeeding for "ArduinoUno":

When I hover my mouse over the second circle (which is red - I guess indicating a compilation error) I see the following message:

avr-gcc.exe: fatal error: no input files


compilation terminated.

I am able to view the generated code for the Arduino Micro, but nothing beyond that.

I hope this can help diagnose the problem. If anyone out there has suggestions or has experienced a similar problem, feel free to leave a comment. Thanks!

POSTED BY: Alec Graves
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract