|
5 | 5 | # https://arduino.github.io/arduino-cli/latest/platform-specification/ |
6 | 6 |
|
7 | 7 | name=Atmel AVR Xplained-minis (Debug enabled) |
8 | | -version=0.9.3 |
| 8 | +version=0.9.5 |
9 | 9 |
|
10 | 10 | # AVR compile variables |
11 | 11 | # --------------------- |
@@ -168,18 +168,20 @@ debug.toolchain.path={runtime.tools.avrocd-tools.path} |
168 | 168 | debug.server=openocd |
169 | 169 | debug.server.openocd.path={debug.toolchain.path}/pyavrocd |
170 | 170 | #next doesn't matter, but should be specified so that cortex-debug is happy |
171 | | -debug.server.openocd.script=doesnotmatter |
| 171 | +debug.server.openocd.script=nix |
172 | 172 | debug.cortex-debug.custom.gdbPath={debug.toolchain.path}/avr-gdb |
173 | 173 | debug.cortex-debug.custom.overrideGDBServerStartedRegex=Listening on port \d+ for gdb connection |
174 | 174 | debug.cortex-debug.custom.objdumpPath={runtime.tools.avr-gcc.path}/bin/avr-objdump |
175 | | -debug.cortex-debug.custom.serverArgs.0=-s |
176 | | -debug.cortex-debug.custom.serverArgs.1=noop |
| 175 | +debug.cortex-debug.custom.serverArgs.0=-F |
| 176 | +debug.cortex-debug.custom.serverArgs.1={build.f_cpu} |
177 | 177 | debug.cortex-debug.custom.serverArgs.2=-d |
178 | 178 | debug.cortex-debug.custom.serverArgs.3={build.mcu} |
179 | | -debug.cortex-debug.custom.serverArgs.4=--atexit |
180 | | -debug.cortex-debug.custom.serverArgs.5=leavedebugwire |
181 | | -debug.cortex-debug.custom.serverArgs.6=--manage |
| 179 | +debug.cortex-debug.custom.serverArgs.4=-s |
| 180 | +debug.cortex-debug.custom.serverArgs.5=nop |
| 181 | +debug.cortex-debug.custom.serverArgs.6=-m |
182 | 182 | debug.cortex-debug.custom.serverArgs.7=all |
| 183 | +debug.cortex-debug.custom.serverArgs.8=--atexit |
| 184 | +debug.cortex-debug.custom.serverArgs.9=leavedebugwire |
183 | 185 | debug.cortex-debug.custom.preLaunchCommands.0=monitor debugwire enable |
184 | 186 | debug.cortex-debug.custom.runToEntryPoint=main |
185 | 187 | debug.svd_file={debug.toolchain.path}/pyavrocd-util/svd/{build.mcu}.svd |
0 commit comments