mkr4 problema lcd January 05, 2015 04:02PM |
Registered: 9 years ago Posts: 114 |
temperature.cpp:1352:60: note: in expansion of macro 'HEATER_2_PIN' if(soft_pwm_2 > 0) WRITE(HEATER_2_PIN,1); else WRITE(HEATER_2_PIN,0); ^ In file included from Marlin.h:21:0, from temperature.cpp:32: fastio.h:39:43: error: pasting "DIO" and "-" does not give a valid preprocessing token {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\ ^ fastio.h:45:80: note: in expansion of macro '_WRITE_C' #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0) ^ fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v)mentre selezionando singlenozzle mi da questi errori
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_gum_settings_menu()': ultralcd.cpp:1086:64: error: 'HEATER_0_MAXTEMP' was not declared in this scope MENU_ITEM_EDIT(int3, MSG_NOZZLE, &gumPreheatHotendTemp, 0, HEATER_0_MAXTEMP - 15); ^ ultralcd.cpp:138:36: note: in definition of macro 'MENU_ITEM' menu_action_ ## type ( args ); \ ^ ultralcd.cpp:1086:5: note: in expansion of macro 'MENU_ITEM_EDIT' MENU_ITEM_EDIT(int3, MSG_NOZZLE, &gumPreheatHotendTemp, 0, HEATER_0_MAXTEMP - 15); ^ Errore durante la compilazione
Re: mkr4 problema lcd January 05, 2015 04:11PM |
Registered: 10 years ago Posts: 6,409 |
Re: mkr4 problema lcd January 05, 2015 04:39PM |
Registered: 9 years ago Posts: 114 |
In file included from Marlin.h:21:0, from temperature.cpp:32: fastio.h:45:36: error: pasting "DIO" and "-" does not give a valid preprocessing token #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0) ^ fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ temperature.cpp:645:9: note: in expansion of macro 'WRITE' WRITE(HEATER_BED_PIN,LOW); ^ pins.h:722:33: error: invalid suffix "_RPORT" on integer constant #define HEATER_BED_PIN -1 // NO BED
In file included from Marlin.h:21:0, from temperature.cpp:32: fastio.h:45:36: error: pasting "DIO" and "-" does not give a valid preprocessing token #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0) ^ fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ temperature.cpp:702:9: note: in expansion of macro 'WRITE' WRITE(HEATER_BED_PIN,LOW); ^ pins.h:721:38: error: invalid suffix "_RPORT" on integer constant #define ORIG_HEATER_BED_PIN -1 // NO BED
Re: mkr4 problema lcd January 05, 2015 05:11PM |
Registered: 9 years ago Posts: 114 |
#define HEATER_2_PIN -1 #define HEATER_3_PIN -1in
#define HEATER_2_PIN 0 #define HEATER_3_PIN 0sono spariti tutti gli errori ma ne è comparso un'altro, questo proprio non lo capisco
temperature.cpp: In function 'void manage_heater()': temperature.cpp:746:1: error: unable to find a register to spill in class 'POINTER_REGS' } ^ temperature.cpp:746:1: error: this is the insn: (insn 57 56 59 4 (set (reg/vF 65 [ pid_input ]) (memF (post_inc:HI (reg:HI 109 [ ivtmp.242 ])) [4 MEM[base: _113, offset: 0B]+0 S4 A8])) temperature.cpp:530 99 {*movsf} (expr_list:REG_INC (reg:HI 109 [ ivtmp.242 ]) (nil))) temperature.cpp:746: confused by earlier errors, bailing out Errore durante la compilazione
Re: mkr4 problema lcd January 05, 2015 05:11PM |
Registered: 10 years ago Posts: 6,409 |
Re: mkr4 problema lcd January 05, 2015 05:20PM |
Registered: 9 years ago Posts: 114 |
Re: mkr4 problema lcd January 05, 2015 05:22PM |
Registered: 10 years ago Posts: 6,409 |
Re: mkr4 problema lcd January 05, 2015 05:37PM |
Registered: 9 years ago Posts: 114 |