Today i created a new template, i copied the firmware setting that the console displays right after the template is created.
Pasted it on to my code.
Compiled. And i got an error saying TEMPLATE _NAME not defined!!!
It seems that, on the console they have made an update -
DEVICE_NAME to TEMPLATE _NAME .
But on our code/examples it is still DEVICE _NAME.
So once pasting the template name and device name aka template name, change it back to device name to compile the code successfully.