bigtreetech / BIGTREETECH-OCTOPUS-V1.0

This is Octopus open source material
559 stars 332 forks source link

Stock firmware for octopus pro v1.1 does not compile #151

Open ElfyShort opened 1 year ago

ElfyShort commented 1 year ago

I am trying to compile stock firmware for octopus pro v1.1 in Platformio. Getting the error: 'PinMap_SD' was not declared in this scope; did you mean 'PinMap_USB'?

Clean Marlin 2.1.2.1 compiles on my setup with no problem.

Any help will be appreciated!

Here is the full build log:

Compiling .pio\build\STM32H723Zx_btt\src\src\HAL\STM32\sdio.cpp.o Marlin\src\HAL\STM32\sdio.cpp: In function 'void HAL_SD_MspInit(SD_HandleTypeDef*)': Marlin\src\HAL\STM32\sdio.cpp:91:26: error: 'PinMap_SD' was not declared in this scope; did you mean 'PinMap_USB'? 91 | pinmap_pinout(PC_12, PinMap_SD); | ^~~~~ | PinMap_USB Compiling .pio\build\STM32H723Zx_btt\src\src\inc\Warnings.cpp.o Marlin\src\inc\Warnings.cpp:724:6: warning: #warning "Motherboard DIAG jumpers must be removed when SENSORLESS_HOMING is disabled. (Define DIAG_JUMPERS_REMOVED to suppress this warning.)" [-Wcpp] 724 | #warning "Motherboard DIAG jumpers must be removed when SENSORLESS_HOMING is disabled. (Define DIAG_JUMPERS_REMOVED to suppress this warning.)" | ^~~ *** [.pio\build\STM32H723Zx_btt\src\src\HAL\STM32\sdio.cpp.o] Error 1

ruturajshinde commented 10 months ago

hey, @ElfyShort, were you able to find a solution for this one. I'm facing similar issue and need to compile it for one of my machine. based of 723H

dblatt87 commented 8 months ago

Same problem here, is there a known workaround?

dblatt87 commented 8 months ago

Hello I try to use a BTT Octopus Pro V1.1 with the STM32H723Z. I spend hours in back-tracing and also other platform versions in the STM32H723Zx.ini but unfortunately I'm shot out of ideas. Any help would be very appreciated.

Here the build logs, normal and in verbose mode: build_log.txt build_log-v.txt