-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
topic: documentationRelated to documentation for the projectRelated to documentation for the projecttype: enhancementProposed improvementProposed improvement
Description
It would be great if you could provide instructions about how to configure the Atmel-ICE when using an Arduino Mega. Probably it would make sense to add the configuration as default as well.
The excerpt shown below is from here and allows to debug the ATMega128 in VSCode. The launch.json
for the Arduino IDE 2.X should look quite similiar...
{
"version": "0.2.0",
"debugServer": 4710,
"configurations": [
{
"name": "atmel-debug",
"type": "atbackend",
"atbackendHost": "127.0.0.1",
"atbackendPort": 4712,
"request": "launch",
"program": "${workspaceRoot}/GccApplication2/Debug/GccApplication2.elf",
"tool": "com.atmel.avrdbg.tool.simulator",
"device": "ATmega128",
"launchAttached": true,
"launchSuspended": true,
"preserveEeprom": false,
"bootSegment": 2,
"cacheFlash": true,
"eraseRule": 0,
"useGdb": true,
"gdbLocation": "C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/avr-gdb.exe",
"progFlashFromRam": false,
"ramSnippetAddress": "0x20000000",
"packPath": "C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.0.106/Atmel.ATmega_DFP.pdsc"
}
]
}
jonathanmichel
Metadata
Metadata
Assignees
Labels
topic: documentationRelated to documentation for the projectRelated to documentation for the projecttype: enhancementProposed improvementProposed improvement