Closed CRI73 closed 1 year ago
Hi I have problem with Optiboot -- https://github.com/MCUdude/MightyCore -- ATmega644P
In file included from /Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2.h:142:0, from /Users/omegapro/Google Drive/Elettronica/ASKO/Software/prova menu/LCDML_031_i2c_display_20x4/LCDML_031_i2c_display_20x4.ino:6: /Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2_macros.h:101:88: error: invalid conversion from 'void ()()' to 'LCDML_FuncPtr_pu8 {aka void ()(unsigned char)}' [-fpermissive] LCDMenuLib2menu parent ## ## child(id, param, settings, callback, condition ); ^
^
/Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2_macros.h:107:9: note: in expansion of macro 'LCDML_addAdvanced' LCDML_addAdvanced(id, parent, child, NULL, content, callback, 0, _LCDML_TYPE_default) ^ /Users/omegapro/Google Drive/Elettronica/ASKO/Software/prova menu/LCDML_031_i2c_display_20x4/LCDML_031_i2c_display_20x4.ino:77:3: note: in expansion of macro 'LCDML_add' LCDML_add (8 , LCDML_0_1 , 5 , "Imp. Caldaia" , temp_caldaia); ^ In file included from /Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2.h:121:0, from /Users/omegapro/Google Drive/Elettronica/ASKO/Software/prova menu/LCDML_031_i2c_display_20x4/LCDML_031_i2c_display_20x4.ino:6: /Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2_menu.h:73:13: error: initializing argument 4 of 'LCDMenuLib2_menu::LCDMenuLib2_menu(uint8_t, uint8_t, uint8_t, LCDML_FuncPtr_pu8, LCDML_FuncPtr_rb)' [-fpermissive] LCDMenuLib2_menu(uint8_t p_id, uint8_t p_param, uint8_t p_configuration, LCDML_FuncPtr_pu8 p_callback_function, LCDML_FuncPtr_rb p_condition_function); ^
THANKS in advance for your help !!!! Cristian
Hello, i think it is the same problem as in the LCDMenuLib.
Hi I have problem with Optiboot -- https://github.com/MCUdude/MightyCore -- ATmega644P
In file included from /Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2.h:142:0, from /Users/omegapro/Google Drive/Elettronica/ASKO/Software/prova menu/LCDML_031_i2c_display_20x4/LCDML_031_i2c_display_20x4.ino:6: /Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2_macros.h:101:88: error: invalid conversion from 'void ()()' to 'LCDML_FuncPtr_pu8 {aka void ()(unsigned char)}' [-fpermissive] LCDMenuLib2menu parent ## ## child(id, param, settings, callback, condition ); ^
/Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2_macros.h:107:9: note: in expansion of macro 'LCDML_addAdvanced' LCDML_addAdvanced(id, parent, child, NULL, content, callback, 0, _LCDML_TYPE_default) ^ /Users/omegapro/Google Drive/Elettronica/ASKO/Software/prova menu/LCDML_031_i2c_display_20x4/LCDML_031_i2c_display_20x4.ino:77:3: note: in expansion of macro 'LCDML_add' LCDML_add (8 , LCDML_0_1 , 5 , "Imp. Caldaia" , temp_caldaia); ^ In file included from /Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2.h:121:0, from /Users/omegapro/Google Drive/Elettronica/ASKO/Software/prova menu/LCDML_031_i2c_display_20x4/LCDML_031_i2c_display_20x4.ino:6: /Users/omegapro/Documents/Arduino/libraries/libraries/LCDMenuLib2/src/LCDMenuLib2_menu.h:73:13: error: initializing argument 4 of 'LCDMenuLib2_menu::LCDMenuLib2_menu(uint8_t, uint8_t, uint8_t, LCDML_FuncPtr_pu8, LCDML_FuncPtr_rb)' [-fpermissive] LCDMenuLib2_menu(uint8_t p_id, uint8_t p_param, uint8_t p_configuration, LCDML_FuncPtr_pu8 p_callback_function, LCDML_FuncPtr_rb p_condition_function); ^
THANKS in advance for your help !!!! Cristian