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
| Board | platform | board |
|---|---|---|
| Raspberry Pi Pico | raspberrypi | pico |
| Arduino Nano 33 BLE | nordicnrf52 | nano33ble |
| ESP32-C3 DevKitM-1 | espressif32 | esp32-c3-devkitm-1 |
| STM32 Black Pill (F411) | ststm32 | blackpill_f411ce |
| Arduino MKR WiFi 1010 | atmelsam | mkrwifi1010 |
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.