Since error() is now weak, it can be overridden on any target, regardless of whether or not DEVICE_STDIO_MESSAGES is enabled.