Skip to content

Commit

Permalink
Release v5.0.0-alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
Prusa Research authored and dragomirecky committed May 26, 2023
1 parent 56a40a0 commit 2e4ee66
Show file tree
Hide file tree
Showing 496 changed files with 25,223 additions and 4,727 deletions.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ exclude: |
^lib/printf|
^lib/inih/|
^lib/Marlin/(?!
Marlin/src/feature/prusa/|
Marlin/src/gcode/feature/prusa/|
Marlin/src(/gcode)?/feature/prusa/|
Marlin/src(/gcode)?/feature/input_shaper/|
Marlin/src(/gcode)?/feature/pressure_advance/|
Marlin/src(/gcode)?/feature/precise_stepping/|
Marlin/src/module/prusa/
)|
^lib/Prusa-Error-Codes/|
Expand Down
35 changes: 9 additions & 26 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,17 @@ if(PRINTER STREQUAL "MK4")
set(PRINTER_TYPE "1")
set(PRINTER_VERSION "4")
set(PRINTER_CODE "13")
elseif(PRINTER STREQUAL "MK3.5")
set(PRINTER_TYPE "5")
set(PRINTER_VERSION "4")
set(PRINTER_CODE "13")
elseif(PRINTER STREQUAL "MINI")
set(PRINTER_TYPE "2")
set(PRINTER_CODE "12")
elseif(PRINTER STREQUAL "XL")
set(PRINTER_TYPE "3")
set(PRINTER_CODE "17")
elseif(PRINTER STREQUAL "IXL")
elseif(PRINTER STREQUAL "iX")
set(PRINTER_TYPE "4")
set(PRINTER_CODE "16")
else()
Expand Down Expand Up @@ -291,8 +295,9 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
if(MCU MATCHES "STM32F40"
OR MCU MATCHES "STM32G0"
OR PRINTER STREQUAL "MK4"
OR PRINTER STREQUAL "MK3.5"
OR PRINTER STREQUAL "XL"
OR PRINTER STREQUAL "IXL"
OR PRINTER STREQUAL "iX"
)
add_compile_options(-Og)
else()
Expand Down Expand Up @@ -519,7 +524,7 @@ if(GENERATE_BBF)
pack_firmware(
firmware
FW_VERSION
"${PROJECT_VERSION_FULL}"
"${PROJECT_VERSION}${PROJECT_VERSION_SUFFIX_SHORT}"
BUILD_NUMBER
"${BUILD_NUMBER}"
PRINTER_TYPE
Expand Down Expand Up @@ -614,6 +619,7 @@ if(BOARD MATCHES "BUDDY")
inih::inih
$<$<BOOL:${WUI}>:WUI>
jsmn::jsmn
cthash::cthash
QR
Buddy::Lang
printf::printf
Expand Down Expand Up @@ -654,29 +660,6 @@ set_property(
INIT_TRINAMIC_FROM_MARLIN_ONLY=$<BOOL:${INIT_TRINAMIC_FROM_MARLIN_ONLY}>
)

set_property(
SOURCE src/common/marlin_server.cpp
src/gui/guimain.cpp
src/gui/MItem_menus.cpp
src/gui/screen_splash.cpp
src/gui/screen_home.cpp
src/gui/screen_menu_settings.cpp
src/gui/screen_menu_hw_setup.cpp
src/gui/test/screen_menu_test.cpp
src/gui/dialogs/DialogHandler.cpp
src/marlin_stubs/G163.cpp
src/marlin_stubs/M997.cpp
src/gui/MItem_basic_selftest.cpp
src/gui/ScreenSelftest.cpp
src/gui/MItem_loadcell.cpp
src/common/marlin_client.cpp
src/gui/screen_menu_tools.cpp
src/guiapi/src/window_tool_action_box.cpp
src/gui/screen_menu_selftest_snake.cpp
APPEND
PROPERTY COMPILE_DEFINITIONS HAS_SELFTEST=$<BOOL:${HAS_SELFTEST}>
)

set_property(
SOURCE src/buddy/main.cpp
src/mmu2_mmu2_log.cpp
Expand Down
Loading

0 comments on commit 2e4ee66

Please sign in to comment.