-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
I'm not sure what's causing this, but PlatformIO running in the nix build process insists that it simply must download Simple FOC @ 2.3.4 itself, while in the nix sandbox. This, despite that exact version already showing up in my platformio2nix.lock, and
pio run by itself works fine:
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/raspberrypi/pico.html
PLATFORM: Raspberry Pi RP2040 (1.15.0) > Raspberry Pi Pico
HARDWARE: RP2040 133MHz, 264KB RAM, 2MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, jlink, raspberrypi-swd)
PACKAGES:
- framework-arduino-mbed @ 4.2.1
- tool-rp2040tools @ 1.0.2
- toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 43 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Simple FOC @ 2.3.4
Building in release mode
Checking size .pio/build/pico/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [== ] 15.9% (used 43028 bytes from 270336 bytes)
Flash: [ ] 0.2% (used 4598 bytes from 2097152 bytes)
And yet, nix build gives me:
> Running phase: buildPhase
> ********************************************************************************
> If you like PlatformIO, please:
> - star it on GitHub > https://github.com/platformio/platformio-core
> - follow us on LinkedIn to stay up-to-date on the latest project news > https://www.linkedin.com/company/platformio/
> - try PlatformIO IDE for embedded development > https://platformio.org/platformio-ide
> ********************************************************************************
>
> Processing pico (platform: raspberrypi; board: pico; framework: arduino)
> --------------------------------------------------------------------------------
> Library Manager: Installing askuric/Simple FOC @ ^2.3.4
> HTTPClientError:
For full logs, run 'nix log /nix/store/c85vwgpb7ckkp6qk6ncqx592gvj6iyyz-simplefoc-driveshield-atmega2560.drv'.
Reproducing
See the rp2040 branch of my test repo here. The platformio2nix.lock file output is located there, as is the full nix flake context.
Metadata
Metadata
Assignees
Labels
No labels