Browse Source

Fix Visual Micro "Arduino IDE for Visual Studio" support (#16418)

pull/1/head
Dirk O. Kaar 5 years ago
committed by Scott Lahteine
parent
commit
d0e1166cce
  1. 2
      Marlin/src/HAL/HAL_AVR/MarlinSerial.cpp
  2. 2
      Marlin/src/HAL/HAL_AVR/watchdog.cpp
  3. 2
      Marlin/src/HAL/HAL_DUE/MarlinSerial.cpp
  4. 2
      Marlin/src/HAL/HAL_DUE/dogm/u8g_com_HAL_DUE_shared_hw_spi.cpp
  5. 2
      Marlin/src/HAL/HAL_DUE/watchdog.cpp
  6. 2
      Marlin/src/HAL/HAL_STM32_F4_F7/STM32F7/TMC2660.cpp
  7. 2
      Marlin/src/MarlinCore.cpp
  8. 0
      Marlin/src/MarlinCore.h
  9. 2
      Marlin/src/core/utility.cpp
  10. 2
      Marlin/src/feature/Max7219_Debug_LEDs.cpp
  11. 2
      Marlin/src/feature/babystep.cpp
  12. 2
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
  13. 2
      Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp
  14. 2
      Marlin/src/feature/dac/dac_dac084s085.cpp
  15. 2
      Marlin/src/feature/pause.cpp
  16. 2
      Marlin/src/feature/power.cpp
  17. 2
      Marlin/src/feature/prusa_MMU2/mmu2.cpp
  18. 2
      Marlin/src/feature/runout.cpp
  19. 2
      Marlin/src/feature/tmc_util.cpp
  20. 2
      Marlin/src/gcode/bedlevel/G26.cpp
  21. 2
      Marlin/src/gcode/bedlevel/G42.cpp
  22. 2
      Marlin/src/gcode/calibrate/G425.cpp
  23. 2
      Marlin/src/gcode/calibrate/M100.cpp
  24. 2
      Marlin/src/gcode/config/M200-M205.cpp
  25. 2
      Marlin/src/gcode/config/M217.cpp
  26. 2
      Marlin/src/gcode/config/M43.cpp
  27. 2
      Marlin/src/gcode/control/M108_M112_M410.cpp
  28. 2
      Marlin/src/gcode/control/M17_M18_M84.cpp
  29. 2
      Marlin/src/gcode/control/M226.cpp
  30. 2
      Marlin/src/gcode/control/M42.cpp
  31. 2
      Marlin/src/gcode/control/M80_M81.cpp
  32. 2
      Marlin/src/gcode/control/M85.cpp
  33. 2
      Marlin/src/gcode/control/M999.cpp
  34. 2
      Marlin/src/gcode/feature/camera/M240.cpp
  35. 2
      Marlin/src/gcode/feature/filwidth/M404-M407.cpp
  36. 2
      Marlin/src/gcode/feature/i2c/M260_M261.cpp
  37. 2
      Marlin/src/gcode/feature/pause/M701_M702.cpp
  38. 2
      Marlin/src/gcode/gcode.cpp
  39. 2
      Marlin/src/gcode/host/M16.cpp
  40. 2
      Marlin/src/gcode/host/M876.cpp
  41. 2
      Marlin/src/gcode/motion/G0_G1.cpp
  42. 2
      Marlin/src/gcode/motion/G5.cpp
  43. 2
      Marlin/src/gcode/parser.cpp
  44. 2
      Marlin/src/gcode/queue.cpp
  45. 2
      Marlin/src/gcode/scara/M360-M364.cpp
  46. 2
      Marlin/src/gcode/sdcard/M24_M25.cpp
  47. 2
      Marlin/src/gcode/sdcard/M32.cpp
  48. 2
      Marlin/src/gcode/stats/M75-M78.cpp
  49. 2
      Marlin/src/gcode/temperature/M104_M109.cpp
  50. 2
      Marlin/src/gcode/temperature/M140_M190.cpp
  51. 2
      Marlin/src/gcode/temperature/M141_M191.cpp
  52. 2
      Marlin/src/lcd/HD44780/lcdprint_hd44780.cpp
  53. 2
      Marlin/src/lcd/dogm/lcdprint_u8g.cpp
  54. 2
      Marlin/src/lcd/dogm/status_screen_lite_ST7920.cpp
  55. 2
      Marlin/src/lcd/extensible_ui/lib/dgus/DGUSDisplay.cpp
  56. 2
      Marlin/src/lcd/extensible_ui/lib/dgus/DGUSDisplay.h
  57. 2
      Marlin/src/lcd/extensible_ui/lib/ftdi_eve_touch_ui/language/language.cpp
  58. 2
      Marlin/src/lcd/fontutils.cpp
  59. 2
      Marlin/src/lcd/menu/menu.cpp
  60. 2
      Marlin/src/lcd/menu/menu_tune.cpp
  61. 10
      Marlin/src/lcd/ultralcd.cpp
  62. 2
      Marlin/src/lcd/ultralcd.h
  63. 2
      Marlin/src/libs/nozzle.cpp
  64. 2
      Marlin/src/module/configuration_store.cpp
  65. 2
      Marlin/src/module/delta.cpp
  66. 2
      Marlin/src/module/endstops.cpp
  67. 2
      Marlin/src/module/planner.cpp
  68. 2
      Marlin/src/module/planner.h
  69. 2
      Marlin/src/module/planner_bezier.cpp
  70. 2
      Marlin/src/module/printcounter.cpp
  71. 2
      Marlin/src/module/probe.cpp
  72. 2
      Marlin/src/module/stepper.cpp
  73. 2
      Marlin/src/module/temperature.cpp
  74. 2
      Marlin/src/module/tool_change.cpp
  75. 2
      Marlin/src/sd/Sd2Card.cpp
  76. 2
      Marlin/src/sd/SdBaseFile.cpp
  77. 2
      Marlin/src/sd/SdVolume.cpp
  78. 2
      Marlin/src/sd/cardreader.cpp
  79. 2
      Marlin/src/sd/usb_flashdrive/Sd2Card_FlashDrive.cpp
  80. 2
      buildroot/share/scripts/createSpeedLookupTable.py

2
Marlin/src/HAL/HAL_AVR/MarlinSerial.cpp

@ -41,7 +41,7 @@
#if !defined(USBCON) && (defined(UBRRH) || defined(UBRR0H) || defined(UBRR1H) || defined(UBRR2H) || defined(UBRR3H))
#include "MarlinSerial.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
template<typename Cfg> typename MarlinSerial<Cfg>::ring_buffer_r MarlinSerial<Cfg>::rx_buffer = { 0, 0, { 0 } };
template<typename Cfg> typename MarlinSerial<Cfg>::ring_buffer_t MarlinSerial<Cfg>::tx_buffer = { 0 };

2
Marlin/src/HAL/HAL_AVR/watchdog.cpp

@ -28,7 +28,7 @@
#include "watchdog.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
// Initialize watchdog with 8s timeout, if possible. Otherwise, make it 4s.
void watchdog_init() {

2
Marlin/src/HAL/HAL_DUE/MarlinSerial.cpp

@ -31,7 +31,7 @@
#include "MarlinSerial.h"
#include "InterruptVectors.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
template<typename Cfg> typename MarlinSerial<Cfg>::ring_buffer_r MarlinSerial<Cfg>::rx_buffer = { 0, 0, { 0 } };
template<typename Cfg> typename MarlinSerial<Cfg>::ring_buffer_t MarlinSerial<Cfg>::tx_buffer = { 0 };

2
Marlin/src/HAL/HAL_DUE/dogm/u8g_com_HAL_DUE_shared_hw_spi.cpp

@ -63,7 +63,7 @@
#include <U8glib.h>
#include "../../../Marlin.h"
#include "../../../MarlinCore.h"
void spiBegin();
void spiInit(uint8_t spiRate);

2
Marlin/src/HAL/HAL_DUE/watchdog.cpp

@ -23,7 +23,7 @@
#ifdef ARDUINO_ARCH_SAM
#include "../../inc/MarlinConfig.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#include "watchdog.h"
// Override Arduino runtime to either config or disable the watchdog

2
Marlin/src/HAL/HAL_STM32_F4_F7/STM32F7/TMC2660.cpp

@ -36,7 +36,7 @@
#include "TMC2660.h"
#include "../../../inc/MarlinConfig.h"
#include "../../../Marlin.h"
#include "../../../MarlinCore.h"
#include "../../../module/stepper/indirection.h"
#include "../../../module/printcounter.h"
#include "../../../libs/duration_t.h"

2
Marlin/src/Marlin.cpp → Marlin/src/MarlinCore.cpp

@ -28,7 +28,7 @@
* - https://github.com/grbl/grbl
*/
#include "Marlin.h"
#include "MarlinCore.h"
#include "core/utility.h"
#include "lcd/ultralcd.h"

0
Marlin/src/Marlin.h → Marlin/src/MarlinCore.h

2
Marlin/src/core/utility.cpp

@ -22,7 +22,7 @@
#include "utility.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../module/temperature.h"
void safe_delay(millis_t ms) {

2
Marlin/src/feature/Max7219_Debug_LEDs.cpp

@ -45,7 +45,7 @@
#include "../module/planner.h"
#include "../module/stepper.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../HAL/shared/Delay.h"
#define HAS_SIDE_BY_SIDE (ENABLED(MAX7219_SIDE_BY_SIDE) && MAX7219_NUMBER_UNITS > 1)

2
Marlin/src/feature/babystep.cpp

@ -25,7 +25,7 @@
#if ENABLED(BABYSTEPPING)
#include "babystep.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../module/planner.h"
#include "../module/stepper.h"

2
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp

@ -26,7 +26,7 @@
#include "../bedlevel.h"
#include "../../../Marlin.h"
#include "../../../MarlinCore.h"
#include "../../../HAL/shared/persistent_store_api.h"
#include "../../../libs/hex_print_routines.h"
#include "../../../module/configuration_store.h"

2
Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp

@ -32,7 +32,7 @@
#include "../../../module/delta.h"
#endif
#include "../../../Marlin.h"
#include "../../../MarlinCore.h"
#include <math.h>
#if !UBL_SEGMENTED

2
Marlin/src/feature/dac/dac_dac084s085.cpp

@ -10,7 +10,7 @@
#include "dac_dac084s085.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#include "../../module/stepper.h"
#include "../../HAL/shared/Delay.h"

2
Marlin/src/feature/pause.cpp

@ -29,7 +29,7 @@
#if ENABLED(ADVANCED_PAUSE_FEATURE)
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../gcode/gcode.h"
#include "../module/motion.h"
#include "../module/planner.h"

2
Marlin/src/feature/power.cpp

@ -31,7 +31,7 @@
#include "power.h"
#include "../module/temperature.h"
#include "../module/stepper/indirection.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
Power powerManager;

2
Marlin/src/feature/prusa_MMU2/mmu2.cpp

@ -36,7 +36,7 @@ MMU2 mmu2;
#include "../../module/temperature.h"
#include "../../module/planner.h"
#include "../../module/stepper/indirection.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#if ENABLED(HOST_PROMPT_SUPPORT)
#include "../../feature/host_actions.h"

2
Marlin/src/feature/runout.cpp

@ -61,7 +61,7 @@ void FilamentSensorBase::filament_present(const uint8_t extruder) {
//
// Filament Runout event handler
//
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../gcode/queue.h"
#if ENABLED(HOST_ACTION_COMMANDS)

2
Marlin/src/feature/tmc_util.cpp

@ -25,7 +25,7 @@
#if HAS_TRINAMIC
#include "tmc_util.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../module/stepper/indirection.h"
#include "../module/printcounter.h"

2
Marlin/src/gcode/bedlevel/G26.cpp

@ -34,7 +34,7 @@
#include "../../gcode/gcode.h"
#include "../../feature/bedlevel/bedlevel.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#include "../../module/planner.h"
#include "../../module/stepper.h"
#include "../../module/motion.h"

2
Marlin/src/gcode/bedlevel/G42.cpp

@ -25,7 +25,7 @@
#if HAS_MESH
#include "../gcode.h"
#include "../../Marlin.h" // for IsRunning()
#include "../../MarlinCore.h" // for IsRunning()
#include "../../module/motion.h"
#include "../../module/probe.h" // for probe_offset
#include "../../feature/bedlevel/bedlevel.h"

2
Marlin/src/gcode/calibrate/G425.cpp

@ -20,7 +20,7 @@
*
*/
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#if ENABLED(CALIBRATION_GCODE)

2
Marlin/src/gcode/calibrate/M100.cpp

@ -28,7 +28,7 @@
#include "../queue.h"
#include "../../libs/hex_print_routines.h"
#include "../../Marlin.h" // for idle()
#include "../../MarlinCore.h" // for idle()
/**
* M100 Free Memory Watcher

2
Marlin/src/gcode/config/M200-M205.cpp

@ -21,7 +21,7 @@
*/
#include "../gcode.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#include "../../module/planner.h"
#if DISABLED(NO_VOLUMETRICS)

2
Marlin/src/gcode/config/M217.cpp

@ -27,7 +27,7 @@
#include "../gcode.h"
#include "../../module/tool_change.h"
#include "../../Marlin.h" // for SP_X_STR, etc.
#include "../../MarlinCore.h" // for SP_X_STR, etc.
extern const char SP_X_STR[], SP_Y_STR[], SP_Z_STR[];

2
Marlin/src/gcode/config/M43.cpp

@ -25,7 +25,7 @@
#if ENABLED(PINS_DEBUGGING)
#include "../gcode.h"
#include "../../Marlin.h" // for pin_is_protected
#include "../../MarlinCore.h" // for pin_is_protected
#include "../../pins/pinsDebug.h"
#include "../../module/endstops.h"

2
Marlin/src/gcode/control/M108_M112_M410.cpp

@ -25,7 +25,7 @@
#if DISABLED(EMERGENCY_PARSER)
#include "../gcode.h"
#include "../../Marlin.h" // for wait_for_heatup, kill, quickstop_stepper
#include "../../MarlinCore.h" // for wait_for_heatup, kill, quickstop_stepper
/**
* M108: Stop the waiting for heaters in M109, M190, M303. Does not affect the target temperature.

2
Marlin/src/gcode/control/M17_M18_M84.cpp

@ -21,7 +21,7 @@
*/
#include "../gcode.h"
#include "../../Marlin.h" // for stepper_inactive_time, disable_e_steppers
#include "../../MarlinCore.h" // for stepper_inactive_time, disable_e_steppers
#include "../../lcd/ultralcd.h"
#include "../../module/stepper.h"

2
Marlin/src/gcode/control/M226.cpp

@ -21,7 +21,7 @@
*/
#include "../gcode.h"
#include "../../Marlin.h" // for pin_is_protected and idle()
#include "../../MarlinCore.h" // for pin_is_protected and idle()
#include "../../module/stepper.h"
/**

2
Marlin/src/gcode/control/M42.cpp

@ -21,7 +21,7 @@
*/
#include "../gcode.h"
#include "../../Marlin.h" // for pin_is_protected
#include "../../MarlinCore.h" // for pin_is_protected
#include "../../inc/MarlinConfig.h"
#if FAN_COUNT > 0

2
Marlin/src/gcode/control/M80_M81.cpp

@ -32,7 +32,7 @@
#endif
#if HAS_SUICIDE
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#endif
#if ENABLED(PSU_CONTROL)

2
Marlin/src/gcode/control/M85.cpp

@ -21,7 +21,7 @@
*/
#include "../gcode.h"
#include "../../Marlin.h" // for max_inactive_time
#include "../../MarlinCore.h" // for max_inactive_time
/**
* M85: Set inactivity shutdown timer with parameter S<seconds>. To disable set zero (default)

2
Marlin/src/gcode/control/M999.cpp

@ -23,7 +23,7 @@
#include "../gcode.h"
#include "../../lcd/ultralcd.h" // for lcd_reset_alert_level
#include "../../Marlin.h" // for Running
#include "../../MarlinCore.h" // for Running
#include "../queue.h" // for flush_and_request_resend
/**

2
Marlin/src/gcode/feature/camera/M240.cpp

@ -32,7 +32,7 @@
#endif
#if defined(PHOTO_POSITION) && PHOTO_DELAY_MS > 0
#include "../../../Marlin.h" // for idle()
#include "../../../MarlinCore.h" // for idle()
#endif
#ifdef PHOTO_RETRACT_MM

2
Marlin/src/gcode/feature/filwidth/M404-M407.cpp

@ -27,7 +27,7 @@
#include "../../../feature/filwidth.h"
#include "../../../module/planner.h"
#include "../../../module/temperature.h"
#include "../../../Marlin.h"
#include "../../../MarlinCore.h"
#include "../../gcode.h"
/**

2
Marlin/src/gcode/feature/i2c/M260_M261.cpp

@ -26,7 +26,7 @@
#include "../../gcode.h"
#include "../../../Marlin.h" // for i2c
#include "../../../MarlinCore.h" // for i2c
/**
* M260: Send data to a I2C slave device

2
Marlin/src/gcode/feature/pause/M701_M702.cpp

@ -25,7 +25,7 @@
#if ENABLED(FILAMENT_LOAD_UNLOAD_GCODES)
#include "../../gcode.h"
#include "../../../Marlin.h"
#include "../../../MarlinCore.h"
#include "../../../module/motion.h"
#include "../../../module/temperature.h"
#include "../../../feature/pause.h"

2
Marlin/src/gcode/gcode.cpp

@ -49,7 +49,7 @@ GcodeSuite gcode;
#include "../feature/cancel_object.h"
#endif
#include "../Marlin.h" // for idle() and suspend_auto_report
#include "../MarlinCore.h" // for idle() and suspend_auto_report
millis_t GcodeSuite::previous_move_ms;

2
Marlin/src/gcode/host/M16.cpp

@ -25,7 +25,7 @@
#if ENABLED(EXPECTED_PRINTER_CHECK)
#include "../gcode.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
/**
* M16: Expected Printer Check

2
Marlin/src/gcode/host/M876.cpp

@ -25,7 +25,7 @@
#include "../../feature/host_actions.h"
#include "../gcode.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
/**
* M876: Handle Prompt Response

2
Marlin/src/gcode/motion/G0_G1.cpp

@ -23,7 +23,7 @@
#include "../gcode.h"
#include "../../module/motion.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#if BOTH(FWRETRACT, FWRETRACT_AUTORETRACT)
#include "../../feature/fwretract.h"

2
Marlin/src/gcode/motion/G5.cpp

@ -35,7 +35,7 @@
*/
#include "../gcode.h"
#include "../../Marlin.h" // for IsRunning()
#include "../../MarlinCore.h" // for IsRunning()
/**
* G5: Cubic B-spline

2
Marlin/src/gcode/parser.cpp

@ -26,7 +26,7 @@
#include "parser.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#if NUM_SERIAL > 1
#include "queue.h"

2
Marlin/src/gcode/queue.cpp

@ -33,7 +33,7 @@ GCodeQueue queue;
#include "../sd/cardreader.h"
#include "../module/planner.h"
#include "../module/temperature.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#if ENABLED(PRINTER_EVENT_LEDS)
#include "../feature/leds/printer_event_leds.h"

2
Marlin/src/gcode/scara/M360-M364.cpp

@ -27,7 +27,7 @@
#include "../gcode.h"
#include "../../module/scara.h"
#include "../../module/motion.h"
#include "../../Marlin.h" // for IsRunning()
#include "../../MarlinCore.h" // for IsRunning()
inline bool SCARA_move_to_cal(const uint8_t delta_a, const uint8_t delta_b) {
if (IsRunning()) {

2
Marlin/src/gcode/sdcard/M24_M25.cpp

@ -42,7 +42,7 @@
#include "../../feature/power_loss_recovery.h"
#endif
#include "../../Marlin.h" // for startOrResumeJob
#include "../../MarlinCore.h" // for startOrResumeJob
/**
* M24: Start or Resume SD Print

2
Marlin/src/gcode/sdcard/M32.cpp

@ -28,7 +28,7 @@
#include "../../sd/cardreader.h"
#include "../../module/planner.h" // for synchronize()
#include "../../Marlin.h" // for startOrResumeJob
#include "../../MarlinCore.h" // for startOrResumeJob
/**
* M32: Select file and start SD Print

2
Marlin/src/gcode/stats/M75-M78.cpp

@ -24,7 +24,7 @@
#include "../../module/printcounter.h"
#include "../../lcd/ultralcd.h"
#include "../../Marlin.h" // for startOrResumeJob
#include "../../MarlinCore.h" // for startOrResumeJob
/**
* M75: Start print timer

2
Marlin/src/gcode/temperature/M104_M109.cpp

@ -30,7 +30,7 @@
#include "../../module/planner.h"
#include "../../lcd/ultralcd.h"
#include "../../Marlin.h" // for startOrResumeJob, etc.
#include "../../MarlinCore.h" // for startOrResumeJob, etc.
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
#include "../../module/printcounter.h"

2
Marlin/src/gcode/temperature/M140_M190.cpp

@ -37,7 +37,7 @@
#include "../../feature/leds/leds.h"
#endif
#include "../../Marlin.h" // for wait_for_heatup, idle, startOrResumeJob
#include "../../MarlinCore.h" // for wait_for_heatup, idle, startOrResumeJob
/**
* M140: Set bed temperature

2
Marlin/src/gcode/temperature/M141_M191.cpp

@ -38,7 +38,7 @@
#include "../../feature/leds/leds.h"
#endif
#include "../../Marlin.h" // for wait_for_heatup, idle, startOrResumeJob
#include "../../MarlinCore.h" // for wait_for_heatup, idle, startOrResumeJob
/**
* M141: Set chamber temperature

2
Marlin/src/lcd/HD44780/lcdprint_hd44780.cpp

@ -17,7 +17,7 @@
#if HAS_CHARACTER_LCD
#include "../ultralcd.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#include "ultralcd_HD44780.h"

2
Marlin/src/lcd/dogm/lcdprint_u8g.cpp

@ -14,7 +14,7 @@
#include "ultralcd_DOGM.h"
#include "../ultralcd.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#include "../fontutils.h"
#include "u8g_fontutf8.h"

2
Marlin/src/lcd/dogm/status_screen_lite_ST7920.cpp

@ -60,7 +60,7 @@
#endif
#if ENABLED(LCD_SHOW_E_TOTAL)
#include "../../Marlin.h" // for printingIsActive
#include "../../MarlinCore.h" // for printingIsActive
#endif
#define TEXT_MODE_LCD_WIDTH 16

2
Marlin/src/lcd/extensible_ui/lib/dgus/DGUSDisplay.cpp

@ -32,7 +32,7 @@
#include "../../ui_api.h"
#include "../../../../Marlin.h"
#include "../../../../MarlinCore.h"
#include "../../../../module/temperature.h"
#include "../../../../module/motion.h"
#include "../../../../gcode/queue.h"

2
Marlin/src/lcd/extensible_ui/lib/dgus/DGUSDisplay.h

@ -25,7 +25,7 @@
#include "../../../../inc/MarlinConfigPre.h"
#include "../../../../Marlin.h"
#include "../../../../MarlinCore.h"
#include "DGUSVPVariable.h"
enum DGUSLCD_Screens : uint8_t;

2
Marlin/src/lcd/extensible_ui/lib/ftdi_eve_touch_ui/language/language.cpp

@ -20,7 +20,7 @@
****************************************************************************/
#include "../../../../../Marlin.h"
#include "../../../../../MarlinCore.h"
#include "language.h"

2
Marlin/src/lcd/fontutils.cpp

@ -11,7 +11,7 @@
#if HAS_SPI_LCD
#include "ultralcd.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#endif
#include "fontutils.h"

2
Marlin/src/lcd/menu/menu.cpp

@ -213,7 +213,7 @@ void MenuItem_bool::action(PGM_P const, bool * const ptr, screenFunc_t callback)
///////////////// Menu Tree ////////////////
////////////////////////////////////////////
#include "../../Marlin.h"
#include "../../MarlinCore.h"
bool printer_busy() {
return planner.movesplanned() || printingIsActive();

2
Marlin/src/lcd/menu/menu_tune.cpp

@ -32,7 +32,7 @@
#include "../../module/motion.h"
#include "../../module/planner.h"
#include "../../module/temperature.h"
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#if HAS_LEVELING
#include "../../feature/bedlevel/bedlevel.h"

10
Marlin/src/lcd/ultralcd.cpp

@ -30,11 +30,13 @@
#include "../feature/host_actions.h"
#endif
// All displays share the MarlinUI class
#include "ultralcd.h"
MarlinUI ui;
// All displays share the MarlinUI class
#if HAS_DISPLAY
#include "../module/printcounter.h"
#include "../MarlinCore.h"
#include "../gcode/queue.h"
#include "fontutils.h"
#include "../sd/cardreader.h"
@ -91,11 +93,8 @@ MarlinUI ui;
#include "../sd/cardreader.h"
#include "../module/temperature.h"
#include "../module/planner.h"
#include "../module/printcounter.h"
#include "../module/motion.h"
#include "../Marlin.h"
#if ENABLED(POWER_LOSS_RECOVERY)
#include "../feature/power_loss_recovery.h"
#endif
@ -1443,9 +1442,6 @@ void MarlinUI::update() {
#endif
}
#include "../Marlin.h"
#include "../module/printcounter.h"
PGM_P print_paused = GET_TEXT(MSG_PRINT_PAUSED);
/**

2
Marlin/src/lcd/ultralcd.h

@ -37,7 +37,7 @@
#if HAS_SPI_LCD
#include "../Marlin.h"
#include "../MarlinCore.h"
#if ENABLED(ADVANCED_PAUSE_FEATURE)
#include "../feature/pause.h"

2
Marlin/src/libs/nozzle.cpp

@ -28,7 +28,7 @@
Nozzle nozzle;
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../module/motion.h"
#if ENABLED(NOZZLE_CLEAN_FEATURE)

2
Marlin/src/module/configuration_store.cpp

@ -54,7 +54,7 @@
#include "../core/language.h"
#include "../libs/vector_3.h" // for matrix_3x3
#include "../gcode/gcode.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#if EITHER(EEPROM_SETTINGS, SD_FIRMWARE_UPDATE)
#include "../HAL/shared/persistent_store_api.h"

2
Marlin/src/module/delta.cpp

@ -35,7 +35,7 @@
#include "planner.h"
#include "endstops.h"
#include "../lcd/ultralcd.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#if HAS_BED_PROBE
#include "probe.h"

2
Marlin/src/module/endstops.cpp

@ -27,7 +27,7 @@
#include "endstops.h"
#include "stepper.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../sd/cardreader.h"
#include "temperature.h"
#include "../lcd/ultralcd.h"

2
Marlin/src/module/planner.cpp

@ -70,7 +70,7 @@
#include "../core/language.h"
#include "../gcode/parser.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#if HAS_LEVELING
#include "../feature/bedlevel/bedlevel.h"

2
Marlin/src/module/planner.h

@ -30,7 +30,7 @@
* Copyright (c) 2009-2011 Simen Svale Skogsrud
*/
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "motion.h"
#include "../gcode/queue.h"

2
Marlin/src/module/planner_bezier.cpp

@ -35,7 +35,7 @@
#include "motion.h"
#include "temperature.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../core/language.h"
#include "../gcode/queue.h"

2
Marlin/src/module/printcounter.cpp

@ -34,7 +34,7 @@ Stopwatch print_job_timer; // Global Print Job Timer instance
#endif
#include "printcounter.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../HAL/shared/persistent_store_api.h"
#if HAS_BUZZER && SERVICE_WARNING_BUZZES > 0

2
Marlin/src/module/probe.cpp

@ -38,7 +38,7 @@
#include "../gcode/gcode.h"
#include "../lcd/ultralcd.h"
#include "../Marlin.h" // for stop(), disable_e_steppers, wait_for_user
#include "../MarlinCore.h" // for stop(), disable_e_steppers, wait_for_user
#if HAS_LEVELING
#include "../feature/bedlevel/bedlevel.h"

2
Marlin/src/module/stepper.cpp

@ -98,7 +98,7 @@ Stepper stepper; // Singleton
#include "../core/language.h"
#include "../gcode/queue.h"
#include "../sd/cardreader.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../HAL/shared/Delay.h"
#if MB(ALLIGATOR)

2
Marlin/src/module/temperature.cpp

@ -27,7 +27,7 @@
#include "temperature.h"
#include "endstops.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../lcd/ultralcd.h"
#include "planner.h"
#include "../core/language.h"

2
Marlin/src/module/tool_change.cpp

@ -29,7 +29,7 @@
#include "planner.h"
#include "temperature.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE)
#include "../core/debug_out.h"

2
Marlin/src/sd/Sd2Card.cpp

@ -38,7 +38,7 @@
#include "Sd2Card.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#if ENABLED(SD_CHECK_AND_RETRY)
static bool crcSupported = true;

2
Marlin/src/sd/SdBaseFile.cpp

@ -33,7 +33,7 @@
#include "SdBaseFile.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
SdBaseFile* SdBaseFile::cwd_ = 0; // Pointer to Current Working Directory
// callback function for date/time

2
Marlin/src/sd/SdVolume.cpp

@ -33,7 +33,7 @@
#include "SdVolume.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#if !USE_MULTIPLE_CARDS
// raw block cache

2
Marlin/src/sd/cardreader.cpp

@ -26,7 +26,7 @@
#include "cardreader.h"
#include "../Marlin.h"
#include "../MarlinCore.h"
#include "../lcd/ultralcd.h"
#include "../module/planner.h"
#include "../module/printcounter.h"

2
Marlin/src/sd/usb_flashdrive/Sd2Card_FlashDrive.cpp

@ -40,7 +40,7 @@
#if ENABLED(USB_FLASH_DRIVE_SUPPORT)
#include "../../Marlin.h"
#include "../../MarlinCore.h"
#include "../../core/serial.h"
#include "../../module/temperature.h"

2
buildroot/share/scripts/createSpeedLookupTable.py

@ -22,7 +22,7 @@ timer_freq = cpu_freq / args.divider
print("#ifndef SPEED_LOOKUPTABLE_H")
print("#define SPEED_LOOKUPTABLE_H")
print()
print('#include "Marlin.h"')
print('#include "MarlinCore.h"')
print()
print("const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {")

Loading…
Cancel
Save