Re: [Emc-users] BSPI man pages reference in documentation for mesa and hostmot2

2022-01-26 Thread andy pugh
On Wed, 26 Jan 2022 at 23:36, John Figie  wrote:

> *3) in the 7i65 component there are some lines that refer to RTAPI but in
> my case I am planning on using the PREEMPT RT enabled kernel. Does the
> component work with either?*

The RTAPI is a wrapper that supplies a uniform interface (API) for all
supported Realtime (RT) systems.

So the same RTAPI functions work for RTAI (kernel and uspace[1]),
Preempt-RT (uspace)  and Xenomai.

[1] Yes, you can compile uspace with an RTAI kernel, but I can think
of few reasons to do so

-- 
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, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] BSPI man pages reference in documentation for mesa and hostmot2

2022-01-26 Thread andy pugh
On Wed, 26 Jan 2022 at 23:36, John Figie  wrote:

> *1) what must I do to see these bspi man pages?*

Wel, they _should_ show up here at the bottom under "Hostmot2 API Calls"
https://linuxcnc.org/docs/2.8/html/
But they don't. Oddly.
They do appear in the old docs.
https://linuxcnc.org/docs/2.7/html/

It looks like the man pages are not being built. I hadn't noticed.

Not entirely legible versions (ie, groff/troff source) appear here:
https://github.com/LinuxCNC/linuxcnc/tree/master/docs/man/man3

-- 
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, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] BSPI man pages reference in documentation for mesa and hostmot2

2022-01-26 Thread John Figie
In the documentation for BSPI at
http://linuxcnc.org/docs/2.8/html/man/man9/hostmot2.9.html#BSPI there is a
reference to some man pages like man mesa_7i65, which prints the man page
when I issue the command for it,
But the documentation also refers to some other man pages for the the
following: man hm2_bspi_setup_chan, man hm2_bspi_write_chan, man
hm2_tram_add_bspi_frame, man hm2_allocate_bspi_tram, man
hm2_bspi_set_read_funtion and man hm2_bspi_set_write_function for the
exported functions.

I see that these functions are called in the Mesa 7i65 component that Andy
Pugh sent me a while back
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa_7i65.comp

My questions follow:

*1) what must I do to see these bspi man pages?*
*2) what does "exported function" mean in the context above?*
*3) in the 7i65 component there are some lines that refer to RTAPI but in
my case I am planning on using the PREEMPT RT enabled kernel. Does the
component work with either?*

My goal is to create a sub driver component to send and receive data via
one or 2 of the SPI channels that are available for one of the FPGA bit
files such as 7i80hd_25_svsp8_6_7i46.bit

I have asked about this in the past, but now I am really  ready to make
things work. I have hardware in hand.

Regards,

John Figie

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users