Hi, I’m totally nonplussed! I am trying to build firmware for the BTT SKR 2.0 board that I have installed in my Ender 3 Pro. To be sure I had the correct environment and motherboard defined, I check what I set when the board was installed in another printer, where it worked fine.
default_envs = BIGTREE_SKR_2_USB
define MOTHERBOARD BOARD_BTT_SKR_V2_0_REV_B
Every time I try to build, I get this, "Error: MOTHERBOARD is not defined in Configuration.h", which of course it is!
I'm gettin nowhere with this. Can someone please tell me what I need to do from what is said in this terminal message?
Verbose mode can be enabled via -v, --verbose option
In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,
from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:2245:2: error: #endif without #if
2245 | #endif
| ^~~~~
Error: MOTHERBOARD is not defined in Configuration.h
================================================== [FAILED] Took 1.92 seconds ==================================================
Hi, I’m totally nonplussed! I am trying to build firmware for the BTT SKR 2.0 board that I have installed in my Ender 3 Pro. To be sure I had the correct environment and motherboard defined, I check what I set when the board was installed in another printer, where it worked fine.
default_envs = BIGTREE_SKR_2_USB
define MOTHERBOARD BOARD_BTT_SKR_V2_0_REV_B
Every time I try to build, I get this, "Error: MOTHERBOARD is not defined in Configuration.h", which of course it is!
I'm gettin nowhere with this. Can someone please tell me what I need to do from what is said in this terminal message?
Processing BIGTREE_SKR_2_USB (board: marlin_STM32F407VGT6_CCM; platform: ststm32@~12.1; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
option In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39, from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28, from buildroot/share/PlatformIO/scripts/common-dependencies.h:29: buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:2245:2: error: #endif without #if 2245 | #endif | ^~~~~ Error: MOTHERBOARD is not defined in Configuration.h ================================================== [FAILED] Took 1.92 seconds ==================================================Environment Status Duration
BIGTREE_SKR_2_USB FAILED 00:00:01.920 ============================================= 1 failed, 0 succeeded in 00:00:01.920 ============================================= peter-jordan@iMac E3DZ 2.1.1 & SKR2 %