Quantcast
Viewing all articles
Browse latest Browse all 16

Re: compile troubles

Done!
come ultralcd pin errors...
In file included from Marlin.h:21:0,
                 from temperature.h:24,
                 from ultralcd.cpp:1:
ultralcd_st7920_u8glib_rrd.h: In function 'void ST7920_SWSPI_SND_8BIT(uint8_t)':
fastio.h:45: error: 'DIOLCD_PINS_D4_RPORT' was not declared in this scope
 #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)
                       ^
ultralcd_st7920_u8glib_rrd.h:29:5: note: in expansion of macro 'WRITE'
     WRITE(ST7920_CLK_PIN,0);
     ^
fastio.h:34: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
                                          {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                           ^
PS C:\Users\Алексей> 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)
                       ^
ultralcd_st7920_u8glib_rrd.h:29:5: note: in expansion of macro 'WRITE'
     WRITE(ST7920_CLK_PIN,0);
     ^
In file included from Marlin.h:21:0,
                 from temperature.h:24,
                 from ultralcd.cpp:1:
fastio.h:34: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
                                          {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                                                        ^
fastio.h:17:26: note: in definition of macro 'MASK'
 #define MASK(PIN)  (1 << 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)
                       ^
ultralcd_st7920_u8glib_rrd.h:29:5: note: in expansion of macro 'WRITE'
     WRITE(ST7920_CLK_PIN,0);

Viewing all articles
Browse latest Browse all 16

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>