Arduino IDE compilation with auto-incremental versioning

riker1:
I found differnt platform.txt file.

Which folder has it to be

The tricky thing is that each hardware core has its own platform.txt file. You need to modify the platform.txt that is associated with the board you have selected from the Tools > Board menu.

The easiest way to find the active hardware package location is as follows:

  • Select a board from the hardware package you want to find from the Tools > Board menu
  • File > Examples > SPI > BarometricPressureSensor (or any other SPI example sketch)
  • Sketch > Show Sketch Folder
  • Move up folder levels until you reach the one that contains platform.txt