Skip to content

Buffered EEPROM functions are not compling in new core 2.0.0 #1443

Closed
@Vicky-S

Description

@Vicky-S

Desktop (please complete the following information):

  • OS: [e.g. Windows]
  • Arduino IDE version: [1.8.15]
  • STM32 core version: [ 2.0.0]
  • Tools menu settings if not the default: [e.g. Newlib Standard, No Serial]
  • Upload method: [e.g. SWD]

Board Name: STM32F411RE

The program was done in 1.9.0 and working well with that core but it fails to compile in the new core. The arduino gives the following error messages.

"EEPROM:79:3: error: 'eeprom_buffer_flush' was not declared in this scope
79 | eeprom_buffer_flush();
| ^~~~~~~~~~~~~~~~~~~
C:\Users\Admin\Downloads\WIM_5_Series_MCL_V1.4.4_9600 (2)\WIM_5_Series_MCL_V1.4.4_9600 (1)\WIM_5_Series_MCL_V1.4.4.4_Senlogic_Protocol\EEPROM.ino: In function 'void EEPROM_read()':
EEPROM:86:3: error: 'eeprom_buffer_fill' was not declared in this scope
86 | eeprom_buffer_fill();
| ^~~~~~~~~~~~~~~~~~
C:\Users\Admin\Downloads\WIM_5_Series_MCL_V1.4.4_9600 (2)\WIM_5_Series_MCL_V1.4.4_9600 (1)\WIM_5_Series_MCL_V1.4.4.4_Senlogic_Protocol\EEPROM.ino: In function 'void EEPROMWritelong(int, long int)':
EEPROM:163:3: error: 'eeprom_buffered_write_byte' was not declared in this scope
163 | eeprom_buffered_write_byte(address, four); delay(1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Admin\Downloads\WIM_5_Series_MCL_V1.4.4_9600 (2)\WIM_5_Series_MCL_V1.4.4_9600 (1)\WIM_5_Series_MCL_V1.4.4.4_Senlogic_Protocol\EEPROM.ino: In function 'void EEPROMWritefloat(long int, float)':
EEPROM:177:3: error: 'eeprom_buffered_write_byte' was not declared in this scope
177 | eeprom_buffered_write_byte(address, four); delay(1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Admin\Downloads\WIM_5_Series_MCL_V1.4.4_9600 (2)\WIM_5_Series_MCL_V1.4.4_9600 (1)\WIM_5_Series_MCL_V1.4.4.4_Senlogic_Protocol\EEPROM.ino: In function 'long int EEPROMReadlong(long int)':
EEPROM:185:16: error: 'eeprom_buffered_read_byte' was not declared in this scope
185 | byte four = eeprom_buffered_read_byte(address);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Admin\Downloads\WIM_5_Series_MCL_V1.4.4_9600 (2)\WIM_5_Series_MCL_V1.4.4_9600 (1)\WIM_5_Series_MCL_V1.4.4.4_Senlogic_Protocol\EEPROM.ino: In function 'float EEPROMReadfloat(long int)':
EEPROM:195:16: error: 'eeprom_buffered_read_byte' was not declared in this scope
195 | long four = eeprom_buffered_read_byte(address);"

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions