1. I have been reading this:
2. Page 6 states that platform.txt exist in:
However I have found that inside mu PC; C:\Users\XXXX\AppData\Roaming\Arduino15 , there is no folder name packages. I have searched in hidden files also.
3. However I have found platform.txt file in:
Not sure if I have to edit in this. I have attached a copy.
4. There are three places where -Os is found, line 23,26 & 30.
So should I change at these 3 places only depending on requirement:
No optimization: -O0
speed optimization: -O3
size optimization: -Os
balance optimization: -O2