I am working on an open source project which however connects to some private cloud service.
I want the DSN string for the service (mqtt) to be “added” at build time, so my code on github doesn’t expose any credentials. Any idea how to achieve this?
Also, I see that even when working on arduino, I am not handling a .ino file anymore but a .cpp one. Can I use regular cpp syntax in platformio or am I still constrained to the C-like arduino language?