代码拉取完成,页面将自动刷新
sudo: required
language: c
services:
- docker
before_install:
- docker pull bitcraze/builder
script:
# Build cf2 basic
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 UNIT_TEST_STYLE=min
# Build cf2 with "all" features enabled
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 DEBUG=1 "EXTRA_CFLAGS=-DCALIBRATED_LED_MORSE -DIMU_TAKE_ACCEL_BIAS -DIMU_MPU6500_DLPF_256HZ -DMADWICK_QUATERNION_IMU -DDEBUG_QUEUE_MONITOR -DENABLE_BQ_DECK -DSITAW_ENABLED -DOW_WRITE_TEST -DOW_READ_TEST -DDEBUG_PRINT_ON_UART -DENABLE_UART1 -DENABLE_UART2" UNIT_TEST_STYLE=min
# Build cf2 with bosch sensors
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 SENSORS=bosch UNIT_TEST_STYLE=min
# Build cf2 with TDMA
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 LPS_TDMA_ENABLE=1 "EXTRA_CFLAGS=-DTDMA_NSLOTS_BITS=1 -DTDMA_SLOT=0" UNIT_TEST_STYLE=min
# Build cf2 with TDOA2 positioning mode
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 LPS_TDOA_ENABLE=1 UNIT_TEST_STYLE=min
# Build cf2 with TDOA3 positioning mode
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 LPS_TDOA3_ENABLE=1 UNIT_TEST_STYLE=min
# Build cf2 with TDOA3 and all config options
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 LPS_TDOA3_ENABLE=1 "EXTRA_CFLAGS=-DLPS_2D_POSITION_HEIGHT=1.2 -DLPS_LONGER_RANGE" UNIT_TEST_STYLE=min
# Build Bigquad deck with all config options
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 "EXTRA_CFLAGS=-DENABLE_BQ_DECK -DBQ_DECK_ENABLE_OSD -DBQ_DECK_ENABLE_PM" UNIT_TEST_STYLE=min
# Build the tag platform
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=tag UNIT_TEST_STYLE=min
# Build with the lighthouse driver
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 "EXTRA_CFLAGS=-DDISABLE_LIGHTHOUSE_DRIVER=0" UNIT_TEST_STYLE=min
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。