On 17 June 2017 at 10:19, Bertho Stultiens <[email protected]> wrote:

> I agree that compiling arbitrary pieces of code may not be the primary
> goal of halcompile. OTOH, compiling /drivers/ may in fact be a valid use
> of halcompile, especially when running uspace.
>

In the specific case of hm2 you can't even begin to understand how to write
a driver without the full source tree anyway, and at that point you might
as well use "make" in the usual way.

The hm2 UART and BSPI interfaces do expose an interface that can be used by
halcompiled drivers written in .comp. Though I don't know if many people
do, and I rather wish I had chosen a different route.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to