Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Copy this file to config.mk and modify to get you personal build configuration
- ## Force device type string
- # CFLAGS += -DDEVICE_TYPE_STRING_FORCE="CF20"
- ## Force a sensor implementation to be used
- # SENSORS=bosch
- ## Set CRTP link to E-SKY receiver
- # CFLAGS += -DUSE_ESKYLINK
- ## Redirect the console output to the UART
- # CFLAGS += -DDEBUG_PRINT_ON_UART
- ## Redirect the console output to JLINK (using SEGGER RTT)
- # DEBUG_PRINT_ON_SEGGER_RTT = 1
- ## Load a deck driver that has no OW memory
- # CFLAGS += -DDECK_FORCE=bcBuzzer
- ## Load multiple deck drivers that has no OW memory
- # CFLAGS += -DDECK_FORCE=bcBuzzer:bcLedRing
- ## Enable biq quad deck features
- # CFLAGS += -DENABLE_BQ_DECK
- # CFLAGS += -DBQ_DECK_ENABLE_PM
- # CFLAGS += -DBQ_DECK_ENABLE_OSD
- ## Use morse when flashing the LED to indicate that the Crazyflie is calibrated
- # CFLAGS += -DCALIBRATED_LED_MORSE
- ## Disable LEDs from turning on/flashing
- # CFLAGS += -DTURN_OFF_LEDS
- ## Set the default LED Ring effect (if not set, effect 6 will be used)
- # CFLAGS += -DLEDRING_DEFAULT_EFFECT=0
- ## Set LED Rings to use less LEDs
- # CFLAGS += -DLED_RING_NBR_LEDS=6
- ## Set LED Rings to use less more LEDs (only if board is modified)
- # CFLAGS += -DLED_RING_NBR_LEDS=24
- ## Turn on monitoring of queue usages
- # CFLAGS += -DDEBUG_QUEUE_MONITOR
- ## Automatically reboot to bootloader before flashing
- # CLOAD_CMDS = -w radio://0/100/2M/E7E7E7E7E7
- ## Set number of anchor in LocoPositioningSystem
- # CFLAGS += -DLOCODECK_NR_OF_ANCHORS=8
- ## Set alternative pins for LOCO deck (IRQ=IO_2, RESET=IO_3, default are RX1 and TX1)
- # CFLAGS += -DLOCODECK_USE_ALT_PINS
- ## Disable Low Interference Mode when using Loco Deck
- # CFLAGS += -DLOCODECK_NO_LOW_INTERFERENCE
- ## Set the positioning system in TDoA2 mode on startup
- # LPS_TDOA_ENABLE=1
- ## Low interference communication
- # Set the 'low interference' 2.4GHz TX power. This power is set when the loco deck is initialized
- # Possible power are: +4, 0, -4, -8, -12, -16, -20, -30
- # CFLAGS += -DPLATFORM_NRF51_LOW_INTERFERENCE_TX_POWER_DBM="(-12)"
- ## Set alternative pins for uSD-deck. Patch soldering required (CS->RX2(PA3), SCLK->TX1(PC10), MISO->RX1(PC11), MOSI->IO_4(PC12))
- # CFLAGS += -DUSDDECK_USE_ALT_PINS_AND_SPI
- ## Use J-Link as Debugger/flasher
- # OPENOCD_INTERFACE ?= interface/jlink.cfg
- # OPENOCD_TARGET ?= target/stm32f4x.cfg
- # OPENOCD_CMDS ?= -c "transport select swd"
- ## TDaA 3 - experimental -------------------------------------------
- # Enable 2D positioning. The value (1.2) is the height that the tag will move at
- # Only use in TDoA 3
- # CFLAGS += -DLPS_2D_POSITION_HEIGHT=1.2
- # Enable longer range (lower bit rate)
- # Only use in TDoA 3
- # Note: Anchors must also be built with this flag
- # CFLAGS += -DLPS_LONGER_RANGE
- ## SDCard test configuration ------------------------------------
- # FATFS_DISKIO_TESTS = 1 # Set to 1 to enable FatFS diskio function tests. Erases card.
- ## To build with lighthouse support
- CFLAGS += -DDISABLE_LIGHTHOUSE_DRIVER=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement