On 22.03.24 16:10, Kinsey Moore wrote:
Putting these UART addresses in BSP options suggests that they're user-configurable when they aren't. ZynqMP can use the ZYNQMP_UART0/1 from bsps/include/peripheral_maps/xilinx_zynqmp.h, but Zynq would need its own peripheral map to reference.
This UART support is used by four BSP families. Currently a lot of copy and past is involved. Defining the two UART base addresses though a BSP option was the easiest approach I found to do this. I would remove the xilinx_zynqmp.h header file since normally you use the xparameters.h for your application depending on the system configuration.
-- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/ _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel