I don’t need that (yet?) but I’m curious about this setup.
I wonder why did you choose RampingIOS over the more-common Andruil. Do you simply like it more? Was it easier to port to this MCU for you? Any other reason?
ADDED: [Review] 77 Outdoors D25 Headlamp (18650) has some discussion. I’ll switch there.