View previous topic :: View next topic |
Author |
Message |
john7
Joined: 22 Nov 2006 Posts: 124
|
Posted: Mon Jun 10, 2013 6:28 am Post subject: Managing a large project |
|
|
As a project grows larger it would be nice to handle it by dividing to logical modules, like in C - uart.c/uart.h and so on.
What is suggested method in BASCOM or it is hard to implement?
(BASCOM-AVR version : 2.0.7.6 ) |
|
Back to top |
|
|
MAK3
Joined: 24 Sep 2010 Posts: 449 Location: Germany
|
Posted: Mon Jun 10, 2013 8:06 am Post subject: |
|
|
Hi,
you can use *.inc files to separate the different functions.
You also can combine it with Conditional compilation directives intended for conditional compilation.
Beside that you can use the Code Explorer.
See picture
MAK3 |
|
Back to top |
|
|
john7
Joined: 22 Nov 2006 Posts: 124
|
Posted: Mon Jun 10, 2013 8:38 am Post subject: |
|
|
Thanks a lot. Looks good.
|
|
Back to top |
|
|
Paulvk
Joined: 28 Jul 2006 Posts: 1257 Location: SYDNEY
|
|
Back to top |
|
|
john7
Joined: 22 Nov 2006 Posts: 124
|
Posted: Mon Jun 10, 2013 10:54 am Post subject: |
|
|
Thank you Paulvk! Great example! |
|
Back to top |
|
|
Madf
Joined: 13 Nov 2011 Posts: 179 Location: Moscow
|
Posted: Thu Jun 13, 2013 2:37 pm Post subject: |
|
|
MAK3, what kind of IDE use (code explorer)? |
|
Back to top |
|
|
Evert :-)
Joined: 18 Feb 2005 Posts: 2156
|
Posted: Thu Jun 13, 2013 3:00 pm Post subject: |
|
|
It's at the top of the image "Bascom Avr-ide 2.0.7.6"
You can find it under View -> code explorer. _________________ www.evertdekker.com Bascom code vault |
|
Back to top |
|
|
Madf
Joined: 13 Nov 2011 Posts: 179 Location: Moscow
|
Posted: Thu Jun 13, 2013 4:59 pm Post subject: |
|
|
Tried. I do not see this panel. |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Thu Jun 13, 2013 5:12 pm Post subject: |
|
|
Madf wrote: | Tried. I do not see this panel. |
Options --> Environment --> IDE --> Reset < |
|
Back to top |
|
|
Madf
Joined: 13 Nov 2011 Posts: 179 Location: Moscow
|
Posted: Thu Jun 13, 2013 5:37 pm Post subject: |
|
|
Thank you very much helped. |
|
Back to top |
|
|
|