-
Notifications
You must be signed in to change notification settings - Fork 18k
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
feat:hwdef.dat for betaflightf4 added #28659
feat:hwdef.dat for betaflightf4 added #28659
Conversation
change the directory names to "CrazyF405HD" BetaflightF4 is too generic |
a510f65
to
d2871b8
Compare
Renamed the BetaflightF4 to CrazzyF405 also removed the board id and added that in different PR |
@Hwurzburg is there anything from my side should be updated? |
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.
Needs a bootloader in Tools/bootloader
Needs to be two commits, one for bootloader titled Tools:add CrazyF405 bootloader
and another for other files titled hwdef: add CrazyF405:
MCU STM32F4xx STM32F405xx | ||
|
||
# board ID for firmware load | ||
APJ_BOARD_ID 1177 |
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.
APJ_BOARD_ID 1177 | |
APJ_BOARD_ID AP_HW_CrazyF405 |
MCU STM32F4xx STM32F405xx | ||
|
||
# board ID for firmware load | ||
APJ_BOARD_ID 1177 |
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.
APJ_BOARD_ID 1177 | |
APJ_BOARD_ID AP_HW_CrazyF405 |
# USART2 | ||
PA2 USART2_TX USART2 | ||
PA3 USART2_RX USART2 | ||
|
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.
this is the RC input
define DEFAULT_SERIAL3_PROTOCOL SerialProtocol_RCIN |
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.
Here Serial2_protocol should RCIN right??
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.
copy paste error sorry....right
define HAL_LOGGING_DATAFLASH_ENABLED 1 | ||
|
||
# OSD setup | ||
SPIDEV osd SPI2 DEVID1 OSD_CS MODE0 10*MHZ 10*MHZ |
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.
remove, this chip does not exist
|SERIAL0|COMPUTER|USB| | ||
|SERIAL1|RX1/TX1|UART1 ( DMA-enabled)| | ||
|SERIAL2|TX2/RX2|UART2 (ELRS, internal) | ||
|SERIAL6|RX6|UART6 (DMA-disabled)| |
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.
|SERIAL6|RX6|UART6 (DMA-disabled)| | |
|SERIAL5|RX6|UART6 (USER,DMA-disabled)| |
|
||
## RC Input | ||
|
||
RC input is configured on the on-board ELRS on UART2 or through (UART2_RX/UART2_TX) pins. It supports all serial RC protocols. |
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.
how do you disable the ELRS module to allow an external RC on TX2/RX2????
|
||
Once the initial firmware is loaded you can update the firmware using | ||
any ArduPilot ground station software. Updates should be done with the | ||
*.apj firmware 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.
*.apj firmware files. | |
\*.apj firmware files. |
|
||
## PWM Output | ||
|
||
The Carzyf405HD AIO has 4 PWM outputs internally connected to its 4-in-1 ESC. The pads for motor output are M1 to M4 on the board. All 4 outputs support bi-directional DShot and DShot, as well as all PWM types. The default configuration is for DShot using the already installed BlueJay firmware. |
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.
your hwdef does NOT support bi-directional DShot. it may, but does not now
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.
Ya ,so i will mention about the DSHOT only
@Hwurzburg can i updated your changes and rebase this repo to updated changes?? Or do you need me to commit here |
update this PR by making those changes in your Srivenkateshwar:add-hwdef.dat-for-beatflightf4-hardware branch...they will appear here... FYI the commit names/grouping are not correct, I could fix for you, but you did not check the box "allow maintainers to update" when you created the pull request....if you give me access to your repo, I can do it for you when all changes have been done |
d2871b8
to
cbfc419
Compare
cbfc419
to
98f3f59
Compare
No description provided.