MarlinKimbra icon indicating copy to clipboard operation
MarlinKimbra copied to clipboard

Arduino Due and DOGM

Open maukcc opened this issue 8 years ago • 1 comments

In combination with Due and a DOGM display, when compiling I get this error:

In file included from sketch/base.h:14:0, from sketch/Configuration_Store.cpp:1: sketch/module/macros.h:29:26: error: missing expression between '(' and ')' #define HAS(FE) (HAS_##FE)

                      ^

sketch/Configuration_Store.cpp:564:7: note: in expansion of macro 'HAS' #if HAS(LCD_CONTRAST)

   ^

exit status 1 Error compiling.

Any ideas?

also can you add our board(I changed the .h to .txt otherwise git will not handle it) to the board folder and the board.h file:

define BOARD_CARTESIO_14 101 // CartesioV14

101.txt

maukcc avatar Apr 22 '16 11:04 maukcc

solution: the expression: #if HAS(LCD_CONTRAST) must be: #if HAS(HAS_LCD_CONTRAST)

This happens about 6 times

maukcc avatar May 18 '16 13:05 maukcc