-
Notifications
You must be signed in to change notification settings - Fork 112
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 Design config #431
Conversation
recommend inspecting some other config.h files. |
Check https://betaflight.com/docs/development/manufacturer/creating-configuration Can do it manually or use |
make CKFLIGHF4 EXTRA_FLAGS="-DUSE_TIMER_MAP_PRINT" |
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.
It is working. I have build for CKFLIGHTF4 and tested on drone. Everything works like a charm :)
Thank you so much for your help, contributions and corrections. |
I have created config.h file after completing the CUST-CKFLIGHTF4.config file.
reference: betaflight/unified-targets#1326
However, I do not fully understand the timer mapping and ADC_DMA_OPT line:
B5, B6, B7 and A2 are motor dshot pins which requires timer and dma.
C8 is RGB Led strip pin which requires dshot like protocol so timer and dma is needed as well.
B0 is buzzer pin which requires timer for 4KHz pwm but dma might not be needed (i did not add dma line for this)
As a result how should i set timer mapping lines for config.h file. 4th is the same number of dma pin "pin number" "number". 2nd column is the pin numbe and 1st is for indexing. 3rd column is the part i do not understand.
Also Battery and Current adc is available on board how should i set this line: