Repetier,
I really like how much you have commented the code, it makes is much easier to follow, thanks alot. But now after setting up the firmware v0.61 for my RAMPS 1.4 settings and compiling using Arduino v0022 on Fedora 16 64 bit and get the following errors which may be more PROGMEM statements that you comented about, could you help please? By the way, only my electronics are done, no heating elements or structure yet, so testing will be limited for now.
Thanks again,
ui.cpp:21:33: error: variable 'encoder_table' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
In file included from ui.h:388:0,
from ui.cpp:22:
uiconfig.h:438:1: error: variable 'ui_page1_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:438:1: error: variable 'ui_page1_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:438:1: error: variable 'ui_page1_3txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:438:1: error: variable 'ui_page1_4txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:438:1: error: variable 'ui_page1_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:442:1: error: variable 'ui_page2_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:442:1: error: variable 'ui_page2_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:442:1: error: variable 'ui_page2_3txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:442:1: error: variable 'ui_page2_4txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:442:1: error: variable 'ui_page2_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:482:1: error: variable 'ui_menu_error_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:482:1: error: variable 'ui_menu_error_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:482:1: error: variable 'ui_menu_error_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:487:1: error: variable 'ui_menu_xpos_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:487:1: error: variable 'ui_menu_xpos_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:487:1: error: variable 'ui_menu_xpos_3txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:487:1: error: variable 'ui_menu_xpos_4txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:487:1: error: variable 'ui_menu_xpos_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:488:1: error: variable 'ui_menu_ypos_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:488:1: error: variable 'ui_menu_ypos_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:488:1: error: variable 'ui_menu_ypos_3txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:488:1: error: variable 'ui_menu_ypos_4txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:488:1: error: variable 'ui_menu_ypos_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:489:1: error: variable 'ui_menu_zpos_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:489:1: error: variable 'ui_menu_zpos_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:489:1: error: variable 'ui_menu_zpos_3txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:489:1: error: variable 'ui_menu_zpos_4txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:489:1: error: variable 'ui_menu_zpos_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:490:1: error: variable 'ui_menu_xpos_fast_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:490:1: error: variable 'ui_menu_xpos_fast_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:490:1: error: variable 'ui_menu_xpos_fast_3txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:490:1: error: variable 'ui_menu_xpos_fast_4txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:490:1: error: variable 'ui_menu_xpos_fast_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:491:1: error: variable 'ui_menu_ypos_fast_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:491:1: error: variable 'ui_menu_ypos_fast_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:491:1: error: variable 'ui_menu_ypos_fast_3txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:491:1: error: variable 'ui_menu_ypos_fast_4txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:491:1: error: variable 'ui_menu_ypos_fast_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:492:1: error: variable 'ui_menu_zpos_fast_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:492:1: error: variable 'ui_menu_zpos_fast_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:492:1: error: variable 'ui_menu_zpos_fast_3txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:492:1: error: variable 'ui_menu_zpos_fast_4txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:492:1: error: variable 'ui_menu_zpos_fast_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:501:1: error: variable 'ui_menu_epos_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:501:1: error: variable 'ui_menu_epos_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:501:1: error: variable 'ui_menu_epos_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:508:1: error: variable 'ui_menu_back_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:516:1: error: variable 'ui_menu_home_all_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:517:1: error: variable 'ui_menu_home_x_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:518:1: error: variable 'ui_menu_home_y_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:519:1: error: variable 'ui_menu_home_z_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:520:1: error: variable 'ui_menu_go_xpos_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:521:1: error: variable 'ui_menu_go_ypos_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:522:1: error: variable 'ui_menu_go_zpos_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:523:1: error: variable 'ui_menu_go_epos_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:524:1: error: variable 'ui_menu_go_xfast_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:525:1: error: variable 'ui_menu_go_yfast_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:526:1: error: variable 'ui_menu_go_zfast_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:529:1: error: variable 'ui_menu_positions_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:533:1: error: variable 'ui_menu_ext_temp0_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:534:1: error: variable 'ui_menu_ext_temp1_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:535:1: error: variable 'ui_menu_bed_temp_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:536:1: error: variable 'ui_menu_ext_sel0_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:537:1: error: variable 'ui_menu_ext_sel1_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:538:1: error: variable 'ui_menu_ext_off0_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:539:1: error: variable 'ui_menu_ext_off1_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:540:1: error: variable 'ui_menu_ext_origin_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:558:1: error: variable 'ui_menu_extruder_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:563:1: error: variable 'ui_menu_quick_preheat_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:564:1: error: variable 'ui_menu_quick_cooldown_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:565:1: error: variable 'ui_menu_quick_origin_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:566:1: error: variable 'ui_menu_quick_stopstepper_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:568:1: error: variable 'ui_menu_quick_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:573:1: error: variable 'ui_menu_fan_off_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:574:1: error: variable 'ui_menu_fan_25_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:575:1: error: variable 'ui_menu_fan_50_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:576:1: error: variable 'ui_menu_fan_75_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:577:1: error: variable 'ui_menu_fan_full_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:579:1: error: variable 'ui_menu_fan_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:580:1: error: variable 'ui_menu_fan_sub_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:612:1: error: variable 'ui_menu_debug_echo_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:613:1: error: variable 'ui_menu_debug_info_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:614:1: error: variable 'ui_menu_debug_error_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:615:1: error: variable 'ui_menu_debug_dryrun_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:618:1: error: variable 'ui_menu_debugging_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:622:1: error: variable 'ui_menu_ops_off_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:623:1: error: variable 'ui_menu_ops_classic_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:624:1: error: variable 'ui_menu_ops_fast_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:625:1: error: variable 'ui_menu_ops_retract_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:626:1: error: variable 'ui_menu_ops_backslash_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:627:1: error: variable 'ui_menu_ops_mindist_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:628:1: error: variable 'ui_menu_ops_moveafter_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:630:1: error: variable 'ui_menu_ops_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:631:1: error: variable 'ui_menu_ops_sub_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:638:1: error: variable 'ui_menu_accel_printx_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:639:1: error: variable 'ui_menu_accel_printy_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:640:1: error: variable 'ui_menu_accel_printz_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:641:1: error: variable 'ui_menu_accel_travelx_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:642:1: error: variable 'ui_menu_accel_travely_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:643:1: error: variable 'ui_menu_accel_travelz_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:644:1: error: variable 'ui_menu_accel_jerk_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:645:1: error: variable 'ui_menu_accel_zjerk_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:647:1: error: variable 'ui_menu_accel_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:650:1: error: variable 'ui_menu_feedrate_maxx_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:651:1: error: variable 'ui_menu_feedrate_maxy_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:652:1: error: variable 'ui_menu_feedrate_maxz_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:653:1: error: variable 'ui_menu_feedrate_homex_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:654:1: error: variable 'ui_menu_feedrate_homey_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:655:1: error: variable 'ui_menu_feedrate_homez_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:657:1: error: variable 'ui_menu_feedrate_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:661:1: error: variable 'ui_menu_stepper2_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:661:1: error: variable 'ui_menu_stepper2_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:661:1: error: variable 'ui_menu_stepper2_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:662:1: error: variable 'ui_menu_maxinactive2_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:662:1: error: variable 'ui_menu_maxinactive2_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:662:1: error: variable 'ui_menu_maxinactive2_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:663:1: error: variable 'ui_menu_general_baud_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:664:1: error: variable 'ui_menu_general_stepper_inactive_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:665:1: error: variable 'ui_menu_general_max_inactive_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:667:1: error: variable 'ui_menu_general_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:671:1: error: variable 'ui_menu_cext_steps_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:672:1: error: variable 'ui_menu_cext_start_feedrate_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:673:1: error: variable 'ui_menu_cext_max_feedrate_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:674:1: error: variable 'ui_menu_cext_acceleration_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:675:1: error: variable 'ui_menu_cext_watch_period_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:676:1: error: variable 'ui_menu_cext_advancek_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:678:1: error: variable 'ui_menu_cext_manager_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:679:1: error: variable 'ui_menu_cext_pgain_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:680:1: error: variable 'ui_menu_cext_igain_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:681:1: error: variable 'ui_menu_cext_dgain_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:682:1: error: variable 'ui_menu_cext_dmin_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:683:1: error: variable 'ui_menu_cext_dmax_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:684:1: error: variable 'ui_menu_cext_pmax_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:701:1: error: variable 'ui_menu_cextr_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:704:1: error: variable 'ui_menu_conf_general_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:705:1: error: variable 'ui_menu_conf_accel_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:706:1: error: variable 'ui_menu_conf_feed_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:707:1: error: variable 'ui_menu_conf_extr_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:709:1: error: variable 'ui_menu_conf_to_eeprom_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:710:1: error: variable 'ui_menu_conf_from_eeprom_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:713:1: error: variable 'ui_menu_eeprom_saved_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:713:1: error: variable 'ui_menu_eeprom_saved_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:713:1: error: variable 'ui_menu_eeprom_saved_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:714:1: error: variable 'ui_menu_eeprom_loaded_1txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:714:1: error: variable 'ui_menu_eeprom_loaded_2txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:714:1: error: variable 'ui_menu_eeprom_loaded_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:720:1: error: variable 'ui_menu_configuration_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:722:1: error: variable 'ui_menu_main1_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:723:1: error: variable 'ui_menu_main2_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:724:1: error: variable 'ui_menu_main3_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:725:1: error: variable 'ui_menu_main4_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:726:1: error: variable 'ui_menu_main5_txt' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uiconfig.h:728:1: error: variable 'ui_menu_main_entries' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
ui.cpp:36:26: error: variable 'encoder_table' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
Edited 2 time(s). Last edit at 04/24/2012 10:39PM by rrr7.