Platform.local.txt not resolved in 2.0

Working on an existing project I had built with the arduino IDE 1.8.15 I was having some weird behaviors. I tracked this down to some variables stored in the platform.local.txt not being resolved in the arduino IDE 2.0.3. The sketch compiles for both IDE versions without issue but If I upload from 1.8.15, the properties are resolved from the platform.local.txt and they aren't when uploading from 2.0.3.

This is using the compiler.cpp.extra_flags option.

I couldn't find any new location where these files should reside that's different from the 1.8.15 version so I assume they would be reading the same file. Am I wrong with this assumption?

Currently resolving this file to the path:
c:\Users\<user>\AppData\Local\Arduino15\packages\arduino\hardware\<boardName>\<boardVersion>\

1 Like

I am also having issues with platform.local.txt failing to be resolved by the 2.0.3 version of the IDE. In my case what happens is a failure to compile.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.