Skip to content

Platform IO + Arduino UNO : hw debug vs software emulation #5

Discussion options

You must be logged in to vote

It seems I have partially found the solution :

To simulate an AVR device, we need an external tool as SIMAVR to simulate as example an ATMEGA328 chip with platformio.
https://docs.platformio.org/en/latest/plus/debug-tools/simavr.html

To do it, just add the following line in the platformio.ini file :
debug_tool = simavr

UPDATED on 2022-03-28 :
by default, the avr-stub debug tool is used.
https://docs.platformio.org/en/latest/boards/atmelavr/uno.html](url)

Replies: 13 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@wassfila
Comment options

Comment options

You must be logged in to vote
1 reply
@wassfila
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@MantaRayDeeJay
Comment options

@wassfila
Comment options

Comment options

You must be logged in to vote
1 reply
@wassfila
Comment options

Comment options

You must be logged in to vote
1 reply
@wassfila
Comment options

Answer selected by wassfila
Comment options

You must be logged in to vote
2 replies
@wassfila
Comment options

@MantaRayDeeJay
Comment options

Comment options

You must be logged in to vote
1 reply
@MantaRayDeeJay
Comment options

Comment options

You must be logged in to vote
3 replies
@wassfila
Comment options

@MantaRayDeeJay
Comment options

@wassfila
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants