Skip to content

Commit c71a7ce

Browse files
p3pTracy Spiva
authored and
Tracy Spiva
committed
🔨 MarlinSimUI updates (MarlinFirmware#25589)
1 parent 3e54eea commit c71a7ce

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

Marlin/src/core/boards.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@
495495
// Simulations
496496
//
497497

498-
#define BOARD_LINUX_RAMPS 9999
498+
#define BOARD_SIMULATED 9999
499499

500500
#define _MB_1(B) (defined(BOARD_##B) && MOTHERBOARD==BOARD_##B)
501501
#define MB(V...) DO(MB,||,V)

Marlin/src/inc/SanityCheck.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -4312,7 +4312,7 @@ static_assert(_PLUS_TEST(4), "HOMING_FEEDRATE_MM_M values must be positive.");
43124312
/**
43134313
* Touch Screen Calibration
43144314
*/
4315-
#if !MB(LINUX_RAMPS) && ENABLED(TFT_TOUCH_DEVICE_XPT2046) && DISABLED(TOUCH_SCREEN_CALIBRATION) \
4315+
#if !MB(SIMULATED) && ENABLED(TFT_TOUCH_DEVICE_XPT2046) && DISABLED(TOUCH_SCREEN_CALIBRATION) \
43164316
&& !(defined(TOUCH_CALIBRATION_X) && defined(TOUCH_CALIBRATION_Y) && defined(TOUCH_OFFSET_X) && defined(TOUCH_OFFSET_Y))
43174317
#error "TOUCH_CALIBRATION_[XY] and TOUCH_OFFSET_[XY] are required for resistive touch screens with TOUCH_SCREEN_CALIBRATION disabled."
43184318
#endif

Marlin/src/pins/pins.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@
809809
// Linux Native Debug board
810810
//
811811

812-
#elif MB(LINUX_RAMPS)
812+
#elif MB(SIMULATED)
813813
#include "linux/pins_RAMPS_LINUX.h" // Native or Simulation lin:linux_native mac:simulator_macos_debug mac:simulator_macos_release win:simulator_windows lin:simulator_linux_debug lin:simulator_linux_release
814814

815815
#else
@@ -845,6 +845,7 @@
845845
#define BOARD_TH3D_EZBOARD_LITE_V2 99923
846846
#define BOARD_BTT_SKR_SE_BX 99924
847847
#define BOARD_MKS_MONSTER8 99925
848+
#define BOARD_LINUX_RAMPS 99926
848849

849850
#if MB(MKS_13)
850851
#error "BOARD_MKS_13 has been renamed BOARD_MKS_GEN_13. Please update your configuration."
@@ -900,6 +901,8 @@
900901
#error "BOARD_BTT_SKR_SE_BX is now BOARD_BTT_SKR_SE_BX_V2 or BOARD_BTT_SKR_SE_BX_V3. Please update your configuration."
901902
#elif MB(MKS_MONSTER8)
902903
#error "BOARD_MKS_MONSTER8 is now BOARD_MKS_MONSTER8_V1 or BOARD_MKS_MONSTER8_V2. Please update your configuration."
904+
#elif MB(LINUX_RAMPS)
905+
#error "BOARD_LINUX_RAMPS is now BOARD_SIMULATED. Please update your configuration."
903906
#elif defined(MOTHERBOARD)
904907
#error "Unknown MOTHERBOARD value set in Configuration.h."
905908
#else
@@ -933,6 +936,7 @@
933936
#undef BOARD_TH3D_EZBOARD_LITE_V2
934937
#undef BOARD_BTT_SKR_SE_BX
935938
#undef BOARD_MKS_MONSTER8
939+
#undef BOARD_LINUX_RAMPS
936940

937941
#endif
938942

buildroot/tests/linux_native

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -e
1010
# Build with the default configurations
1111
#
1212
restore_configs
13-
opt_set MOTHERBOARD BOARD_LINUX_RAMPS TEMP_SENSOR_BED 1
13+
opt_set MOTHERBOARD BOARD_SIMULATED TEMP_SENSOR_BED 1
1414
opt_enable PIDTEMPBED EEPROM_SETTINGS BAUD_RATE_GCODE
1515
exec_test $1 $2 "Linux with EEPROM" "$3"
1616

ini/native.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ debug_build_flags = -fstack-protector-strong -g -g3 -ggdb
4343
lib_compat_mode = off
4444
build_src_filter = ${common.default_src_filter} +<src/HAL/NATIVE_SIM>
4545
lib_deps = ${common.lib_deps}
46-
MarlinSimUI=https://github.com/p3p/MarlinSimUI/archive/refs/heads/bugfix-2.0.x.zip
46+
MarlinSimUI=https://github.com/p3p/MarlinSimUI/archive/refs/heads/bugfix-2.1.x.zip
4747
Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/marlin_sim_native.zip
4848
LiquidCrystal=https://github.com/p3p/LiquidCrystal/archive/master.zip
4949
extra_scripts = ${common.extra_scripts}

0 commit comments

Comments
 (0)