New tension system, gcode generator, emergency stop button, feed needle -> thin metal tube
This commit is contained in:
parent
82f641ee89
commit
4c6d2c1dca
785 changed files with 16874 additions and 8324 deletions
|
@ -39,9 +39,14 @@ board_build.partitions = Marlin/src/HAL/ESP32/esp32.csv
|
|||
upload_speed = 115200
|
||||
monitor_speed = 115200
|
||||
|
||||
# New espressif32 packages require a valid board definition file.
|
||||
[env:mks_tinybee]
|
||||
extends = env:esp32
|
||||
board = marlin_MKS_TinyBee
|
||||
platform = espressif32@~3.5.0
|
||||
board_build.partitions = default_8MB.csv
|
||||
build_src_flags = -O3 -Wno-volatile
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
[env:godi_esp32]
|
||||
extends = env:esp32
|
||||
|
|
|
@ -20,7 +20,7 @@ MARLIN_TEST_BUILD = build_src_filter=+<src/tests>
|
|||
POSTMORTEM_DEBUGGING = build_src_filter=+<src/HAL/shared/cpu_exception> +<src/HAL/shared/backtrace>
|
||||
build_flags=-funwind-tables
|
||||
MKS_WIFI_MODULE = QRCode=https://github.com/makerbase-mks/QRCode/archive/261c5a696a.zip
|
||||
HAS_TRINAMIC_CONFIG = TMCStepper@~0.7.3
|
||||
HAS_TRINAMIC_CONFIG = TMCStepper=https://github.com/MarlinFirmware/TMCStepper/archive/marlin-2.1.3.x.zip
|
||||
build_src_filter=+<src/module/stepper/trinamic.cpp> +<src/gcode/feature/trinamic/M122.cpp> +<src/gcode/feature/trinamic/M906.cpp> +<src/gcode/feature/trinamic/M911-M914.cpp> +<src/gcode/feature/trinamic/M919.cpp>
|
||||
HAS_T(RINAMIC_CONFIG|MC_SPI) = build_src_filter=+<src/feature/tmc_util.cpp>
|
||||
SR_LCD_3W_NL = SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/6f53c19a8a.zip
|
||||
|
@ -40,11 +40,6 @@ HAS_MARLINUI_HD44780 = build_src_filter=+<src/lcd/HD44780>
|
|||
HAS_MARLINUI_U8GLIB = marlinfirmware/U8glib-HAL@0.5.4
|
||||
build_src_filter=+<src/lcd/dogm>
|
||||
HAS_(FSMC|SPI|LTDC)_TFT = build_src_filter=+<src/lcd/tft_io>
|
||||
HAS_LTDC_TFT = build_src_filter=+<src/HAL/STM32/tft/tft_ltdc.cpp>
|
||||
HAS_FSMC_TFT = build_src_filter=+<src/HAL/STM32/tft/tft_fsmc.cpp> +<src/HAL/STM32F1/tft/tft_fsmc.cpp>
|
||||
HAS_SPI_TFT = build_src_filter=+<src/HAL/STM32/tft/tft_spi.cpp> +<src/HAL/STM32F1/tft/tft_spi.cpp> +<src/HAL/LPC1768/tft/tft_spi.cpp>
|
||||
HAS_TFT_XPT2046 = build_src_filter=+<src/HAL/STM32/tft/xpt2046.cpp> +<src/HAL/STM32F1/tft/xpt2046.cpp> +<src/HAL/LPC1768/tft/xpt2046.cpp>
|
||||
TFT_TOUCH_DEVICE_GT911 = build_src_filter=+<src/HAL/STM32/tft/gt911.cpp>
|
||||
I2C_EEPROM = build_src_filter=+<src/HAL/shared/eeprom_if_i2c.cpp>
|
||||
SOFT_I2C_EEPROM = SlowSoftI2CMaster, SlowSoftWire=https://github.com/felias-fogg/SlowSoftWire/archive/f34d777f39.zip
|
||||
SPI_EEPROM = build_src_filter=+<src/HAL/shared/eeprom_if_spi.cpp>
|
||||
|
@ -53,6 +48,7 @@ DWIN_CREALITY_LCD = build_src_filter=+<src/lcd/e3v2/crealit
|
|||
DWIN_LCD_PROUI = build_src_filter=+<src/lcd/e3v2/proui>
|
||||
DWIN_CREALITY_LCD_JYERSUI = build_src_filter=+<src/lcd/e3v2/jyersui>
|
||||
IS_DWIN_MARLINUI = build_src_filter=+<src/lcd/e3v2/marlinui>
|
||||
SOVOL_SV06_RTS = build_src_filter=+<src/lcd/sovol_rts>
|
||||
HAS_GRAPHICAL_TFT = build_src_filter=+<src/lcd/tft> -<src/lcd/tft/fontdata> -<src/lcd/tft/ui_move_axis_screen_*.cpp>
|
||||
HAS_UI_320X.+ = build_src_filter=+<src/lcd/tft/ui_move_axis_screen_320.cpp>
|
||||
HAS_UI_480X.+ = build_src_filter=+<src/lcd/tft/ui_move_axis_screen_480.cpp>
|
||||
|
@ -163,18 +159,19 @@ TFT_FONT_UNIFONT_30_ZH_TW = build_src_filter=+<src/lcd/tft/fontdata
|
|||
TFT_FONT_UNIFONT_30_VI = build_src_filter=+<src/lcd/tft/fontdata/Unifont/30px/Unifont_Vietnamese_30.cpp>
|
||||
IS_TFTGLCD_PANEL = build_src_filter=+<src/lcd/TFTGLCD>
|
||||
HAS_TOUCH_BUTTONS = build_src_filter=+<src/lcd/touch/touch_buttons.cpp>
|
||||
HAS_MARLINUI_MENU = build_src_filter=+<src/lcd/menu> -<src/lcd/menu/game>
|
||||
HAS_MARLINUI_MENU = build_src_filter=+<src/lcd/menu/menu.cpp> +<src/lcd/menu/menu_advanced.cpp> +<src/lcd/menu/menu_configuration.cpp> +<src/lcd/menu/menu_main.cpp> +<src/lcd/menu/menu_motion.cpp> +<src/lcd/menu/menu_tune.cpp>
|
||||
HAS_GAMES = build_src_filter=+<src/lcd/menu/game/game.cpp>
|
||||
MARLIN_BRICKOUT = build_src_filter=+<src/lcd/menu/game/brickout.cpp>
|
||||
MARLIN_INVADERS = build_src_filter=+<src/lcd/menu/game/invaders.cpp>
|
||||
MARLIN_MAZE = build_src_filter=+<src/lcd/menu/game/maze.cpp>
|
||||
MARLIN_SNAKE = build_src_filter=+<src/lcd/menu/game/snake.cpp>
|
||||
HAS_MENU_BACKLASH = build_src_filter=+<src/lcd/menu/menu_backlash.cpp>
|
||||
LCD_BED_LEVELING = build_src_filter=+<src/lcd/menu/menu_bed_leveling.cpp>
|
||||
HAS_MENU_PROBE_LEVEL = build_src_filter=+<src/lcd/menu/menu_probe_level.cpp>
|
||||
HAS_MENU_BED_TRAMMING = build_src_filter=+<src/lcd/menu/menu_bed_tramming.cpp>
|
||||
HAS_MENU_CANCELOBJECT = build_src_filter=+<src/lcd/menu/menu_cancelobject.cpp>
|
||||
HAS_MENU_DELTA_CALIBRATE = build_src_filter=+<src/lcd/menu/menu_delta_calibrate.cpp>
|
||||
HAS_MENU_FILAMENT = build_src_filter=+<src/lcd/menu/menu_filament.cpp>
|
||||
HAS_GAME_MENU = build_src_filter=+<src/lcd/menu/menu_game.cpp>
|
||||
LCD_INFO_MENU = build_src_filter=+<src/lcd/menu/menu_info.cpp>
|
||||
HAS_MENU_JOB_RECOVERY = build_src_filter=+<src/lcd/menu/menu_job_recovery.cpp>
|
||||
HAS_MENU_MULTI_LANGUAGE = build_src_filter=+<src/lcd/menu/menu_language.cpp>
|
||||
|
@ -185,6 +182,7 @@ HAS_MENU_MMU = build_src_filter=+<src/lcd/menu/menu_mm
|
|||
HAS_MENU_ONE_CLICK_PRINT = build_src_filter=+<src/lcd/menu/menu_one_click_print.cpp> +<src/gcode/sd/M1003.cpp>
|
||||
HAS_MENU_PASSWORD = build_src_filter=+<src/lcd/menu/menu_password.cpp>
|
||||
HAS_MENU_POWER_MONITOR = build_src_filter=+<src/lcd/menu/menu_power_monitor.cpp>
|
||||
PROBE_OFFSET_WIZARD = build_src_filter=+<src/lcd/menu/menu_probe_offset.cpp>
|
||||
HAS_MENU_CUTTER = build_src_filter=+<src/lcd/menu/menu_spindle_laser.cpp>
|
||||
HAS_MENU_TEMPERATURE = build_src_filter=+<src/lcd/menu/menu_temperature.cpp>
|
||||
HAS_MENU_TMC = build_src_filter=+<src/lcd/menu/menu_tmc.cpp>
|
||||
|
@ -287,6 +285,7 @@ SKEW_CORRECTION_GCODE = build_src_filter=+<src/gcode/calibrate/
|
|||
DIRECT_PIN_CONTROL = build_src_filter=+<src/gcode/control/M42.cpp> +<src/gcode/control/M226.cpp>
|
||||
PINS_DEBUGGING = build_src_filter=+<src/gcode/config/M43.cpp>
|
||||
EDITABLE_STEPS_PER_UNIT = build_src_filter=+<src/gcode/config/M92.cpp>
|
||||
EDITABLE_HOMING_FEEDRATE = build_src_filter=+<src/gcode/config/M210.cpp>
|
||||
HAS_MULTI_EXTRUDER = build_src_filter=+<src/gcode/config/M217.cpp>
|
||||
HAS_HOTEND_OFFSET = build_src_filter=+<src/gcode/config/M218.cpp>
|
||||
EDITABLE_SERVO_ANGLES = build_src_filter=+<src/gcode/config/M281.cpp>
|
||||
|
|
|
@ -27,19 +27,20 @@
|
|||
# Base Environment for all HC32F460 variants
|
||||
#
|
||||
[HC32F460_base]
|
||||
platform = https://github.com/shadow578/platform-hc32f46x/archive/1.0.0.zip
|
||||
board = generic_hc32f460
|
||||
build_src_filter = ${common.default_src_filter} +<src/HAL/HC32> +<src/HAL/shared/backtrace>
|
||||
build_type = release
|
||||
build_flags =
|
||||
-D ARDUINO_ARCH_HC32
|
||||
-D PLATFORM_M997_SUPPORT # Enable M997 command
|
||||
# note: ddl and arduino debug mode are
|
||||
# automatically enabled with MARLIN_DEV_MODE
|
||||
#-D __DEBUG # force DDL debug mode
|
||||
#-D __CORE_DEBUG # force Arduino core debug mode
|
||||
platform = https://github.com/shadow578/platform-hc32f46x/archive/1.1.0.zip
|
||||
platform_packages = framework-hc32f46x-ddl@https://github.com/shadow578/framework-hc32f46x-ddl/archive/2.2.2.zip
|
||||
framework-arduino-hc32f46x@https://github.com/shadow578/framework-arduino-hc32f46x/archive/1.2.0.zip
|
||||
board = generic_hc32f460
|
||||
build_src_filter = ${common.default_src_filter} +<src/HAL/HC32> +<src/HAL/shared/backtrace>
|
||||
build_type = release
|
||||
build_flags = -D ARDUINO_ARCH_HC32
|
||||
-D PLATFORM_M997_SUPPORT # Enable M997 command
|
||||
# NOTE: DDL and Arduino debug mode are
|
||||
# automatically enabled with MARLIN_DEV_MODE
|
||||
#-D __DEBUG # force DDL debug mode
|
||||
#-D __CORE_DEBUG # force Arduino core debug mode
|
||||
|
||||
# hc32 app configuration file
|
||||
# HC32 app configuration file
|
||||
board_build.app_config = Marlin/src/HAL/HC32/app_config.h
|
||||
|
||||
# Drivers and Middleware required by the HC32 HAL
|
||||
|
@ -50,42 +51,40 @@ board_build.ddl.timer0 = true
|
|||
board_build.ddl.timera = true
|
||||
board_build.mw.sd_card = true
|
||||
|
||||
# extra build flags
|
||||
board_build.flags.common =
|
||||
-g3 # Force emit debug symbols to elf. this does not affect the final binary size
|
||||
-fno-signed-char # Force unsigned chars. this is required for meatpack to work
|
||||
# Extra build flags
|
||||
board_build.flags.common = -g3 # Force emit debug symbols to elf. This does not affect the final binary size
|
||||
-fno-signed-char # Force unsigned char. This is required for meatpack to work
|
||||
|
||||
# Additional flags to reduce binary size
|
||||
board_build.flags.cpp =
|
||||
-fno-threadsafe-statics # Disable thread-safe statics (only one core anyway)
|
||||
-fno-exceptions # Disable exceptions (not used by marlin)
|
||||
-fno-rtti # Disable RTTI (not used by marlin)
|
||||
board_build.flags.cpp = -fno-threadsafe-statics # Disable thread-safe statics (only one core anyway)
|
||||
-fno-exceptions # Disable exceptions (not used by Marlin)
|
||||
-fno-rtti # Disable RTTI (not used by Marlin)
|
||||
|
||||
#
|
||||
# Base HC32F460xCxx (256K Flash)
|
||||
#
|
||||
[HC32F460C_base]
|
||||
extends = HC32F460_base
|
||||
board_build.ld_args.flash_size = 256K
|
||||
board_upload.maximum_size = 262144
|
||||
|
||||
#
|
||||
# Base HC32F460xExx (512K Flash)
|
||||
#
|
||||
[HC32F460E_base]
|
||||
extends = HC32F460_base
|
||||
board_build.ld_args.flash_size = 512K
|
||||
board_upload.maximum_size = 524288
|
||||
|
||||
#
|
||||
# Voxelab Aquila V1.0.0/V1.0.1/V1.0.2/V1.0.3 as found in the Voxelab Aquila X2 & C2
|
||||
#
|
||||
[env:HC32F460C_aquila_101]
|
||||
extends = HC32F460C_base
|
||||
board_build.ld_args.flash_start = 0xC000 # Bootloader start address, as logged by the bootloader on boot
|
||||
board_build.ld_args.boot_mode = secondary # Save ~1.4k of flash by compiling as secondary firmware
|
||||
board_upload.offset_address = 0xC000 # Bootloader start address, as logged by the bootloader on boot
|
||||
board_build.boot_mode = secondary # Save ~1.4k of flash by compiling as secondary firmware
|
||||
|
||||
#
|
||||
# Creality Ender 2 Pro v2.4.S4_170 (HC32f460kcta) (256K Flash, 192K RAM).
|
||||
#
|
||||
[env:HC32F460C_e2p24s4]
|
||||
extends = HC32F460C_base
|
||||
board_build.ld_args.flash_start = 0x8000
|
||||
board_upload.offset_address = 0x8000
|
||||
|
|
|
@ -14,23 +14,26 @@
|
|||
#
|
||||
[common_LPC]
|
||||
platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip
|
||||
platform_packages = framework-arduino-lpc176x@^0.2.8
|
||||
platform_packages = framework-arduino-lpc176x@https://github.com/p3p/pio-framework-arduino-lpc176x/archive/ab41696b64.zip
|
||||
toolchain-gccarmnoneeabi@1.100301.220327
|
||||
board = nxp_lpc1768
|
||||
lib_ldf_mode = off
|
||||
lib_compat_mode = strict
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
Marlin/src/HAL/LPC1768/upload_extra_script.py
|
||||
Marlin/src/HAL/LPC1768/upload_extra_script.py
|
||||
build_src_filter = ${common.default_src_filter} +<src/HAL/LPC1768> -<src/HAL/LPC1768/tft> +<src/HAL/shared/backtrace>
|
||||
lib_deps = ${common.lib_deps}
|
||||
Servo
|
||||
custom_marlin.USES_LIQUIDCRYSTAL = arduino-libraries/LiquidCrystal@~1.0.7
|
||||
custom_marlin.NEOPIXEL_LED = Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/1.5.0.zip
|
||||
Servo
|
||||
build_flags = ${common.build_flags} -DU8G_HAL_LINKS -DPLATFORM_M997_SUPPORT
|
||||
-IMarlin/src/HAL/LPC1768/include -IMarlin/src/HAL/LPC1768/u8g
|
||||
# debug options for backtrace
|
||||
#-funwind-tables
|
||||
#-mpoke-function-name
|
||||
# debug options for backtrace
|
||||
#-funwind-tables
|
||||
#-mpoke-function-name
|
||||
build_src_flags = -std=gnu++20 -Wno-volatile
|
||||
custom_marlin.USES_LIQUIDCRYSTAL = arduino-libraries/LiquidCrystal@~1.0.7
|
||||
custom_marlin.NEOPIXEL_LED = Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/1.5.0.zip
|
||||
custom_marlin.HAS_SPI_TFT = build_src_filter=+<src/HAL/LPC1768/tft/tft_spi.cpp>
|
||||
custom_marlin.HAS_TFT_XPT2046 = build_src_filter=+<src/HAL/LPC1768/tft/xpt2046.cpp>
|
||||
|
||||
#
|
||||
# NXP LPC176x ARM Cortex-M3
|
||||
|
|
|
@ -83,7 +83,7 @@ build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
|
|||
|
||||
#
|
||||
# MacPorts:
|
||||
# sudo port install gcc14 glm libsdl2 libsdl2_net
|
||||
# sudo port install gcc14 glm mesa libsdl2 libsdl2_net
|
||||
#
|
||||
# cd /opt/local/bin
|
||||
# sudo rm gcc g++ cc ld
|
||||
|
@ -92,24 +92,18 @@ build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
|
|||
# cd -
|
||||
# rehash
|
||||
#
|
||||
# Use 'sudo port install mesa' to get a <GL/gl.h> if no Xcode is installed.
|
||||
# If Xcode is installed be sure to run `xcode-select --install` first.
|
||||
#
|
||||
#==================================================================================
|
||||
#
|
||||
# Homebrew:
|
||||
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
#
|
||||
# brew install gcc@14 glm sdl2 sdl2_net
|
||||
# brew install gcc@14 glm mesa sdl2 sdl2_net
|
||||
#
|
||||
# cd /opt/homebrew/bin
|
||||
# sudo rm -f gcc g++ cc
|
||||
# sudo ln -s gcc-14 gcc ; sudo ln -s g++-14 g++ ; sudo ln -s g++ cc
|
||||
# cd -
|
||||
#
|
||||
# Use 'brew install mesa' to get a <GL/gl.h> if no Xcode is installed.
|
||||
# If Xcode is installed be sure to run `xcode-select --install` first.
|
||||
#
|
||||
|
||||
[simulator_macos]
|
||||
build_unflags = -g3 -lGL -fstack-protector-strong
|
||||
|
|
37
firmware/ini/raspberrypi.ini
Normal file
37
firmware/ini/raspberrypi.ini
Normal file
|
@ -0,0 +1,37 @@
|
|||
#
|
||||
# Marlin Firmware
|
||||
# PlatformIO Configuration File
|
||||
#
|
||||
# See https://arduino-pico.readthedocs.io/en/latest/platformio.html
|
||||
#
|
||||
|
||||
[env:RP2040]
|
||||
platform = raspberrypi
|
||||
board = pico
|
||||
framework = arduino
|
||||
#board_build.core = earlephilhower
|
||||
#lib_ldf_mode = off
|
||||
#lib_compat_mode = strict
|
||||
build_src_filter = ${common.default_src_filter} +<src/HAL/RP2040>
|
||||
lib_deps = ${common.lib_deps}
|
||||
arduino-libraries/Servo
|
||||
https://github.com/pkElectronics/SoftwareSerialM#master
|
||||
#lvgl/lvgl@^8.1.0
|
||||
lib_ignore = WiFi
|
||||
build_flags = ${common.build_flags} -D__PLAT_RP2040__ -DPLATFORM_M997_SUPPORT -Wno-expansion-to-defined -Wno-vla -Wno-ignored-qualifiers
|
||||
#debug_tool = jlink
|
||||
#upload_protocol = jlink
|
||||
|
||||
[env:RP2040-alt]
|
||||
extends = env:RP2040
|
||||
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
|
||||
board_build.core = earlephilhower
|
||||
|
||||
#
|
||||
# BigTreeTech SKR Pico 1.x
|
||||
#
|
||||
[env:SKR_Pico]
|
||||
extends = env:RP2040
|
||||
|
||||
[env:SKR_Pico_UART]
|
||||
extends = env:SKR_Pico
|
|
@ -102,9 +102,6 @@ extends = renamed
|
|||
[env:STM32G0B1RE_manta_btt_xfer] ;=> STM32G0B1RE_manta_btt
|
||||
extends = renamed
|
||||
|
||||
[env:STM32G0B1VE_btt_xfer] ;=> STM32G0B1VE_btt
|
||||
extends = renamed
|
||||
|
||||
[env:BIGTREE_SKR_PRO] ;=> BTT_SKR_PRO
|
||||
extends = renamed
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#################################
|
||||
|
||||
#
|
||||
# Adafruit Grand Central M4 (Atmel SAMD51P20A ARM Cortex-M4)
|
||||
# ReprapWorld Minitronics (Atmel SAMD21J18 ARM Cortex-M0+)
|
||||
#
|
||||
[env:SAMD21_minitronics20]
|
||||
platform = atmelsam
|
||||
|
|
|
@ -19,6 +19,12 @@ build_unflags = -std=gnu++11
|
|||
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32> -<src/HAL/STM32/tft> +<src/HAL/shared/backtrace>
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py
|
||||
custom_marlin.HAS_LTDC_TFT = build_src_filter=+<src/HAL/STM32/tft/tft_ltdc.cpp>
|
||||
custom_marlin.HAS_FSMC_TFT = build_src_filter=+<src/HAL/STM32/tft/tft_fsmc.cpp>
|
||||
build_flags=-DHAL_SRAM_MODULE_ENABLED
|
||||
custom_marlin.HAS_SPI_TFT = build_src_filter=+<src/HAL/STM32/tft/tft_spi.cpp>
|
||||
custom_marlin.HAS_TFT_XPT2046 = build_src_filter=+<src/HAL/STM32/tft/xpt2046.cpp>
|
||||
custom_marlin.TFT_TOUCH_DEVICE_GT911 = build_src_filter=+<src/HAL/STM32/tft/gt911.cpp>
|
||||
|
||||
#
|
||||
# STM32 board based on a variant.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# HAL/STM32F1 Common Environment values
|
||||
#
|
||||
[STM32F1_maple]
|
||||
platform = ststm32@~12.1
|
||||
platform = ststm32@~15.4.1
|
||||
board_build.core = maple
|
||||
build_flags = !python buildroot/share/PlatformIO/scripts/STM32F1_build_flags.py
|
||||
${common.build_flags} -DARDUINO_ARCH_STM32 -DMAPLE_STM32F1 -DPLATFORM_M997_SUPPORT
|
||||
|
@ -33,11 +33,15 @@ lib_ignore = SPI, FreeRTOS701, FreeRTOS821
|
|||
lib_deps = ${common.lib_deps}
|
||||
SoftwareSerialM
|
||||
platform_packages = tool-stm32duino
|
||||
toolchain-gccarmnoneeabi@1.100301.220327
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
pre:buildroot/share/PlatformIO/scripts/fix_framework_weakness.py
|
||||
pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py
|
||||
buildroot/share/PlatformIO/scripts/custom_board.py
|
||||
buildroot/share/PlatformIO/scripts/offset_and_rename.py
|
||||
custom_marlin.HAS_SPI_TFT = build_src_filter=+<src/HAL/STM32F1/tft/tft_spi.cpp>
|
||||
custom_marlin.HAS_TFT_XPT2046 = build_src_filter=+<src/HAL/STM32F1/tft/xpt2046.cpp>
|
||||
custom_marlin.HAS_FSMC_TFT = build_src_filter=+<src/HAL/STM32F1/tft/tft_fsmc.cpp>
|
||||
|
||||
#
|
||||
# Generic STM32F103RC environment
|
||||
|
@ -61,6 +65,7 @@ monitor_speed = 115200
|
|||
[env:STM32F103RC_meeb_maple]
|
||||
extends = env:STM32F103RC_maple
|
||||
board = marlin_maple_MEEB_3DP
|
||||
platform_packages = platformio/tool-dfuutil@~1.11.0
|
||||
build_flags = ${env:STM32F103RC_maple.build_flags}
|
||||
-DDEBUG_LEVEL=0
|
||||
-DSS_TIMER=4
|
||||
|
@ -84,13 +89,14 @@ upload_protocol = dfu
|
|||
# FYSETC STM32F103RC
|
||||
#
|
||||
[env:STM32F103RC_fysetc_maple]
|
||||
extends = env:STM32F103RC_maple
|
||||
extra_scripts = ${env:STM32F103RC_maple.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
|
||||
build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0
|
||||
lib_ldf_mode = chain
|
||||
debug_tool = stlink
|
||||
upload_protocol = serial
|
||||
extends = env:STM32F103RC_maple
|
||||
extra_scripts = ${env:STM32F103RC_maple.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
|
||||
build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0
|
||||
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
|
||||
lib_ldf_mode = chain
|
||||
debug_tool = stlink
|
||||
upload_protocol = serial
|
||||
|
||||
#
|
||||
# BigTreeTech SKR Mini V1.1 / SKR Mini E3 & MZ (STM32F103RCT6 ARM Cortex-M3)
|
||||
|
@ -103,6 +109,7 @@ extends = env:STM32F103RC_maple
|
|||
board_build.address = 0x08007000
|
||||
board_build.ldscript = STM32F103RC_SKR_MINI_256K.ld
|
||||
build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0 -DSS_TIMER=4
|
||||
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
|
||||
monitor_speed = 115200
|
||||
|
||||
[env:STM32F103RC_btt_USB_maple]
|
||||
|
@ -129,6 +136,7 @@ upload_protocol = jlink
|
|||
[env:STM32F103RC_creality_maple]
|
||||
extends = env:STM32F103RC_maple
|
||||
build_flags = ${env:STM32F103RC_maple.build_flags} -DTEMP_TIMER_CHAN=4
|
||||
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
|
||||
board_build.address = 0x08007000
|
||||
board_build.ldscript = creality256k.ld
|
||||
board_build.rename = firmware-{date}-{time}.bin
|
||||
|
@ -152,6 +160,7 @@ board_build.ldscript = crealityPro.ld
|
|||
[env:GD32F103RC_voxelab_maple]
|
||||
extends = env:STM32F103RC_maple
|
||||
build_flags = ${env:STM32F103RC_maple.build_flags} -DTEMP_TIMER_CHAN=4
|
||||
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
|
||||
board_build.address = 0x08007000
|
||||
board_build.ldscript = creality256k.ld
|
||||
debug_tool = jlink
|
||||
|
@ -161,6 +170,7 @@ upload_protocol = jlink
|
|||
extends = env:STM32F103RE_maple
|
||||
build_flags = ${env:STM32F103RE_maple.build_flags} -DTEMP_TIMER_CHAN=4
|
||||
-DVOXELAB_N32 -DSDCARD_FLASH_LIMIT_256K
|
||||
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
|
||||
board_build.address = 0x08007000
|
||||
board_build.ldscript = creality.ld
|
||||
debug_tool = jlink
|
||||
|
@ -382,11 +392,13 @@ lib_ignore = Adafruit NeoPixel, SPI, SailfishLCD, SailfishRGB_LED
|
|||
|
||||
[env:STM32F103RC_ZM3E2_USB_maple]
|
||||
extends = ZONESTAR_ZM3E_maple
|
||||
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
|
||||
board = genericSTM32F103RC
|
||||
board_build.ldscript = ZONESTAR_ZM3E_256K.ld
|
||||
|
||||
[env:STM32F103VC_ZM3E4_USB_maple]
|
||||
extends = ZONESTAR_ZM3E_maple
|
||||
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
|
||||
board = genericSTM32F103VC
|
||||
board_build.ldscript = ZONESTAR_ZM3E_256K.ld
|
||||
build_flags = ${ZONESTAR_ZM3E_maple.build_flags} -DTONE_TIMER=1 -DTONE_CHANNEL=2
|
||||
|
|
|
@ -71,7 +71,7 @@ build_flags = ${env:STM32F103RC_btt.build_flags}
|
|||
-DUSBD_IRQ_PRIO=5
|
||||
-DUSBD_IRQ_SUBPRIO=6
|
||||
-DUSBD_USE_CDC_MSC
|
||||
build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
|
||||
build_unflags = ${env:STM32F103RC_btt.build_unflags} -DUSBD_USE_CDC
|
||||
|
||||
#
|
||||
# Panda Pi V2.9 - Standalone (STM32F103RC)
|
||||
|
@ -83,8 +83,8 @@ build_flags = ${common_STM32F103RC_variant.build_flags}
|
|||
-DTIMER_SERVO=TIM1
|
||||
board_build.offset = 0x5000
|
||||
board_upload.offset_address = 0x08005000
|
||||
lib_deps =
|
||||
markyue/Panda_SoftMasterI2C@1.0.3
|
||||
lib_deps = markyue/Panda_SoftMasterI2C@1.0.3
|
||||
|
||||
#
|
||||
# MKS Robin (STM32F103ZET6)
|
||||
# Uses HAL STM32 to support Marlin UI for TFT screen with optional touch panel
|
||||
|
@ -200,7 +200,7 @@ board = genericSTM32F103RC
|
|||
extends = STM32F103Rx_creality
|
||||
board = genericSTM32F103VE
|
||||
board_build.variant = MARLIN_F103Vx
|
||||
build_flags = ${stm32_variant.build_flags}
|
||||
build_flags = ${STM32F103Rx_creality.build_flags}
|
||||
-DSS_TIMER=4 -DTIMER_SERVO=TIM5
|
||||
-DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
|
||||
#
|
||||
|
@ -253,7 +253,7 @@ board = malyanm200_f103cb
|
|||
build_flags = ${common_stm32.build_flags}
|
||||
-DHAL_PCD_MODULE_ENABLED -DDISABLE_GENERIC_SERIALUSB
|
||||
-DHAL_UART_MODULE_ENABLED
|
||||
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32> -<src/HAL/STM32/tft>
|
||||
build_src_filter = ${common_stm32.build_src_filter} +<src/HAL/STM32> -<src/HAL/STM32/tft>
|
||||
|
||||
#
|
||||
# FLYmaker FLY Mini (STM32F103RCT6)
|
||||
|
@ -462,7 +462,7 @@ board_upload.offset_address = 0x08005000
|
|||
board_build.offset = 0x5000
|
||||
board_upload.maximum_size = 237568
|
||||
extra_scripts = ${stm32_variant.extra_scripts}
|
||||
build_flags = ${common_stm32.build_flags}
|
||||
build_flags = ${stm32_variant.build_flags}
|
||||
-DSS_TIMER=4 -DTIMER_SERVO=TIM5 -DUSE_USB_FS -DUSBD_IRQ_PRIO=5 -DUSBD_IRQ_SUBPRIO=6 -DUSBD_USE_CDC_MSC
|
||||
build_unflags = ${stm32_variant.build_unflags} -DUSBD_USE_CDC
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ build_flags = ${common_stm32.build_flags}
|
|||
#
|
||||
[env:FYSETC_CHEETAH_V20]
|
||||
extends = stm32_variant
|
||||
platform_packages = platformio/tool-dfuutil@~1.11.0
|
||||
board = marlin_FYSETC_CHEETAH_V20
|
||||
board_build.offset = 0x8000
|
||||
build_flags = ${stm32_variant.build_flags} -DSTM32F401xC
|
||||
|
@ -43,6 +44,7 @@ upload_command = dfu-util -a 0 -s 0x08008000:leave -D "$SOURCE"
|
|||
#
|
||||
[env:FYSETC_CHEETAH_V30]
|
||||
extends = stm32_variant
|
||||
platform_packages = platformio/tool-dfuutil@~1.11.0
|
||||
board = marlin_FYSETC_CHEETAH_V30
|
||||
build_flags = ${stm32_variant.build_flags} -DHAL_PCD_MODULE_ENABLED
|
||||
debug_tool = stlink
|
||||
|
@ -54,6 +56,7 @@ upload_command = dfu-util -a 0 -s 0x08000000:leave -D "$SOURCE"
|
|||
#
|
||||
[env:FLYF407ZG]
|
||||
extends = stm32_variant
|
||||
platform_packages = platformio/tool-dfuutil@~1.11.0
|
||||
board = marlin_STM32F407ZGT6
|
||||
board_build.variant = MARLIN_FLY_F407ZG
|
||||
board_build.offset = 0x8000
|
||||
|
@ -64,6 +67,7 @@ upload_protocol = dfu
|
|||
#
|
||||
[env:FYSETC_S6]
|
||||
extends = stm32_variant
|
||||
platform_packages = platformio/tool-dfuutil@~1.11.0
|
||||
board = marlin_fysetc_s6
|
||||
board_build.offset = 0x10000
|
||||
board_upload.offset_address = 0x08010000
|
||||
|
@ -87,6 +91,7 @@ upload_command = dfu-util -a 0 -s 0x08008000:leave -D "$SOURCE"
|
|||
#
|
||||
[env:FYSETC_SPIDER_KING407]
|
||||
extends = stm32_variant
|
||||
platform_packages = platformio/tool-dfuutil@~1.11.0
|
||||
board = marlin_STM32F407ZGT6
|
||||
board_build.variant = MARLIN_FYSETC_SPIDER_KING407
|
||||
board_build.offset = 0x8000
|
||||
|
@ -153,7 +158,7 @@ extends = Anet_ET4
|
|||
board_build.encode = firmware.srec
|
||||
board_build.offset = 0x10000
|
||||
board_upload.offset_address = 0x08010000
|
||||
extra_scripts = ${stm32_variant.extra_scripts}
|
||||
extra_scripts = ${Anet_ET4.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/openblt.py
|
||||
|
||||
#
|
||||
|
@ -189,6 +194,19 @@ build_flags = ${stm32_variant.build_flags}
|
|||
-DMF_RX_BUFFER_SIZE=255
|
||||
-DMF_TX_BUFFER_SIZE=255
|
||||
|
||||
#
|
||||
# Mellow/Fly RRF E3 V1 (STM32F407VGT6 ARM Cortex-M4)
|
||||
#
|
||||
[env:FLY_RRF_E3_V1]
|
||||
extends = stm32_variant
|
||||
board = marlin_STM32F407VGT6_CCM
|
||||
#board_build.variant = MARLIN_BTT_E3_RRF
|
||||
board_build.offset = 0x8000
|
||||
build_flags = ${stm32_variant.build_flags}
|
||||
-DSTM32F407_5VX
|
||||
-DMF_RX_BUFFER_SIZE=255
|
||||
-DMF_TX_BUFFER_SIZE=255
|
||||
|
||||
#
|
||||
# Bigtreetech GTR V1.0 (STM32F407IGT6 ARM Cortex-M4)
|
||||
#
|
||||
|
@ -418,6 +436,7 @@ build_flags = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
|
|||
#
|
||||
[env:rumba32]
|
||||
extends = stm32_variant
|
||||
platform_packages = platformio/tool-dfuutil@~1.11.0
|
||||
board = rumba32_f446ve
|
||||
board_build.variant = MARLIN_F446VE
|
||||
board_build.offset = 0x0000
|
||||
|
@ -497,7 +516,8 @@ build_flags = ${stm_flash_drive.build_flags} ${stm32f4_I2C1.build_flags}
|
|||
extends = env:mks_robin_nano_v3_usb_flash_drive
|
||||
build_flags = ${env:mks_robin_nano_v3_usb_flash_drive.build_flags}
|
||||
-DUSBD_USE_CDC_MSC
|
||||
build_unflags = -DUSBD_USE_CDC
|
||||
build_unflags = ${env:mks_robin_nano_v3_usb_flash_drive.build_unflags}
|
||||
-DUSBD_USE_CDC
|
||||
|
||||
#
|
||||
# MKS Robin Nano V3_1
|
||||
|
@ -626,7 +646,7 @@ extends = TH3D_EZBoard_V2
|
|||
board_build.encode = firmware.bin
|
||||
board_build.offset = 0xC000
|
||||
board_upload.offset_address = 0x0800C000
|
||||
extra_scripts = ${stm32_variant.extra_scripts}
|
||||
extra_scripts = ${TH3D_EZBoard_V2.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/openblt.py
|
||||
|
||||
[mks_robin_nano_v1_3_f4_common]
|
||||
|
@ -647,11 +667,11 @@ upload_protocol = jlink
|
|||
#
|
||||
[env:mks_robin_nano_v1_3_f4]
|
||||
extends = mks_robin_nano_v1_3_f4_common
|
||||
build_flags = ${stm32_variant.build_flags}
|
||||
build_flags = ${mks_robin_nano_v1_3_f4_common.build_flags}
|
||||
-DMCU_STM32F407VE -DENABLE_HWSERIAL3 -DSTM32_FLASH_SIZE=512
|
||||
-DTIMER_SERVO=TIM2 -DTIMER_TONE=TIM3 -DSS_TIMER=4
|
||||
-DHAL_SD_MODULE_ENABLED -DHAL_SRAM_MODULE_ENABLED
|
||||
build_unflags = ${stm32_variant.build_unflags}
|
||||
build_unflags = ${mks_robin_nano_v1_3_f4_common.build_unflags}
|
||||
-DUSBCON -DUSBD_USE_CDC
|
||||
|
||||
#
|
||||
|
@ -659,7 +679,7 @@ build_unflags = ${stm32_variant.build_unflags}
|
|||
#
|
||||
[env:mks_robin_nano_v1_3_f4_usbmod]
|
||||
extends = mks_robin_nano_v1_3_f4_common
|
||||
build_flags = ${stm32_variant.build_flags}
|
||||
build_flags = ${mks_robin_nano_v1_3_f4_common.build_flags}
|
||||
-DMCU_STM32F407VE -DSTM32_FLASH_SIZE=512
|
||||
-DTIMER_SERVO=TIM2 -DTIMER_TONE=TIM3 -DSS_TIMER=4
|
||||
-DHAL_SD_MODULE_ENABLED -DHAL_SRAM_MODULE_ENABLED
|
||||
|
@ -684,7 +704,7 @@ extra_scripts = ${common_stm32.extra_scripts}
|
|||
[STM32F401RC_creality_base]
|
||||
extends = stm32_variant
|
||||
board = genericSTM32F401RC
|
||||
board_build.variant = MARLIN_CREALITY_STM32F401RC
|
||||
board_build.variant = MARLIN_F401RC_CREALITY
|
||||
build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DSTM32F4
|
||||
-DSS_TIMER=4 -DTIMER_SERVO=TIM5
|
||||
-DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
|
||||
|
@ -719,7 +739,7 @@ upload_protocol = stlink
|
|||
#
|
||||
[env:STM32F401RE_creality]
|
||||
extends = stm32_variant
|
||||
board = marlin_CREALITY_STM32F401RE
|
||||
board = marlin_STM32F401RE_creality
|
||||
board_build.offset = 0x10000
|
||||
board_upload.offset_address = 0x08010000
|
||||
board_build.rename = firmware-{date}-{time}.bin
|
||||
|
@ -805,6 +825,7 @@ board_build.rename = mks_skipr.bin
|
|||
|
||||
[env:mks_skipr_v1_nobootloader]
|
||||
extends = env:mks_skipr_v1
|
||||
platform_packages = platformio/tool-dfuutil@~1.11.0
|
||||
board_build.rename = firmware.bin
|
||||
board_build.offset = 0x0000
|
||||
board_upload.offset_address = 0x08000000
|
||||
|
@ -861,6 +882,7 @@ upload_protocol = stlink
|
|||
#
|
||||
[env:BLACKBEEZMINI_V1]
|
||||
platform = ststm32
|
||||
platform_packages = platformio/tool-dfuutil@~1.11.0
|
||||
extends = common_stm32
|
||||
board = blackpill_f401cc
|
||||
board_build.offset = 0x0000
|
||||
|
@ -893,7 +915,6 @@ upload_protocol = stlink
|
|||
# XTLW3D Climber-8th-F4 (STM32F407VGT6 ARM Cortex-M4)
|
||||
#
|
||||
[env:XTLW_CLIMBER_8TH]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = stm32_variant
|
||||
platform_packages = ${stm_flash_drive.platform_packages}
|
||||
board = marlin_STM32F407VGT6_CCM
|
||||
|
|
|
@ -90,6 +90,7 @@ build_flags = ${env:STM32G0B1RE_btt.build_flags}
|
|||
|
||||
#
|
||||
# BigTreeTech Manta M8P V1.x (STM32G0B1VET6 ARM Cortex-M0+)
|
||||
# BigTreeTech SKRat V1.0 (STM32G0B1VET6 ARM Cortex-M0+)
|
||||
#
|
||||
[env:STM32G0B1VE_btt]
|
||||
extends = stm32_variant
|
||||
|
@ -108,3 +109,14 @@ build_flags = ${stm32_variant.build_flags}
|
|||
-Wl,--no-warn-rwx-segment
|
||||
upload_protocol = stlink
|
||||
debug_tool = stlink
|
||||
|
||||
#
|
||||
# BigTreeTech SKRat V1.0 (STM32G0B1VET6 ARM Cortex-M0+)
|
||||
# Custom upload to SD via Marlin with Binary Protocol
|
||||
#
|
||||
[env:STM32G0B1VE_btt_xfer]
|
||||
extends = env:STM32G0B1VE_btt
|
||||
build_flags = ${env:STM32G0B1VE_btt.build_flags} -DXFER_BUILD
|
||||
extra_scripts = ${env:STM32G0B1VE_btt.extra_scripts}
|
||||
pre:buildroot/share/scripts/upload.py
|
||||
upload_protocol = custom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue