Makefile missing destination file

tbaile

New member
I'm trying to run the install on the 8-Mosfets hat for Raspberry pi. When I try to install the Makefile it comes back with the following error:


install: missing destination file operand after 'Makefile'
Try 'install --help' for more information.


I have tried re-downloading the Makefile from Github and pasting in the code but nothing seems to allow the install to compile.
 

tbaile

New member
Because the link here: https://sequentmicrosystems.com/pages/eight-mosfets-downloads
takes me to this user guide which appears to have not been updated: https://cdn.shopify.com/s/files/1/0534/4392/0067/files/8-MOSFETS-UsersGuide.pdf?v=1643385353

I see where the instructions are correct on the "Quick Start Guide" on the webpage, but I downloaded and printed the PDF guide. I see now it is for 3.0.

My Hat is a 4.0 model

I tried both the old and new repository, and both returned the same:
[Compile] src/mosfet.c
[Compile] src/comm.c
[Compile] src/thread.c
[Link]
[Install]
~/8mosind-rpi $
 

alexburcea

Moderator
Staff member
Did you enable the I2C communication? If you did not, open a terminal and run "sudo raspi-config" and go to the Interface options.
 

alexburcea

Moderator
Staff member
I am assuming the card is connected to the 40-pin connector and secured with the provided standoffs.
Please open a terminal and run "i2cdetect -y 1" and share the output.
 

tbaile

New member
This is what was returned:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- 28 -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
 

tbaile

New member
8mosind -list returns "0 board(s) detected"

I am trying to understand this better. The 8mosind command doesn't list any boards. but the i2cdetect command has an address assigned to the card.

How can I get the software to recognize the card so I can utilize the 8mosind commands to test the setup?
 
Top