2.1.0-RC3 RANGEFINDER=UNAVAILABLE
Robotto opened this issue · 11 comments
Robotto commented
Does not seem to work on.
INAV/KAKUTEF4V2 2.1.0 Feb 10 2019 / 16:13:09 (0d3d0ff30)
Is there a specific firmware where this is confirmed working?
Robotto commented
ohsnap, i didn't compile the firmware with the right config.
for future reference, I added the following to /src/main/target/KAKUTEF4/target.h:
#define USE_RANGEFINDER
#define RANGEFINDER_I2C_BUS BUS_I2C1
#define USE_RANGEFINDER_HCSR04_I2C
#define RANGEFINDER_HCSR04_I2C_I2C_INSTANCE (I2C_DEVICE)
and the following to /src/main/target/KAKUTEF4/target.mk:
drivers/rangefinder/rangefinder_hcsr04.c \
drivers/rangefinder/rangefinder_hcsr04_i2c.c \
Robotto commented
@Robotto where do you add that?
Here: #4 (comment)
ThijnLans commented
I Kown but where do you at the
/src/main/target/KAKUTEF4/target.h and the /src/main/target/KAKUTEF4/target.mk
?
Robotto commented
I'm sorry I don't understand the question.
Have you read the build guide? It's here:
https://github.com/iNavFlight/inav/wiki/Building-custom-firmware
…On Sat, 4 Jan 2020, 18.06 thijn1234, ***@***.***> wrote:
I Kown but where do you at the
/src/main/target/KAKUTEF4/target.h and the /src/main/target/KAKUTEF4/
target.mk
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AAERV6DSDLIZCZNJK43UZJ3Q4C6XPA5CNFSM4GZ77IBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIC34ZQ#issuecomment-570801766>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAERV6DGBFPA6Q6YJK4BCRDQ4C6XPANCNFSM4GZ77IBA>
.
ThijnLans commented
Robotto commented
Perhaps try 'make clean' before making?
…On Tue, 7 Jan 2020, 15.30 thijn1234, ***@***.***> wrote:
thanks for helping but I have a problem
[image: image]
<https://user-images.githubusercontent.com/48473867/71902556-9d124e00-3162-11ea-9b9b-3f27eb427c83.png>
do you have an answer?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AAERV6E5N5NEUOFW3QBPO43Q4SGZRA5CNFSM4GZ77IBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIJBKBY#issuecomment-571610375>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAERV6FMMH3BXSE2NGGLOLLQ4SGZRANCNFSM4GZ77IBA>
.
ThijnLans commented
no that won't work
Robotto commented
Okay.
It seems that the linker is acting up. Try manually deleting build output
files, and make sure you're on a branch that supports the kakutef7mini
target.
…On Tue, 7 Jan 2020, 16.56 thijn1234, ***@***.***> wrote:
no that won't work
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AAERV6HNV36SNIB276AQLBTQ4SQ27A5CNFSM4GZ77IBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIJKPEA#issuecomment-571647888>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAERV6DYKDQ3R7DGZLJWOZTQ4SQ27ANCNFSM4GZ77IBA>
.
Robotto commented
This discussion is turning into general troubleshooting.
May I suggest that you direct further questions to the inav group on
Telegram?
…On Tue, 7 Jan 2020, 16.58 Mark Moore, ***@***.***> wrote:
Okay.
It seems that the linker is acting up. Try manually deleting build output
files, and make sure you're on a branch that supports the kakutef7mini
target.
On Tue, 7 Jan 2020, 16.56 thijn1234, ***@***.***> wrote:
> no that won't work
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#4?email_source=notifications&email_token=AAERV6HNV36SNIB276AQLBTQ4SQ27A5CNFSM4GZ77IBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIJKPEA#issuecomment-571647888>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAERV6DYKDQ3R7DGZLJWOZTQ4SQ27ANCNFSM4GZ77IBA>
> .
>
Robotto commented
Now you fly.
…On Wed, 8 Jan 2020, 14.09 thijn1234, ***@***.***> wrote:
oke I flash the new firmware version but what now
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AAERV6CWDLZKKTS4ZNE63GDQ4XGCJA5CNFSM4GZ77IBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIMLEAA#issuecomment-572043776>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAERV6GKEBLGNIJ4IJAR5PLQ4XGCJANCNFSM4GZ77IBA>
.