On Tue, Aug 20, 2019 at 1:19 PM Kumar Gala <kumar.gala@xxxxxxxxxx> wrote: > > Is there some operator/function we could define to be able to flag deprecated defines. > > For example with gcc we can do: > > #define __DEPRECATED_MACRO _Pragma("GCC warning \"Macro is deprecated\”") Defines use gcc preprocessor (and are invisible to dtc), so wouldn't this work already? > > So something like: > > clock-frequency = < /deprecate/ I2C_BITRATE_STANDARD 100000 >; Doesn't even look valid being 2 cells. Rob