boards.h 468 B

1234567891011121314151617
  1. #ifndef BOARDS_H
  2. #define BOARDS_H
  3. #define BOARD_UNKNOWN -1
  4. #define BOARD_RAMBO 301 // Rambo
  5. #define BOARD_RAMBO_MINI_1_3 302 // Rambo-mini 1.3
  6. #define BOARD_RAMBO_MINI_1_0 102 // Rambo-mini 1.0
  7. #define BOARD_99 99 // This is in pins.h but...?
  8. #define MB(board) (MOTHERBOARD==BOARD_##board)
  9. #define IS_RAMPS (MB(RAMPS_OLD) || MB(RAMPS_13_EFB) || MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF))
  10. #endif //__BOARDS_H