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

I rewrote this line of the build instructions to be more clear.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • 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!