Re: Adafruit Trinket M0: west flash > How to? #flash #west


William Fish
 

Not completely sure i understand your question but hopefully this will help.

Step 3: west flash
This builds your application then flash your device.

So steps to flash your application are:
Step 1: Identify port

Find port on Linux
  1. Open terminal and type: ls /dev/tty*.

  2. Note the port number listed for /dev/ttyUSB* or /dev/ttyACM*. The port number is represented with * here.

  3. Use the listed port as the serial port. For example: /dev/ttyUSB0.

Step 2: Update the standard config file
This is defined at 'scripts/west_commands/runners/bossac.py' as 
DEFAULT_BOSSAC_PORT = '/dev/ttyACM0'.
Update the port identified in Step 1

Step 3: Build and Flash Board
Run West Flash

If configured correctly West will build and write application to board.

Billy..
 

Join users@lists.zephyrproject.org to automatically receive all group messages.