I didn't quite realise I needed to #include sdkconfig.h I thought they were injected as -D flags for ... no reason really