boards.h 656 B

123456789101112131415161718
  1. #ifndef BOARDS_H
  2. #define BOARDS_H
  3. #define BOARD_UNKNOWN -1
  4. #define BOARD_RAMBO 100 // Rambo - 100 (orig 301)
  5. #define BOARD_RAMBO_MINI_1_0 200 // Rambo-mini 1.0 - 200 (orig 102)
  6. #define BOARD_RAMBO_MINI_1_3 203 // Rambo-mini 1.3 - 203 (orig 302)
  7. #define BOARD_EISNY_0_3a 303 // EINY 0.3a - 303 (orig 300)
  8. #define BOARD_EINSY_0_4a 304 // EINY 0.4a - 304 (orig 299)
  9. #define BOARD_EINSY_0_5a 305 // EINY 0.5a - 305 (orig 298)
  10. #define MB(board) (MOTHERBOARD==BOARD_##board)
  11. #define IS_RAMPS (MB(RAMPS_OLD) || MB(RAMPS_13_EFB) || MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF))
  12. #endif //__BOARDS_H