My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pinsDebug.h 1.3KB

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. *
  18. */
  19. #pragma once
  20. #if !(defined(NUM_DIGITAL_PINS) || defined(BOARD_NR_GPIO_PINS))
  21. #error "M43 not supported for this board"
  22. #endif
  23. // Strange - STM32F4 comes to HAL_STM32 rather than HAL_STM32F4 for these files
  24. #ifdef STM32F4
  25. #ifdef NUM_DIGITAL_PINS // Only in ST's Arduino core (STM32duino, STM32Core)
  26. #include "pinsDebug_STM32duino.h"
  27. #elif defined(BOARD_NR_GPIO_PINS) // Only in STM32GENERIC (Maple)
  28. #include "pinsDebug_STM32GENERIC.h"
  29. #else
  30. #error "M43 not supported for this board"
  31. #endif
  32. #endif