Error when building latest 3D printer firmware

First google result for multiple definition of '__vector_23':

Looking at the code that doesn’t build, there is the ISR

This file is non-existant for your working 3.7.2 version, explaining why it works.

This issue with the new version is also already referenced in the project you linked to

With the solution

Which points to this Arduino core / board definition

https://raw.githubusercontent.com/DRracer/Arduino_Boards/master/IDE_Board_Manager/package_prusa3d_index.json

Their core’s wiring.c has the “fix” which is surrounding the TIMER0 vector used by millis() with #ifdef 0. Read the comment for explanation.

So what you need to do is import the same core and variant definition as this project commands you to do. That is,

board_build.core = rambo

(board_build.variant must not be altered because it already is rambo)

(this is all documented in the documentation and board’s JSON file)

2 Likes