import xyz

class ArmToolchain(xyz.BuildProtocol):
    group_only = True
    pkg_name = 'arm-toolchain'
    deps = [('gcc', {'target': 'arm-none-eabi'}),
            ('binutils', {'target': 'arm-none-eabi'}),
            ('gdb', {'target': 'arm-none-eabi'})
            ]

rules = ArmToolchain

import xyz

class ArmToolchain(xyz.BuildProtocol):
    group_only = True
    pkg_name = 'arm-toolchain'
    deps = [('gcc', {'target': 'arm-none-eabi'}),
            ('binutils', {'target': 'arm-none-eabi'}),
            ('gdb', {'target': 'arm-none-eabi'}),
            ('stlink', {})
            ]

rules = ArmToolchain

Add stlink package to arm toolchain
Add stlink package to arm toolchain

  import xyz
  
  class ArmToolchain(xyz.BuildProtocol):
      group_only = True
      pkg_name = 'arm-toolchain'
      deps = [('gcc', {'target': 'arm-none-eabi'}),
              ('binutils', {'target': 'arm-none-eabi'}),
-             ('gdb', {'target': 'arm-none-eabi'})
+             ('gdb', {'target': 'arm-none-eabi'}),
+             ('stlink', {})
              ]
  
  rules = ArmToolchain
  
Add stlink package to arm toolchain
## Code Before:
import xyz

class ArmToolchain(xyz.BuildProtocol):
    group_only = True
    pkg_name = 'arm-toolchain'
    deps = [('gcc', {'target': 'arm-none-eabi'}),
            ('binutils', {'target': 'arm-none-eabi'}),
            ('gdb', {'target': 'arm-none-eabi'})
            ]

rules = ArmToolchain

## Instruction:
Add stlink package to arm toolchain
## Code After:
import xyz

class ArmToolchain(xyz.BuildProtocol):
    group_only = True
    pkg_name = 'arm-toolchain'
    deps = [('gcc', {'target': 'arm-none-eabi'}),
            ('binutils', {'target': 'arm-none-eabi'}),
            ('gdb', {'target': 'arm-none-eabi'}),
            ('stlink', {})
            ]

rules = ArmToolchain
