mkleemann / cmake-avr

cmake toolchain for AVR
Other
173 stars 61 forks source link

Add target debug (simavr, simulavr, avarice, etc) #15

Open icyd opened 6 years ago

icyd commented 6 years ago

First of all, thank you for this project, it's really nice.

Would like to ask if it's any development towards, a custom target that runs ie. simavr, and connect to it, without to running it on every compile. I find tedious to make && simavr -t ... & and in other window / tab avr-gdb file foo and inside gdb target remote localhost:port.

If there are none, I did a little modification in the code to do this automatically, and it could be modified to work with other ie. simulavr, avarice... I could pull request it for your review, if it's fine.

rvalle commented 5 years ago

I am trying to work a PR on this, but I just can't get avarice to work on Linux.

do you know how to make it work?

mkleemann commented 3 years ago

Ah, sorry I didn't reply that long. Had a lot of issues to deal with in the meantime.

I don't mind if you'll provide an PR, but I need to check into it deeper, which may take a while. I never worked with avarice, so no solution here - if it's still an issue.