Number of compilation

Post your requests and ideas on the future development of mikroPascal PRO for AVR.
Post Reply
Author
Message
stefkpl
Posts: 26
Joined: 21 Jan 2009 15:57

Number of compilation

#1 Post by stefkpl » 04 Mar 2010 16:14

Hi
If it's possible to add the number of the compilation in constant.
Like that, we can know the version of our firmware automaticaly.
Thanks

Stéf

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: Number of compilation

#2 Post by tihomir.losic » 05 Mar 2010 14:08

Hello,

please, can you give me more details about your question?

Thanks.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

stefkpl
Posts: 26
Joined: 21 Jan 2009 15:57

Re: Number of compilation

#3 Post by stefkpl » 05 Mar 2010 14:47

You can have a constant of compilation like MPAS_COMPIL_NUMB .
To each new compilation, it's automaticaly incremented.
Like that, into our code, we can know what is the build number's of my firmware.
If I use a LCD or RS232 liaison, it's can be integrate in the code.

Code: Select all

          LCD_Out(1,1,'Firmware 1.1.'+ IntToStr(MPAS_COMPIL_NUMB);
Regards

stéf

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: Number of compilation

#4 Post by tihomir.losic » 08 Mar 2010 17:11

Hello,

I will pass your suggestion to our developers, in order to consider it.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

Post Reply

Return to “mikroPascal PRO for AVR Wish List”