bigtreetech / BIGTREETECH-OCTOPUS-Pro

This is OCTOPUS Pro open source material
272 stars 58 forks source link

Marlin Octopus Pro v1.1 (H723ZE) no definition #36

Open vfbank opened 1 year ago

vfbank commented 1 year ago

Even in the latest version of the Marlin firmware, there is no definition to support the H723ZE chipset in the boards.h. How do I use it?

Ari-SSO commented 1 year ago

I dont remember but you must select the BTT_OCTOPUS_PRO_V1_1 or 1_0 as board, and in platformio chispset config you must select "[STM32H723Vx_btt]"

Ari-SSO commented 1 year ago

use latest marling bugfix 2.1.x

vfbank commented 1 year ago

I asked the Marlin community and got an answer already.

The V1.1 version has not been merged yet, so we have to wait a little longer.

V1.1 will be available in the next merged version.

Ari-SSO commented 1 year ago

Use bugfix-2.1.x, there is a "STM32H723Zx_btt" environment (I dont check the Marling Current 2.1.0, may be is there too):

[env:STM32H723Zx_btt] extends = stm32_variant platform = ststm32@15.4.1 platform_packages = framework-arduinoststm32@~4.20200.220530 board = marlin_STM32H723Zx board_build.offset = 0x20000 board_upload.offset_address = 0x08020000 build_flags = ${stm32_variant.build_flags} -DPIN_SERIAL1_TX=PA_9 -DPIN_SERIAL1_RX=PA_10 -DPIN_SERIAL2_TX=PD_5 -DPIN_SERIAL2_RX=PD_6 -DPIN_SERIAL3_TX=PD_8 -DPIN_SERIAL3_RX=PD_9 -DPIN_SERIAL4_TX=PA_0 -DPIN_SERIAL4_RX=PA_1 -DPIN_SERIAL7_TX=PE_8 -DPIN_SERIAL7_RX=PE_7 -DSERIAL_RX_BUFFER_SIZE=1024 -DSERIAL_TX_BUFFER_SIZE=1024 -DTIMER_SERVO=TIM5 -DTIMER_TONE=TIM2 -DSTEP_TIMER_IRQ_PRIO=0 -DRCC_PERIPHCLK_I2C35=RCC_PERIPHCLK_I2C5 -DUSE_USB_HS -DUSE_USB_HS_IN_FS -DD_CACHE_DISABLED -UI2C5_BASE upload_protocol = cmsis-dap debug_tool = cmsis-dap

Ari-SSO commented 1 year ago

In platformio.ini set: default_envs = STM32H723Zx_btt

Ari-SSO commented 1 year ago

Or use directly "STM32H723ZE_btt", this is defined in stm32h7.ini file

Here is what you need: https://github.com/bigtreetech/BIGTREETECH-OCTOPUS-Pro

destruct123 commented 7 months ago

OCTOPUS pro EZ uses the same STM32H7, declare board as octopus pro EZ, copy the common pins for the octopus pro on stmH7 folder, copy and paste the text for octopus pro V1_1 pins on Octopus pro ez and see the magic happens, just correct the pins as instructed on the github page.