Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Modular programming and debugging

2 posters

Go down  Message [Page 1 of 1]

1Modular programming and debugging Empty Modular programming and debugging Sat Oct 21, 2023 5:57 pm

tomas714



Hey,

is it possible to debug a AVR program in Simulide if it was written in modular way? I am attaching an example project. The whole project is composed from these files:

  • main.c - file with function main()
  • contol.h control.c - module for PWM initialization
  • ad9833.h ad9833.c - module for controlling the DA converter
  • spi.h spi.c - module for controlling SPI communication


The whole project is translated using Makefile.

Is it possible to debug a C program written in this way step by step in multiple files?
Thank you in advance for the answer.

Have a nice day.

2Modular programming and debugging Empty Re: Modular programming and debugging Sat Oct 21, 2023 7:27 pm

arcachofo

arcachofo

Is it possible to debug a C program written in this way step by step in multiple files?
Not posible yet, but this is planned.

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum