Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which other repository to build? #1

Open
asca2 opened this issue Mar 19, 2021 · 5 comments
Open

Which other repository to build? #1

asca2 opened this issue Mar 19, 2021 · 5 comments

Comments

@asca2
Copy link

asca2 commented Mar 19, 2021

I would like to compile iccom and run it on my linux machine, but since the following header is not included in this repository, I understand that I need to merge and build an external repository. What should I use?

https://github.com/Bosch-SW/linux-iccom/blob/master/src/iccom.c
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/uaccess.h>
#include "../full_duplex_interface/full_duplex_interface.h"
#include "iccom.h"

A repository for this URL may have existed but cannot be found.
https://github.com/Bosch-SW/linux-full-duplex-sym-iface

Please describe the build procedure.

@Bosch-SW
Copy link
Owner

@asca2 thanks for raising the topic. We will try to upload this repo (which contains actually only one header file) asap (probably till the end of the day). Stay tuned!

@Bosch-SW
Copy link
Owner

@asca2 the repository was uploaded: Full-duplex-interface. For further build instructions hold on for a while: we'll try to update it soon.

Kind regards,
Artem Gulyaev

@Bosch-SW
Copy link
Owner

@asca2 , meanwhile note, that to actually run ICCom you need to provide it a full-duplex-transport interfaced device (like SymSPI), which will do the transport work itself. And if you mean to use your developer PC to run the pair ICCom + SymSPI you will have to provide an SPI device and 2 GPIO lines to the SymSPI - which is in general not available on generic desktop PCs (at least as a CPU accessible bus).

Most promising solution is to use the embedded platform which has SPI bus and GPIOs accessible from the CPU, like Arduino or BeagleBoneBlack there you will only need to build&configure the SymSPI + ICCom and they will run nicely. For the ordinary desktop PC you will have to write a full-duplex-interface device to run ICCom. If you will be OK with some transport mirror device, then probably I can help with this, hold on for a while.

Kind regards,
Artem Gulyaev

@Bosch-SW
Copy link
Owner

@asca2 a bit more patience please, the current task is scheduled. Stay tuned.

@Bosch-SW
Copy link
Owner

@asca2 the repository was uploaded (https://github.com/Bosch-SW/linux-full-duplex-interface), and the links to the repo in the readme were also updated.

The build procedure yet to be described. This is definitely something which is missing.

By the way, most promising way to build and use ICCom driver on x86 architecture, is to use the Full Duplex Distortive Mirror Driver as an SymSPI replacement. FDDM driver will mirror back any information it has to output to the line, simulating loopbacked SPI bus. So one will be capable to interact with the ICCom stack from Userland.

By the way, the Userland ICCom convenience wrapper library was uploaded also: https://github.com/Bosch-SW/libiccom
You might check what it provides for testing and development.

Kind Regards,
Artem Gulyaev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants