bigtreetech / bigtreetech/Octopus-Max-EZ

want to use Axis I,J,K,U,V,W

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
114
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Upto I,J,K,U compiles. But adding V&W getting below errors.

Marlin\src\HAL\STM32\../../inc/../core/types.h: In member function 'void XYZval::set(T, T, T, T, T, T, T)':
Marlin\src\HAL\STM32\../../inc/../core/types.h:497:155: error: 'pu' was not declared in this scope; did you mean 'px'?
497 | FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pm) { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pu; }
Marlin\src\HAL\STM32\../../inc/../core/types.h: In member function 'XYZval& XYZval::operator*=(const float&)':
Marlin\src\HAL\STM32\../../inc/../core/types.h:596:151: error: assignment of read-only location 'v'
596 | FI XYZval& operator*=(const float &v) { NUM_AXIS_CODE(x *= v, y *= v, z *= v, i *= v, j *= v, k *= v, u *= v, v *= v, w *= v); return *this; }

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in Marlin/src/core/types.h at the reported lines 497 and 596, then reproduce the build with the V and W axes enabled. Check that the reported compile errors are resolved and confirm the firmware compiles successfully for the STM32 target.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.