iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.19k stars 1.48k forks source link

Can INAV support STM32F411 series ? #2685

Closed nyway closed 6 years ago

nyway commented 6 years ago

I have a board,the mcu is STM32F411CEU6. I chance some codes in target.h and flash it,and nothing happen So I don't know INAV can support

shellixyz commented 6 years ago

Too little info. What is it ? There is probably nothing preventing iNav to work on this MCU providing matching target files are filled with the right info.

nyway commented 6 years ago

@shellixyz You mean STM32F411 series can be supported in iNav? Maybe my target files config error,i will check it

shellixyz commented 6 years ago

Yes. Where did you get this board from ?

nyway commented 6 years ago

@shellixyz I designed it myself,just for test fly wing and multirotor. I build target,but not working.I don't know if something wrong in define for f411

shellixyz commented 6 years ago

Did you put it in the F411_TARGETS group in target.mk ?

F411_TARGETS   += $(TARGET)
nyway commented 6 years ago

Yes,same as betaflight . And everything normal working in betaflight

shellixyz commented 6 years ago

Well i'm afraid I won't be much more useful. I don't know enough about STM32 MCUs. I guess there is something in the initialization code that blocks the boot-up. I guess you could use HW debug if you broke the debugging pins out.

nyway commented 6 years ago

@shellixyz OK, I will continue to test. Thanks for your help

YFZ450MANNY commented 6 years ago

I just purchased a FC that has that same F411 MCU. Was hoping to load iNav on it for a delta wing project, but I don’t see a target for it in the flashing dropdown box. :(

digitalentity commented 6 years ago

@YFZ450MANNY which FC did you purchase? Support for 411 is coming

nyway commented 6 years ago

@digitalentity DALRCF411 target can support betaflight,but not support in inav yet,i try to change the target.h code ,but not success,could't run.Do you have source code can support F411 now with inav?

YFZ450MANNY commented 6 years ago

@digitalentity , YYEESSSSS!!!! lol. Thank you. This is the FC I purchased. https://www.banggood.com/F4_SVTX-STM32F411C-Flight-Controller-Integrated-5_8G-48CH-25100200mW-Switchable-VTX-OSD-20x20mm-p-1271788.html?rmmds=myorder&cur_warehouse=CN

Any timeframe on when it will be supported? Not trying to rush anyone.. Just want to have an idea on how long I will put this project aside.

fiam commented 6 years ago

@YFZ450MANNY The problem with that FC specifically for INAV is that it doesn't have any uarts broken out for GPS. Do you plan to solder directly to the MCU?

nyway commented 6 years ago

@digitalentity @fiam This is DALRC F411.With STM32F411CEU6 1 2

YFZ450MANNY commented 6 years ago

@fiam I'm not planning to use GPS at all on this build. Just simple gyro assisted flight and pass-through. It's a very small delta wing. 450mm WS.

digitalentity commented 6 years ago

@fiam since we added better airplane support to INAV many boards without GPS/compass support suddenly became relevant because of INAV's capability to act as a stabilizer for fixed-wing aircraft (even without RTH and other GPS-assisted features)

fiam commented 6 years ago

@YFZ450MANNY @digitalentity That makes sense. With GPS modules being so cheap these days, I wouldn't buy an FC without at least one uart, but I understand some pilots just want stabilization.

stale[bot] commented 6 years ago

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.

digitalentity commented 6 years ago

This is done