You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling 2.0.5-bugfix - 8b637e4 for the board BTT_SKR_MINI_E3_V2_0
I get the following error:
Marlin\src\HAL\STM32F1\eeprom.cpp: In static member function 'static bool PersistentStore::write_data(int&, const uint8_t*, size_t, uint16_t*)':
Marlin\src\HAL\STM32F1\eeprom.cpp:49:14: error: 'eeprom_read_byte' was not declared in this scope
if (v != eeprom_read_byte(p)) {
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom_flash.cpp.o
^~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\eeprom.cpp:49:14: note: suggested alternative: 'pgm_read_byte'
if (v != eeprom_read_byte(p)) {
^~~~~~~~~~~~~~~~
pgm_read_byte
Marlin\src\HAL\STM32F1\eeprom.cpp:50:7: error: 'eeprom_write_byte' was not declared in this scope
eeprom_write_byte(p, v);
^~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\eeprom.cpp:50:7: note: suggested alternative: 'gpio_write_bit'
eeprom_write_byte(p, v);
^~~~~~~~~~~~~~~~~
gpio_write_bit
Marlin\src\HAL\STM32F1\eeprom.cpp: In static member function 'static bool PersistentStore::read_data(int&, uint8_t*, size_t, uint16_t*, bool)':
Marlin\src\HAL\STM32F1\eeprom.cpp:65:17: error: 'eeprom_read_byte' was not declared in this scope
uint8_t c = eeprom_read_byte((uint8_t*)pos);
^~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\eeprom.cpp:65:17: note: suggested alternative: 'pgm_read_byte'
uint8_t c = eeprom_read_byte((uint8_t*)pos);
^~~~~~~~~~~~~~~~
pgm_read_byte
Marlin\src\HAL\STM32F1\eeprom.cpp: In static member function 'static size_t PersistentStore::capacity()':
Marlin\src\HAL\STM32F1\eeprom.cpp:74:45: error: 'E2END' was not declared in this scope
size_t PersistentStore::capacity() { return E2END + 1; }
^~~~~
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom.cpp.o] Error 1
This file is not found in the official release of BTT, so I suspect that this file causes some issues with my configuration.
I just tried building your configs linked above & the SKR Mini E3 V2 configs from the Marlin Configurations repo using the latest bugfix-2.0.x and they both build without errors.
Bug Description
When compiling 2.0.5-bugfix - 8b637e4 for the board BTT_SKR_MINI_E3_V2_0
I get the following error:
This file is not found in the official release of BTT, so I suspect that this file causes some issues with my configuration.
My Configurations
https://www.dropbox.com/s/fn3nsenb4cl8de3/Marlin.zip?dl=0
Steps to Reproduce
Compile in PlatformIO
Expected behavior: [What you expect to happen]
A successful compilation
Actual behavior: [What actually happens]
Error during compilation
Additional Information
The text was updated successfully, but these errors were encountered: