BriscoeTech / Arduino-FreeRTOS-SAMD21

A port of FreeRTOS that runs on Arduino Samd21 boards
63 stars 19 forks source link

Building with PlatformIO #24

Closed wz2b closed 3 years ago

wz2b commented 3 years ago

I am trying to build a project using this FreeRTOS library for an Adafruit Metro Express M0 board. I am getting an error I don't understand:

------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelsam/adafruit_feather_m0.html
PLATFORM: Atmel SAM (5.0.1) > Adafruit Feather M0
HARDWARE: SAMD21G18A 48MHz, 32KB RAM, 256KB Flash
DEBUG: Current (atmel-ice) External (atmel-ice, blackmagic, jlink)
PACKAGES:
 - framework-arduino-samd-adafruit 1.5.14
 - framework-cmsis 1.40500.0 (4.5.0)
 - framework-cmsis-atmel 1.2.0
 - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Error: No Libopencm3 device defined for FreeRTOS!

This should work, shouldn't it? Do you care what specific board we're on, as long as it's a SAMD21? What is this error telling me?

wz2b commented 3 years ago

This was from having multiple FreeRTOS occurrences in .pio/libdeps.