Closed ishmel2000 closed 3 months ago
This code is not from MarlinFirmware, This is a from the BTT Marlin fork https://github.com/bigtreetech/BIGTREETECH-OCTOPUS-V1.0/tree/master/Firmware/Marlin-bugfix-2.0.9.3.x , BTT need to update their fork.
They need to apply this https://github.com/MarlinFirmware/Marlin/commit/8fd6f9a2b029caa9fa30c61c81e01236d6bce0f9
Thanks for the answer. If I understood you well. Those changes need to be applied for the respective files? sorry if I look stupid but this is a new problem for me jajajaj
I tried te correction but this is the new problem:
```prolog
Marlin\src\HAL\STM32\sdio.cpp: In function 'void HAL_SD_MspInit(SD_HandleTypeDef*)':
Marlin\src\HAL\STM32\sdio.cpp:95:28: error: 'PinMap_SD' was not declared in this scope; did you mean 'PinMap_USB'?
95 | pinmap_pinout(PC_9, PinMap_SD);
| ^~~~~~~~~
| PinMap_USB
*** [.pio\build\STM32H723Zx_btt\src\src\HAL\STM32\sdio.cpp.o] Error 1
**If I correct the problem it gives me this one:**
Compiling .pio\build\STM32H723Zx_btt\FrameworkArduino\wiring_time.c.o
Archiving .pio\build\STM32H723Zx_btt\libFrameworkArduino.a
Linking .pio\build\STM32H723Zx_btt\firmware.elf
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/HAL/STM32/MarlinSerial.cpp.o: in function `EmergencyParser::update(EmergencyParser::State&, unsigned char)':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/../../feature/e_parser.h:204: undefined reference to `HostUI::handle_response(unsigned char)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/../../feature/e_parser.h:204: undefined reference to `EmergencyParser::M876_reason'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/../../feature/e_parser.h:204: undefined reference to `EmergencyParser::enabled'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/../../feature/e_parser.h:204: undefined reference to `EmergencyParser::killed_by_M112'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/../../feature/e_parser.h:204: undefined reference to `EmergencyParser::quickstop_by_M410'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/HAL/STM32/usb_serial.cpp.o: in function `EmergencyParser::update(EmergencyParser::State&, unsigned char)':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32\../../feature/e_parser.h:204: undefined reference to `HostUI::handle_response(unsigned char)'c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/HAL/STM32/usb_serial.cpp.o: in function `USBD_CDC_Receive_hook':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32/usb_serial.cpp:41: undefined reference to `EmergencyParser::M876_reason'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32/usb_serial.cpp:41: undefined reference to `EmergencyParser::killed_by_M112'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32/usb_serial.cpp:41: undefined reference to `EmergencyParser::quickstop_by_M410'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\HAL\STM32/usb_serial.cpp:41: undefined reference to `EmergencyParser::enabled'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/MarlinCore.cpp.o: in function `printingIsPaused()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:339: undefined reference to `CardReader::flag'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:339: undefined reference to `CardReader::file'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/MarlinCore.cpp.o: in function `kill(__FlashStringHelper const*, __FlashStringHelper const*, bool)':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:901: undefined reference to `HostUI::kill()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/MarlinCore.cpp.o: in function `idle(bool)':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:818: undefined reference to `CardReader::manage_media()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/MarlinCore.cpp.o: in function `abortSDPrinting()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:357: undefined reference to `CardReader::abortFilePrintNow()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/MarlinCore.cpp.o: in function `loop':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:1670: undefined reference to `CardReader::flag'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:1670: undefined reference to `CardReader::autofile_index'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/MarlinCore.cpp.o: in function `setup':C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:1331: undefined reference to `MarlinUI::show_bootscreen()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:1573: undefined reference to `HostUI::prompt_end()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:1622: undefined reference to `MarlinUI::bootscreen_completion(unsigned long)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/MarlinCore.cpp.o: in function `_GLOBAL__sub_I_card':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src/MarlinCore.cpp:157: undefined reference to `CardReader::CardReader()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/gcode/gcode.cpp.o: in function `GcodeSuite::process_parsed_command(bool)':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:340: undefined reference to `GcodeSuite::G2_G3(bool)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:885: undefined reference to `GcodeSuite::M524()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:1051: undefined reference to `GcodeSuite::M1001()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:466: undefined reference to `GcodeSuite::M0_M1()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:503: undefined reference to `GcodeSuite::M20()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:504: undefined reference to `GcodeSuite::M21()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:505: undefined reference to `GcodeSuite::M22()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:506: undefined reference to `GcodeSuite::M23()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:507: undefined reference to `GcodeSuite::M24()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:508: undefined reference to `GcodeSuite::M25()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:509: undefined reference to `GcodeSuite::M26()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:510: undefined reference to `GcodeSuite::M27()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:511: undefined reference to `GcodeSuite::M28()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:512: undefined reference to `GcodeSuite::M29()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:513: undefined reference to `GcodeSuite::M30()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:516: undefined reference to `GcodeSuite::M32()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:527: undefined reference to `GcodeSuite::M928()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/gcode/gcode.cpp.o: in function `GcodeSuite::M109()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.h:707: undefined reference to `GcodeSuite::M104_M109(bool)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/gcode/gcode.cpp.o: in function `GcodeSuite::process_parsed_command(bool)':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:587: undefined reference to `GcodeSuite::M113()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:618: undefined reference to `GcodeSuite::M155()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:645: undefined reference to `GcodeSuite::M82()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:646: undefined reference to `GcodeSuite::M83()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:654: undefined reference to `GcodeSuite::M117()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:699: undefined reference to `GcodeSuite::M206()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:713: undefined reference to `GcodeSuite::M211()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:727: undefined reference to `GcodeSuite::M221()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:745: undefined reference to `GcodeSuite::M290()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:749: undefined reference to `GcodeSuite::M300()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:753: undefined reference to `GcodeSuite::M301()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:782: undefined reference to `GcodeSuite::M302()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/gcode.cpp:853: undefined reference to `GcodeSuite::M428()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/gcode/queue.cpp.o: in function `CardReader::get()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode\../lcd/../sd/cardreader.h:239: undefined reference to `SdBaseFile::read()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/gcode/queue.cpp.o: in function `GCodeQueue::get_sdcard_commands()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/queue.cpp:591: undefined reference to `CardReader::fileHasFinished()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/queue.cpp:596: undefined reference to `CardReader::flag'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/queue.cpp:596: undefined reference to `CardReader::sdpos'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/queue.cpp:596: undefined reference to `CardReader::filesize'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/queue.cpp:596: undefined reference to `CardReader::file'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/gcode/queue.cpp.o: in function `GCodeQueue::advance()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/queue.cpp:672: undefined reference to `CardReader::write_command(char*)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/queue.cpp:656: undefined reference to `CardReader::closefile(bool)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/queue.cpp:674: undefined reference to `CardReader::flag'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/gcode/queue.cpp.o: in function `GCodeQueue::get_serial_commands()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode/queue.cpp:539: undefined reference to `CardReader::flag'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/gcode/stats/M75-M78.cpp.o: in function `GcodeSuite::M76()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\gcode\stats/M75-M78.cpp:52: undefined reference to `HostUI::pause(bool)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/lcd/marlinui.cpp.o: in function `MarlinUI::update()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:1178: undefined reference to `MarlinUI::return_to_status()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:1141: undefined reference to `MarlinUI::set_font(MarlinFont)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:1108: undefined reference to `u8g'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:1108: undefined reference to `u8g'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:1194: undefined reference to `MarlinUI::clear_lcd()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/lcd/marlinui.cpp.o: in function `MarlinUI::set_status(char const*, bool)':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:1417: undefined reference to `HostUI::notify(char const*)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/lcd/marlinui.cpp.o: in function `HostUI::notify(__FlashStringHelper const*)':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd\../inc/../HAL/./STM32/../../feature/host_actions.h:92: undefined reference to `HostUI::notify_P(char const*)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/lcd/marlinui.cpp.o: in function `MarlinUI::reset_status(bool)':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:1484: undefined reference to `CardReader::flag'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:1484: undefined reference to `CardReader::longFilename'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:1484: undefined reference to `CardReader::filename'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/lcd/marlinui.cpp.o: in function `MarlinUI::init()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:208: undefined reference to `MarlinUI::init_lcd()'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/lcd/marlinui.cpp.o: in function `MarlinUI::status_screen()':
C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x_edit/Marlin\src\lcd/marlinui.cpp:662: undefined reference to `MarlinUI::goto_screen(void (*)(), unsigned short, unsigned char, unsigned char)'
c:/users/ismael/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/STM32H723Zx_btt/src/src/lcd/marlinui.cpp.o: in function `LIMIT
Please I do not know what to do next
@ishmel2000: Use Marlin from here (this repo) instead of BTT's fork.
This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
When I try to compile the marlin from the BTT repository, it gives me a fail with this message:
details:
```prolog Warning! Ignore unknown configuration option `monitor_flags` in section [env] 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 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:esp32] 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_build_flags` configuration option in section [env:simulator_windows] is deprecated and will be removed in the next release! Please use `build_src_flags` 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: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:STM32F103CB_malyan] 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_filter` configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! Ignore unknown configuration option `monitor_flags` in section [env] 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 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:esp32] 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_build_flags` configuration option in section [env:simulator_windows] is deprecated and will be removed in the next release! Please use `build_src_flags` 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: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:STM32F103CB_malyan] 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_filter` configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Resolving STM32H723Zx_btt dependencies... Already up-to-date. Updating metadata for the vscode IDE... UserSideException: Warning! Ignore unknown configuration option `monitor_flags` in section [env] 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 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:esp32] 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_build_flags` configuration option in section [env:simulator_windows] is deprecated and will be removed in the next release! Please use `build_src_flags` 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: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:STM32F103CB_malyan] 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_filter` configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Processing STM32H723Zx_btt (platform: ststm32@~14.1.0; board: marlin_STM32H723Zx; framework: arduino) -------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/marlin_STM32H723Zx.html PLATFORM: ST STM32 (14.1.0) > STM32H723ZE (564k RAM. 512k Flash) HARDWARE: STM32H723ZET6 400MHz, 564KB RAM, 512KB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, jlink, stlink) PACKAGES: - framework-arduinoststm32 @ 0.0.0 - framework-cmsis @ 2.50700.210515 (5.7.0) - toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1) Converting Marlin.ino LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 13 compatible libraries Scanning dependencies... Dependency Graph |-- U8glib-HAL @ 0.5.4 |-- SPI @ 1.1.0 |-- EEPROM @ 2.0.1 |-- SoftwareSerial @ 1.0.0 |-- IWatchdog @ 1.0.0 |-- Servo @ 1.1.2 |-- Wire @ 1.0.0 Building in release mode RuntimeError: deque mutated during iteration: File "C:\Users\Ismael\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 180: env.SConscript(env.GetExtraScripts("post"), exports="env") File "C:\Users\Ismael\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 612: return _SConscript(self.fs, *files, **subst_kw) File "C:\Users\Ismael\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 279: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x\buildroot\share\PlatformIO\scripts\offset_and_rename.py", line 26: marlin.relocate_vtab(LD_FLASH_OFFSET) File "C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x\buildroot\share\PlatformIO\scripts\marlin.py", line 33: replace_define("VECT_TAB_OFFSET", address) File "C:\Users\Ismael\Desktop\BIGTREETECH-OCTOPUS-V1.0-master\Firmware\Marlin-bugfix-2.0.9.3.x\buildroot\share\PlatformIO\scripts\marlin.py", line 22: for define in env['CPPDEFINES']: ========================== [FAILED] Took 8.74 seconds ========================== Environment Status Duration --------------- -------- ------------ STM32H723Zx_btt FAILED 00:00:08.739 ==================== 1 failed, 0 succeeded in 00:00:08.739 ==================== ```
Bug Timeline
No response
Expected behavior
No response
Actual behavior
No response
Steps to Reproduce
No response
Version of Marlin Firmware
2.0.9.3
Printer model
No response
Electronics
No response
LCD/Controller
No response
Other add-ons
No response
Bed Leveling
None
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
Marlin-bugfix-2.0.9.3.x.zip