inav icon indicating copy to clipboard operation
inav copied to clipboard

JHEMCU F7 - support !

Open yo8aiv opened this issue 7 years ago • 186 comments

Hi . i don't know if this is the right way to ask for new FC to be supported.

its called JHEMCU F7 target in BF is JHEF7DUAL. this board could be of better use in iNav than BF since it has so many uart's. more info https://github.com/betaflight/betaflight/issues/8605 https://github.com/betaflight/betaflight/pull/7398

Thanks.

yo8aiv avatar Aug 10 '19 19:08 yo8aiv

Issue-Label Bot is automatically applying the label Feature request to this issue, with a confidence of 0.91. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Aug 10 '19 19:08 issue-label-bot[bot]

@yo8aiv see https://github.com/iNavFlight/inav/blob/master/docs/policies/NEW_HARDWARE_POLICY.md

digitalentity avatar Aug 10 '19 19:08 digitalentity

Hello @atgfpeyv could you kindly provide this FC to inav developers?

marianomd avatar Aug 11 '19 06:08 marianomd

Hi, are there guidelines to port fc support from betaflight to inav? Is it too different? I'm considering buying it and maybe I can help. Some guides to get up and running a development environment/sdk/ide? Thanks

marianomd avatar Aug 30 '19 00:08 marianomd

@marianomd Best to start with a similar F7 dual FC target in INAV then use the Betaflight taeget for the FC to add to make the appropriate changes. Then testing each UART, I2C, buzzer, LED, etc. (which is why having the FC in-hand is really required).

Anyway look in Betaflight for a similar FC and start there.

teckel12 avatar Aug 30 '19 01:08 teckel12

Thank you Tim, great advise!

El jue., 29 de ago. de 2019 22:46, Tim Eckel [email protected] escribió:

@marianomd https://github.com/marianomd Best to start with a similar F7 dual FC target in INAV then use the Betaflight taeget for the FC to add to make the appropriate changes. Then testing each UART, I2C, buzzer, LED, etc. (which is why having the FC in-hand is really required).

Anyway look in Betaflight for a similar FC and start there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/5002?email_source=notifications&email_token=AACDELKXRTXNFSUSMF5WHKTQHB3YTA5CNFSM4IK2E5NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QJHHA#issuecomment-526422940, or mute the thread https://github.com/notifications/unsubscribe-auth/AACDELKOOAJ6GRIXKP2IVS3QHB3YTANCNFSM4IK2E5NA .

marianomd avatar Aug 30 '19 02:08 marianomd

