-
Notifications
You must be signed in to change notification settings - Fork 267
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
CUST-CKFLIGHTF4 Custom Designed target #1326
Conversation
4.5 and beyond now uses config.h files. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ERROR: File configs/default/CUST-CKFLIGHTF4.config has got invalid (DOS) line endings.
@ckflight , please see https://betaflight.com/docs/development/Git#recommended-git-global-environment for recommended global settings which will mitigate line-ending issues. |
Hi, sorry for this mistake, i dont have experience on developing over github. I just created this file using sublime text and added to my github forked repository and the pulled it. What is the correct way of doing it. It is cross platform new line encoding issue i suppose. |
such is perfectly fine, i use sublimetext myself. just set your |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I edited file with github desktop app and used clrf settings as below so i hope it should work now
[core]
autocrlf = input
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = Cenk Keskin
email = [email protected]
Should revise the board to not share SPI but as I understand the board will not be public available.
|
It is already divided. SD Card uses spi 3 and OSD uses spi 2. I have corrected the mistake on the config file. In the near future i want to sell flight controller since this hobby is not well developed in Türkiye and i want to contribute with hardwares to the community. For now, I just wanted to add the board to betaflight environment since 4.5.0 now requires it. I have H7 design as well if this one goes well, i want to add that desing as well |
Lols, guess we need to head on to config repo instead. It was planned to lockout this repo for further development. |
Thank you so much i just moved to that part now. I will create config.h file |
I have my custom flight controller design where i have used for many years with my firmware as well as betaflight.
I was using STM32F4DISCOVERY firmware and CLI to program it. However after 4.5.0 update, i could not use STM32F4DISCOVERY. The cli configuration was not enough to set peripherals correctly.
I used other boards' config files and managed it to work. However i want my own config file now to be added to the betaflight targets if it is possible please.
The flight controller is tested many times and working. I can prove it as well.
The pin definitions are correct and DMA streams are selected accordingly.
Some Board Details:
MCU: STM32F405
Gyro&Acc: ICM20602
Barometer: MS5611
Mag: MLX90393 (it is not supported by betaflight i suppose so i did not add it to pin config)
On board Analog OSD: MAX7456
On board I2C external pin : I2C2
On board UART external pin: USART1 RX TX
On board UART external pin: UART4 RX TX
Selectable interverted rx receiver for sbus at UART6
2 User Leds
1 RGB (3.3v to 5v converted)
1 Buzzer with 4KHz pwm
SPI SDCard interface
1/10 scaled Lipo and current reading to ADC inputs
I am adding the board images as well.