platformio-core icon indicating copy to clipboard operation
platformio-core copied to clipboard

Automatically append -DPLATFORMIO to builder

Open ivankravets opened this issue 11 years ago • 4 comments

Add PLATFORMIO define to gcc builder which should be equal to platformio.__version__ in the INT format (4bytes): 1byte = major version 2byte = minor version 3byte = bug fixes number 4byte = dev/pre/post/alpha/beta and etc

Pack this information in MSB order.

ivankravets avatar Mar 03 '15 13:03 ivankravets

Hah, thanks for adding that. I had already put the same tag into all my own platformio.ini files ;)

aphelps avatar Mar 13 '15 17:03 aphelps

Why you haven't requested it earlier? :smile: Do you have any ideas/propositions as for 1.1.0 release?

ivankravets avatar Mar 13 '15 17:03 ivankravets

Didn't think about it, its been a couple of weeks since I've had time to work on the software as I've needed to update the boards I've been running on it. I'll contemplate new ideas, I should be back to software development this week.

aphelps avatar Mar 13 '15 23:03 aphelps

I'll contemplate new ideas, I should be back to software development this week.

Thanks! We will wait for them (ideas) :+1:

ivankravets avatar Mar 14 '15 10:03 ivankravets