`dump

version

Betaflight / JHEF7DUAL (JH7D) 4.0.6 Sep 1 2019 / 00:43:08 (2a64051a2) MSP API: 1.41

start the command batch

batch start

board_name JHEF7DUAL manufacturer_id

name

name -

resources

resource BEEPER 1 C15 resource MOTOR 1 B00 resource MOTOR 2 B01 resource MOTOR 3 B04 resource MOTOR 4 B03 resource MOTOR 5 C09 resource MOTOR 6 C08 resource MOTOR 7 NONE resource MOTOR 8 NONE resource SERVO 1 NONE resource SERVO 2 NONE resource SERVO 3 NONE resource SERVO 4 NONE resource SERVO 5 NONE resource SERVO 6 NONE resource SERVO 7 NONE resource SERVO 8 NONE resource PPM 1 A03 resource PWM 1 NONE resource PWM 2 NONE resource PWM 3 NONE resource PWM 4 NONE resource PWM 5 NONE resource PWM 6 NONE resource PWM 7 NONE resource PWM 8 NONE resource LED_STRIP 1 A08 resource SERIAL_TX 1 A09 resource SERIAL_TX 2 A02 resource SERIAL_TX 3 B10 resource SERIAL_TX 4 A00 resource SERIAL_TX 5 C12 resource SERIAL_TX 6 C06 resource SERIAL_TX 7 NONE resource SERIAL_TX 8 NONE resource SERIAL_TX 9 NONE resource SERIAL_TX 10 NONE resource SERIAL_RX 1 A10 resource SERIAL_RX 2 A03 resource SERIAL_RX 3 B11 resource SERIAL_RX 4 A01 resource SERIAL_RX 5 D02 resource SERIAL_RX 6 C07 resource SERIAL_RX 7 NONE resource SERIAL_RX 8 NONE resource SERIAL_RX 9 NONE resource SERIAL_RX 10 NONE resource I2C_SCL 1 B06 resource I2C_SCL 2 NONE resource I2C_SCL 3 NONE resource I2C_SCL 4 NONE resource I2C_SDA 1 B07 resource I2C_SDA 2 NONE resource I2C_SDA 3 NONE resource I2C_SDA 4 NONE resource LED 1 A15 resource LED 2 NONE resource LED 3 NONE resource RX_BIND 1 NONE resource RX_BIND_PLUG 1 NONE resource SPI_SCK 1 A05 resource SPI_SCK 2 B13 resource SPI_SCK 3 C10 resource SPI_SCK 4 NONE resource SPI_MISO 1 A06 resource SPI_MISO 2 B14 resource SPI_MISO 3 C11 resource SPI_MISO 4 NONE resource SPI_MOSI 1 A07 resource SPI_MOSI 2 B15 resource SPI_MOSI 3 B05 resource SPI_MOSI 4 NONE resource CAMERA_CONTROL 1 B08 resource ADC_BATT 1 C02 resource ADC_RSSI 1 C00 resource ADC_CURR 1 C01 resource ADC_EXT 1 NONE resource BARO_CS 1 NONE resource PINIO 1 C14 resource PINIO 2 B09 resource PINIO 3 NONE resource PINIO 4 NONE resource USB_MSC_PIN 1 NONE resource FLASH_CS 1 C13 resource OSD_CS 1 B12 resource GYRO_EXTI 1 C04 resource GYRO_EXTI 2 C03 resource GYRO_CS 1 B02 resource GYRO_CS 2 A04

timer

timer A03 AF3

pin A03: TIM9 CH2 (AF3)

timer B00 AF2

pin B00: TIM3 CH3 (AF2)

timer B01 AF2

pin B01: TIM3 CH4 (AF2)

timer B04 AF2

pin B04: TIM3 CH1 (AF2)

timer B03 AF1

pin B03: TIM2 CH2 (AF1)

timer C09 AF3

pin C09: TIM8 CH4 (AF3)

timer C08 AF3

pin C08: TIM8 CH3 (AF3)

timer A08 AF1

pin A08: TIM1 CH1 (AF1)

timer B08 AF2

pin B08: TIM4 CH3 (AF2)

dma

dma SPI_TX 1 NONE dma SPI_TX 2 NONE dma SPI_TX 3 NONE dma SPI_TX 4 NONE dma SPI_RX 1 NONE dma SPI_RX 2 NONE dma SPI_RX 3 NONE dma SPI_RX 4 NONE dma ADC 1 NONE dma ADC 2 NONE dma ADC 3 0

ADC 3: DMA2 Stream 0 Channel 2

dma UART_TX 1 NONE dma UART_TX 2 NONE dma UART_TX 3 NONE dma UART_TX 4 NONE dma UART_TX 5 NONE dma UART_TX 6 NONE dma UART_TX 7 NONE dma UART_TX 8 NONE dma UART_RX 1 NONE dma UART_RX 2 NONE dma UART_RX 3 NONE dma UART_RX 4 NONE dma UART_RX 5 NONE dma UART_RX 6 NONE dma UART_RX 7 NONE dma UART_RX 8 NONE dma pin A03 NONE dma pin B00 0

pin B00: DMA1 Stream 7 Channel 5

dma pin B01 0

pin B01: DMA1 Stream 2 Channel 5

dma pin B04 0

pin B04: DMA1 Stream 4 Channel 5

dma pin B03 0

pin B03: DMA1 Stream 6 Channel 3

dma pin C09 0

pin C09: DMA2 Stream 7 Channel 7

dma pin C08 0

pin C08: DMA2 Stream 2 Channel 0

dma pin A08 0

pin A08: DMA2 Stream 6 Channel 0

dma pin B08 0

pin B08: DMA1 Stream 7 Channel 2

`

waynoedm avatar Sep 10 '19 02:09 waynoedm

Forgive me for being late, so what should I do for inav to support this board?

ghost avatar Oct 27 '19 04:10 ghost

I don't get it either. Is it possible to change the JHEF7DUAL.hex file from betaflight to one that's readable by INAV? What can we do to speed up the process of Supporting the FC?

craterghost avatar Nov 01 '19 13:11 craterghost

I don't get it either. Is it possible to change the JHEF7DUAL.hex file from betaflight to one that's readable by INAV? What can we do to speed up the process of Supporting the FC?

Looking at the target.c of both betaflight and inav targets they seem to differ quite alot although I somehow managed to make a hex file for this specific fc though. I still couldn't manage to make the user modes work sadly

xD90o1 avatar Nov 01 '19 14:11 xD90o1

would u mind sending me the hex file u already made?

On Fri, Nov 1, 2019 at 3:02 PM +0100, "Ace Ervite" [email protected] wrote:

I don't get it either. Is it possible to change the JHEF7DUAL.hex file from betaflight to one that's readable by INAV? What can we do to speed up the process of Supporting the FC?

Looking at the target.c of both betaflight and inav targets they seem to differ quite alot although I somehow managed to make a hex file for this specific fc though. I still couldn't manage to make the user modes work sadly

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

craterghost avatar Nov 01 '19 14:11 craterghost

Forgive me for being late, so what should I do for inav to support this board?

As per the New Hardware Policy md, New targets are accepted into INAV code if the board manufacturer itself provides the specs, schematics, and production samples to at least 2 core devs. Or, a community member, or board manufacturer provides board samples to at least 1 core dev and the target itself already exists in the official Cleanflight or Betaflight firmware.

xD90o1 avatar Nov 01 '19 14:11 xD90o1

or I just write the code myself... can't be that hard tbh... not worth spending 20 bucks. The specs are pretty much the same as the matek F722 so I just try modding the code for the matek board with the parameters from the jhef7dual code from betaflight.

On Fri, Nov 1, 2019 at 3:55 PM +0100, "Ace Ervite" [email protected] wrote:

Forgive me for being late, so what should I do for inav to support this board?

Also as per the New Hardware Policy md, New targets are accepted into INAV code if the board manufacturer itself provides the specs, schematics, and production samples to at least 2 core devs. Or, a community member, or board manufacturer provides board samples to at least 1 core dev and the target itself already exists in the official Cleanflight or Betaflight firmware.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

craterghost avatar Nov 01 '19 15:11 craterghost

Has anyone had any luck getting this f7 flight controller working with i nav?? I would like to be able to use its features with more gps control...

redeyejoe avatar Nov 13 '19 22:11 redeyejoe

Has anyone had any luck getting this f7 flight controller working with i nav?? I would like to be able to use its features with more gps control...

I have quite some success except for the user modes. I just can't seem to get it working

xD90o1 avatar Nov 20 '19 02:11 xD90o1

hi inav team! great job so far!

is there any progress on this FC?

aknack avatar Dec 30 '19 09:12 aknack

Hello, I also have this FC and I have configured it with Betaflight, but I would like to have the INAV firmware, since I am building a Long Range quad with GPS.

JoseAntonioMG avatar Jan 09 '20 11:01 JoseAntonioMG

Has anyone had any luck getting this f7 flight controller working with i nav?? I would like to be able to use its features with more gps control...

I have quite some success except for the user modes. I just can't seem to get it working

did you make you own fireware or what are you using to make it work partially? Can you share the file you are using that is partially working? thanks,

redeyejoe avatar Jan 10 '20 19:01 redeyejoe

I started with a source code of a dual flight controller that's present here in inav and then I just go ahead and change the pinouts accordingly to match the ones used in the JHE F7 Dual. It's already working but I just can't make the user modes work

On Sat, Jan 11, 2020, 03:49 redeyejoe [email protected] wrote:

Has anyone had any luck getting this f7 flight controller working with i nav?? I would like to be able to use its features with more gps control...

I have quite some success except for the user modes. I just can't seem to get it working

did you make you own fireware or what are you using to make it work partially?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/5002?email_source=notifications&email_token=AHZRTEK2OHC73A7KYTHNS5TQ5DGM7A5CNFSM4IK2E5NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIVAUTY#issuecomment-573180495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZRTEOB5IGHC6FP3G25R33Q5DGM7ANCNFSM4IK2E5NA .

xD90o1 avatar Jan 10 '20 19:01 xD90o1

I started with a source code of a dual flight controller that's present here in inav and then I just go ahead and change the pinouts accordingly to match the ones used in the JHE F7 Dual. It's already working but I just can't make the user modes work … On Sat, Jan 11, 2020, 03:49 redeyejoe @.***> wrote: Has anyone had any luck getting this f7 flight controller working with i nav?? I would like to be able to use its features with more gps control... I have quite some success except for the user modes. I just can't seem to get it working did you make you own fireware or what are you using to make it work partially? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#5002?email_source=notifications&email_token=AHZRTEK2OHC73A7KYTHNS5TQ5DGM7A5CNFSM4IK2E5NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIVAUTY#issuecomment-573180495>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZRTEOB5IGHC6FP3G25R33Q5DGM7ANCNFSM4IK2E5NA . Can you share you file?

redeyejoe avatar Jan 10 '20 20:01 redeyejoe