Repository navigation
unable to make firmware #67
Copy link
Copy link
Open
Description
when trying to create firmware it fails with alot of red warning text
here is a snip of some of the text
026-01-10 08:48:40,399:ERROR:In file included from src/../LocalConfiguration.hpp:22,
from src/../Configuration.hpp:34,
2026-01-10 08:48:40,399:ERROR: from src/EndSwitches.cpp:1:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:40,401:ERROR:In file included from src/../Configuration.hpp:274,
from src/EndSwitches.cpp:1:
2026-01-10 08:48:40,401:ERROR:src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:40,418:INFO:Using tempfile D:\2026 astro factory\OATFWGUI_2.1.0-
2026-01-10 08:48:40,441:ERROR: from src/../Configuration.hpp:34,
from src/Gyro.cpp:1:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:40,441:ERROR:In file included from src/../Configuration.hpp:274,
from src/Gyro.cpp:1:
src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
2026-01-10 08:48:40,441:ERROR: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:40,452:ERROR:In file included from src/../LocalConfiguration.hpp:22,
from src/../Configuration.hpp:34,
2026-01-10 08:48:40,452:ERROR: from src/HallSensorHoming.cpp:1:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:40,452:ERROR:In file included from src/../Configuration.hpp:274,
from src/HallSensorHoming.cpp:1:
2026-01-10 08:48:40,452:ERROR:src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:40,468:INFO:Using tempfile D:\2026 astro factory\OATFWGUI_2.1.0-release+0c5dc8_Windows\OATFW\.pio\build\esp32\tmppnfchffp.tmp for command line:
DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE -DIDF_VER=\"v4.4.7-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -DARDUINO_ARCH_ESP32 -DESP32 -DF_CPU=240000000L -DARDUINO=10812 -DARDUINO_VARIANT=\"esp32\" "-DARDUINO_BOARD=\"Espressif ESP32 Dev Module\"" -DARDUINO_PARTITION_default .pio/libdeps/esp32/TMCStepper/src/source/DRVCONF.cpp
xtensa-esp32-elf-g++ "@D:\2026 astro factory\OATFWGUI_2.1.0-release+0c5dc8_Windows\OATFW\.pio\build\esp32\tmpy_ahngk0.tmp"
2026-01-10 08:48:40,977:ERROR:In file included from src/../LocalConfiguration.hpp:22,
from src/../Configuration.hpp:34,
from src/Utility.cpp:3:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
2026-01-10 08:48:40,977:ERROR: #error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:40,977:ERROR:In file included from src/../Configuration.hpp:274,
2026-01-10 08:48:40,979:ERROR: from src/Utility.cpp:3:
src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:41,766:ERROR:In file included from src/../LocalConfiguration.hpp:22,
from src/../Configuration.hpp:34,
2026-01-10 08:48:41,766:ERROR: from src/Core.cpp:2:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:41,766:ERROR:In file included from src/../Configuration.hpp:274,
from src/Core.cpp:2:
src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:41,837:ERROR:In file included from src/../LocalConfiguration.hpp:22,
from src/../Configuration.hpp:34,
2026-01-10 08:48:41,839:ERROR: from src/DayTime.cpp:2:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:41,839:ERROR:In file included from src/../Configuration.hpp:274,
2026-01-10 08:48:41,839:ERROR: from src/DayTime.cpp:2:
src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:41,861:ERROR:In file included from src/../LocalConfiguration.hpp:22,
from src/../Configuration.hpp:34,
2026-01-10 08:48:41,861:ERROR: from src/Declination.cpp:2:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:41,861:ERROR:In file included from src/../Configuration.hpp:274,
from src/Declination.cpp:2:
2026-01-10 08:48:41,861:ERROR:src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:41,917:ERROR:In file included from src/../LocalConfiguration.hpp:22,
from src/../Configuration.hpp:34,
2026-01-10 08:48:41,917:ERROR: from src/EPROMStore.cpp:6:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:41,919:ERROR:In file included from src/../Configuration.hpp:274,
from src/EPROMStore.cpp:6:
src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:41,919:ERROR:src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:41,971:ERROR:In file included from src/Core.cpp:7:
src/b_setup.hpp: In function 'void setup()':
2026-01-10 08:48:41,971:ERROR:src/b_setup.hpp:184:45: error: 'RA_TX_PIN' was not declared in this scope
RA_SERIAL_PORT.begin(57600, SERIAL_8N1, RA_TX_PIN, RA_RX_PIN);
^~~~~~~~~
2026-01-10 08:48:41,975:ERROR:src/b_setup.hpp:184:45: note: suggested alternative: 'RA_EN_PIN'
RA_SERIAL_PORT.begin(57600, SERIAL_8N1, RA_TX_PIN, RA_RX_PIN);
2026-01-10 08:48:41,975:ERROR: ^~~~~~~~~
RA_EN_PIN
src/b_setup.hpp:184:56: error: 'RA_RX_PIN' was not declared in this scope
RA_SERIAL_PORT.begin(57600, SERIAL_8N1, RA_TX_PIN, RA_RX_PIN);
^~~~~~~~~
2026-01-10 08:48:41,977:ERROR:src/b_setup.hpp:184:56: note: suggested alternative: 'RA_EN_PIN'
RA_SERIAL_PORT.begin(57600, SERIAL_8N1, RA_TX_PIN, RA_RX_PIN);
2026-01-10 08:48:41,977:ERROR: ^~~~~~~~~
RA_EN_PIN
src/b_setup.hpp:211:46: error: 'DEC_TX_PIN' was not declared in this scope
DEC_SERIAL_PORT.begin(57600, SERIAL_8N1, DEC_TX_PIN, DEC_RX_PIN);
^~~~~~~~~~
2026-01-10 08:48:41,979:ERROR:src/b_setup.hpp:211:46: note: suggested alternative: 'DEC_EN_PIN'
DEC_SERIAL_PORT.begin(57600, SERIAL_8N1, DEC_TX_PIN, DEC_RX_PIN);
2026-01-10 08:48:41,981:ERROR: ^~~~~~~~~~
DEC_EN_PIN
src/b_setup.hpp:211:58: error: 'DEC_RX_PIN' was not declared in this scope
DEC_SERIAL_PORT.begin(57600, SERIAL_8N1, DEC_TX_PIN, DEC_RX_PIN);
^~~~~~~~~~
2026-01-10 08:48:41,983:ERROR:src/b_setup.hpp:211:58: note: suggested alternative: 'DEC_EN_PIN'
2026-01-10 08:48:41,983:ERROR: DEC_SERIAL_PORT.begin(57600, SERIAL_8N1, DEC_TX_PIN, DEC_RX_PIN);
^~~~~~~~~~
DEC_EN_PIN
src/b_setup.hpp:219:13: error: 'AZ_EN_PIN' was not declared in this scope
pinMode(AZ_EN_PIN, OUTPUT);
^~~~~~~~~
2026-01-10 08:48:41,985:ERROR:src/b_setup.hpp:219:13: note: suggested alternative: 'RA_EN_PIN'
pinMode(AZ_EN_PIN, OUTPUT);
2026-01-10 08:48:41,987:ERROR: ^~~~~~~~~
RA_EN_PIN
src/b_setup.hpp:231:13: error: 'ALT_EN_PIN' was not declared in this scope
pinMode(ALT_EN_PIN, OUTPUT);
^~~~~~~~~~
2026-01-10 08:48:41,989:ERROR:src/b_setup.hpp:231:13: note: suggested alternative: 'DEC_EN_PIN'
2026-01-10 08:48:41,989:ERROR: pinMode(ALT_EN_PIN, OUTPUT);
^~~~~~~~~~
DEC_EN_PIN
In file included from src/Core.cpp:6:
src/a_inits.hpp:48:25: error: 'AZ_STEP_PIN' was not declared in this scope
#define AZmotorPin1 AZ_STEP_PIN
^~~~~~~~~~~
2026-01-10 08:48:41,991:ERROR:src/b_setup.hpp:444:30: note: in expansion of macro 'AZmotorPin1'
mount.configureAZStepper(AZmotorPin1, AZmotorPin2, AZ_STEPPER_SPEED, AZ_STEPPER_ACCELERATION);
^~~~~~~~~~~
2026-01-10 08:48:41,993:ERROR:src/a_inits.hpp:48:25: note: suggested alternative: 'RA_STEP_PIN'
2026-01-10 08:48:41,995:ERROR: #define AZmotorPin1 AZ_STEP_PIN
^~~~~~~~~~~
src/b_setup.hpp:444:30: note: in expansion of macro 'AZmotorPin1'
mount.configureAZStepper(AZmotorPin1, AZmotorPin2, AZ_STEPPER_SPEED, AZ_STEPPER_ACCELERATION);
^~~~~~~~~~~
src/a_inits.hpp:49:25: error: 'AZ_DIR_PIN' was not declared in this scope
#define AZmotorPin2 AZ_DIR_PIN
^~~~~~~~~~
src/b_setup.hpp:444:43: note: in expansion of macro 'AZmotorPin2'
mount.configureAZStepper(AZmotorPin1, AZmotorPin2, AZ_STEPPER_SPEED, AZ_STEPPER_ACCELERATION);
^~~~~~~~~~~
2026-01-10 08:48:41,997:ERROR:src/a_inits.hpp:49:25: note: suggested alternative: 'RA_DIR_PIN'
2026-01-10 08:48:41,999:ERROR: #define AZmotorPin2 AZ_DIR_PIN
^~~~~~~~~~
src/b_setup.hpp:444:43: note: in expansion of macro 'AZmotorPin2'
mount.configureAZStepper(AZmotorPin1, AZmotorPin2, AZ_STEPPER_SPEED, AZ_STEPPER_ACCELERATION);
^~~~~~~~~~~
src/a_inits.hpp:54:26: error: 'ALT_STEP_PIN' was not declared in this scope
#define ALTmotorPin1 ALT_STEP_PIN
^~~~~~~~~~~~
src/b_setup.hpp:462:31: note: in expansion of macro 'ALTmotorPin1'
mount.configureALTStepper(ALTmotorPin1, ALTmotorPin2, ALT_STEPPER_SPEED, ALT_STEPPER_ACCELERATION);
^~~~~~~~~~~~
2026-01-10 08:48:42,001:ERROR:src/a_inits.hpp:54:26: note: suggested alternative: 'DEC_STEP_PIN'
2026-01-10 08:48:42,001:ERROR: #define ALTmotorPin1 ALT_STEP_PIN
^~~~~~~~~~~~
src/b_setup.hpp:462:31: note: in expansion of macro 'ALTmotorPin1'
mount.configureALTStepper(ALTmotorPin1, ALTmotorPin2, ALT_STEPPER_SPEED, ALT_STEPPER_ACCELERATION);
^~~~~~~~~~~~
src/a_inits.hpp:55:26: error: 'ALT_DIR_PIN' was not declared in this scope
#define ALTmotorPin2 ALT_DIR_PIN
^~~~~~~~~~~
src/b_setup.hpp:462:45: note: in expansion of macro 'ALTmotorPin2'
mount.configureALTStepper(ALTmotorPin1, ALTmotorPin2, ALT_STEPPER_SPEED, ALT_STEPPER_ACCELERATION);
^~~~~~~~~~~~
2026-01-10 08:48:42,005:ERROR:src/a_inits.hpp:55:26: note: suggested alternative: 'RA_DIR_PIN'
2026-01-10 08:48:42,005:ERROR: #define ALTmotorPin2 ALT_DIR_PIN
^~~~~~~~~~~
src/b_setup.hpp:462:45: note: in expansion of macro 'ALTmotorPin2'
mount.configureALTStepper(ALTmotorPin1, ALTmotorPin2, ALT_STEPPER_SPEED, ALT_STEPPER_ACCELERATION);
^~~~~~~~~~~~
2026-01-10 08:48:42,043:ERROR:*** [.pio\build\esp32\src\Core.cpp.o] Error 1
2026-01-10 08:48:42,053:ERROR:*** [.pio\build\esp32\src\DayTime.cpp.o] Error 1
2026-01-10 08:48:42,064:ERROR:*** [.pio\build\esp32\src\Declination.cpp.o] Error 1
2026-01-10 08:48:42,075:ERROR:In file included from src/../LocalConfiguration.hpp:22,
from src/../Configuration.hpp:34,
2026-01-10 08:48:42,075:ERROR: from src/LcdMenu.cpp:2:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:42,075:ERROR:In file included from src/../Configuration.hpp:274,
2026-01-10 08:48:42,075:ERROR: from src/LcdMenu.cpp:2:
src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:42,085:ERROR:In file included from src/../LocalConfiguration.hpp:22,
from src/../Configuration.hpp:34,
2026-01-10 08:48:42,085:ERROR: from src/LcdButtons.cpp:2:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:42,085:ERROR:In file included from src/../Configuration.hpp:274,
2026-01-10 08:48:42,085:ERROR: from src/LcdButtons.cpp:2:
src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:42,121:ERROR:In file included from src/../LocalConfiguration.hpp:22,
2026-01-10 08:48:42,123:ERROR: from src/../Configuration.hpp:34,
from src/MeadeCommandProcessor.cpp:2:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:42,123:ERROR:In file included from src/../Configuration.hpp:274,
from src/MeadeCommandProcessor.cpp:2:
src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:42,137:ERROR:*** [.pio\build\esp32\src\EndSwitches.cpp.o] Error 1
2026-01-10 08:48:42,159:ERROR:*** [.pio\build\esp32\src\EPROMStore.cpp.o] Error 1
2026-01-10 08:48:42,191:ERROR:*** [.pio\build\esp32\src\HallSensorHoming.cpp.o] Error 1
2026-01-10 08:48:42,197:ERROR:*** [.pio\build\esp32\src\Gyro.cpp.o] Error 1
2026-01-10 08:48:42,205:ERROR:In file included from src/../LocalConfiguration.hpp:22,
2026-01-10 08:48:42,207:ERROR: from src/../Configuration.hpp:34,
from src/Sidereal.cpp:2:
src/../Configuration_local.hpp:18:6: error: #error Selected PIO environment does not match this configuration
#error Selected PIO environment does not match this configuration
^~~~~
2026-01-10 08:48:42,207:ERROR:In file included from src/../Configuration.hpp:274,
from src/Sidereal.cpp:2:
src/../ConfigurationValidation.hpp:235:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
src/../ConfigurationValidation.hpp:253:14: error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver
^~~~~
2026-01-10 08:48:42,233:ERROR:*** [.pio\build\esp32\src\InterruptCallback.cpp.o] Error 1
2026-01-10 08:48:42,255:ERROR:*** [.pio\build\esp32\src\Latitude.cpp.o] Error 1
2026-01-10 08:48:42,281:ERROR:*** [.pio\build\esp32\src\LcdButtons.cpp.o] Error 1
2026-01-10 08:48:42,291:ERROR:*** [.pio\build\esp32\src\LcdMenu.cpp.o] Error 1
2026-01-10 08:48:42,323:ERROR:*** [.pio\build\esp32\src\Longitude.cpp.o] Error 1
2026-01-10 08:48:42,325:ERROR:*** [.pio\build\esp32\src\MeadeCommandProcessor.cpp.o] Error 1
2026-01-10 08:48:42,359:ERROR:src/Mount.cpp: In member function 'void Mount::disableAzAltMotors()':
src/Mount.cpp:2099:18: error: 'AZ_EN_PIN' was not declared in this scope
digitalWrite(AZ_EN_PIN, HIGH); // Logic HIGH to disable driver
^~~~~~~~~
2026-01-10 08:48:42,361:ERROR:src/Mount.cpp:2099:18: note: suggested alternative: 'RA_EN_PIN'
digitalWrite(AZ_EN_PIN, HIGH); // Logic HIGH to disable driver
^~~~~~~~~
2026-01-10 08:48:42,361:ERROR: RA_EN_PIN
src/Mount.cpp:2105:18: error: 'ALT_EN_PIN' was not declared in this scope
digitalWrite(ALT_EN_PIN, HIGH); // Logic HIGH to disable driver
^~~~~~~~~~
2026-01-10 08:48:42,365:ERROR:src/Mount.cpp:2105:18: note: suggested alternative: 'DEC_EN_PIN'
2026-01-10 08:48:42,365:ERROR: digitalWrite(ALT_EN_PIN, HIGH); // Logic HIGH to disable driver
^~~~~~~~~~
DEC_EN_PIN
src/Mount.cpp: In member function 'void Mount::enableAzMotor()':
src/Mount.cpp:2118:18: error: 'AZ_EN_PIN' was not declared in this scope
digitalWrite(AZ_EN_PIN, LOW); // Logic LOW to enable driver
^~~~~~~~~
2026-01-10 08:48:42,367:ERROR:src/Mount.cpp:2118:18: note: suggested alternative: 'RA_EN_PIN'
2026-01-10 08:48:42,367:ERROR: digitalWrite(AZ_EN_PIN, LOW); // Logic LOW to enable driver
^~~~~~~~~
RA_EN_PIN
src/Mount.cpp: In member function 'void Mount::enableAltMotor()':
src/Mount.cpp:2125:18: error: 'ALT_EN_PIN' was not declared in this scope
digitalWrite(ALT_EN_PIN, LOW); // Logic LOW to enable driver
^~~~~~~~~~
2026-01-10 08:48:42,371:ERROR:src/Mount.cpp:2125:18: note: suggested alternative: 'DEC_EN_PIN'
digitalWrite(ALT_EN_PIN, LOW); // Logic LOW to enable driver
2026-01-10 08:48:42,371:ERROR: ^~~~~~~~~~
DEC_EN_PIN
2026-01-10 08:48:42,377:ERROR:*** [.pio\build\esp32\src\Sidereal.cpp.o] Error 1
2026-01-10 08:48:42,405:ERROR:*** [.pio\build\esp32\src\WifiControl.cpp.o] Error 1
2026-01-10 08:48:42,413:ERROR:*** [.pio\build\esp32\src\Utility.cpp.o] Error 1
2026-01-10 08:48:42,413:ERROR:*** [.pio\build\esp32\src\Mount.cpp.o] Error 1
2026-01-10 08:48:42,453:ERROR:*** [.pio\build\esp32\src\testmenu.cpp.o] Error 1
2026-01-10 08:48:42,801:ERROR:========================= [FAILED] Took 10.63 seconds =========================
2026-01-10 08:48:42,801:INFO:
2026-01-10 08:48:42,801:ERROR:Environment Status Duration
------------- -------- ------------
ramps IGNORED
mksgenlv21 IGNORED
mksgenlv2 IGNORED
mksgenlv1 IGNORED
esp32 FAILED 00:00:10.631
oaeboardv1 IGNORED
native IGNORED
2026-01-10 08:48:42,801:ERROR:==================== 1 failed, 0 succeeded in 00:00:10.631 ====================
2026-01-10 08:48:42,825:INFO:platformio build finished
2026-01-10 08:48:42,825:ERROR:Did not exit normally
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
Elenedeath commentedon Jan 10, 2026
if you got a lot of warning especially some warning like this "error: #error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver" i'm sure you dont select a board or you dont load the configuration before trying to compile the firmware.
check if you have a configuration_local.hpp when you try to compile if you dont have one, so you need to download one or add one to your folder.
peabrainadv commentedon Jan 10, 2026
i am unable to use build firmware button before i select board and load the config file
step 1 i donwload firmware version OAE
step 2 i selevt board and load config file
step 3 create firmware
julianneswinoga commentedon Jan 10, 2026
@peabrainadv Your
Configuration_local.hppprobably has problems, can you upload it here?peabrainadv commentedon Jan 11, 2026
here is the file
was created via website yesterday
Configuration_local(1).zip
peabrainadv commentedon Jan 11, 2026
will try and download everything again from scratch and see if that changes anything
peabrainadv commentedon Jan 11, 2026
with a fresh download i got this
Elenedeath commentedon Jan 12, 2026
dont use space in any folder, some apps like this one dont like it.
your first error try to search on "D:\2026" and not on "D:\2026 astro factory\OATFWGUI_2.1.0-release+0c5dc8_Windows.python_local"
and for your first error, i think you try to compile for a board but with a configuration_local.hpp doesnt made for it.
i explain the config made on the website, is only made for the "oae board v1", if i choose "oae board v1" on the OAT FirmWare GUI.
i can compile it without problem but if i choose "ESP32" i cant.
and your first log confirm what i explain "#error Selected PIO environment does not match this configuration "
so for compiling firmware for an esp32, it's better to use directly the source code on visual studio code.
the actual esp32 definition pins, missing some pin to be able to compile but is also normal because esp32 is a diy solution.
it's the reason why you got "#error Missing pin assignments for configured AZ DRIVER_TYPE_A4988_GENERIC or DRIVER_TYPE_TMC2209_STANDALONE driver"
you can also use this file pins_ESP32DEV.txt, i modify it to be able to compile on ESP32 but dont check if pinout is correct.
you need to rename it from .txt to .hpp and place it here "OATFWGUI_2.1.0-release+0c5dc8_Windows\OATFW\boards\ESP32_ESP32DEV"
peabrainadv commentedon Jan 12, 2026
i left everything as in the web tool to make and left it with the OAE board bt i still get errors
can i change the ESP 32 pinout later if i want
im considering making my own PCB as a learning experience soon.