-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hello,
I've been trying to build the sfe-datalogger framework using Platformio and pioarduino-platforms for several days without success.
I plan to extend some of the datalogger firmware's features, such as step counters and event detection for the ISM330DHCX IMU.
But to do this, I need to be able to build the firmware first.
I'm copying some platformio.ini configurations I've used.
- PlatformIO+arduinoespressif32
[env:esp32thing_plus]
platform = espressif32
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32
board = esp32thing_plus
framework = arduino
monitor_speed = 115200
upload_speed = 460800
board_build.f_flash = 80000000L
board_build.flash_mode = dio
board_build.partitions = partitions.csv
board_upload.maximum_size = 3145728
board_upload.flash_size = 16MB
- PlatformIO+pioarduino-platform
[env:esp32thing_plus]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
board = esp32thing_plus
framework = arduino
monitor_speed = 115200
upload_speed = 460800
board_build.f_flash = 80000000L
board_build.flash_mode = dio
board_build.partitions = partitions.csv
board_upload.maximum_size = 3145728
board_upload.flash_size = 16MB
I built the SparkFun_Flux custom library using CMake as described, which was successful! I also included it in the lib folder of my platformio project.
The most common errors are associated with:
error: conflicting return type specified for 'virtual uint flxNTPESP32::get_epoch()'
error: 'HTTPClient' was not declared in this scope; did you mean 'HttpClient'?
error: 'http' was not declared in this scope
error: call of overloaded 'to_string(int)' is ambiguous
Do you have any ideas on what I'm doing wrong? Any suggestions?