Jump to content
UltiMaker Community of 3D Printing Experts

Integration Ultipanel v2 in original marlin


jean-baptiste
 Share

Recommended Posts

Posted (edited) · Integration Ultipanel v2 in original marlin

Hi everybody,

I am trying to implant the ultipanel v2 (with ultimaker motherboard v2.1.1) with the original Marlin (becaus I would use other function who are in this and not in the ultimaker 2 marlin).

I have implant the ultipanel v2 => ULTIBOARD_V2_CONTROLLER in Configuration.h and I have add all UltiLCD2 files with ultralcd_implementation_ultiboard_v2.h but when I am compiling I have a BIG lot of problem....

 

In file included from sketch\ultralcd.cpp:41:0:sketch\ultralcd.cpp: In function 'void lcd_control_volumetric_menu()':ultralcd_implementation_ultiboard_v2.h:869: error: invalid conversion from 'char' to 'const char*' [-fpermissive]#define lcd_implementation_drawmenu_setting_edit_callback_bool_selected(row, pstr, pstr2, data, callback) lcd_implementation_drawmenu_setting_edit_generic_selected_P(row, pstr, '>', (*(data))?PSTR(MSG_ON)STR(MSG_OFF))                                                                                                                                                                                                                          ^sketch\ultralcd.cpp:135:17: note: in expansion of macro 'lcd_implementation_drawmenu_setting_edit_callback_bool_selected'                lcd_implementation_drawmenu_ ## type ## _selected (_drawLineNr, _label_pstr , ## args ); \                ^sketch\ultralcd.cpp:150:55: note: in expansion of macro 'MENU_ITEM'#define MENU_ITEM_EDIT_CALLBACK(type, label, args...) MENU_ITEM(setting_edit_callback_ ## type, label, PSTR(label) , ## args )                                                      ^sketch\ultralcd.cpp:885:2: note: in expansion of macro 'MENU_ITEM_EDIT_CALLBACK' MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled, calculate_volumetric_multipliers); ^ultralcd_implementation_ultiboard_v2.h:869: error: too many arguments to function 'void lcd_implementation_drawmenu_setting_edit_generic_selected_P(uint8_t, const char*, const char*)'#define lcd_implementation_drawmenu_setting_edit_callback_bool_selected(row, pstr, pstr2, data, callback) lcd_implementation_drawmenu_setting_edit_generic_selected_P(row, pstr, '>', (*(data))?PSTR(MSG_ON)STR(MSG_OFF))                                                                                                                                                                                                                          ^sketch\ultralcd.cpp:135:17: note: in expansion of macro 'lcd_implementation_drawmenu_setting_edit_callback_bool_selected'                lcd_implementation_drawmenu_ ## type ## _selected (_drawLineNr, _label_pstr , ## args ); \                ^sketch\ultralcd.cpp:150:55: note: in expansion of macro 'MENU_ITEM'#define MENU_ITEM_EDIT_CALLBACK(type, label, args...) MENU_ITEM(setting_edit_callback_ ## type, label, PSTR(label) , ## args )                                                      ^sketch\ultralcd.cpp:885:2: note: in expansion of macro 'MENU_ITEM_EDIT_CALLBACK' MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled, calculate_volumetric_multipliers); ^In file included from sketch\ultralcd.cpp:41:0:sketch\ultralcd_implementation_ultiboard_v2.h:782:13: note: declared herestatic void lcd_implementation_drawmenu_setting_edit_generic_selected_P(uint8_t row, const char* pstr, const char* data)            ^In file included from sketch\ultralcd.cpp:41:0:ultralcd_implementation_ultiboard_v2.h:870: error: invalid conversion from 'char' to 'const char*' [-fpermissive]#define lcd_implementation_drawmenu_setting_edit_callback_bool(row, pstr, pstr2, data, callback) lcd_implementation_drawmenu_setting_edit_generic_P(row, pstr, ' ', (*(data))?PSTR(MSG_ON)STR(MSG_OFF))                                                                                                                                                                                                        ^sketch\ultralcd.cpp:137:17: note: in expansion of macro 'lcd_implementation_drawmenu_setting_edit_callback_bool'                lcd_implementation_drawmenu_ ## type (_drawLineNr, _label_pstr , ## args ); \                ^sketch\ultralcd.cpp:150:55: note: in expansion of macro 'MENU_ITEM'#define MENU_ITEM_EDIT_CALLBACK(type, label, args...) MENU_ITEM(setting_edit_callback_ ## type, label, PSTR(label) , ## args )                                                      ^sketch\ultralcd.cpp:885:2: note: in expansion of macro 'MENU_ITEM_EDIT_CALLBACK' MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled, calculate_volumetric_multipliers); ^ultralcd_implementation_ultiboard_v2.h:870: error: too many arguments to function 'void lcd_implementation_drawmenu_setting_edit_generic_P(uint8_t, const char*, const char*)'#define lcd_implementation_drawmenu_setting_edit_callback_bool(row, pstr, pstr2, data, callback) lcd_implementation_drawmenu_setting_edit_generic_P(row, pstr, ' ', (*(data))?PSTR(MSG_ON)STR(MSG_OFF))                                                                                                                                                                                                        ^sketch\ultralcd.cpp:137:17: note: in expansion of macro 'lcd_implementation_drawmenu_setting_edit_callback_bool'                lcd_implementation_drawmenu_ ## type (_drawLineNr, _label_pstr , ## args ); \                ^sketch\ultralcd.cpp:150:55: note: in expansion of macro 'MENU_ITEM'#define MENU_ITEM_EDIT_CALLBACK(type, label, args...) MENU_ITEM(setting_edit_callback_ ## type, label, PSTR(label) , ## args )                                                      ^sketch\ultralcd.cpp:885:2: note: in expansion of macro 'MENU_ITEM_EDIT_CALLBACK' MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled, calculate_volumetric_multipliers); ^In file included from sketch\ultralcd.cpp:41:0:sketch\ultralcd_implementation_ultiboard_v2.h:807:13: note: declared herestatic void lcd_implementation_drawmenu_setting_edit_generic_P(uint8_t row, const char* pstr, const char* data)            ^ultralcd.cpp:135: error: 'lcd_implementation_drawmenu_setting_edit_callback_float43_selected' was not declared in this scope                lcd_implementation_drawmenu_ ## type ## _selected (_drawLineNr, _label_pstr , ## args ); \                                                                                                      ^sketch\ultralcd.cpp:150:55: note: in expansion of macro 'MENU_ITEM'#define MENU_ITEM_EDIT_CALLBACK(type, label, args...) MENU_ITEM(setting_edit_callback_ ## type, label, PSTR(label) , ## args )                                                      ^sketch\ultralcd.cpp:888:3: note: in expansion of macro 'MENU_ITEM_EDIT_CALLBACK'  MENU_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_SIZE_EXTRUDER_0, &filament_size[0], DEFAULT_NOMINAL_FILAMENT_DIA - .5, DEFAULT_NOMINAL_FILAMENT_DIA + .5, calculate_volumetric_multipliers);  ^ultralcd.cpp:137: error: 'lcd_implementation_drawmenu_setting_edit_callback_float43' was not declared in this scope                lcd_implementation_drawmenu_ ## type (_drawLineNr, _label_pstr , ## args ); \                                                                                         ^sketch\ultralcd.cpp:150:55: note: in expansion of macro 'MENU_ITEM'#define MENU_ITEM_EDIT_CALLBACK(type, label, args...) MENU_ITEM(setting_edit_callback_ ## type, label, PSTR(label) , ## args )                                                      ^sketch\ultralcd.cpp:888:3: note: in expansion of macro 'MENU_ITEM_EDIT_CALLBACK'  MENU_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_SIZE_EXTRUDER_0, &filament_size[0], DEFAULT_NOMINAL_FILAMENT_DIA - .5, DEFAULT_NOMINAL_FILAMENT_DIA + .5, calculate_volumetric_multipliers);  ^sketch\ultralcd.cpp: In function 'void lcd_buttons_update()':ultralcd.cpp:1400: error: 'encrot0' was not declared in this scope        case encrot0:             ^ultralcd.cpp:1401: error: 'encrot3' was not declared in this scope            if(lastEncoderBits==encrot3)                                ^ultralcd.cpp:1403: error: 'encrot1' was not declared in this scope            else if(lastEncoderBits==encrot1)                                     ^ultralcd.cpp:1406: error: 'encrot1' was not declared in this scope        case encrot1:             ^ultralcd.cpp:1409: error: 'encrot2' was not declared in this scope            else if(lastEncoderBits==encrot2)                                     ^ultralcd.cpp:1412: error: 'encrot2' was not declared in this scope        case encrot2:             ^ultralcd.cpp:1415: error: 'encrot3' was not declared in this scope            else if(lastEncoderBits==encrot3)                                     ^ultralcd.cpp:1418: error: 'encrot3' was not declared in this scope        case encrot3:             ^exit status 1invalid conversion from 'char' to 'const char*' [-fpermissive]

 

Can somebody help me to implant the Ulti LCD v2 in original marlin please ? :)

Thanks a lot & have a nice day !

Jean-Baptiste

Edited by Guest
  • Link to post
    Share on other sites

    Posted · Integration Ultipanel v2 in original marlin

    That's a bit confusing...

    You are talking about the firmware for an Ultimaker2, right?

    ...at least the "UltiLCD2..." files are used for the display of the Ultimaker 2

    - this would presume a

    #define ENABLE_ULTILCD2

    The "ultralcd...." files are not needed - at least not for a stock UM2 - the same applies to "ULTIBOARD_V2_CONTROLLER" - are you using a different display?

    AFAIK you would never need both?

  • Link to post
    Share on other sites

    Posted · Integration Ultipanel v2 in original marlin

    Hi tinkergnome !

    I am not talking about the ultimaker 2 marlin version but original version.

    I have implanted in this original version the UltiLCD in, hum... I try it we will say.

    I would make work the ENABLE_ULTILCD2 or ULTIBOARD_V2_CONTROLLER.

    but I get this all error in compiling

    I am using of course the ultimaker display :)

  • 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
     Share

    • Our picks

      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 7 replies
      • UltiMaker Cura 5.3.0-Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 16 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    ×
    ×
    • Create New...