platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
136 stars 104 forks source link

DOCS: Invalid Parameters. #315

Closed satiowadahc closed 1 year ago

satiowadahc commented 1 year ago

https://docs.platformio.org/en/latest/plus/debug-tools/atmel-ice.html

This page shows:

upload_protocol = atmel-ice

Where it should be one of:

  atmelice           = Atmel-ICE (ARM/AVR) in JTAG mode
  atmelice_dw        = Atmel-ICE (ARM/AVR) in debugWIRE mode
  atmelice_isp       = Atmel-ICE (ARM/AVR) in ISP mode
  atmelice_pdi       = Atmel-ICE (ARM/AVR) in PDI mode
  atmelice_tpi       = Atmel-ICE (ARM/AVR) in TPI mode
  atmelice_updi      = Atmel-ICE (ARM/AVR) in UPDI mode

Github won't let me make a PR.

valeros commented 1 year ago

Hi @satiowadahc, this atmel-ice option is described in the Debugging section and meant to be used with the OpenOCD debug server. The name of this this debug probe used in the AVRDUDE package has nothing to do with debugging.