Re: override alias in test application
Hello,toggle quoted messageShow quoted text
There's no need to open an issue.
The alias should be named eeprom-0 in a DTS file,
eeprom-0 = ...;
but needs to be eeprom_0 (i.e. "lowercase-and-underscores" form) in C,
because "-" is not part of a valid C identifier.
For details, please see the DT_ALIAS documentation:
"Convert non-alphanumeric characters in the alias property to
underscores to form valid C tokens, and lowercase all letters."
Please see also this section in the troubleshooting section in the
Stefano Manni <email@example.com> writes: