File tree 4 files changed +20
-13
lines changed
4 files changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,20 @@ board = nxp_lpc1768
19
19
lib_ldf_mode = off
20
20
lib_compat_mode = strict
21
21
extra_scripts = ${common.extra_scripts}
22
- Marlin/src/HAL/LPC1768/upload_extra_script.py
22
+ Marlin/src/HAL/LPC1768/upload_extra_script.py
23
23
build_src_filter = ${common.default_src_filter} +<src/HAL/LPC1768> -<src/HAL/LPC1768/tft> +<src/HAL/shared/backtrace>
24
24
lib_deps = ${common.lib_deps}
25
- Servo
26
- custom_marlin.USES_LIQUIDCRYSTAL = arduino-libraries/LiquidCrystal@~1.0.7
27
- custom_marlin.NEOPIXEL_LED = Adafruit NeoPixel =https://github.com/p3p/Adafruit_NeoPixel/archive/1.5.0.zip
25
+ Servo
28
26
build_flags = ${common.build_flags} -DU8G_HAL_LINKS -DPLATFORM_M997_SUPPORT
29
27
-IMarlin/src/HAL/LPC1768/include -IMarlin/src/HAL/LPC1768/u8g
30
- # debug options for backtrace
31
- # -funwind-tables
32
- # -mpoke-function-name
28
+ # debug options for backtrace
29
+ # -funwind-tables
30
+ # -mpoke-function-name
33
31
build_src_flags = -std =gnu++20 -Wno-volatile
32
+ custom_marlin.USES_LIQUIDCRYSTAL = arduino-libraries/LiquidCrystal@~1.0.7
33
+ custom_marlin.NEOPIXEL_LED = Adafruit NeoPixel =https://github.com/p3p/Adafruit_NeoPixel/archive/1.5.0.zip
34
+ custom_marlin.HAS_SPI_TFT = +<src/HAL/LPC1768/tft/tft_spi.cpp>
35
+ custom_marlin.HAS_TFT_XPT2046 = +<src/HAL/LPC1768/tft/xpt2046.cpp>
34
36
35
37
#
36
38
# NXP LPC176x ARM Cortex-M3
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ debug_build_flags = -fstack-protector-strong -g -g3 -ggdb
43
43
lib_compat_mode = off
44
44
build_src_filter = ${common.default_src_filter} +<src/HAL/NATIVE_SIM>
45
45
lib_deps = ${common.lib_deps}
46
- MarlinSimUI =https://github.com/p3p/MarlinSimUI/archive/refs/heads/bugfix-2.1.x.zip
47
- Adafruit NeoPixel =https://github.com/p3p/Adafruit_NeoPixel/archive/marlin_sim_native.zip
48
- LiquidCrystal =https://github.com/p3p/LiquidCrystal/archive/master.zip
49
- extra_scripts = ${common.extra_scripts}
50
- pre:buildroot/share/PlatformIO/scripts/simulator.py
46
+ MarlinSimUI =https://github.com/p3p/MarlinSimUI/archive/refs/heads/bugfix-2.1.x.zip
47
+ Adafruit NeoPixel =https://github.com/p3p/Adafruit_NeoPixel/archive/marlin_sim_native.zip
48
+ LiquidCrystal =https://github.com/p3p/LiquidCrystal/archive/master.zip
49
+ extra_scripts = ${common.extra_scripts}
50
+ pre:buildroot/share/PlatformIO/scripts/simulator.py
51
51
52
52
[simulator_linux]
53
53
extends = simulator_common
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ build_unflags = -std=gnu++11
20
20
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32> -<src/HAL/STM32/tft> +<src/HAL/shared/backtrace>
21
21
extra_scripts = ${common.extra_scripts}
22
22
pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py
23
+ custom_marlin.HAS_SPI_TFT = src_filter =+<src/HAL/STM32/tft/tft_spi.cpp>
24
+ custom_marlin.HAS_TFT_XPT2046 = src_filter =+<src/HAL/STM32/tft/xpt2046.cpp>
25
+ custom_marlin.TFT_TOUCH_DEVICE_GT911 = src_filter =+<src/HAL/STM32/tft/gt911.cpp>
23
26
24
27
# For the latest stuff. Latest as in: we test and then bump the version.
25
28
# Please test before upgrading.
Original file line number Diff line number Diff line change @@ -31,13 +31,15 @@ build_unflags = -std=gnu11 -std=gnu++11
31
31
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32F1> -<src/HAL/STM32F1/tft>
32
32
lib_ignore = SPI, FreeRTOS701, FreeRTOS821
33
33
lib_deps = ${common.lib_deps}
34
- SoftwareSerialM
34
+ SoftwareSerialM
35
35
platform_packages = tool-stm32duino,
[email protected]
36
36
extra_scripts = ${common.extra_scripts}
37
37
pre:buildroot/share/PlatformIO/scripts/fix_framework_weakness.py
38
38
pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py
39
39
buildroot/share/PlatformIO/scripts/custom_board.py
40
40
buildroot/share/PlatformIO/scripts/offset_and_rename.py
41
+ custom_marlin.HAS_SPI_TFT = +<src/HAL/STM32F1/tft/tft_spi.cpp>
42
+ custom_marlin.HAS_TFT_XPT2046 = +<src/HAL/STM32F1/tft/xpt2046.cpp>
41
43
42
44
#
43
45
# Generic STM32F103RC environment
You can’t perform that action at this time.
0 commit comments