I’m facing a strange issue when I try to define a macro to something with an & in its value through platformio.ini build_flags.
For example, I want to define:
&roboto14, so the line looks like:
But when I try to compile the program, several errors are thrown, and it seems the value without the & is interpreted against the OS interpreter (giving
'roboto_14' is not recognized as an internal or external command, operable program or batch file. on Windows, and
sh: 1: roboto_14: not found on Ubuntu).
Is there a special way of defining macro values containing special characters like &? I’ve searched in the documentation, but I couldn’t find anything mentioning this.
I also opened an issue, but I’m starting to think I’m in cause for this error, if so I’ll close it with the explanation: https://github.com/platformio/platformio-core/issues/4396
Thanks in advance, have a good day.