Skip to main content

Posts

Showing posts from 2017

Betaflight resource remapping with DSHOT

Since Betaflight 3.x.x there is possibility to remap your motor outputs. This allows you to use different pins in case some of them are broken. There are few tutorials on youtube how to remap your outputs, but I found only one, which takes into account DSHOT. Problem with remapping with DSHOT is that, not every flight controller output can be used as a DSHOT output. But how to find which output can be used for DSHOT? First, if you already made some changes to resources in CLI, revert them or re-flash your flight controller. Depending on your board, select the quadcopter type with same amount of motors as yours. I'm using SPRACINGF3EVO which has 8 motor outputs, so I selected "Octo Flat +" Go to the CLI and run command "resource" and then "resource list" Copy and whole output to the notepad You should get something as follows, with importrant parts in BOLD. # resource resource BEEPER 1 C15 resource MOTOR 1 A00 resource MOTOR 2 A01 ...

Jenkins - Git branch fallback with Git Chooser Alternative Plugin

If you need to have a fallback for your git branch selection in Jenkins, for example in case you're selecting branch for top project which has more subprojects. You can use  Git Chooser Alternative Plugin . After installing it in Jenkins, you have to setup your Source Code Management section as follows: Add two (or more) branches in to section "Branches to build". In example below, I'm using placeholders "primaryBranch" as a primary branch and "branch" as fallback one. Then set strategy as "Alternative" and you're done!