error: 'esp_spiram_get_size' was not declared in this scope
Posted: Wed Jan 04, 2023 5:33 am
Trying to setup a Freematics One+ for use with traccar and getting this error when attempting to build with Arduino Builder.
Build Target: ESP32 (MCU: esp32 @ 240Mhz)
Library path: hardware/arduino/esp32/libraries/SPI/src
Library path: hardware/arduino/esp32/libraries/FS/src
Library path: hardware/arduino/esp32/libraries/SD/src
Library path: hardware/arduino/esp32/libraries/SPIFFS/src
Library path: C:\Users\user\Documents\Freematics-master\Freematics-master/libraries/httpd
Library path: C:\Users\user\Documents\Freematics-master\Freematics-master/libraries/FreematicsPlus
Library path: hardware/arduino/esp32/libraries/WiFi/src
Referenced libraries: [SPI] [FS] [SD] [SPIFFS] [httpd] [FreematicsPlus] [WiFi]
[Sketch]
Compiling datalogger.ino.cpp...
C:\Users\user\AppData\Local\Temp/ArduinoBuilder/datalogger.ino.cpp: In function 'void showSysInfo()':
C:\Users\user\AppData\Local\Temp/ArduinoBuilder/datalogger.ino.cpp:727:36: error: 'esp_spiram_get_size' was not declared in this scope
Error compiling source code.
Build Target: ESP32 (MCU: esp32 @ 240Mhz)
Library path: hardware/arduino/esp32/libraries/SPI/src
Library path: hardware/arduino/esp32/libraries/FS/src
Library path: hardware/arduino/esp32/libraries/SD/src
Library path: hardware/arduino/esp32/libraries/SPIFFS/src
Library path: C:\Users\user\Documents\Freematics-master\Freematics-master/libraries/httpd
Library path: C:\Users\user\Documents\Freematics-master\Freematics-master/libraries/FreematicsPlus
Library path: hardware/arduino/esp32/libraries/WiFi/src
Referenced libraries: [SPI] [FS] [SD] [SPIFFS] [httpd] [FreematicsPlus] [WiFi]
[Sketch]
Compiling datalogger.ino.cpp...
C:\Users\user\AppData\Local\Temp/ArduinoBuilder/datalogger.ino.cpp: In function 'void showSysInfo()':
C:\Users\user\AppData\Local\Temp/ArduinoBuilder/datalogger.ino.cpp:727:36: error: 'esp_spiram_get_size' was not declared in this scope
Error compiling source code.