Here's what I've got so far:
- Mac OS X 10.8.4 on a MacBook Pro
- Installed Companion9x and dfu-util
- Installed Xcode via the Apple Store
- Installed Xcode Command Line Tools via Xcode->Preferences->Downloads
- Used Xcode to do a svn checkout from http://opentx.googlecode.com/svn/trunk/
- Installed the appropriate version of MacPorts from http://www.macports.org/install.php
- Installed ARM support using MacPorts from the Terminal via sudo port install arm-none-eabi-gcc
- See UPDATE below..
Code: Select all
make PCB=TARANIS PCBREV=REV4 HELI=YES GVARS=YES AUTOSWITCH=YES AUTOSOURCE=YES PPM_LIMITS_SYMETRICAL=YES PPM_CENTER_ADJUSTABLE=YES TRANSLATIONS=EN TEMPLATES=YES DBLKEYS=YES
Code: Select all
-------- begin --------
arm-none-eabi-gcc (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Size before:
text data bss dec hex filename
190692 872 44064 235628 3986c opentx.elf
///// A bunch of compiler output, but no errors /////
Creating load file for Flash: opentx.bin
arm-none-eabi-objcopy -O binary opentx.elf opentx.bin
Size after:
text data bss dec hex filename
190692 872 44064 235628 3986c opentx.elf
-------- end --------
Here's where my current issue presents itself. Something is wrong with the firmware, when I turn on the controller, the Splash screen comes up, then the controller appears to power-cycle, which brings the Splash screen up again, and then it loops until I shut it off.
I was able to burn the original firmware back on, and it worked fine. I also upgraded to the latest revision of the firmware, as downloaded by companion9x.
I'm hoping I'm making an obvious mistake that someone else can easily point out.
UPDATE - Working
I don't know if it's just that the Mac Ports version is too old, or if it's configured differently, but this seems to work fine:
Download the Mac binary version of gcc-arm-none-eabi from Launchpad, which at the time of writing this is gcc-arm-none-eabi-4_7-2013q2-20130614-mac.tar.bz2
Extract to /opt/ and Install with the following commands:
Code: Select all
cd /opt
sudo ln -s gcc-arm-non-eabi-4_72013q2 arm
echo "PATH=$PATH:/opt/arm/bin" >> ~/.bash_profile
Thanks,
Matt