-
-
Notifications
You must be signed in to change notification settings - Fork 429
Open
Labels
Confirmed but not a bugThe behavior was confirmed but not considered a Professional firmware bugThe behavior was confirmed but not considered a Professional firmware bug
Description
Did you test with a precompiled firmware?
Yes, and the problem still exists.
Bug Description
After manually fixing the library link in proui.py by adding:
gd32f10 = _GetMarlinEnv(MarlinEnv, "MAPLE_STM32F1")
elif gd32f10:
arch = "gd32f10/"
print("GD32F1 Architecture detected")these are the warnings I get from compiling
Marlin/lib/proui/libproui.a(proui_ex.cpp.o): In function `ProUIEx::setRunoutState(unsigned long)':
(.text._ZN7ProUIEx14setRunoutStateEm+0x2): warning: undefined reference to `pinMode'
Marlin/lib/proui/libproui.a(proui_ex.cpp.o): In function `FilamentSensorBase::poll_runout_pins()':
(.text._ZN18FilamentSensorBase16poll_runout_pinsEv[_ZN18FilamentSensorBase16poll_runout_pinsEv]+0x24): warning: undefined reference to `analogInputPin'
(.text._ZN18FilamentSensorBase16poll_runout_pinsEv[_ZN18FilamentSensorBase16poll_runout_pinsEv]+0x28): warning: undefined reference to `digitalPin'
(.text._ZN18FilamentSensorBase16poll_runout_pinsEv[_ZN18FilamentSensorBase16poll_runout_pinsEv]+0x2c): warning: undefined reference to `FastIOPortMap'
Marlin/lib/proui/libproui.a(printingpro.cpp.o): In function `PrintingPro::hmiPrinting()':
(.text._ZN11PrintingPro11hmiPrintingEv+0x2): warning: undefined reference to `millis'
Marlin/lib/proui/libproui.a(menus.cpp.o): In function `hmiMenu()':
(.text._Z7hmiMenuv+0x2): warning: undefined reference to `millis'Undefined references to:
- millis -In function
PrintingPro::hmiPrinting/hmiMenu pinMode- In functionProUIEx::setRunoutStateFastIOPortMap,digitalPin,analogInputPin- In functionFilamentSensorBase::poll_runout_pins
Bug Timeline
most recent commit Jan 7
Expected behavior
No warnings, firmware should work.
This should be an easy fix
Actual behavior
When FILAMENT_RUNOUT_SENSOR is enabled, the pin type undefined warnings appear.
Undefined millis() appears no matter what.
Steps to Reproduce
- Load default Ender-3 V2/S1 or Voxelab Aquila configs
- Change
MOTHERBOARDtoBOARD_VOXELAB_AQUILA - In platformio.ini, change default_envs = to
GD32F103RC_voxelab_maple - Compile
4a. make sureFILAMENT_RUNOUT_SENSORis enabled
Version of Professional Firmware
20260106
Printer model
Voxelab Aquila
Electronics
GD32 / v422
LCD/Controller
DWIN - ProUI
Other add-ons
No response
Bed Leveling
UBL Bilinear mesh
Your Slicer
None
Host Software
None
Additional information & file uploads
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Confirmed but not a bugThe behavior was confirmed but not considered a Professional firmware bugThe behavior was confirmed but not considered a Professional firmware bug