On 18/11/2019 16:22, [email protected] wrote:
Hello,

Sorry for the confusion. I want to include the device driver as part of bsp and 
not an application. I am creating a custom bsp. I have already successfully 
added gpio driver to my custom bsp. All the files for gpio were written in C. 
But for this new device driver is written in cpp. When I try to add it, the 
compiler fails to compile it. In fact, no compiler is called to compile this 
cpp file.

If you want to keep this BSP private, then I would just write a minimum size BSP in C, e.g. system initialization, clock and console driver. Everything else I would do in application-specific libraries.

If you want to submit this BSP at some time, then we should discuss more thoroughly what you have in mind.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : [email protected]
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users

Reply via email to