This commit is contained in:
Foxies 2020-10-08 11:10:31 +02:00
parent 26238d7b01
commit 024bdd83bc
3 changed files with 215 additions and 0 deletions

86
Marlin/QQS_Config.h Normal file
View file

@ -0,0 +1,86 @@
//===========================================================================
//=================== FLSun QQS - DELTA Printer =============================
//================= With pins_FLSUN_HiSPEED.h BOARD =========================
//===========================================================================
// For a Delta printer start with one of the configuration files in the
// config/examples/delta directory and customize for your machine.
// TIPS:
// For reduce binary size : https://thborges.github.io/blog/marlin/2019/01/07/reducing-marlin-binary-size.html
// For NeoPixel use library : https://github.com/................/archive/master.zip
// and commented error in SanityCheck.h
//========= Hardware ==========
//#define STOCK
/*------Drivers-(1 CHOICE)-----*/
//#define QQS //(S) 4xA4988
//#define QQS_TMC //(8) 4xTMC220x For 2208 or 2209
/* MODE UART XYZ*/
#define QQS_UART8 //(U8) 4xTMC2208 (Remove module ESP12)
//#define QQS_UART9 //(U9) 4xTMC2209 (Remove module ESP12)
/*------- Choice Other driver for EXTRUDER-------*/
#define DRIVER_EXT TMC2208_STANDALONE
// Set Software Serial UART for TMC 2208 / TMC 2209
#ifdef QQS_UART8
#define QQS_UART
#define SOFTWARE_SERIAL
#define DRIVER_AXES TMC2208
#ifndef DRIVER_EXT
#define DRIVER_EXT TMC2208
#endif
#endif
// Set Hardware Serial UART only TMC 2209
#ifdef QQS_UART9
#define QQS_UART
#define HARDWARE_SERIAL
#define DRIVER_AXES TMC2209
#ifndef DRIVER_EXT
#define DRIVER_EXT TMC2209
#endif
#endif
/*---- Modules -----*/
//#define ESP_WIFI //(W) Module ESP8266/ESP12
//#define ESP3D_WIFISUPPORT //(W)
//#define BMG //(B) Extruder
#define NEOPIXEL_LED //(N) Use port GPIO Wifi module (PA10/PA9/PA8/PC7)
//Many options for Modules:
#define POWER_LOSS_RECOVERY //NC LVGL pb SD
#define FILAMENT_RUNOUT_SENSOR //NC LVGL
#define ADVANCED_PAUSE_FEATURE //NC LVGL
#define LIN_ADVANCE //(L) Possible Bug with BabyStep.For TMC_UART prefer mode spreadCycle
/*-------Screen Mks_Robin_TFT_v2---(FSMC)-----*/
//Choice UI TFT
//#define FSMC_GRAPHICAL_TFT //(F) UI STANDARD
#define TFT_320x240 //(C) UI MARLIN (too big with mode UART+UBL=ok with nanolib)
//#define TFT_LVGL_UI_FSMC //(I) UI MKS => (Bug)
//============= End_Hardware ===============//
//Choice menu: (OPT)
#define DELTA_CALIBRATION_MENU //NC LVGL
#define PID_EDIT_MENU //
#define PID_AUTOTUNE_MENU //
#define PAUSE_BEFORE_DEPLOY_STOW //Message Stow/remove Probe (bug Octoprint & UI Marlin)
#define LCD_INFO_MENU //
//#define LED_CONTROL_MENU // For LedStrip
// Type Calibration (CAL)
//#define AUTO_BED_LEVELING_BILINEAR //(A)
#define AUTO_BED_LEVELING_UBL //(U)
// Option for Octoprint (OCTO)
#define HOST_ACTION_COMMANDS // Action Command Prompt support Message on Octoprint
//#define BINARY_FILE_TRANSFER // Bin transfert
//#define USE_CONTROLLER_FAN //BOARD FAN
//EXTRUDER_AUTO_FAN //
//

53
Marlin/_Bootscreen.h Normal file
View file

@ -0,0 +1,53 @@
/**
* Made with Marlin Bitmap Converter
* https://marlinfw.org/tools/u8glib/converter.html
*
* This bitmap from the file 'flsun-logo-128x64-long.jpg'
*/
#pragma once
#define CUSTOM_BOOTSCREEN_BMPWIDTH 128
const unsigned char custom_start_bmp[] PROGMEM = {
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000001,B00000000,B00001000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000011,B10000000,B00011100,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000001,B11000000,B00111000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B11111111,B11100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000011,B11111111,B11111000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000111,B01111111,B11011110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00001111,B11111111,B11111110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00110111,B11111111,B11111110,B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00110011,B11111111,B11111101,B11000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00011001,B00011111,B10001011,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00001100,B00000000,B00010110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000011,B10000000,B00111100,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B01111111,B11000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B01111111,B11000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B01111111,B11000000,B00000000,B00011111,B11111111,B11110011,B11000000,B00000000,B01111111,B11111100,B00000111,B10000000,B00001111,B10000111,B11111110,
B00000000,B01111111,B11000000,B00000000,B00011111,B11111111,B11110011,B11000000,B00000000,B11111111,B11111100,B00000111,B10000000,B00001111,B11000111,B11111110,
B00000000,B01111111,B11000000,B00000000,B00011111,B11111111,B11110011,B11000000,B00000001,B11111111,B11111100,B00000111,B10000000,B00001111,B11100011,B11111110,
B00000000,B01111111,B11000000,B00000000,B00011111,B11111111,B11110011,B11000000,B00000001,B11111111,B11111100,B00000111,B10000000,B00001111,B11110001,B11111110,
B00000000,B01111111,B11000000,B00000000,B00011111,B00000000,B00000011,B11000000,B00000001,B11100000,B00000000,B00000111,B10000000,B00001111,B11110000,B11111110,
B00000000,B01111111,B11000000,B00000000,B00011111,B00000000,B00000011,B11000000,B00000001,B11100000,B00000000,B00000111,B10000000,B00001111,B11111000,B01111110,
B00000000,B01111111,B11000000,B00000000,B00011111,B11111110,B00000011,B11000000,B00000001,B11111111,B11111111,B10000111,B10000000,B00000111,B01111100,B00111110,
B00000000,B01111111,B11000000,B00000000,B00011111,B11111110,B00000011,B11000000,B00000000,B11111111,B11111111,B11000111,B10000000,B00000001,B00111110,B00011110,
B00000000,B01111111,B11100000,B00000000,B00011111,B11111110,B00000011,B11000000,B00000000,B11111111,B11111111,B11100111,B10000000,B00001000,B00011111,B00001110,
B00000000,B01111111,B11000000,B00000000,B00011111,B11111110,B00000011,B11000000,B00000000,B00111111,B11111111,B11100111,B10000000,B00001100,B00001111,B10001110,
B00000000,B00111111,B10000000,B00000000,B00011111,B00000000,B00000011,B11000000,B00000000,B00000000,B00000001,B11110111,B10000000,B00001111,B00000111,B11000110,
B00000000,B00011111,B10000000,B00000000,B00011111,B00000000,B00000011,B11000000,B00000000,B00000000,B00000000,B11110111,B10000000,B00001111,B00000011,B11100010,
B00000000,B00011111,B00000000,B00000000,B00011111,B00000000,B00000011,B11111111,B11110011,B11111111,B11111111,B11110111,B11111111,B11111111,B00000001,B11110000,
B00000000,B00001110,B00000000,B00000000,B00011111,B00000000,B00000011,B11111111,B11110011,B11111111,B11111111,B11100011,B11111111,B11111111,B00000000,B11111000,
B00000000,B00000110,B00000000,B00000000,B00011110,B00000000,B00000011,B11111111,B11110011,B11111111,B11111111,B11000011,B11111111,B11111110,B00000000,B11111000,
B00000000,B00000011,B11111111,B11111000,B00001110,B00000000,B00000011,B11111111,B11110011,B11111111,B11111111,B10000001,B11111111,B11111100,B00000000,B01111100,
B00000000,B00000000,B00000000,B00011110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B00000000,B00011111,B11100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B00111111,B11110000,B00011111,B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00011111,B11111111,B11111111,B10000000,B11100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B01111111,B11111000,B00000000,B00011111,B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B00000000,B01111111,B11100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B11111111,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00001111,B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00001111,B11111111,B11111110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000
};

76
Marlin/_Statusscreen.h Normal file
View file

@ -0,0 +1,76 @@
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once
/**
* Custom Status Screen bitmap
*
* Place this file in the root with your configuration files
* and enable CUSTOM_STATUS_SCREEN_IMAGE in Configuration.h.
*
* Use the Marlin Bitmap Converter to make your own:
* http://marlinfw.org/tools/u8glib/converter.html
*/
//
// Status Screen Logo bitmap
//
#define STATUS_LOGO_X 0
#define STATUS_LOGO_Y 0
#define STATUS_LOGO_WIDTH 40
const unsigned char status_logo_bmp[] PROGMEM = {
B00000010,B00000000,B00000000,B00000000,B01000000,
B00000011,B11000000,B00000000,B00000011,B11000000,
B00000011,B11110000,B00000000,B00011111,B11000000,
B00000011,B11111100,B00000000,B01111011,B11000000,
B00000011,B11001111,B00000000,B11110011,B10000000,
B00000011,B10100001,B11100111,B10000101,B10000000,
B00000001,B10010000,B11111110,B00001001,B10000000,
B00000001,B10011110,B00000000,B01111001,B10000000,
B00000001,B11100000,B00000000,B00000111,B10000000,
B00000001,B10000000,B00000000,B00000011,B10000000,
B00000011,B10000000,B00000000,B00000001,B11000000,
B00000111,B00000000,B00000000,B00000000,B11000000,
B00000111,B00111000,B00000000,B00011100,B11100000,
B00000110,B00011111,B10000001,B11111000,B11100000,
B00011100,B00000110,B10000001,B01100000,B00111000,
B01110000,B00000001,B11000011,B10000000,B00011110,
B01111111,B10000000,B11000011,B00000001,B11111110,
B00100000,B01110000,B01000010,B00001110,B00000100,
B00010000,B00001100,B11000011,B00110000,B00011000,
B00001110,B00000010,B10000001,B01000000,B01110000,
B00000000,B11110011,B10000001,B11001110,B00000000,
B00000000,B00001111,B00000000,B11110000,B00000000,
B00000000,B00000000,B11000011,B00000000,B00000000,
B00000000,B00000000,B01111100,B00000000,B00000000,
B00000000,B00000000,B00000000,B00000000,B00000000
};
//
// Use default bitmaps
//
#define STATUS_HOTEND_ANIM
#define STATUS_BED_ANIM
//
#define STATUS_HEATERS_X 48 //48
#define STATUS_BED_X 70 //74