├── SKR_E3_Mini_1.2_wiring.png ├── Marlin ├── src │ ├── HAL │ │ ├── TEENSY31_32 │ │ │ ├── pinsDebug.h │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ ├── Conditionals_adv.h │ │ │ │ └── Conditionals_post.h │ │ │ ├── MarlinSPI.h │ │ │ └── spi_pins.h │ │ ├── ESP32 │ │ │ ├── esp32.csv │ │ │ ├── servotimers.h │ │ │ ├── ota.h │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ ├── Conditionals_post.h │ │ │ │ └── Conditionals_adv.h │ │ │ ├── web.h │ │ │ ├── MarlinSPI.h │ │ │ ├── spiffs.h │ │ │ ├── spi_pins.h │ │ │ ├── wifi.h │ │ │ ├── FlushableHardwareSerial.cpp │ │ │ └── i2s.h │ │ ├── STM32 │ │ │ ├── README.md │ │ │ ├── msc_sd.h │ │ │ ├── inc │ │ │ │ └── Conditionals_LCD.h │ │ │ ├── usb_serial.h │ │ │ └── sdio.h │ │ ├── STM32F1 │ │ │ ├── README.md │ │ │ ├── msc_sd.h │ │ │ └── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ └── Conditionals_adv.h │ │ ├── DUE │ │ │ ├── upload_extra_script.py │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ ├── Conditionals_adv.h │ │ │ │ └── Conditionals_post.h │ │ │ └── MarlinSPI.h │ │ ├── LPC1768 │ │ │ ├── win_usb_driver │ │ │ │ └── lpc176x_usb_driver.inf │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ └── Conditionals_adv.h │ │ │ └── u8g │ │ │ │ └── LCD_I2C_routines.h │ │ ├── AVR │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ ├── Conditionals_adv.h │ │ │ │ └── Conditionals_post.h │ │ │ └── MarlinSPI.h │ │ ├── LINUX │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ ├── Conditionals_adv.h │ │ │ │ └── Conditionals_post.h │ │ │ ├── MarlinSPI.h │ │ │ ├── hardware │ │ │ │ └── Gpio.cpp │ │ │ └── include │ │ │ │ └── pinmapping.cpp │ │ ├── SAMD51 │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ ├── Conditionals_adv.h │ │ │ │ └── Conditionals_post.h │ │ │ ├── MarlinSPI.h │ │ │ └── MarlinSerial_AGCM4.h │ │ ├── NATIVE_SIM │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ ├── Conditionals_post.h │ │ │ │ └── Conditionals_adv.h │ │ │ └── MarlinSPI.h │ │ ├── SAMD21 │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ └── Conditionals_adv.h │ │ │ ├── u8g │ │ │ │ └── LCD_I2C_routines.h │ │ │ └── MarlinSPI.h │ │ ├── TEENSY35_36 │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ ├── Conditionals_adv.h │ │ │ │ └── Conditionals_post.h │ │ │ ├── MarlinSPI.h │ │ │ └── spi_pins.h │ │ ├── TEENSY40_41 │ │ │ ├── inc │ │ │ │ ├── Conditionals_LCD.h │ │ │ │ ├── Conditionals_adv.h │ │ │ │ └── Conditionals_post.h │ │ │ ├── MarlinSPI.h │ │ │ └── spi_pins.h │ │ └── shared │ │ │ ├── esp_wifi.h │ │ │ ├── backtrace │ │ │ ├── unwmemaccess.h │ │ │ ├── backtrace.h │ │ │ └── unwarmmem.h │ │ │ ├── eeprom_if.h │ │ │ ├── HAL.cpp │ │ │ ├── math_32bit.h │ │ │ └── eeprom_api.cpp │ ├── lcd │ │ ├── tft │ │ │ ├── bitmaps │ │ │ │ ├── sd.bmp │ │ │ │ ├── up.bmp │ │ │ │ ├── back.bmp │ │ │ │ ├── bed.bmp │ │ │ │ ├── down.bmp │ │ │ │ ├── fan0.bmp │ │ │ │ ├── fan1.bmp │ │ │ │ ├── home.bmp │ │ │ │ ├── left.bmp │ │ │ │ ├── menu.bmp │ │ │ │ ├── cancel.bmp │ │ │ │ ├── chamber.bmp │ │ │ │ ├── confirm.bmp │ │ │ │ ├── hotend.bmp │ │ │ │ ├── pause.bmp │ │ │ │ ├── refresh.bmp │ │ │ │ ├── right.bmp │ │ │ │ ├── decrease.bmp │ │ │ │ ├── directory.bmp │ │ │ │ ├── fan_fast0.bmp │ │ │ │ ├── fan_fast1.bmp │ │ │ │ ├── fan_slow0.bmp │ │ │ │ ├── fan_slow1.bmp │ │ │ │ ├── feedrate.bmp │ │ │ │ ├── flowrate.bmp │ │ │ │ ├── increase.bmp │ │ │ │ ├── leveling.bmp │ │ │ │ ├── settings.bmp │ │ │ │ ├── bed_heated.bmp │ │ │ │ ├── chamber_heated.bmp │ │ │ │ ├── btn_42x39_rounded.bmp │ │ │ │ ├── btn_64x52_rounded.bmp │ │ │ │ └── marlin-logo │ │ │ │ │ ├── Marlin-1500x319.png │ │ │ │ │ ├── Marlin-195x59.png │ │ │ │ │ ├── Marlin-228x255.png │ │ │ │ │ ├── Marlin-280x200.png │ │ │ │ │ ├── Marlin-320x240.png │ │ │ │ │ ├── Marlin-480x319.png │ │ │ │ │ ├── Marlin-480x320.png │ │ │ │ │ └── Marlin-228x255-greyscale.png │ │ │ └── fontdata │ │ │ │ └── profont_22.cpp │ │ ├── extui │ │ │ ├── ftdi_eve_touch_ui │ │ │ │ └── ftdi_eve_lib │ │ │ │ │ └── extended │ │ │ │ │ └── unicode │ │ │ │ │ └── font_bitmaps │ │ │ │ │ ├── romfont_31.pbm │ │ │ │ │ ├── romfont_31.png │ │ │ │ │ ├── cyrillic_char_set_bitmap_31.png │ │ │ │ │ └── western_char_set_bitmap_31.png │ │ │ ├── dgus_reloaded │ │ │ │ └── definition │ │ │ │ │ ├── DGUS_VPList.h │ │ │ │ │ └── DGUS_ScreenSetup.h │ │ │ └── mks_ui │ │ │ │ ├── draw_more.h │ │ │ │ ├── draw_set.h │ │ │ │ ├── draw_home.h │ │ │ │ ├── draw_tool.h │ │ │ │ ├── draw_about.h │ │ │ │ ├── draw_keyboard.h │ │ │ │ ├── draw_language.h │ │ │ │ ├── draw_operation.h │ │ │ │ ├── draw_pause_message.h │ │ │ │ ├── draw_gcode.h │ │ │ │ ├── draw_manuaLevel.h │ │ │ │ ├── draw_number_key.h │ │ │ │ ├── draw_fan.h │ │ │ │ ├── draw_jerk_settings.h │ │ │ │ ├── draw_machine_para.h │ │ │ │ ├── draw_step_settings.h │ │ │ │ ├── draw_level_settings.h │ │ │ │ ├── draw_motor_settings.h │ │ │ │ ├── draw_pause_position.h │ │ │ │ ├── draw_advance_settings.h │ │ │ │ ├── draw_eeprom_settings.h │ │ │ │ ├── draw_encoder_settings.h │ │ │ │ ├── draw_machine_settings.h │ │ │ │ ├── draw_wifi.h │ │ │ │ ├── draw_filament_settings.h │ │ │ │ ├── draw_media_select.h │ │ │ │ ├── draw_move_motor.h │ │ │ │ ├── draw_acceleration_settings.h │ │ │ │ ├── draw_max_feedrate_settings.h │ │ │ │ ├── draw_tmc_current_settings.h │ │ │ │ ├── draw_tramming_pos_settings.h │ │ │ │ ├── draw_tmc_step_mode_settings.h │ │ │ │ ├── draw_auto_level_offset_settings.h │ │ │ │ ├── draw_homing_sensitivity_settings.h │ │ │ │ ├── draw_baby_stepping.h │ │ │ │ └── draw_filament_change.h │ │ ├── dogm │ │ │ └── fontdata │ │ │ │ ├── langdata_an.h │ │ │ │ ├── langdata_ca.h │ │ │ │ ├── langdata_da.h │ │ │ │ ├── langdata_de.h │ │ │ │ ├── langdata_en.h │ │ │ │ ├── langdata_es.h │ │ │ │ ├── langdata_eu.h │ │ │ │ ├── langdata_fi.h │ │ │ │ ├── langdata_fr.h │ │ │ │ ├── langdata_gl.h │ │ │ │ ├── langdata_hu.h │ │ │ │ ├── langdata_it.h │ │ │ │ ├── langdata_nl.h │ │ │ │ ├── langdata_pt.h │ │ │ │ ├── langdata_ro.h │ │ │ │ ├── langdata_sv.h │ │ │ │ ├── langdata_pt_br.h │ │ │ │ └── langdata.h │ │ ├── e3v2 │ │ │ ├── README.md │ │ │ ├── jyersui │ │ │ │ └── README.md │ │ │ ├── proui │ │ │ │ └── gcode_preview.h │ │ │ └── marlinui │ │ │ │ └── lcdprint_dwin.h │ │ └── menu │ │ │ ├── menu_mmu2.h │ │ │ └── game │ │ │ └── maze.h │ ├── libs │ │ ├── heatshrink │ │ │ ├── heatshrink_common.h │ │ │ ├── LICENSE │ │ │ └── heatshrink_config.h │ │ └── crc16.h │ ├── tests │ │ └── marlin_tests.h │ ├── feature │ │ ├── mmu │ │ │ └── mmu.h │ │ ├── baricuda.h │ │ ├── leds │ │ │ ├── tempstat.h │ │ │ └── blinkm.h │ │ ├── solenoid.h │ │ ├── stepper_driver_safety.h │ │ ├── fanmux.h │ │ ├── baricuda.cpp │ │ ├── dac │ │ │ └── dac_dac084s085.h │ │ ├── closedloop.h │ │ ├── digipot │ │ │ └── digipot.h │ │ └── easythreed_ui.h │ ├── pins │ │ ├── stm32h7 │ │ │ ├── pins_BTT_SKR_V3_0.h │ │ │ ├── pins_BTT_SKR_V3_0_EZ.h │ │ │ ├── env_validate.h │ │ │ ├── pins_BTT_SKR_SE_BX_V3.h │ │ │ └── pins_BTT_SKR_SE_BX_V2.h │ │ ├── stm32f4 │ │ │ ├── pins_BTT_SKR_V2_0_REV_B.h │ │ │ ├── env_validate.h │ │ │ ├── pins_BTT_SKR_PRO_V1_1.h │ │ │ └── pins_BTT_SKR_PRO_V1_2.h │ │ ├── esp32 │ │ │ └── env_validate.h │ │ ├── rambo │ │ │ └── env_validate.h │ │ ├── lpc1769 │ │ │ └── env_validate.h │ │ ├── stm32g0 │ │ │ └── env_validate.h │ │ ├── stm32f1 │ │ │ ├── pins_BTT_SKR_MINI_MZ_V1_0.h │ │ │ └── pins_GTM32_PRO_VD.h │ │ ├── stm32f0 │ │ │ └── pins_MALYAN_M200_V2.h │ │ ├── sanguino │ │ │ └── pins_MELZI_MAKR3D.h │ │ ├── teensy2 │ │ │ └── env_validate.h │ │ └── ramps │ │ │ └── pins_MAKEBOARD_MINI.h │ ├── gcode │ │ ├── control │ │ │ └── M400.cpp │ │ ├── host │ │ │ ├── M119.cpp │ │ │ └── M110.cpp │ │ └── motion │ │ │ └── G80.cpp │ └── sd │ │ └── usb_flashdrive │ │ └── lib-uhs3 │ │ └── README.txt └── lib │ └── readme.txt ├── .github ├── FUNDING.yml └── pull_request_template.md ├── config └── README.md ├── .vscode └── extensions.json ├── .gitattributes ├── .editorconfig ├── docker └── Dockerfile └── ini ├── samd51.ini ├── stm32f7.ini ├── samd21.ini └── due.ini /SKR_E3_Mini_1.2_wiring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/SKR_E3_Mini_1.2_wiring.png -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY31_32/pinsDebug.h: -------------------------------------------------------------------------------- 1 | #error "PINS_DEBUGGING is not yet supported for Teensy 3.1 / 3.2!" 2 | -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/sd.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/sd.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/up.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/up.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/back.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/back.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/bed.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/bed.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/down.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/down.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/fan0.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/fan0.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/fan1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/fan1.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/home.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/home.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/left.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/left.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/menu.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/menu.bmp -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [thinkyhead] 2 | patreon: thinkyhead 3 | custom: ["https://www.thinkyhead.com/donate-to-marlin"] 4 | -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/cancel.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/cancel.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/chamber.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/chamber.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/confirm.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/confirm.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/hotend.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/hotend.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/pause.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/pause.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/refresh.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/refresh.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/right.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/right.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/decrease.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/decrease.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/directory.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/directory.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/fan_fast0.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/fan_fast0.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/fan_fast1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/fan_fast1.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/fan_slow0.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/fan_slow0.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/fan_slow1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/fan_slow1.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/feedrate.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/feedrate.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/flowrate.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/flowrate.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/increase.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/increase.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/leveling.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/leveling.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/settings.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/settings.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/bed_heated.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/bed_heated.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/fontdata/profont_22.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/fontdata/profont_22.cpp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/chamber_heated.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/chamber_heated.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/btn_42x39_rounded.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/btn_42x39_rounded.bmp -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/btn_64x52_rounded.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/btn_64x52_rounded.bmp -------------------------------------------------------------------------------- /config/README.md: -------------------------------------------------------------------------------- 1 | # Where have all the configurations gone? 2 | 3 | ## https://github.com/MarlinFirmware/Configurations/archive/release-2.1.2.1.zip 4 | -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-1500x319.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-1500x319.png -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-195x59.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-195x59.png -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-228x255.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-228x255.png -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-280x200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-280x200.png -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-320x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-320x240.png -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-480x319.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-480x319.png -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-480x320.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-480x320.png -------------------------------------------------------------------------------- /Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-228x255-greyscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/tft/bitmaps/marlin-logo/Marlin-228x255-greyscale.png -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/font_bitmaps/romfont_31.pbm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/font_bitmaps/romfont_31.pbm -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/font_bitmaps/romfont_31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/font_bitmaps/romfont_31.png -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/font_bitmaps/cyrillic_char_set_bitmap_31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/font_bitmaps/cyrillic_char_set_bitmap_31.png -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/font_bitmaps/western_char_set_bitmap_31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tracker/Marlin/master/Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/font_bitmaps/western_char_set_bitmap_31.png -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/esp32.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x180000, 5 | app1, app, ota_1, 0x190000, 0x180000, 6 | spiffs, data, spiffs, 0x310000, 0xF0000, 7 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_an.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_an[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_ca.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_ca[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_da.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_da[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_de.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_de[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_en.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_en[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_es.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_es[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_eu.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_eu[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_fi.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_fi[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_fr.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_fr[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_gl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_gl[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_hu.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_hu[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_it.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_it[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_nl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_nl[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_pt.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_pt[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_ro.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_ro[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_sv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_sv[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata_pt_br.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated automatically by buildroot/share/fonts/uxggenpages.sh 3 | * Contents will be REPLACED by future processing! 4 | * Use genallfont.sh to generate font data for updated languages. 5 | */ 6 | #pragma once 7 | 8 | #include "langdata.h" 9 | 10 | static const uxg_fontinfo_t g_fontinfo_pt_br[] PROGMEM = {}; 11 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | // See http://go.microsoft.com/fwlink/?LinkId=827846 3 | // for the documentation about the extensions.json format 4 | "recommendations": [ 5 | "marlinfirmware.auto-build", 6 | "platformio.platformio-ide" 7 | ], 8 | "unwantedRecommendations": [ 9 | "ms-vscode.cpptools-extension-pack" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /Marlin/src/HAL/STM32/README.md: -------------------------------------------------------------------------------- 1 | # Generic STM32 HAL based on the stm32duino core 2 | 3 | This HAL is intended to act as the generic STM32 HAL for all STM32 chips (The whole F, H and L family). 4 | 5 | Currently it supports: 6 | * STM32F0xx 7 | * STM32F1xx 8 | * STM32F4xx 9 | * STM32F7xx 10 | 11 | Targeting the official [Arduino STM32 Core](https://github.com/stm32duino/Arduino_Core_STM32). 12 | -------------------------------------------------------------------------------- /Marlin/src/HAL/STM32F1/README.md: -------------------------------------------------------------------------------- 1 | # STM32F1 2 | 3 | This HAL is for STM32F103 boards used with [Arduino STM32](https://github.com/rogerclarkmelbourne/Arduino_STM32) framework. 4 | 5 | Currently has been tested in Malyan M200 (103CBT6), SKRmini (103RCT6), Chitu 3d (103ZET6), and various 103VET6 boards. 6 | 7 | ### Main developers: 8 | - Victorpv 9 | - xC000005 10 | - thisiskeithb 11 | - tpruvot 12 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Set the default behavior, in case people don't have core.autocrlf set. 2 | * text=auto 3 | 4 | # Files with Unix line endings 5 | *.c text eol=lf 6 | *.cpp text eol=lf 7 | *.h text eol=lf 8 | *.ino text eol=lf 9 | *.py text eol=lf 10 | *.sh text eol=lf 11 | *.scad text eol=lf 12 | 13 | # Files with native line endings 14 | # *.sln text 15 | 16 | # Binary files 17 | *.png binary 18 | *.jpg binary 19 | *.fon binary 20 | *.bin binary 21 | *.woff binary 22 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [{*.patch,syntax_test_*}] 5 | trim_trailing_whitespace = false 6 | 7 | [{*.c,*.cpp,*.h,*.ino}] 8 | charset = utf-8 9 | 10 | [{*.c,*.cpp,*.h,*.ino,Makefile}] 11 | trim_trailing_whitespace = true 12 | insert_final_newline = true 13 | end_of_line = lf 14 | indent_style = space 15 | indent_size = 2 16 | 17 | [{*.py}] 18 | indent_style = space 19 | indent_size = 4 20 | 21 | [{*.conf,*.sublime-project}] 22 | indent_style = tab 23 | indent_size = 4 24 | -------------------------------------------------------------------------------- /Marlin/src/HAL/DUE/upload_extra_script.py: -------------------------------------------------------------------------------- 1 | # 2 | # Set upload_command 3 | # 4 | # Windows: bossac.exe 5 | # Other: leave unchanged 6 | # 7 | import pioutil 8 | if pioutil.is_pio_build(): 9 | import platform 10 | current_OS = platform.system() 11 | 12 | if current_OS == 'Windows': 13 | 14 | Import("env") 15 | 16 | # Use bossac.exe on Windows 17 | env.Replace( 18 | UPLOADCMD="bossac --info --unlock --write --verify --reset --erase -U false --boot $SOURCE" 19 | ) 20 | -------------------------------------------------------------------------------- /Marlin/src/lcd/e3v2/README.md: -------------------------------------------------------------------------------- 1 | # DWIN for Creality Ender-3 v2 2 | 3 | Marlin's Ender-3 v2 support requires the `DWIN_SET` included with the Ender-3 V2 [example configuration](https://github.com/MarlinFirmware/Configurations/tree/bugfix-2.1.x/config/examples/Creality/Ender-3%20V2). 4 | 5 | ## Easy Install 6 | 7 | Copy the `DWIN_SET` folder onto a Micro-SD card and insert the card into the slot on the DWIN screen. Cycle the machine and wait for the screen to go from blue to orange. Turn the machine off and remove the SD card. When you turn on the machine the screen will display a "Creality" loading screen. 8 | -------------------------------------------------------------------------------- /Marlin/src/lcd/e3v2/jyersui/README.md: -------------------------------------------------------------------------------- 1 | # DWIN for Creality Ender-3 v2 2 | 3 | Marlin's Ender-3 v2 support requires the `DWIN_SET` included with the Ender-3 V2 [example configuration](https://github.com/MarlinFirmware/Configurations/tree/bugfix-2.1.x/config/examples/Creality/Ender-3%20V2). 4 | 5 | ## Easy Install 6 | 7 | Copy the `DWIN_SET` folder onto a Micro-SD card and insert the card into the slot on the DWIN screen. Cycle the machine and wait for the screen to go from blue to orange. Turn the machine off and remove the SD card. When you turn on the machine the screen will display a "Creality" loading screen. 8 | -------------------------------------------------------------------------------- /Marlin/src/libs/heatshrink/heatshrink_common.h: -------------------------------------------------------------------------------- 1 | /** 2 | * libs/heatshrink/heatshrink_common.h 3 | */ 4 | #pragma once 5 | 6 | #define HEATSHRINK_AUTHOR "Scott Vokes " 7 | #define HEATSHRINK_URL "github.com/atomicobject/heatshrink" 8 | 9 | /* Version 0.4.1 */ 10 | #define HEATSHRINK_VERSION_MAJOR 0 11 | #define HEATSHRINK_VERSION_MINOR 4 12 | #define HEATSHRINK_VERSION_PATCH 1 13 | 14 | #define HEATSHRINK_MIN_WINDOW_BITS 4 15 | #define HEATSHRINK_MAX_WINDOW_BITS 15 16 | 17 | #define HEATSHRINK_MIN_LOOKAHEAD_BITS 3 18 | 19 | #define HEATSHRINK_LITERAL_MARKER 0x01 20 | #define HEATSHRINK_BACKREF_MARKER 0x00 21 | -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3.9.0-buster 2 | 3 | # Disable warnings about not having a TTY 4 | ARG DEBIAN_FRONTEND=noninteractive 5 | 6 | # Disable debconf warnings 7 | ARG DEBCONF_NOWARNINGS="yes" 8 | 9 | # Upgrade pip 10 | RUN pip install --upgrade pip 11 | 12 | # Install platformio toolchain / framework and pyyaml 13 | RUN pip install -U platformio PyYaml 14 | 15 | # Upgrade platformio using development version / branch 16 | RUN pio upgrade --dev 17 | 18 | # Set working directory 19 | WORKDIR /code 20 | 21 | # Set volumes / mount points that we are using 22 | VOLUME /code /root/.platformio 23 | 24 | #ENV PATH /code/buildroot/bin/:/code/buildroot/tests/:${PATH} 25 | -------------------------------------------------------------------------------- /Marlin/src/HAL/STM32/msc_sd.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * 4 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 5 | * Copyright (c) 2019 BigTreeTech [https://github.com/bigtreetech] 6 | * 7 | * This program is free software: you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, either version 3 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | */ 16 | #pragma once 17 | 18 | void MSC_SD_init(); 19 | -------------------------------------------------------------------------------- /Marlin/src/libs/heatshrink/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013-2015, Scott Vokes 2 | All rights reserved. 3 | 4 | Permission to use, copy, modify, and/or distribute this software for any 5 | purpose with or without fee is hereby granted, provided that the above 6 | copyright notice and this permission notice appear in all copies. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 | -------------------------------------------------------------------------------- /Marlin/src/libs/heatshrink/heatshrink_config.h: -------------------------------------------------------------------------------- 1 | /** 2 | * libs/heatshrink/heatshrink_config.h 3 | */ 4 | #pragma once 5 | 6 | // Should functionality assuming dynamic allocation be used? 7 | #ifndef HEATSHRINK_DYNAMIC_ALLOC 8 | //#define HEATSHRINK_DYNAMIC_ALLOC 1 9 | #endif 10 | 11 | #if HEATSHRINK_DYNAMIC_ALLOC 12 | // Optional replacement of malloc/free 13 | #define HEATSHRINK_MALLOC(SZ) malloc(SZ) 14 | #define HEATSHRINK_FREE(P, SZ) free(P) 15 | #else 16 | // Required parameters for static configuration 17 | #define HEATSHRINK_STATIC_INPUT_BUFFER_SIZE 32 18 | #define HEATSHRINK_STATIC_WINDOW_BITS 8 19 | #define HEATSHRINK_STATIC_LOOKAHEAD_BITS 4 20 | #endif 21 | 22 | // Turn on logging for debugging 23 | #define HEATSHRINK_DEBUGGING_LOGS 0 24 | 25 | // Use indexing for faster compression. (This requires additional space.) 26 | #define HEATSHRINK_USE_INDEX 1 27 | -------------------------------------------------------------------------------- /ini/samd51.ini: -------------------------------------------------------------------------------- 1 | # 2 | # Marlin Firmware 3 | # PlatformIO Configuration File 4 | # 5 | 6 | ################################# 7 | # # 8 | # SAMD51 Architecture # 9 | # # 10 | ################################# 11 | 12 | # 13 | # Adafruit Grand Central M4 (Atmel SAMD51P20A ARM Cortex-M4) 14 | # 15 | [env:SAMD51_grandcentral_m4] 16 | platform = atmelsam 17 | board = adafruit_grandcentral_m4 18 | build_flags = ${common.build_flags} -std=gnu++17 19 | build_unflags = -std=gnu++11 20 | build_src_filter = ${common.default_src_filter} + 21 | lib_deps = ${common.lib_deps} 22 | SoftwareSerialM 23 | extra_scripts = ${common.extra_scripts} 24 | pre:buildroot/share/PlatformIO/scripts/SAMD51_grandcentral_m4.py 25 | custom_marlin.SDSUPPORT = SdFat - Adafruit Fork, Adafruit SPIFlash 26 | debug_tool = jlink 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/STM32F1/msc_sd.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * 4 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 5 | * Copyright (c) 2019 BigTreeTech [https://github.com/bigtreetech] 6 | * 7 | * This program is free software: you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, either version 3 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | */ 16 | #pragma once 17 | 18 | #include 19 | 20 | #include "../../inc/MarlinConfigPre.h" 21 | #include "../../core/serial_hook.h" 22 | 23 | extern USBMassStorage MarlinMSC; 24 | extern Serial1Class MarlinCompositeSerial; 25 | 26 | void MSC_SD_init(); 27 | -------------------------------------------------------------------------------- /ini/stm32f7.ini: -------------------------------------------------------------------------------- 1 | # 2 | # Marlin Firmware 3 | # PlatformIO Configuration File 4 | # 5 | 6 | ################################# 7 | # 8 | # STM32F7 Architecture 9 | # 10 | # Naming Example: STM32F767ZIT6 11 | # 12 | # F : Foundation (sometimes High Performance F2/F4) 13 | # 7 : Cortex M7 core (0:M0, 1-2:M3, 3-4:M4, 7:M7) 14 | # 67 : Line/Features 15 | # Z : 144 pins 16 | # I : 4096KB Flash-memory 17 | # T : LQFP package 18 | # 6 : -40...85°C (7: ...105°C) 19 | # 20 | ################################# 21 | 22 | # 23 | # ST NUCLEO-F767ZI Development Board 24 | # This environment is for testing purposes prior to control boards 25 | # being readily available based on STM32F7 MCUs 26 | # 27 | [env:NUCLEO_F767ZI] 28 | extends = common_stm32 29 | board = nucleo_f767zi 30 | build_flags = ${common_stm32.build_flags} -DTIMER_SERIAL=TIM9 31 | 32 | # 33 | # REMRAM_V1 34 | # 35 | [env:REMRAM_V1] 36 | extends = common_stm32 37 | board = remram_v1 38 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LPC1768/win_usb_driver/lpc176x_usb_driver.inf: -------------------------------------------------------------------------------- 1 | [Version] 2 | Signature="$Windows NT$" 3 | Class=Ports 4 | ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} 5 | Provider=%PROVIDER% 6 | DriverVer =04/14/2008, 5.1.2600.5512 7 | 8 | [Manufacturer] 9 | %PROVIDER%=DeviceList,ntamd64 10 | 11 | 12 | [DeviceList] 13 | %DESCRIPTION%=LPC1768USB, USB\VID_1D50&PID_6029&MI_00 14 | 15 | [DeviceList.ntamd64] 16 | %DESCRIPTION%=LPC1768USB, USB\VID_1D50&PID_6029&MI_00 17 | 18 | 19 | [LPC1768USB] 20 | include=mdmcpq.inf 21 | CopyFiles=FakeModemCopyFileSection 22 | AddReg=LowerFilterAddReg,SerialPropPageAddReg 23 | 24 | [LPC1768USB.Services] 25 | include=mdmcpq.inf 26 | AddService=usbser, 0x00000002, LowerFilter_Service_Inst 27 | 28 | [SerialPropPageAddReg] 29 | HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" 30 | 31 | 32 | [Strings] 33 | PROVIDER = "marlinfw.org" 34 | DRIVER.SVC = "Marlin USB Driver" 35 | DESCRIPTION= "Marlin USB Serial" 36 | COMPOSITE = "Marlin USB VCOM" -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/servotimers.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/AVR/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/AVR/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/AVR/inc/Conditionals_post.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/DUE/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/DUE/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/ota.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * Copyright (c) 2016 Bob Cousins bobcousins42@googlemail.com 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program. If not, see . 18 | * 19 | */ 20 | #pragma once 21 | 22 | void OTA_init(); 23 | void OTA_handle(); 24 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/inc/Conditionals_post.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LINUX/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LINUX/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LINUX/inc/Conditionals_post.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LPC1768/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/SAMD51/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/SAMD51/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/STM32/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/STM32F1/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/NATIVE_SIM/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/NATIVE_SIM/inc/Conditionals_post.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/SAMD21/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | #pragma once 24 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY31_32/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY31_32/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY35_36/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY35_36/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY40_41/inc/Conditionals_LCD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY40_41/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/web.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | void web_init(); 25 | -------------------------------------------------------------------------------- /Marlin/src/HAL/STM32/usb_serial.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | void USB_Hook_init(); 25 | -------------------------------------------------------------------------------- /Marlin/src/HAL/shared/esp_wifi.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | void esp_wifi_init(); 25 | -------------------------------------------------------------------------------- /Marlin/src/lcd/dogm/fontdata/langdata.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 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 . 17 | * 18 | */ 19 | #pragma once 20 | 21 | #include 22 | 23 | #define FONTDATA_ITEM(page, begin, end, data) { page, begin, end, COUNT(data), data } 24 | -------------------------------------------------------------------------------- /ini/samd21.ini: -------------------------------------------------------------------------------- 1 | # 2 | # Marlin Firmware 3 | # PlatformIO Configuration File 4 | # 5 | 6 | ################################# 7 | # # 8 | # SAMD21 Architecture # 9 | # # 10 | ################################# 11 | 12 | # 13 | # Adafruit Grand Central M4 (Atmel SAMD51P20A ARM Cortex-M4) 14 | # 15 | [env:SAMD21_minitronics20] 16 | platform = atmelsam 17 | board = minitronics20 18 | build_flags = ${common.build_flags} -std=gnu++17 19 | -DUSBCON -DUSBD_USE_CDC -D__SAMD21__ -DARDUINO_SAMD_MINITRONICS20 -Wno-deprecated-declarations -DU8G_HAL_LINKS -DDEBUG 20 | -IMarlin/src/HAL/SAMD21/u8g 21 | build_unflags = -std=gnu++11 22 | build_src_filter = ${common.default_src_filter} + 23 | lib_deps = ${common.lib_deps} 24 | extra_scripts = ${common.extra_scripts} 25 | pre:buildroot/share/PlatformIO/scripts/SAMD21_minitronics20.py 26 | debug_tool = atmel-ice 27 | -------------------------------------------------------------------------------- /Marlin/lib/readme.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for the project specific (private) libraries. 3 | PlatformIO will compile them to static libraries and link to executable file. 4 | 5 | The source code of each library should be placed in separate directory, like 6 | "lib/private_lib/[here are source files]". 7 | 8 | For example, see how can be organized `Foo` and `Bar` libraries: 9 | 10 | |--lib 11 | | |--Bar 12 | | | |--docs 13 | | | |--examples 14 | | | |--src 15 | | | |- Bar.c 16 | | | |- Bar.h 17 | | |--Foo 18 | | | |- Foo.c 19 | | | |- Foo.h 20 | | |- readme.txt --> THIS FILE 21 | |- platformio.ini 22 | |--src 23 | |- main.c 24 | 25 | Then in `src/main.c` you should use: 26 | 27 | #include 28 | #include 29 | 30 | // rest H/C/CPP code 31 | 32 | PlatformIO will find your libraries automatically, configure preprocessor's 33 | include paths and build them. 34 | 35 | More information about PlatformIO Library Dependency Finder 36 | - https://docs.platformio.org/page/librarymanager/ldf.html 37 | -------------------------------------------------------------------------------- /Marlin/src/HAL/AVR/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | using MarlinSPI = SPIClass; 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/DUE/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | using MarlinSPI = SPIClass; 27 | -------------------------------------------------------------------------------- /Marlin/src/tests/marlin_tests.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | void runStartupTests(); 25 | void runPeriodicTests(); 26 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | using MarlinSPI = SPIClass; 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LINUX/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | using MarlinSPI = SPIClass; 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/SAMD51/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | using MarlinSPI = SPIClass; 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/spiffs.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | extern bool spiffs_initialized; 25 | 26 | void spiffs_init(); 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY31_32/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | using MarlinSPI = SPIClass; 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY35_36/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | using MarlinSPI = SPIClass; 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY40_41/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | using MarlinSPI = SPIClass; 27 | -------------------------------------------------------------------------------- /Marlin/src/feature/mmu/mmu.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | void mmu_init(); 25 | void select_multiplexed_stepper(const uint8_t e); 26 | -------------------------------------------------------------------------------- /Marlin/src/feature/baricuda.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | extern uint8_t baricuda_valve_pressure, 25 | baricuda_e_to_p_pressure; 26 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY31_32/inc/Conditionals_post.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if USE_FALLBACK_EEPROM 25 | #define USE_WIRED_EEPROM 1 26 | #endif 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY35_36/inc/Conditionals_post.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if USE_FALLBACK_EEPROM 25 | #define USE_WIRED_EEPROM 1 26 | #endif 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY40_41/inc/Conditionals_post.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if USE_FALLBACK_EEPROM 25 | #define USE_WIRED_EEPROM 1 26 | #endif 27 | -------------------------------------------------------------------------------- /Marlin/src/libs/crc16.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | void crc16(uint16_t *crc, const void * const data, uint16_t cnt); 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LPC1768/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if DISABLED(NO_SD_HOST_DRIVE) 25 | #define HAS_SD_HOST_DRIVE 1 26 | #endif 27 | -------------------------------------------------------------------------------- /Marlin/src/feature/leds/tempstat.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | /** 25 | * Marlin general RGB LED support 26 | */ 27 | 28 | void handle_status_leds(); 29 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/dgus_reloaded/definition/DGUS_VPList.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include "DGUS_VP.h" 25 | 26 | extern const struct DGUS_VP vp_list[]; 27 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32h7/pins_BTT_SKR_V3_0.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #define BOARD_INFO_NAME "BTT SKR V3" 25 | 26 | #include "pins_BTT_SKR_V3_0_common.h" 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/NATIVE_SIM/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * 4 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 5 | * Copyright (c) 2016 Bob Cousins bobcousins42@googlemail.com 6 | * Copyright (c) 2015-2016 Nico Tonnhofer wurstnase.reprap@gmail.com 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | using MarlinSPI = SPIClass; 27 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32h7/pins_BTT_SKR_V3_0_EZ.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #define BOARD_INFO_NAME "BTT SKR V3 EZ" 25 | 26 | #include "pins_BTT_SKR_V3_0_common.h" 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/spi_pins.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #define SD_SS_PIN SDSS 25 | #define SD_SCK_PIN 18 26 | #define SD_MISO_PIN 19 27 | #define SD_MOSI_PIN 23 28 | -------------------------------------------------------------------------------- /Marlin/src/lcd/menu/menu_mmu2.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | void menu_mmu2(); 27 | void mmu2_M600(); 28 | uint8_t mmu2_choose_filament(); 29 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32f4/pins_BTT_SKR_V2_0_REV_B.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #define BOARD_INFO_NAME "BTT SKR V2 Rev.B" 25 | 26 | #include "pins_BTT_SKR_V2_0_common.h" 27 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32h7/env_validate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2023 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if NOT_TARGET(STM32H7) 25 | #error "Oops! Select an STM32H7 board in 'Tools > Board.'" 26 | #endif 27 | -------------------------------------------------------------------------------- /Marlin/src/lcd/e3v2/proui/gcode_preview.h: -------------------------------------------------------------------------------- 1 | /** 2 | * DWIN g-code thumbnail preview 3 | * Author: Miguel A. Risco-Castillo 4 | * version: 3.1.2 5 | * Date: 2022/09/03 6 | * 7 | * This program is free software: you can redistribute it and/or modify 8 | * it under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation, either version 3 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License 18 | * along with this program. If not, see . 19 | * 20 | * For commercial applications additional licenses can be requested 21 | */ 22 | 23 | #pragma once 24 | 25 | void Preview_DrawFromSD(); 26 | void Preview_Invalidate(); 27 | bool Preview_Valid(); 28 | void Preview_Reset(); 29 | -------------------------------------------------------------------------------- /Marlin/src/pins/esp32/env_validate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if NOT_TARGET(ARDUINO_ARCH_ESP32) 25 | #error "Oops! Select an ESP32 board in 'Tools > Board.'" 26 | #endif 27 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32h7/pins_BTT_SKR_SE_BX_V3.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #define BOARD_INFO_NAME "BTT SKR SE BX V3.0" 25 | 26 | #include "pins_BTT_SKR_SE_BX_common.h" 27 | -------------------------------------------------------------------------------- /ini/due.ini: -------------------------------------------------------------------------------- 1 | # 2 | # Marlin Firmware 3 | # PlatformIO Configuration File 4 | # 5 | 6 | ################################# 7 | # # 8 | # DUE Architecture # 9 | # # 10 | ################################# 11 | 12 | # 13 | # Due (Atmel SAM3X8E ARM Cortex-M3) 14 | # 15 | # - RAMPS4DUE 16 | # - RADDS 17 | # 18 | [env:DUE] 19 | platform = atmelsam 20 | board = due 21 | build_src_filter = ${common.default_src_filter} + + 22 | 23 | [env:DUE_USB] 24 | extends = env:DUE 25 | board = dueUSB 26 | 27 | # 28 | # Archim SAM 29 | # 30 | [common_DUE_archim] 31 | extends = env:DUE 32 | board = marlin_archim 33 | build_flags = ${common.build_flags} 34 | -DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON 35 | board_build.variants_dir = buildroot/share/PlatformIO/variants/ 36 | extra_scripts = ${common.extra_scripts} 37 | Marlin/src/HAL/DUE/upload_extra_script.py 38 | 39 | [env:DUE_archim] 40 | extends = common_DUE_archim 41 | -------------------------------------------------------------------------------- /Marlin/src/feature/solenoid.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | void disable_all_solenoids(); 25 | void enable_solenoid(const uint8_t num); 26 | void disable_solenoid(const uint8_t num); 27 | -------------------------------------------------------------------------------- /Marlin/src/pins/rambo/env_validate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if NOT_TARGET(__AVR_ATmega2560__) 25 | #error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'" 26 | #endif 27 | -------------------------------------------------------------------------------- /Marlin/src/pins/lpc1769/env_validate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if NOT_TARGET(MCU_LPC1769) 25 | #error "Oops! Make sure you have the LPC1769 environment selected in your IDE." 26 | #endif 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/SAMD21/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * SAMD21 HAL developed by Bart Meijer (brupje) 25 | * Based on SAMD51 HAL by Giuliano Zaro (AKA GMagician) 26 | */ 27 | #pragma once 28 | -------------------------------------------------------------------------------- /Marlin/src/HAL/SAMD21/u8g/LCD_I2C_routines.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * SAMD21 HAL developed by Bart Meijer (brupje) 25 | * Based on SAMD51 HAL by Giuliano Zaro (AKA GMagician) 26 | */ 27 | #pragma once 28 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32g0/env_validate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2023 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if NOT_TARGET(STM32G0xx) || NOT_TARGET(STM32G0B1xx) 25 | #error "Oops! Select an STM32G0 board in 'Tools > Board.'" 26 | #endif 27 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | 10 | 11 | ### Description 12 | 13 | 18 | 19 | ### Requirements 20 | 21 | 22 | 23 | ### Benefits 24 | 25 | 26 | 27 | ### Configurations 28 | 29 | 30 | 31 | ### Related Issues 32 | 33 | 34 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/wifi.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | extern AsyncWebServer server; 27 | 28 | #define DEFAULT_WIFI_HOSTNAME "marlin" 29 | 30 | void wifi_init(); 31 | -------------------------------------------------------------------------------- /Marlin/src/HAL/shared/backtrace/unwmemaccess.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * ARM Stack Unwinder, Michael.McTernan.2001@cs.bris.ac.uk 3 | * Updated, adapted and several bug fixes on 2018 by Eduardo José Tagle 4 | * 5 | * This program is PUBLIC DOMAIN. 6 | * This means that there is no copyright and anyone is able to take a copy 7 | * for free and use it as they wish, with or without modifications, and in 8 | * any context, commercially or otherwise. The only limitation is that I 9 | * don't guarantee that the software is fit for any purpose or accept any 10 | * liability for its use or misuse - this software is without warranty. 11 | *************************************************************************** 12 | * File Description: Utility functions to access memory 13 | **************************************************************************/ 14 | 15 | #pragma once 16 | 17 | #include "unwarm.h" 18 | #include 19 | 20 | bool UnwReadW(const uint32_t a, uint32_t *v); 21 | bool UnwReadH(const uint32_t a, uint16_t *v); 22 | bool UnwReadB(const uint32_t a, uint8_t *v); 23 | -------------------------------------------------------------------------------- /Marlin/src/feature/stepper_driver_safety.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | 25 | #include "../inc/MarlinConfigPre.h" 26 | 27 | void stepper_driver_backward_check(); 28 | void stepper_driver_backward_report(); 29 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_MZ_V1_0.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #define BOARD_INFO_NAME "BTT SKR Mini MZ V1.0" 25 | 26 | #include "pins_BTT_SKR_MINI_E3_V2_0.h" // ... BTT_SKR_MINI_E3_common 27 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY31_32/spi_pins.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #define SD_SCK_PIN 13 25 | #define SD_MISO_PIN 12 26 | #define SD_MOSI_PIN 11 27 | #define SD_SS_PIN 20 // SDSS // A.28, A.29, B.21, C.26, C.29 28 | -------------------------------------------------------------------------------- /Marlin/src/feature/fanmux.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | /** 25 | * feature/fanmux.h - Cooling Fan Multiplexer support functions 26 | */ 27 | 28 | void fanmux_switch(const uint8_t e); 29 | void fanmux_init(); 30 | -------------------------------------------------------------------------------- /Marlin/src/HAL/DUE/inc/Conditionals_post.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if USE_FALLBACK_EEPROM 25 | #define FLASH_EEPROM_EMULATION 26 | #elif EITHER(I2C_EEPROM, SPI_EEPROM) 27 | #define USE_SHARED_EEPROM 1 28 | #endif 29 | -------------------------------------------------------------------------------- /Marlin/src/HAL/SAMD51/inc/Conditionals_post.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if USE_FALLBACK_EEPROM 25 | #define FLASH_EEPROM_EMULATION 26 | #elif EITHER(I2C_EEPROM, SPI_EEPROM) 27 | #define USE_SHARED_EEPROM 1 28 | #endif 29 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/FlushableHardwareSerial.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | #ifdef ARDUINO_ARCH_ESP32 24 | 25 | #include "FlushableHardwareSerial.h" 26 | 27 | Serial1Class flushableSerial(false, 0); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LINUX/hardware/Gpio.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #ifdef __PLAT_LINUX__ 23 | 24 | #include "Gpio.h" 25 | 26 | pin_data Gpio::pin_map[Gpio::pin_count+1] = {}; 27 | IOLogger* Gpio::logger = nullptr; 28 | 29 | #endif // __PLAT_LINUX__ 30 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_more.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_more(); 29 | void lv_clear_more(); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32f1/pins_GTM32_PRO_VD.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | /** 25 | * Geeetech GTM32 Pro VD board pin assignments 26 | */ 27 | 28 | #define BOARD_INFO_NAME "GTM32 Pro VD" 29 | 30 | #include "pins_GTM32_PRO_VB.h" 31 | -------------------------------------------------------------------------------- /Marlin/src/HAL/STM32/sdio.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #define SDIO_D0_PIN PC8 25 | #define SDIO_D1_PIN PC9 26 | #define SDIO_D2_PIN PC10 27 | #define SDIO_D3_PIN PC11 28 | #define SDIO_CK_PIN PC12 29 | #define SDIO_CMD_PIN PD2 30 | -------------------------------------------------------------------------------- /Marlin/src/feature/leds/blinkm.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | /** 25 | * blinkm.h - Control a BlinkM over i2c 26 | */ 27 | 28 | struct LEDColor; 29 | typedef LEDColor LEDColor; 30 | 31 | void blinkm_set_led_color(const LEDColor &color); 32 | -------------------------------------------------------------------------------- /Marlin/src/gcode/control/M400.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | #include "../gcode.h" 24 | #include "../../module/planner.h" 25 | 26 | /** 27 | * M400: Finish all moves 28 | */ 29 | void GcodeSuite::M400() { 30 | 31 | planner.synchronize(); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32h7/pins_BTT_SKR_SE_BX_V2.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #define BOARD_INFO_NAME "BTT SKR SE BX V2.0" 25 | 26 | #define SAFE_POWER_PIN PI11 27 | 28 | #include "pins_BTT_SKR_SE_BX_common.h" 29 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | // 25 | // Board-specific options need to be defined before HAL.h 26 | // 27 | #if MB(MKS_TINYBEE) 28 | #define MAX_EXPANDER_BITS 24 // TinyBee has 3 x HC595 29 | #endif 30 | -------------------------------------------------------------------------------- /Marlin/src/sd/usb_flashdrive/lib-uhs3/README.txt: -------------------------------------------------------------------------------- 1 | ==== USB HOST SHIELD 3.0 LIBRARY ==== 2 | 3 | The lib-uhs3/ folder contains a subset of the files from the USB Host Shield 4 | 3.0 library: 5 | 6 | https://github.com/felis/UHS30 7 | 8 | 9 | ==== LICENSE SUMMARY ==== 10 | 11 | Source Path: Repository: License: 12 | ------------ ----------- -------- 13 | usb_flashdrive/lib github.com/felis/UHS30 GPLv2 or later 14 | 15 | 16 | ==== MARLIN INTEGRATION WORK ==== 17 | 18 | All additional work done to integrate USB into Marlin was performed by 19 | LulzBot and is licensed under the GPLv3. 20 | 21 | This version of UHS3 has been modified for better compatibility with Marlin. 22 | The upstream version of UHS 3.0 runs a frame timer interrupt every 1 ms to 23 | handle device polling. This timer interrupt interferes with Marlin's stepper 24 | IRQ, so the flag USB_HOST_MANUAL_POLL has been added to move the polling to 25 | the idle task. Additional logic was added to disable and enable the frame 26 | IRQ. 27 | 28 | SKIP_PAGE3F and USB_NO_TEST_UNIT_READY were added to work around bugs with 29 | certain devices. 30 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_set.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_set(); 29 | void lv_clear_set(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/HAL/SAMD21/MarlinSPI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * SAMD21 HAL developed by Bart Meijer (brupje) 25 | * Based on SAMD51 HAL by Giuliano Zaro (AKA GMagician) 26 | */ 27 | #pragma once 28 | 29 | #include 30 | 31 | using MarlinSPI = SPIClass; 32 | -------------------------------------------------------------------------------- /Marlin/src/HAL/shared/eeprom_if.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * 4 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 5 | * Copyright (c) 2016 Bob Cousins bobcousins42@googlemail.com 6 | * Copyright (c) 2015-2016 Nico Tonnhofer wurstnase.reprap@gmail.com 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | // 25 | // EEPROM 26 | // 27 | void eeprom_init(); 28 | void eeprom_write_byte(uint8_t *pos, uint8_t value); 29 | uint8_t eeprom_read_byte(uint8_t *pos); 30 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_home.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_home(); 29 | void lv_clear_home(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_tool.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_tool(); 29 | void lv_clear_tool(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/menu/game/maze.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include "types.h" 25 | 26 | typedef struct { pos_t pos; } maze_data_t; 27 | 28 | class MazeGame : MarlinGame { public: static void enter_game(), game_screen(); }; 29 | 30 | extern MazeGame maze; 31 | -------------------------------------------------------------------------------- /Marlin/src/feature/baricuda.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | #include "../inc/MarlinConfigPre.h" 24 | 25 | #if ENABLED(BARICUDA) 26 | 27 | #include "baricuda.h" 28 | 29 | uint8_t baricuda_valve_pressure = 0, 30 | baricuda_e_to_p_pressure = 0; 31 | 32 | #endif // BARICUDA 33 | -------------------------------------------------------------------------------- /Marlin/src/gcode/host/M119.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | #include "../gcode.h" 24 | #include "../../module/endstops.h" 25 | 26 | /** 27 | * M119: Output endstop states to serial output 28 | */ 29 | void GcodeSuite::M119() { 30 | 31 | endstops.report_states(); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_about.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_about(); 29 | void lv_clear_about(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32f4/env_validate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if NOT_TARGET(STM32F4) && (DISABLED(ALLOW_STM32DUINO) || NOT_TARGET(STM32F4xx)) 25 | #error "Oops! Select an STM32F4 board in 'Tools > Board.'" 26 | #endif 27 | 28 | #undef ALLOW_STM32DUINO 29 | -------------------------------------------------------------------------------- /Marlin/src/HAL/shared/backtrace/backtrace.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | // Perform a backtrace to the serial port 25 | void backtrace(); 26 | 27 | // Perform a backtrace to the serial port 28 | void backtrace_ex(unsigned long sp, unsigned long lr, unsigned long pc); 29 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_keyboard.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_keyboard(); 29 | void lv_clear_keyboard(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_language.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_language(); 29 | void lv_clear_language(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_operation.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_operation(); 29 | void lv_clear_operation(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_pause_message.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_pause_message(const PauseMessage msg); 29 | 30 | #ifdef __cplusplus 31 | } /* C-declarations for C++ */ 32 | #endif 33 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32f0/pins_MALYAN_M200_V2.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if NOT_TARGET(STM32F0xx) 25 | #error "Oops! Select an STM32F0 board in your IDE." 26 | #endif 27 | 28 | #define BOARD_INFO_NAME "Malyan M200 V2" 29 | 30 | #include "../stm32f1/pins_MALYAN_M200.h" 31 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_gcode.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_gcode(bool clear = false); 29 | void lv_clear_gcode(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_manuaLevel.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_manualLevel(); 29 | void lv_clear_manualLevel(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_number_key.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_number_key(); 29 | void lv_clear_number_key(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/pins/sanguino/pins_MELZI_MAKR3D.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | /** 25 | * Melzi with ATmega1284 (MaKr3d version) pin assignments 26 | */ 27 | 28 | #define BOARD_INFO_NAME "Melzi (ATmega1284)" 29 | #include "pins_MELZI.h" // ... SANGUINOLOLU_12 ... SANGUINOLOLU_11 30 | -------------------------------------------------------------------------------- /Marlin/src/HAL/NATIVE_SIM/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | // Add strcmp_P if missing 25 | #ifndef strcmp_P 26 | #define strcmp_P(a, b) strcmp((a), (b)) 27 | #endif 28 | 29 | #ifndef strcat_P 30 | #define strcat_P(dest, src) strcat((dest), (src)) 31 | #endif 32 | -------------------------------------------------------------------------------- /Marlin/src/feature/dac/dac_dac084s085.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | class dac084s085 { 25 | public: 26 | dac084s085(); 27 | static void begin(); 28 | static void setValue(const uint8_t channel, const uint8_t value); 29 | private: 30 | static void cshigh(); 31 | }; 32 | -------------------------------------------------------------------------------- /Marlin/src/lcd/e3v2/marlinui/lcdprint_dwin.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include "../../lcdprint.h" 25 | 26 | typedef struct { int16_t x, y; } cursor_t; 27 | extern cursor_t cursor; 28 | 29 | int lcd_put_dwin_string(); 30 | void lcd_moveto_xy(const lcd_uint_t, const lcd_uint_t); 31 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_fan.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_fan(); 29 | void lv_clear_fan(); 30 | void disp_fan_value(); 31 | 32 | #ifdef __cplusplus 33 | } /* C-declarations for C++ */ 34 | #endif 35 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_jerk_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_jerk_settings(); 29 | void lv_clear_jerk_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_machine_para.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_machine_para(); 29 | void lv_clear_machine_para(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_step_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_step_settings(); 29 | void lv_clear_step_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_level_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_level_settings(); 29 | void lv_clear_level_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_motor_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_motor_settings(); 29 | void lv_clear_motor_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_pause_position.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_pause_position(); 29 | void lv_clear_pause_position(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LPC1768/u8g/LCD_I2C_routines.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | void u8g_i2c_init(const uint8_t clock_options); 25 | //uint8_t u8g_i2c_wait(uint8_t mask, uint8_t pos); 26 | uint8_t u8g_i2c_start(uint8_t sla); 27 | uint8_t u8g_i2c_send_byte(uint8_t data); 28 | void u8g_i2c_stop(); 29 | -------------------------------------------------------------------------------- /Marlin/src/HAL/shared/backtrace/unwarmmem.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * ARM Stack Unwinder, Michael.McTernan.2001@cs.bris.ac.uk 3 | * Updated, adapted and several bug fixes on 2018 by Eduardo José Tagle 4 | * 5 | * This program is PUBLIC DOMAIN. 6 | * This means that there is no copyright and anyone is able to take a copy 7 | * for free and use it as they wish, with or without modifications, and in 8 | * any context, commercially or otherwise. The only limitation is that I 9 | * don't guarantee that the software is fit for any purpose or accept any 10 | * liability for its use or misuse - this software is without warranty. 11 | *************************************************************************** 12 | * File Description: Interface to the memory tracking sub-system. 13 | **************************************************************************/ 14 | 15 | #pragma once 16 | 17 | #include "unwarm.h" 18 | 19 | bool UnwMemHashRead(MemData * const memData, uint32_t addr, uint32_t * const data, bool * const tracked); 20 | bool UnwMemHashWrite(MemData * const memData, uint32_t addr, uint32_t val, bool valValid); 21 | void UnwMemHashGC(UnwState * const state); 22 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_advance_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_advance_settings(); 29 | void lv_clear_advance_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_eeprom_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_eeprom_settings(); 29 | void lv_clear_eeprom_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_encoder_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_encoder_settings(); 29 | void lv_clear_encoder_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_machine_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_machine_settings(); 29 | void lv_clear_machine_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_wifi.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | 29 | void lv_draw_wifi(); 30 | void lv_clear_wifi(); 31 | void disp_wifi_state(); 32 | 33 | #ifdef __cplusplus 34 | } /* C-declarations for C++ */ 35 | #endif 36 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_filament_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_filament_settings(); 29 | void lv_clear_filament_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_media_select.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | extern void lv_draw_media_select(); 29 | extern void lv_clear_media_select(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_V1_1.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if HOTENDS > 3 || E_STEPPERS > 3 25 | #error "BIGTREE SKR Pro V1.1 supports up to 3 hotends / E steppers." 26 | #endif 27 | 28 | #define BOARD_INFO_NAME "BTT SKR Pro V1.1" 29 | 30 | #include "pins_BTT_SKR_PRO_common.h" 31 | -------------------------------------------------------------------------------- /Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_V1_2.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if HOTENDS > 3 || E_STEPPERS > 3 25 | #error "BIGTREE SKR Pro V1.2 supports up to 3 hotends / E steppers." 26 | #endif 27 | 28 | #define BOARD_INFO_NAME "BTT SKR Pro V1.2" 29 | 30 | #include "pins_BTT_SKR_PRO_common.h" 31 | -------------------------------------------------------------------------------- /Marlin/src/HAL/shared/HAL.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * HAL/shared/HAL.cpp 25 | */ 26 | 27 | #include "../../inc/MarlinConfig.h" 28 | 29 | MarlinHAL hal; 30 | 31 | #if ENABLED(SOFT_RESET_VIA_SERIAL) 32 | 33 | // Global for use by e_parser.h 34 | void HAL_reboot() { hal.reboot(); } 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_move_motor.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_move_motor(); 29 | void lv_clear_move_motor(); 30 | void disp_move_dist(); 31 | 32 | #ifdef __cplusplus 33 | } /* C-declarations for C++ */ 34 | #endif 35 | -------------------------------------------------------------------------------- /Marlin/src/pins/teensy2/env_validate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #if NOT_TARGET(__AVR_AT90USB1286__) && (DISABLED(ALLOW_AT90USB1286P) || NOT_TARGET(__AVR_AT90USB1286P__)) 25 | #error "Oops! Select 'Teensy++ 2.0' or 'Printrboard' in 'Tools > Board.'" 26 | #endif 27 | 28 | #undef ALLOW_AT90USB1286P 29 | -------------------------------------------------------------------------------- /Marlin/src/HAL/LINUX/include/pinmapping.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #ifdef __PLAT_LINUX__ 23 | 24 | #include 25 | 26 | #include "../../../gcode/parser.h" 27 | 28 | int16_t PARSED_PIN_INDEX(const char code, const int16_t dval) { 29 | return parser.intval(code, dval); 30 | } 31 | 32 | #endif // __PLAT_LINUX__ 33 | -------------------------------------------------------------------------------- /Marlin/src/HAL/STM32F1/inc/Conditionals_adv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef USE_USB_COMPOSITE 25 | //#warning "SD_CHECK_AND_RETRY isn't needed with USE_USB_COMPOSITE." 26 | #undef SD_CHECK_AND_RETRY 27 | #if DISABLED(NO_SD_HOST_DRIVE) 28 | #define HAS_SD_HOST_DRIVE 1 29 | #endif 30 | #endif 31 | -------------------------------------------------------------------------------- /Marlin/src/gcode/host/M110.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | #include "../gcode.h" 24 | #include "../queue.h" // for last_N 25 | 26 | /** 27 | * M110: Set Current Line Number 28 | */ 29 | void GcodeSuite::M110() { 30 | 31 | if (parser.seenval('N')) 32 | queue.set_current_line_number(parser.value_long()); 33 | 34 | } 35 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_acceleration_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_acceleration_settings(); 29 | void lv_clear_acceleration_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_max_feedrate_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_max_feedrate_settings(); 29 | void lv_clear_max_feedrate_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_tmc_current_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_tmc_current_settings(); 29 | void lv_clear_tmc_current_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_tramming_pos_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_tramming_pos_settings(); 29 | void lv_clear_tramming_pos_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY35_36/spi_pins.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | /** 25 | * HAL SPI Pins for Teensy 3.5 (MK64FX512) and Teensy 3.6 (MK66FX1M0) 26 | */ 27 | 28 | #define SD_SCK_PIN 13 29 | #define SD_MISO_PIN 12 30 | #define SD_MOSI_PIN 11 31 | #define SD_SS_PIN 20 // SDSS // A.28, A.29, B.21, C.26, C.29 32 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/dgus_reloaded/definition/DGUS_ScreenSetup.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include "../config/DGUS_Screen.h" 25 | 26 | struct DGUS_ScreenSetup { 27 | DGUS_Screen screen; 28 | bool (*setup_fn)(void); 29 | }; 30 | 31 | extern const struct DGUS_ScreenSetup screen_setup_list[]; 32 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_tmc_step_mode_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_tmc_step_mode_settings(); 29 | void lv_clear_tmc_step_mode_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/HAL/TEENSY40_41/spi_pins.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | /** 25 | * HAL SPI Pins for Teensy 4.0 (IMXRT1062DVL6A) / 4.1 (IMXRT1062DVJ6A) 26 | */ 27 | 28 | #define SD_SCK_PIN 13 29 | #define SD_MISO_PIN 12 30 | #define SD_MOSI_PIN 11 31 | #define SD_SS_PIN 20 // SDSS // A.28, A.29, B.21, C.26, C.29 32 | -------------------------------------------------------------------------------- /Marlin/src/feature/closedloop.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | class ClosedLoop { 25 | public: 26 | static void init(); 27 | static void set(const byte val); 28 | }; 29 | 30 | extern ClosedLoop closedloop; 31 | 32 | #define CLOSED_LOOP_WAITING() (READ(CLOSED_LOOP_ENABLE_PIN) && !READ(CLOSED_LOOP_MOVE_COMPLETE_PIN)) 33 | -------------------------------------------------------------------------------- /Marlin/src/HAL/SAMD51/MarlinSerial_AGCM4.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | /** 25 | * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician) 26 | */ 27 | 28 | #include "../../core/serial_hook.h" 29 | 30 | typedef Serial1Class UartT; 31 | 32 | extern UartT Serial2; 33 | extern UartT Serial3; 34 | extern UartT Serial4; 35 | -------------------------------------------------------------------------------- /Marlin/src/HAL/shared/math_32bit.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include "../../core/macros.h" 25 | 26 | /** 27 | * Math helper functions for 32 bit CPUs 28 | */ 29 | FORCE_INLINE static uint32_t MultiU32X24toH32(uint32_t longIn1, uint32_t longIn2) { 30 | return ((uint64_t)longIn1 * longIn2 + 0x00800000) >> 24; 31 | } 32 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_auto_level_offset_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_auto_level_offset_settings(); 29 | void lv_clear_auto_level_offset_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/HAL/ESP32/i2s.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #include 25 | 26 | // current value of the outputs provided over i2s 27 | extern uint32_t i2s_port_data; 28 | 29 | int i2s_init(); 30 | 31 | uint8_t i2s_state(uint8_t pin); 32 | 33 | void i2s_write(uint8_t pin, uint8_t val); 34 | 35 | void i2s_push_sample(); 36 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_homing_sensitivity_settings.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_homing_sensitivity_settings(); 29 | void lv_clear_homing_sensitivity_settings(); 30 | 31 | #ifdef __cplusplus 32 | } /* C-declarations for C++ */ 33 | #endif 34 | -------------------------------------------------------------------------------- /Marlin/src/feature/digipot/digipot.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | // 25 | // Header for MCP4018 and MCP4451 current control i2c devices 26 | // 27 | class DigipotI2C { 28 | public: 29 | static void init(); 30 | static void set_current(const uint8_t channel, const float current); 31 | }; 32 | 33 | extern DigipotI2C digipot_i2c; 34 | -------------------------------------------------------------------------------- /Marlin/src/HAL/shared/eeprom_api.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * 4 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 5 | * Copyright (c) 2016 Bob Cousins bobcousins42@googlemail.com 6 | * Copyright (c) 2015-2016 Nico Tonnhofer wurstnase.reprap@gmail.com 7 | * Copyright (c) 2016 Victor Perez victor_pv@hotmail.com 8 | * 9 | * This program is free software: you can redistribute it and/or modify 10 | * it under the terms of the GNU General Public License as published by 11 | * the Free Software Foundation, either version 3 of the License, or 12 | * (at your option) any later version. 13 | * 14 | * This program is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | * GNU General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU General Public License 20 | * along with this program. If not, see . 21 | * 22 | */ 23 | #include "../../inc/MarlinConfigPre.h" 24 | 25 | #if EITHER(EEPROM_SETTINGS, SD_FIRMWARE_UPDATE) 26 | 27 | #include "eeprom_api.h" 28 | PersistentStore persistentStore; 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Marlin/src/feature/easythreed_ui.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | class EasythreedUI { 25 | public: 26 | static void init(); 27 | static void run(); 28 | 29 | private: 30 | static void blinkLED(); 31 | static void loadButton(); 32 | static void printButton(); 33 | }; 34 | 35 | extern EasythreedUI easythreed_ui; 36 | -------------------------------------------------------------------------------- /Marlin/src/gcode/motion/G80.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | #include "../../inc/MarlinConfigPre.h" 24 | 25 | #if ENABLED(GCODE_MOTION_MODES) 26 | 27 | #include "../gcode.h" 28 | 29 | /** 30 | * G80: Cancel current motion mode 31 | */ 32 | void GcodeSuite::G80() { 33 | 34 | parser.cancel_motion_mode(); 35 | 36 | } 37 | 38 | #endif // GCODE_MOTION_MODES 39 | -------------------------------------------------------------------------------- /Marlin/src/pins/ramps/pins_MAKEBOARD_MINI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | // ATmega2560 25 | 26 | #define BOARD_INFO_NAME "MAKEboard Mini" 27 | 28 | // 29 | // Only 3 Limit Switch plugs on Micromake C1 30 | // 31 | #define X_STOP_PIN 2 32 | #define Y_STOP_PIN 15 33 | #define Z_STOP_PIN 19 34 | 35 | #include "pins_RAMPS.h" 36 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_baby_stepping.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_baby_stepping(); 29 | void lv_clear_baby_stepping(); 30 | void disp_baby_step_dist(); 31 | void disp_z_offset_value(); 32 | 33 | #ifdef __cplusplus 34 | } /* C-declarations for C++ */ 35 | #endif 36 | -------------------------------------------------------------------------------- /Marlin/src/lcd/extui/mks_ui/draw_filament_change.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Marlin 3D Printer Firmware 3 | * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] 4 | * 5 | * Based on Sprinter and grbl. 6 | * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | #pragma once 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void lv_draw_filament_change(); 29 | void lv_clear_filament_change(); 30 | void disp_filament_type(); 31 | void disp_filament_temp(); 32 | 33 | #ifdef __cplusplus 34 | } /* C-declarations for C++ */ 35 | #endif 36 | --------------------------------------------------------------------------------