Fstorage with usbd_HID_composite what to do with softdevice

Good day all.

Im finding my self working in a circle and not quite sure how to go about this.  My USBD_HID device code  with my  Neopixel lib work well together. I now need to store a number using Fstorage. My problem is that Fstorage uses Softdevice and the USBD_HID code does not. I have tried building my HID code around the Fstorage example and visa versa but because of ifdef statements around the include Softdevice I keep getting undeclared variables.

Is there an easier way to save an int to flash without having the softdevice incorporated. 

Related