"adafruit-nrfutil": executable file not found in $PATH

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
matsujirushi
 
Posts: 2
Joined: Sun Sep 17, 2023 7:58 pm

"adafruit-nrfutil": executable file not found in $PATH

Post by matsujirushi »

Hi,
I am enjoying Adafruit's amazing products.

I would like to automatically compile Adafruit Feather nRF52840 Express using GitHub Actions, but the following error occurs.

GitHub Actions yml file ... https://github.com/matsujirushi/compile ... sketch.yml
Log ... https://github.com/matsujirushi/compile ... 6870519031

Code: Select all

  Used platform  Version Path                                                          
  adafruit:nrf52 1.5.0   /home/runner/.arduino15/packages/adafruit/hardware/nrf52/1.5.0
  Error during build: exec: "adafruit-nrfutil": executable file not found in $PATH
Does anyone know of a workaround?

User avatar
dastels
 
Posts: 16871
Joined: Tue Oct 20, 2015 3:22 pm

Re: "adafruit-nrfutil": executable file not found in $PATH

Post by dastels »

Whatever directory adafruit-nrfutil is in has to be added to your path, or adafruit-nrfutil has to be moved to a directory in $PATH. See https://en.wikipedia.org/wiki/PATH_(variable).

Dave

User avatar
matsujirushi
 
Posts: 2
Joined: Sun Sep 17, 2023 7:58 pm

Re: "adafruit-nrfutil": executable file not found in $PATH

Post by matsujirushi »

Solved.
Added "pip3 install adafruit-nrfutil" to yml.

Code: Select all

      - name: Install adafruit-nrfutil
        run: |
          pip3 install adafruit-nrfutil

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”