boards.h 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #ifndef BOARDS_H
  2. #define BOARDS_H
  3. #define BOARD_UNKNOWN -1
  4. #define BOARD_GEN7_CUSTOM 10 // Gen7 custom (Alfons3 Version) "https://github.com/Alfons3/Generation_7_Electronics"
  5. #define BOARD_GEN7_12 11 // Gen7 v1.1, v1.2
  6. #define BOARD_GEN7_13 12 // Gen7 v1.3
  7. #define BOARD_GEN7_14 13 // Gen7 v1.4
  8. #define BOARD_CHEAPTRONIC 2 // Cheaptronic v1.0
  9. #define BOARD_SETHI 20 // Sethi 3D_1
  10. #define BOARD_RAMPS_OLD 3 // MEGA/RAMPS up to 1.2
  11. #define BOARD_RAMPS_13_EFB 33 // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed)
  12. #define BOARD_RAMPS_13_EEB 34 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
  13. #define BOARD_RAMPS_13_EFF 35 // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
  14. #define BOARD_RAMPS_13_EEF 36 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
  15. #define BOARD_DUEMILANOVE_328P 4 // Duemilanove w/ ATMega328P pin assignment
  16. #define BOARD_GEN6 5 // Gen6
  17. #define BOARD_GEN6_DELUXE 51 // Gen6 deluxe
  18. #define BOARD_SANGUINOLOLU_11 6 // Sanguinololu < 1.2
  19. #define BOARD_SANGUINOLOLU_12 62 // Sanguinololu 1.2 and above
  20. #define BOARD_MELZI 63 // Melzi
  21. #define BOARD_STB_11 64 // STB V1.1
  22. #define BOARD_AZTEEG_X1 65 // Azteeg X1
  23. #define BOARD_MELZI_1284 66 // Melzi with ATmega1284 (MaKr3d version)
  24. #define BOARD_AZTEEG_X3 67 // Azteeg X3
  25. #define BOARD_AZTEEG_X3_PRO 68 // Azteeg X3 Pro
  26. #define BOARD_ULTIMAKER 7 // Ultimaker
  27. #define BOARD_ULTIMAKER_OLD 71 // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
  28. #define BOARD_ULTIMAIN_2 72 // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
  29. #define BOARD_3DRAG 77 // 3Drag Controller
  30. #define BOARD_TEENSYLU 8 // Teensylu
  31. #define BOARD_RUMBA 80 // Rumba
  32. #define BOARD_PRINTRBOARD 81 // Printrboard (AT90USB1286)
  33. #define BOARD_BRAINWAVE 82 // Brainwave (AT90USB646)
  34. #define BOARD_SAV_MKI 83 // SAV Mk-I (AT90USB1286)
  35. #define BOARD_TEENSY2 84 // Teensy++2.0 (AT90USB1286) - CLI compile: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84 make
  36. #define BOARD_GEN3_PLUS 9 // Gen3+
  37. #define BOARD_GEN3_MONOLITHIC 22 // Gen3 Monolithic Electronics
  38. #define BOARD_MEGATRONICS 70 // Megatronics
  39. #define BOARD_MEGATRONICS_2 701 // Megatronics v2.0
  40. #define BOARD_MEGATRONICS_1 702 // Minitronics v1.0
  41. #define BOARD_OMCA_A 90 // Alpha OMCA board
  42. #define BOARD_OMCA 91 // Final OMCA board
  43. #define BOARD_RAMBO 301 // Rambo
  44. #define BOARD_ELEFU_3 21 // Elefu Ra Board (v3)
  45. #define BOARD_5DPRINT 88 // 5DPrint D8 Driver Board
  46. #define BOARD_LEAPFROG 999 // Leapfrog
  47. #define BOARD_99 99 // This is in pins.h but...?
  48. #define MB(board) (MOTHERBOARD==BOARD_##board)
  49. #define IS_RAMPS (MB(RAMPS_OLD) || MB(RAMPS_13_EFB) || MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF))
  50. #endif //__BOARDS_H