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');
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');