Skip to content

Instantly share code, notes, and snippets.

@sokil
Last active February 24, 2024 11:08
Show Gist options
  • Save sokil/6961f2e9fe3856056862f27a77dd5ee5 to your computer and use it in GitHub Desktop.
Save sokil/6961f2e9fe3856056862f27a77dd5ee5 to your computer and use it in GitHub Desktop.
BetaFlight

Compile

Compile locally

make arm_sdk_install

Compile using Docker

docker run \
  -v /home/sokil:/output \
  betaflight/cloudbuild:4.4.3 \
  /build/build.sh 4.4.3 STM32F405 \
  "-D'BUILD_KEY=e5a0be660f3e0a8365a77ff62e2f47c0' -D'RELEASE_NAME=4.4.3' -D'BOARD_NAME=SPEEDYBEEF405V3' -D'MANUFACTURER_ID=SPBE' -DCLOUD_BUILD -DUSE_ACC -DUSE_ACCGYRO_BMI270 -DUSE_AKK_SMARTAUDIO -DUSE_BARO -DUSE_BARO_DPS310 -DUSE_BATTERY_CONTINUE -DUSE_CAMERA_CONTROL -DUSE_DASHBOARD -DUSE_DSHOT -DUSE_EMFAT_AUTORUN -DUSE_EMFAT_ICON -DUSE_EMFAT_TOOLS -DUSE_GPS -DUSE_GPS_PLUS_CODES -DUSE_GYRO -DUSE_LED_STRIP -DUSE_MAX7456 -DUSE_OSD -DUSE_OSD_HD -DUSE_OSD_SD -DUSE_PINIO -DUSE_SDCARD -DUSE_SERIALRX -DUSE_SERIALRX_CRSF -DUSE_SERIALRX_DEFAULT -DUSE_SERIALRX_GHST -DUSE_SERIALRX_SBUS -DUSE_TELEMETRY -DUSE_TELEMETRY_CRSF -DUSE_TELEMETRY_GHST -DUSE_VTX"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment