You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add additional uart other than console. so what configuration is needed in code .
I want to use scif0 for that i have added uclass code in board_init function but not able to get any logs on that pins.
uclass code snipet:
if (uclass_get_device_by_name(UCLASS_SERIAL, "serial@e6e60000", &dev)) {
puts("serial not found");
}
down_serial_dev = dev;
ops = serial_get_ops(down_serial_dev);
ops->setbrg(down_serial_dev, 115200);
int err;
err = ops->putc(down_serial_dev,'a');
The text was updated successfully, but these errors were encountered:
I want to add additional uart other than console. so what configuration is needed in code .
I want to use scif0 for that i have added uclass code in board_init function but not able to get any logs on that pins.
uclass code snipet:
if (uclass_get_device_by_name(UCLASS_SERIAL, "serial@e6e60000", &dev)) {
puts("serial not found");
}
down_serial_dev = dev;
ops = serial_get_ops(down_serial_dev);
ops->setbrg(down_serial_dev, 115200);
int err;
err = ops->putc(down_serial_dev,'a');
The text was updated successfully, but these errors were encountered: