AgriQL · Embedded · PlatformIO

Use AgriQLEdge with PlatformIO

Add the library to lib_deps. A small build script in the library reads the board's processor and float ABI and links the matching precompiled core.

[env:pico]
platform = raspberrypi
board = pico
framework = arduino
lib_deps = https://github.com/Agriculture-Service-of-Product-Farm/AgriQLEdge.git#v3.10.1

Build as usual:

pio run

The build prints the core it chose, for example AgriQLEdge: linking precompiled core src/cortex-m0plus.

Other boards

Boardplatformboard
Raspberry Pi Picoraspberrypipico
Arduino Nano 33 BLEnordicnrf52nano33ble
ESP32-C3 DevKitM-1espressif32esp32-c3-devkitm-1
STM32 Black Pill (F411)ststm32blackpill_f411ce
Arduino MKR WiFi 1010atmelsammkrwifi1010

The first three were built with PlatformIO for this guide. For a board with no matching core, the build stops and names the processor it found.

Use the Arduino framework. The PlatformIO registry entry (lib_deps = AgriQLEdge) appears once the library is published there; the Git URL above works now.