🔨 MarlinSimUI updates (#25589)
This commit is contained in:
parent
54e29d75d7
commit
3b425d9a38
|
@ -495,7 +495,7 @@
|
||||||
// Simulations
|
// Simulations
|
||||||
//
|
//
|
||||||
|
|
||||||
#define BOARD_LINUX_RAMPS 9999
|
#define BOARD_SIMULATED 9999
|
||||||
|
|
||||||
#define _MB_1(B) (defined(BOARD_##B) && MOTHERBOARD==BOARD_##B)
|
#define _MB_1(B) (defined(BOARD_##B) && MOTHERBOARD==BOARD_##B)
|
||||||
#define MB(V...) DO(MB,||,V)
|
#define MB(V...) DO(MB,||,V)
|
||||||
|
|
|
@ -4312,7 +4312,7 @@ static_assert(_PLUS_TEST(4), "HOMING_FEEDRATE_MM_M values must be positive.");
|
||||||
/**
|
/**
|
||||||
* Touch Screen Calibration
|
* Touch Screen Calibration
|
||||||
*/
|
*/
|
||||||
#if !MB(LINUX_RAMPS) && ENABLED(TFT_TOUCH_DEVICE_XPT2046) && DISABLED(TOUCH_SCREEN_CALIBRATION) \
|
#if !MB(SIMULATED) && ENABLED(TFT_TOUCH_DEVICE_XPT2046) && DISABLED(TOUCH_SCREEN_CALIBRATION) \
|
||||||
&& !(defined(TOUCH_CALIBRATION_X) && defined(TOUCH_CALIBRATION_Y) && defined(TOUCH_OFFSET_X) && defined(TOUCH_OFFSET_Y))
|
&& !(defined(TOUCH_CALIBRATION_X) && defined(TOUCH_CALIBRATION_Y) && defined(TOUCH_OFFSET_X) && defined(TOUCH_OFFSET_Y))
|
||||||
#error "TOUCH_CALIBRATION_[XY] and TOUCH_OFFSET_[XY] are required for resistive touch screens with TOUCH_SCREEN_CALIBRATION disabled."
|
#error "TOUCH_CALIBRATION_[XY] and TOUCH_OFFSET_[XY] are required for resistive touch screens with TOUCH_SCREEN_CALIBRATION disabled."
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -809,7 +809,7 @@
|
||||||
// Linux Native Debug board
|
// Linux Native Debug board
|
||||||
//
|
//
|
||||||
|
|
||||||
#elif MB(LINUX_RAMPS)
|
#elif MB(SIMULATED)
|
||||||
#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
|
#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
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
@ -845,6 +845,7 @@
|
||||||
#define BOARD_TH3D_EZBOARD_LITE_V2 99923
|
#define BOARD_TH3D_EZBOARD_LITE_V2 99923
|
||||||
#define BOARD_BTT_SKR_SE_BX 99924
|
#define BOARD_BTT_SKR_SE_BX 99924
|
||||||
#define BOARD_MKS_MONSTER8 99925
|
#define BOARD_MKS_MONSTER8 99925
|
||||||
|
#define BOARD_LINUX_RAMPS 99926
|
||||||
|
|
||||||
#if MB(MKS_13)
|
#if MB(MKS_13)
|
||||||
#error "BOARD_MKS_13 has been renamed BOARD_MKS_GEN_13. Please update your configuration."
|
#error "BOARD_MKS_13 has been renamed BOARD_MKS_GEN_13. Please update your configuration."
|
||||||
|
@ -900,6 +901,8 @@
|
||||||
#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."
|
#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."
|
||||||
#elif MB(MKS_MONSTER8)
|
#elif MB(MKS_MONSTER8)
|
||||||
#error "BOARD_MKS_MONSTER8 is now BOARD_MKS_MONSTER8_V1 or BOARD_MKS_MONSTER8_V2. Please update your configuration."
|
#error "BOARD_MKS_MONSTER8 is now BOARD_MKS_MONSTER8_V1 or BOARD_MKS_MONSTER8_V2. Please update your configuration."
|
||||||
|
#elif MB(LINUX_RAMPS)
|
||||||
|
#error "BOARD_LINUX_RAMPS is now BOARD_SIMULATED. Please update your configuration."
|
||||||
#elif defined(MOTHERBOARD)
|
#elif defined(MOTHERBOARD)
|
||||||
#error "Unknown MOTHERBOARD value set in Configuration.h."
|
#error "Unknown MOTHERBOARD value set in Configuration.h."
|
||||||
#else
|
#else
|
||||||
|
@ -933,6 +936,7 @@
|
||||||
#undef BOARD_TH3D_EZBOARD_LITE_V2
|
#undef BOARD_TH3D_EZBOARD_LITE_V2
|
||||||
#undef BOARD_BTT_SKR_SE_BX
|
#undef BOARD_BTT_SKR_SE_BX
|
||||||
#undef BOARD_MKS_MONSTER8
|
#undef BOARD_MKS_MONSTER8
|
||||||
|
#undef BOARD_LINUX_RAMPS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ set -e
|
||||||
# Build with the default configurations
|
# Build with the default configurations
|
||||||
#
|
#
|
||||||
restore_configs
|
restore_configs
|
||||||
opt_set MOTHERBOARD BOARD_LINUX_RAMPS TEMP_SENSOR_BED 1
|
opt_set MOTHERBOARD BOARD_SIMULATED TEMP_SENSOR_BED 1
|
||||||
opt_enable PIDTEMPBED EEPROM_SETTINGS BAUD_RATE_GCODE
|
opt_enable PIDTEMPBED EEPROM_SETTINGS BAUD_RATE_GCODE
|
||||||
exec_test $1 $2 "Linux with EEPROM" "$3"
|
exec_test $1 $2 "Linux with EEPROM" "$3"
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ debug_build_flags = -fstack-protector-strong -g -g3 -ggdb
|
||||||
lib_compat_mode = off
|
lib_compat_mode = off
|
||||||
build_src_filter = ${common.default_src_filter} +<src/HAL/NATIVE_SIM>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/NATIVE_SIM>
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
MarlinSimUI=https://github.com/p3p/MarlinSimUI/archive/refs/heads/bugfix-2.0.x.zip
|
MarlinSimUI=https://github.com/p3p/MarlinSimUI/archive/refs/heads/bugfix-2.1.x.zip
|
||||||
Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/marlin_sim_native.zip
|
Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/marlin_sim_native.zip
|
||||||
LiquidCrystal=https://github.com/p3p/LiquidCrystal/archive/master.zip
|
LiquidCrystal=https://github.com/p3p/LiquidCrystal/archive/master.zip
|
||||||
extra_scripts = ${common.extra_scripts}
|
extra_scripts = ${common.extra_scripts}
|
||||||
|
|
Loading…
Reference in a new issue