Closed oldhaapi closed 1 year ago
The flatpak environment is a sandbox, meaning that it wont detect binaries in your host, in this case adafruit-nrfutil
. If you could provide me with a tldr of what does this do, we can add the binary to the flatpak.
Hello,
For this particular board, Adafruit Feather nRF52832, the adafruit-nrfutil is a Python3 utility invoked to flash the device. I'm not sure what is so magic about this device that this is needed vs other methods. It converts hex files to DFU format and flashes that, I guess.
The relevant package I had been using with Fedora 34 is: https://github.com/adafruit/Adafruit_nRF52_nrfutil which looks to be available from PyPi, which I hope makes it a light lift for you.
Thanks so much for looking into this.
Regards,
Clay Haapala @.***>
On Wed, Nov 3, 2021 at 3:59 PM Maximiliano @.***> wrote:
The flatpak environment is a sandbox, meaning that it wont detect binaries in your host, in this case adafruit-nrfutil. If you could provide me with a tldr of what does this do, we can add the binary to the flatpak.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flathub/cc.arduino.arduinoide/issues/36#issuecomment-960050964, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLMGFZHDRUE3PR47MIJTYDUKGPCLANCNFSM5HHRL2TA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Clay Haapala @.***> "No one thought to ask. It was a sentence on the Internet. Everything checked out." -- Alex Pareene
Installed the Arduino IDE Flatpak on Fedora 35. It immediately found my project and sketches from before the upgrade to Fedora 35, so that's great. The flashing step for the Adafruit Feather nRF52832 is to invoke adafruit-nrfutil, which now resides outside the flatpak environment and is not found, the familiar error:
exec: "adafruit-nrfutil": executable file not found in $PATH
Manually flashing outside of the IDE is acceptable if the compiled sketch (hex?) file is available, but is there something I am missing to use or integrate adafruit-nrfutil within this flatpak IDE?
Thanks