Open fierce1509 opened 10 months ago
Please see my commit https://github.com/adamalfath/Sermoon-V1/commit/c5945b6fef172338e4b1f5c442b65a8f9c1836fc
#include "../debug/debug.h"
or wrap it inside ENABLE_DEBUG_FUNC conditional macro@adamalfath Hello thank you. i have downloaded your file and when i compile it i am met with a deferent error now.
collect2.exe: error: ld returned 1 exit status *** [.pio\build\STM32F401VE_STEVAL\firmware.elf] Error 1
The issue should caught somewhere above this line
collect2.exe: error: ld returned 1 exit status *** [.pio\build\STM32F401VE_STEVAL\firmware.elf] Error 1
Could you send the full output during compiling? also please wrap it on a code block to make it easier to read
Hello is this fine?
Sorry i think i sent the wrong output . This should be it. The terminal and output both show a different error the first file i sent you is the terminal, this one is the output
I cannot reproduce the error. Might be a corrupted framework file. Try reinstalling it and see if it works.
Method 1:
pio pkg uninstall--global --platform "platformio/ststm32"
pio pkg install --global --platform "platformio/ststm32@^17.0.0"
pio run
Method 2:
"%USERPROFILE%\.platformio\packages"
framework-arduinoststm32
I tried it did not work, I have just tried again on a whole different computer and I receive the exact same error.
collect2.exe: error: ld returned 1 exit status *** [.pio\build\STM32F401VE_STEVAL\firmware.elf] Error 1
Really confused on this.
@fierce1509 any update on getting this to work? I'm experiencing the same thing (at least on Windows, haven't tried mac or Linux yet)
@asiefert unfortunately no still can’t get it to work
@asiefert can you post your full compile process message?
collect2.exe... message itself does not contain any meaningful information. The error/warning message should printed before this line
I just pulled the source from git, compiled without error.
monitor_flags
in section [env]
Warning! src_filter
configuration option in section [env:DUE] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Warning! src_filter
configuration option in section [env:SAMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Warning! src_filter
configuration option in section [env:STM32F4] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Warning! src_filter
configuration option in section [env:STM32F7] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Warning! src_filter
configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Warning! src_filter
configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Warning! src_filter
configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Warning! src_filter
configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Warning! src_build_flags
configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use build_src_flags
instead
Warning! src_filter
configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Warning! src_filter
configuration option in section [env:include_tree] is deprecated and will be removed in the next release! Please use build_src_filter
instead
Processing STM32F401VE_STEVAL (platform: ststm32@~6.1.0; board: STEVAL_STM32F401VE; framework: arduino)Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/STEVAL_STM32F401VE.html
PLATFORM: ST STM32 (6.1.1) > STM32F401VE (96k RAM. 512k Flash)
HARDWARE: STM32F401VET6 84MHz, 96KB RAM, 502.23KB Flash
DEBUG: Current (jlink) External (jlink, stlink)
PACKAGES:
Environment Status Duration
STM32F401VE_STEVAL FAILED 00:00:16.366 =============================== 1 failed, 0 succeeded in 00:00:16.366 =============================== PS F:\3dпринтинг\Sermoon-V1-main> echo "done" >"C:\Users\WINICH~1\AppData\Local\Temp\ipc" PS F:\3dпринтинг\Sermoon-V1-main>
@WiniChpok your error is related to the missing debug header file. Expected on Creality original source.
Marlin\src\gcode\parser.cpp:199:11: error: 'gDebug' was not declared in this scope 199 | gDebug.GetParaAfterCmd(p); | ^~~~~~
See my comment above to solve it.
Я в этом не силен...просто хочу подключить linear advance и поднять температуры кровати до 120 и 320 extruder если вам не трудно можете скомпилировать прошивку с этими пораметрами
Archiving .pio\build\STM32F401VE_STEVAL\lib27f\libServo.a Linking .pio\build\STM32F401VE_STEVAL\firmware.elf c:/users/winichpok/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file F:/3dпринтинг/Sermoon-V1-main/buildroot/share/PlatformIO/variants/STEVAL_F401VE/ldscript.ld: Invalid argument collect2.exe: error: ld returned 1 exit status *** [.pio\build\STM32F401VE_STEVAL\firmware.elf] Error 1
@WiniChpokваша ошибка связана с отсутствующим файлом заголовка отладки. Ожидается в исходном источнике Creality.
Marlin\src\gcode\parser.cpp:199:11: error: 'gDebug' was not declared in this scope 199 | gDebug.GetParaAfterCmd(p); | ^~~~~~
Смотрите мой комментарий выше , чтобы решить эту проблему.
в platformio.ini HAS_TMC26X = TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip не может скачать архив по данной ссылку что приводит сбою компиляции как понял это файл двигателей
@WiniChpok
Sermoon V1 board doesn't need TMC driver, it doesn't have one.
try to build on intended environment = pio run -e STM32F401RE_CREALITY
@WiniChpok Sermoon V1 board doesn't need TMC driver, it doesn't have one. try to build on intended environment =
pio run -e STM32F401RE_CREALITY
Sorry for not responding earlier @adamalfath but yeah it seems like changing the build environment fixed it for me. Cheers!
Здравствуйте вам удалось это исправить?! И с наступающими вас новым годом
Can someone build the firmware for me? And send me the file. I just cannot get it to work. All i want is a firmware for the Sermoon V1 Pro with the max hot end temp set to 300c as i have upgraded the hot end. Would be much appreciated.
@fierce1509
HEATER_0_MAXTEMP = 320 usable temperature = HEATER_0_MAXTEMP - 15 = 305
Use at your own risk
@adamalfath
Thank you for the firmware I flashed it on my printer but unfortunately the max hot end temperature is still only 250. Will not go higher.
@fierce1509
What method do you use to set the temp? LCD? I forgot if it also has something to do with the LCD firmware or not. Can you just try to send gcode with desired temperature?
Hello i receive this error when i'm budling the firmware with Auto build marlin in Visual studio code.
Marlin\src\gcode\parser.cpp:199:11: error: 'gDebug' was not declared in this scope 199 | gDebug.GetParaAfterCmd(p); | ^
~*** [.pio\build\STM32F401VE_STEVAL\src\src\gcode\parser.cpp.o] Error 1I'm not changing any values just seeing if the firmware will work before i change anything but it wont even build.