If you can't connect to Betaflight after installing the driver, then like thouk suggested, go get a data cable that you know works. If the cable still doesn't work, you might have to short the boot to get into bootloader mode and flash firmware.
This page will show you how to create a hex file from the source code provided by Boris.
- A Mac that has Terminal Version 2.6.1 or later.
- ARM GCC 4.9 series compiler
- The
make
command implemented into Terminal.
In terminal type in
make
. If you receive this, the make
command is already implemented into terminal and you can move on to ARM GCC 4.9 install guide.make: *** No targets specified and no makefile found. Stop.
,If you don't see it, a popup should appear asking to install the tools. Click install. If you don't see the popup type:
xcode-select --install
.If that does not work, you will need to go to the App store on your computer and download Xcode. Go to the preferences menu, then to the downloads tab and install the 'command line tool' package.
//////////////////////////////////////////////////
update:or just use brew for gnu gcc-arm-none-eabi:
'brew tap PX4/homebrew-px4'
'brew update'
'brew install gcc-arm-none-eabi'
/////////////////////////////////////////////////
Cleanflight uses ARM GCC and it is a vital component to produce the hex file. First, go to https://launchpad.net/gcc-arm-embedded and click on 'All downloads' on the right side of the page. Scroll down until you see
gcc-arm-none-eabi-4_9-2015q3-20150921-mac.tar.bz2
. Macos terminal manual. Click on it so it downloads.Move the file to a desired spot, for example the Documents folder. Make sure you unpack the file.
bzip2 -d gcc-arm-none-eabi-4_9-2015q3-20150921-mac.tar.bz2
tar -xf gcc-arm-none-eabi-4_9-2015q3-20150921-mac.tar
The directory should look something like this, if you put it in the Documents folder.
/Users/siddha/Documents/gcc-arm-none-eabi-4_9-2015q3
Now open terminal and type:
nano ~/.profile
Next type:
export PATH=/Users/siddha/Documents/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH
**NOTE: You should insert the directory of your file..
/Users/siddha/Documents/gcc-arm-none-eabi-4_9-2015q3/bin
is an example **Now type CTRL + X to exit out, then type y to save.
In a new terminal window type:
arm-none-eabi-gcc --version
You should receive a message saying:
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 227977] Copyright (C) 2014 Free Software Foundation, Inc.
Betaflight Manual Connection On Mac Download
You can now move on to creating the hex file.
If you received:
arm-none-eabi-gcc: command not found
make sure you entered it in the directory correctly. If you made sure it was entered correctly and the error message still popped up, enter:nano .bash_profile
instead of nano ~/.profile
Enter the path in again then type CTRL + X to exit out and type y to save.
Now type:
Bitdefender for mac free download.
arm-none-eabi-gcc --version
you should see the version number pop up:
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 227977] Copyright (C) 2014 Free Software Foundation, Inc.
If you have zsh installed then you need one more thing. Type:
nano ~/.zshrc
Put the path here as well. Then open a new terminal and type:
arm-none-eabi-gcc --version
You will see:
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 227977] Copyright (C) 2014 Free Software Foundation, Inc.
Go to: https://github.com/borisbstyle/betaflight/releases and download the latest Source code (tar.gz). The tar.gz file will allow you to edit the Makefile, so you can pick a target. Once the file is downloaded make sure you un pack it.
However, you can choose a slower frame rate if necessary, such as the 25 fps setting for the international PAL and SECAM video standards.Click a Project Theme thumbnail to select a theme to apply to your finished movie.If you choose a theme, iMovie automatically adds the transitions and titles that correspond to that theme. The default frame rate is 30 frames per second (fps), which is normal for the North American NTSC video standard. If compatibility with the familiar SDTV (standard definition TV) format is important, choose the standard (4:3) ratio.If you’re shooting in 16:9 format, choosing 16:9 for an SDTV set will result in those familiar black letterbox bars at the top and bottom of the screen, but you won’t lose any content from the sides of the frame if you use 16:9. Imovie manual for mac 10. On the flip side, choosing 4:3 results in pillarboxing (black bars on the left and right) when shown on an HD set.Choose the frame rate.
Next, open up terminal and type:
cd
Now drag or type in the directory of the betaflight folder. It should look something like this:
cd /Users/siddhakilaru1/Downloads/betaflight-2.6.0
**NOTE: You should insert the directory of your file..
/Users/siddhakilaru1/Downloads/betaflight-2.6.0
is an example **Now click enter, and type:
make
This will begin the process of making the hex file. After everything is done, go into Betaflight folder. You will see a new folder named
obj
. Inside that folder you will see you the hex file.If you want to change the target, go into the Betaflight folder and you will see a file called
Makefile
.Inside the file you will see:
TARGET ?= NAZE
You can change
NAZE
to any of the following options:NAZE NAZE32PRO OLIMEXINO STM32F3DISCOVERY CHEBUZZF3 $(CC3D_TARGETS) CJMCU EUSTM32F103RC SPRACINGF3 PORT103R SPARKY ALIENFLIGHTF1 ALIENFLIGHTF3 COLIBRI_RACE LUX_RACE MOTOLAB RMDO IRCFUSIONF3 AFROMINI SPRACINGF3MINI SPRACINGF3EVO DOGE
This fork differs from Baseflight and Cleanflight in that it focuses on flight performance, leading-edge feature additions, and wide target support.
Betaflight has the following features:
- Multi-color RGB LED strip support (each LED can be a different color using variable length WS2811 Addressable RGB strips - use for Orientation Indicators, Low Battery Warning, Flight Mode Status, Initialization Troubleshooting, etc)
- DShot (150, 300, 600 and 1200), Multishot, and Oneshot (125 and 42) motor protocol support
- Blackbox flight recorder logging (to onboard flash or external microSD card where equipped)
- Support for targets that use the STM32 F7, F4 and F3 processors
- PWM, PPM, and Serial (SBus, SumH, SumD, Spektrum 1024/2048, XBus, etc) RX connection with failsafe detection
- Multiple telemetry protocols (CSRF, FrSky, HoTT smart-port, MSP, etc)
- RSSI via ADC - Uses ADC to read PWM RSSI signals, tested with FrSky D4R-II, X8R, X4R-SB, & XSR
- OSD support & configuration without needing third-party OSD software/firmware/comm devices
- OLED Displays - Display information on: Battery voltage/current/mAh, profile, rate profile, mode, version, sensors, etc
- In-flight manual PID tuning and rate adjustment
- Rate profiles and in-flight selection of them
- Configurable serial ports for Serial RX, Telemetry, ESC telemetry, MSP, GPS, OSD, Sonar, etc - Use most devices on any port, softserial included
- VTX support for Unify Pro and IRC Tramp
- and MUCH, MUCH more.