Welcome! Log In Create A New Profile

Advanced

[Marlin-bugfix-2.0.x] Compiling fail with FILAMENT_RUNOUT_SENSOR option

Posted by Supertas 
[Marlin-bugfix-2.0.x] Compiling fail with FILAMENT_RUNOUT_SENSOR option
January 01, 2021 05:17PM
Hello,

I watched this video in youtube. Very great video to starting.

Creality 32 bit V4 board guide - Ender 3 V2, BLtouch & more

I have an 3D printer Ender 3 Pro with the 4.2.7 board.

I can complie my first Marvin firmware successfully, but I have trouble to compline with FILAMENT_RUNOUT_SENSOR option.

As Attachment you find my Compile Configs.

I am using the 2er bugfix branch (two days old my download).

When I am compling with the FILAMENT_RUNOUT_SENSOR then I got this error:

Processing STM32F103RET6_creality (platform: ststm32@~10.0; board: genericSTM32F103RE; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: [docs.platformio.org]
PLATFORM: ST STM32 (10.0.1) > STM32F103RE (64k RAM. 512k Flash)
HARDWARE: STM32F103RET6 72MHz, 64KB RAM, 512KB Flash
DEBUG: Current (jlink) External (blackmagic, cmsis-dap, jlink, stlink)
PACKAGES: 
 - framework-arduinoststm32-maple 3.10000.201129 (1.0.0) 
 - tool-stm32duino 1.0.1 
 - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> [bit.ly]
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 28 compatible libraries
Scanning dependencies...
Dependency Graph
|--  1.0.0
|--  0.4.3
|   |--  1.0
|--  1.0
|-- 
|--  0.99
|--  1.0
|--  1.1.2
Building in release mode
Compiling .pio/build/STM32F103RET6_creality/src/src/HAL/STM32F1/HAL.cpp.o
Compiling .pio/build/STM32F103RET6_creality/src/src/HAL/STM32F1/HAL_SPI.cpp.o
Compiling .pio/build/STM32F103RET6_creality/src/src/HAL/STM32F1/MarlinSerial.cpp.o
Compiling .pio/build/STM32F103RET6_creality/src/src/HAL/STM32F1/SPI.cpp.o
In file included from Marlin/src/HAL/STM32F1/../../inc/MarlinConfig.h:49:0,
                 from Marlin/src/HAL/STM32F1/HAL_SPI.cpp:32:
Marlin/src/HAL/STM32F1/../../inc/SanityCheck.h:857:5: error: static assertion failed: ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.
     static_assert(nullptr == strstr(FILAMENT_RUNOUT_SCRIPT, "M600"), "ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.");
     ^~~~~~~~~~~~~
*** [.pio/build/STM32F103RET6_creality/src/src/HAL/STM32F1/HAL_SPI.cpp.o] Error 1
In file included from Marlin/src/HAL/STM32F1/../../inc/MarlinConfig.h:49:0,
                 from Marlin/src/HAL/STM32F1/SPI.cpp:43:
Marlin/src/HAL/STM32F1/../../inc/SanityCheck.h:857:5: error: static assertion failed: ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.
     static_assert(nullptr == strstr(FILAMENT_RUNOUT_SCRIPT, "M600"), "ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.");
     ^~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32F1/../../inc/MarlinConfig.h:49:0,
                 from Marlin/src/HAL/STM32F1/HAL.cpp:30:
Marlin/src/HAL/STM32F1/../../inc/SanityCheck.h:857:5: error: static assertion failed: ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.
     static_assert(nullptr == strstr(FILAMENT_RUNOUT_SCRIPT, "M600"), "ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.");
     ^~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32F1/../../inc/MarlinConfig.h:49:0,
                 from Marlin/src/HAL/STM32F1/MarlinSerial.cpp:25:
Marlin/src/HAL/STM32F1/../../inc/SanityCheck.h:857:5: error: static assertion failed: ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.
     static_assert(nullptr == strstr(FILAMENT_RUNOUT_SCRIPT, "M600"), "ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.");
     ^~~~~~~~~~~~~
*** [.pio/build/STM32F103RET6_creality/src/src/HAL/STM32F1/SPI.cpp.o] Error 1
*** [.pio/build/STM32F103RET6_creality/src/src/HAL/STM32F1/HAL.cpp.o] Error 1
*** [.pio/build/STM32F103RET6_creality/src/src/HAL/STM32F1/MarlinSerial.cpp.o] Error 1
==================================================================================== [FAILED] Took 5.92 seconds ====================================================================================

Environment             Status    Duration
----------------------  --------  ------------
STM32F103RET6_creality  FAILED    00:00:05.918
=============================================================================== 1 failed, 0 succeeded in 00:00:05.918 ===============================================================================
The terminal process "pio 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.



Any ideas where is my error?

Thx for your help.

Thomas
Attachments:
open | download - Configuration_adv.h (147.2 KB)
open | download - Configuration.h (94.4 KB)
Re: [Marlin-bugfix-2.0.x] Compiling fail with FILAMENT_RUNOUT_SENSOR option
January 01, 2021 06:50PM
Do as the error says!

"ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR"

ie you need to enable ADVANCED_PAUSE_FEATURE
Re: [Marlin-bugfix-2.0.x] Compiling fail with FILAMENT_RUNOUT_SENSOR option
January 02, 2021 06:13AM
Now I am understood it, too. :-)


After I active some features it work the comiling.

Thx for your help.

Thomas
Sorry, only registered users may post in this forum.

Click here to login