Jump to content
killerb77

Compiling Ultimaker 2+ Firmware

Recommended Posts

Posted · Compiling Ultimaker 2+ Firmware

I want to compile my own Ultimaker 2+ firmware.

 

It says this in the notes on github: “One time change: The UM2 made changes to the I2C driver. You will have to remove this driver function from the Arduino IDE by removing the TWI_vect interrupt routine in arduino/libraries/Wire/utility/twi.c, line 364 Note: when you compile the sources using the makefile you can skip this step.”

 

So do I just comment out or delete line 364 and that’s it?

Share this post


Link to post
Share on other sites
Posted · Compiling Ultimaker 2+ Firmware

I figured it out.  I had to delete or comment out the entire TWI_vect function.  I guess they were referencing about line 364.

  • Like 1

Share this post


Link to post
Share on other sites
Posted · Compiling Ultimaker 2+ Firmware

Out of curiosity did you edit just the file "hardware\arduino\avr\libraries\Wire\src\utility\twi.c" as that's the only copy of twi.c I can find.

Share this post


Link to post
Share on other sites
Posted · Compiling Ultimaker 2+ Firmware
3 hours ago, ChrisRiddell said:

Out of curiosity did you edit just the file "hardware\arduino\avr\libraries\Wire\src\utility\twi.c" as that's the only copy of twi.c I can find.

 

arduino-0023\libraries\Wire\utility\twi.c

 

Old version v23 of arduino.  It's the version suggested in the instructions.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 96 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!