bigtreetech / SKR-2

195 stars 178 forks source link

#error "M100 - unsupported CPU" #12

Open deathvenom-369 opened 3 years ago

deathvenom-369 commented 3 years ago

cant seem to compile. This is the source pulled directly from git-hub unmodified.

Executing task: C:\Users***.platformio\penv\Scripts\platformio.exe run --environment BIGTREE_SKR_2 <

Processing BIGTREE_SKR_2 (platform: ststm32@~12.0; board: genericSTM32F407VGT6; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F407VGT6.html PLATFORM: ST STM32 (12.0.0) > STM32F407VG (192k RAM. 1024k Flash) HARDWARE: STM32F407VGT6 168MHz, 192KB RAM, 1MB Flash DEBUG: Current (stlink) External (jlink, stlink) PACKAGES:

Environment Status Duration


BIGTREE_SKR_2 FAILED 00:00:16.285 ========================================================================================================================================================================= 1 failed, 0 succeeded in 00:00:16.285 ========================================================================================================================================================================= The terminal process "C:\Users****.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'BIGTREE_SKR_2'" terminated with exit code: 1.

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

Rincewind08 commented 2 years ago

same

Executing task in folder Firmware: C:\Users\User.platformio\penv\Scripts\platformio.exe run --environment BIGTREE_GTR_V1_0 <

Processing BIGTREE_GTR_V1_0 (board: marlin_BigTree_GTR_v1; platform: ststm32@~12.1; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/marlin_BigTree_GTR_v1.html PLATFORM: ST STM32 (12.1.1) > STM32F407ZG (192k RAM. 1024k Flash) HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (jlink) External (jlink, stlink) PACKAGES:

Unpacking [------------------------------------] 0% Unpacking [------------------------------------] 1% Unpacking [#-----------------------------------] 3% Unpacking [#-----------------------------------] 4% Unpacking [##----------------------------------] 6% Unpacking [##----------------------------------] 8% Unpacking [###---------------------------------] 9% Unpacking [####--------------------------------] 11% Unpacking [####--------------------------------] 13% Unpacking [#####-------------------------------] 14% Unpacking [#####-------------------------------] 16% Unpacking [######------------------------------] 18% Unpacking [#######-----------------------------] 19% Unpacking [#######-----------------------------] 21% Unpacking [########----------------------------] 22% Unpacking [########----------------------------] 24% Unpacking [#########---------------------------] 26% Unpacking [##########--------------------------] 27% Unpacking [##########--------------------------] 29% Unpacking [###########-------------------------] 31% Unpacking [###########-------------------------] 32% Unpacking [############------------------------] 34% Unpacking [############------------------------] 36% Unpacking [#############-----------------------] 37% Unpacking [##############----------------------] 39% Unpacking [##############----------------------] 40% Unpacking [###############---------------------] 42% Unpacking [###############---------------------] 44% Unpacking [################--------------------] 45% Unpacking [#################-------------------] 47% Unpacking [#################-------------------] 49% Unpacking [##################------------------] 50% Unpacking [##################------------------] 52% Unpacking [###################-----------------] 54% Unpacking [####################----------------] 55% Unpacking [####################----------------] 57% Unpacking [#####################---------------] 59% Unpacking [#####################---------------] 60% Unpacking [######################--------------] 62% Unpacking [#######################-------------] 63% Unpacking [#######################-------------] 65% Unpacking [########################------------] 67% Unpacking [########################------------] 68% Unpacking [#########################-----------] 70% Unpacking [#########################-----------] 72% Unpacking [##########################----------] 73% Unpacking [###########################---------] 75% Unpacking [###########################---------] 77% Unpacking [############################--------] 78% Unpacking [############################--------] 80% Unpacking [#############################-------] 81% Unpacking [##############################------] 83% Unpacking [##############################------] 85% Unpacking [###############################-----] 86% Unpacking [###############################-----] 88% Unpacking [################################----] 90% Unpacking [#################################---] 91% Unpacking [#################################---] 93% Unpacking [##################################--] 95% Unpacking [##################################--] 96% Unpacking [###################################-] 98% Unpacking [####################################] 100% Library Manager: TMCStepper @ 0.7.3 has been installed! Library Manager: Installing U8glib-HAL @ ~0.5.2

Unpacking [------------------------------------] 0% Unpacking [------------------------------------] 1% Unpacking [------------------------------------] 2% Unpacking [#-----------------------------------] 3% Unpacking [#-----------------------------------] 4% Unpacking [#-----------------------------------] 5% Unpacking [##----------------------------------] 5% Unpacking [##----------------------------------] 6% Unpacking [##----------------------------------] 7% Unpacking [###---------------------------------] 8% Unpacking [###---------------------------------] 9% Unpacking [###---------------------------------] 10% Unpacking [###---------------------------------] 11% Unpacking [####--------------------------------] 11% Unpacking [####--------------------------------] 12% Unpacking [####--------------------------------] 13% Unpacking [#####-------------------------------] 14% Unpacking [#####-------------------------------] 15% Unpacking [#####-------------------------------] 16% Unpacking [######------------------------------] 16% Unpacking [######------------------------------] 17% Unpacking [######------------------------------] 18% Unpacking [#######-----------------------------] 19% Unpacking [#######-----------------------------] 20% Unpacking [#######-----------------------------] 21% Unpacking [#######-----------------------------] 22% Unpacking [########----------------------------] 22% Unpacking [########----------------------------] 23% Unpacking [########----------------------------] 24% Unpacking [#########---------------------------] 25% Unpacking [#########---------------------------] 26% Unpacking [#########---------------------------] 27% Unpacking [##########--------------------------] 27% Unpacking [##########--------------------------] 28% Unpacking [##########--------------------------] 29% Unpacking [##########--------------------------] 30% Unpacking [###########-------------------------] 31% Unpacking [###########-------------------------] 32% Unpacking [###########-------------------------] 33% Unpacking [############------------------------] 33% Unpacking [############------------------------] 34% Unpacking [############------------------------] 35% Unpacking [#############-----------------------] 36% Unpacking [#############-----------------------] 37% Unpacking [#############-----------------------] 38% Unpacking [##############----------------------] 38% Unpacking [##############----------------------] 39% Unpacking [##############----------------------] 40% Unpacking [##############----------------------] 41% Unpacking [###############---------------------] 42% Unpacking [###############---------------------] 43% Unpacking [###############---------------------] 44% Unpacking [################--------------------] 44% Unpacking [################--------------------] 45% Unpacking [################--------------------] 46% Unpacking [#################-------------------] 47% Unpacking [#################-------------------] 48% Unpacking [#################-------------------] 49% Unpacking [##################------------------] 50% Unpacking [##################------------------] 51% Unpacking [##################------------------] 52% Unpacking [###################-----------------] 53% Unpacking [###################-----------------] 54% Unpacking [###################-----------------] 55% Unpacking [####################----------------] 55% Unpacking [####################----------------] 56% Unpacking [####################----------------] 57% Unpacking [#####################---------------] 58% Unpacking [#####################---------------] 59% Unpacking [#####################---------------] 60% Unpacking [#####################---------------] 61% Unpacking [######################--------------] 61% Unpacking [######################--------------] 62% Unpacking [######################--------------] 63% Unpacking [#######################-------------] 64% 00:00:00 Unpacking [#######################-------------] 65% 00:00:00 Unpacking [#######################-------------] 66% 00:00:00 Unpacking [########################------------] 66% 00:00:00 Unpacking [########################------------] 67% 00:00:00 Unpacking [########################------------] 68% 00:00:00 Unpacking [#########################-----------] 69% 00:00:00 Unpacking [#########################-----------] 70% 00:00:00 Unpacking [#########################-----------] 71% 00:00:00 Unpacking [#########################-----------] 72% 00:00:00 Unpacking [##########################----------] 72% 00:00:00 Unpacking [##########################----------] 73% 00:00:00 Unpacking [##########################----------] 74% 00:00:00 Unpacking [###########################---------] 75% 00:00:00 Unpacking [###########################---------] 76% 00:00:00 Unpacking [###########################---------] 77% 00:00:00 Unpacking [############################--------] 77% 00:00:00 Unpacking [############################--------] 78% 00:00:00 Unpacking [############################--------] 79% 00:00:00 Unpacking [############################--------] 80% 00:00:00 Unpacking [#############################-------] 81% 00:00:00 Unpacking [#############################-------] 82% 00:00:00 Unpacking [#############################-------] 83% 00:00:00 Unpacking [##############################------] 83% 00:00:00 Unpacking [##############################------] 84% 00:00:00 Unpacking [##############################------] 85% 00:00:00 Unpacking [###############################-----] 86% 00:00:00 Unpacking [###############################-----] 87% 00:00:00 Unpacking [###############################-----] 88% 00:00:00 Unpacking [################################----] 88% 00:00:00 Unpacking [################################----] 89% 00:00:00 Unpacking [################################----] 90% 00:00:00 Unpacking [################################----] 91% 00:00:00 Unpacking [#################################---] 92% 00:00:00 Unpacking [#################################---] 93% 00:00:00 Unpacking [#################################---] 94% 00:00:00 Unpacking [##################################--] 94% 00:00:00 Unpacking [##################################--] 95
00:00:00 Unpacking [##################################--] 96% 00:00:00 Unpacking [###################################-] 97% 00:00:00 Unpacking [###################################-] 98% 00:00:00 Unpacking [###################################-] 99% 00:00:00 Unpacking [####################################] 100%

Library Manager: U8glib-HAL @ 0.5.2 has been installed! Found 12 compatible libraries Scanning dependencies... Dependency Graph |-- 0.7.3 | |-- 1.0 | |-- 1.0 |-- 0.5.2 | |-- 1.0 | |-- 1.0 |-- 1.0 |-- 1.1.2 |-- 2.0.1 |-- 1.0 |-- 1.0.0 |-- 1.0 Building in release mode *** [C:\Users\User.platformio\packages\framework-arduinoststm32\variants\MARLIN_BIGTREE_GTR_V1\PeripheralPins.c] C:\Marlin\Firmware.pio\build\BIGTREE_GTR_V1_0.sconsign39.dblite: No such file or directory ============= [FAILED] Took 14.04 seconds =============

Environment Status Duration


BIGTREE_GTR_V1_0 FAILED 00:00:14.038 ======== 1 failed, 0 succeeded in 00:00:14.038 ======== The terminal process "C:\Users\User.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'BIGTREE_GTR_V1_0'" terminated with exit code: 1.

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

Executing task in folder Firmware: C:\Users\User.platformio\penv\Scripts\platformio.exe run --environment BIGTREE_GTR_V1_0 <

Processing BIGTREE_GTR_V1_0 (board: marlin_BigTree_GTR_v1; platform: ststm32@~12.1; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/marlin_BigTree_GTR_v1.html PLATFORM: ST STM32 (12.1.1) > STM32F407ZG (192k RAM. 1024k Flash) HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (jlink) External (jlink, stlink) PACKAGES:

Environment Status Duration


BIGTREE_GTR_V1_0 FAILED 00:00:48.463 ======== 1 failed, 0 succeeded in 00:00:48.463 ======== The terminal process "C:\Users\User.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'BIGTREE_GTR_V1_0'" terminated with exit code: 1.

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

dirtknight commented 2 years ago

Been a while, dunno if anyone's still paying attention to this one. Figured I'd post what I found, just in case someone else gets this weirdo problem and needs an answer.

There's a line in Configuration_adv.h:

#define M100_FREE_MEMORY_WATCHER

Apparently it doesn't like the CPU on y'all's SKR 2 or the SKR Mini E3 v3 I'm using. So we gotta disable that. Code keeps chugging along, once you comment that definition out.