bigtreetech / BIGTREETECH-SKR-MINI-V1.1

ARM Cortex-M3 series STM32F103RCT6 chip with 32-bit CPU 72MHz. Equipped with highly modular open source firmware Marlin2.0, convenient for users DIY and secondary development, exempt from the worries of the core code;
34 stars 49 forks source link

Compile Errors, after getting latest commit that incorporates pull #14041 #6

Closed anm8tor closed 4 years ago

anm8tor commented 5 years ago

Here's what terminal showed:

Processing BIGTREE_SKR_MINI (platform: ststm32; board: genericSTM32F103RC; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html PLATFORM: ST STM32 > STM32F103RC (48k RAM. 256k Flash) HARDWARE: STM32F103RCT6 72MHz 48KB RAM (256KB Flash) DEBUG: CURRENT(stlink) EXTERNAL(blackmagic, jlink, stlink) Converting Marlin.ino Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF MODES: FINDER(chain) COMPATIBILITY(soft) Collected 37 compatible libraries Scanning dependencies... Dependency Graph |-- 1.3.4 | |-- 1.0 |-- 0.4.1 | |-- 1.0 |-- <30aa480> | |-- 1.0 |-- 0.7.0 |-- #c8ac22f |-- #4d0c888 | |-- 1.0 |-- #3a18be5 |-- 1.0 |-- 1.0 |-- 1.0 |-- Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\HAL.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_eeprom.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_flash.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_sdcard.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\u8g_com_stm32duino_fsmc.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\watchdog_STM32F1.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\shared\HAL_spi_L6470.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\shared\I2cEeprom.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\shared\SpiEeprom.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\shared\backtrace\unwarm_arm.cpp.o Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\shared\backtrace\unwarm_thumb.cpp.o In file included from Marlin\src\HAL\HAL_STM32F1../../inc/MarlinConfig.h:41:0, from Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp:26: Marlin\src\HAL\HAL_STM32F1../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP."); ^~~~~ Marlin\src\HAL\HAL_STM32F1../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char strstr(const char, const char*)' static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");


Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:32:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp:26:
Marlin\src\HAL\HAL_STM32F1\../../inc/../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp:26:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\HAL.cpp:36:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
^~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char* strstr(const char*, const char*)'
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\HAL.h:39:0,
from Marlin\src\HAL\HAL_STM32F1\HAL.cpp:34:
Marlin\src\HAL\HAL_STM32F1\../../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\HAL.cpp:36:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
compilation terminated due to -fmax-errors=5.
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\HAL.cpp.o] Error 1
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp.o] Error 1
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_eeprom.cpp:23:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
^~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char* strstr(const char*, const char*)'
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:32:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_eeprom.cpp:23:
Marlin\src\HAL\HAL_STM32F1\../../inc/../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_eeprom.cpp:23:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_flash.cpp:32:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
^~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char* strstr(const char*, const char*)'
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:32:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_flash.cpp:32:
Marlin\src\HAL\HAL_STM32F1\../../inc/../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_flash.cpp:32:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_eeprom.cpp.o] Error 1
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_flash.cpp.o] Error 1
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_sdcard.cpp:29:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
^~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char* strstr(const char*, const char*)'
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:32:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_sdcard.cpp:29:
Marlin\src\HAL\HAL_STM32F1\../../inc/../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_sdcard.cpp:29:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\u8g_com_stm32duino_fsmc.cpp:29:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
^~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char* strstr(const char*, const char*)'
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:32:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\u8g_com_stm32duino_fsmc.cpp:29:
Marlin\src\HAL\HAL_STM32F1\../../inc/../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\u8g_com_stm32duino_fsmc.cpp:29:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_sdcard.cpp.o] Error 1
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\u8g_com_stm32duino_fsmc.cpp.o] Error 1
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\watchdog_STM32F1.cpp:29:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
^~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char* strstr(const char*, const char*)'
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:32:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\watchdog_STM32F1.cpp:29:
Marlin\src\HAL\HAL_STM32F1\../../inc/../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\HAL_STM32F1\watchdog_STM32F1.cpp:29:
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\watchdog_STM32F1.cpp.o] Error 1
In file included from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\shared\HAL_spi_L6470.cpp:28:
Marlin\src\HAL\shared\../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
^~~~~~~~~~~~~
Marlin\src\HAL\shared\../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char* strstr(const char*, const char*)'
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\shared\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\shared\../../inc/MarlinConfigPre.h:32:0,
from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\shared\HAL_spi_L6470.cpp:28:
Marlin\src\HAL\shared\../../inc/../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\shared\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\shared\HAL_spi_L6470.cpp:28:
Marlin\src\HAL\shared\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\shared\HAL_spi_L6470.cpp.o] Error 1
In file included from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\shared\I2cEeprom.cpp:28:
Marlin\src\HAL\shared\../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
^~~~~~~~~~~~~
Marlin\src\HAL\shared\../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char* strstr(const char*, const char*)'
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\shared\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\shared\../../inc/MarlinConfigPre.h:32:0,
from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\shared\I2cEeprom.cpp:28:
Marlin\src\HAL\shared\../../inc/../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\shared\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\shared\I2cEeprom.cpp:28:
Marlin\src\HAL\shared\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
In file included from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\shared\SpiEeprom.cpp:28:
Marlin\src\HAL\shared\../../inc/SanityCheck.h:572:3: error: non-constant condition for static assertion
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
^~~~~~~~~~~~~
Marlin\src\HAL\shared\../../inc/SanityCheck.h:572:34: error: call to non-constexpr function 'char* strstr(const char*, const char*)'
static_assert(nullptr == strstr(EVENT_GCODE_SD_STOP, "G27"), "NOZZLE_PARK_FEATURE is required to use G27 in EVENT_GCODE_SD_STOP.");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\shared\../../inc/SanityCheck.h:997:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
In file included from Marlin\src\HAL\shared\../../inc/MarlinConfigPre.h:32:0,
from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\shared\SpiEeprom.cpp:28:
Marlin\src\HAL\shared\../../inc/../core/macros.h:260:27: error: call to non-constexpr function 'float floorf(float)'
#define FLOOR(x)    floorf(x)
~~~~~~^~~
Marlin\src\HAL\shared\../../inc/SanityCheck.h:997:17: note: in expansion of macro 'FLOOR'
static_assert(FLOOR(float(X_PROBE_OFFSET_FROM_EXTRUDER)) == float(X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~
In file included from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:41:0,
from Marlin\src\HAL\shared\SpiEeprom.cpp:28:
Marlin\src\HAL\shared\../../inc/SanityCheck.h:998:3: error: non-constant condition for static assertion
static_assert(FLOOR(float(Y_PROBE_OFFSET_FROM_EXTRUDER)) == float(Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer!");
^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\shared\I2cEeprom.cpp.o] Error 1
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\shared\SpiEeprom.cpp.o] Error 1
ojbl commented 5 years ago

This error is based on bad configuration in Configuration.h file. You need to enable NOZZLE_PARK_FEATURE, then you maybe get into another trouble - but that depends on your config.