Hi Guys,
After spending some hours trying to get this working from info on the informationSuperDirtTrack I have come up with a simple solution that works, here you go:
First install MacPorts if you have not done so. See: http://www.macports.org/
Then install arm-elf-gcc:
sudo port install arm-elf-gcc
Then check it is installed correctly:
arm-elf-gcc-4.5 --version
should produce:
arm-elf-gcc-4.5 (GCC) 4.5.0
Copyright (C) 2010 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.
Next we need to make some symbolic links, most code you see seems to use arm-none-eabi so we need to map this to arm-elf:
cd /opt/local/bin/
sudo ln -s arm-elf-gcc-4.5 arm-none-eabi-gcc
sudo ln -s arm-elf-as arm-none-eabi-as
sudo ln -s arm-elf-ld arm-none-eabi-ld
sudo ln -s arm-elf-objcopy arm-none-eabi-objcopy
sudo ln -s arm-elf-size arm-none-eabi-size
Get basic CMIS stuff here (section 5 zip file): http://dev.frozeneskimo.com/notes/compiling_your_own_cmsis_code_for_the_mbed
in the unzipped folder:
make
cp mbed_test.bin /Volumes/MBED
Reset your mBed and you should see the blinking light. It is going at the wrong speed, some issue with the timer stuff.
Cheers Andy
Hi Guys,
After spending some hours trying to get this working from info on the informationSuperDirtTrack I have come up with a simple solution that works, here you go:
First install MacPorts if you have not done so. See: http://www.macports.org/
Then install arm-elf-gcc:
sudo port install arm-elf-gcc
Then check it is installed correctly:
arm-elf-gcc-4.5 --version
should produce:
arm-elf-gcc-4.5 (GCC) 4.5.0
Copyright (C) 2010 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.
Next we need to make some symbolic links, most code you see seems to use arm-none-eabi so we need to map this to arm-elf:
cd /opt/local/bin/
sudo ln -s arm-elf-gcc-4.5 arm-none-eabi-gcc
sudo ln -s arm-elf-as arm-none-eabi-as
sudo ln -s arm-elf-ld arm-none-eabi-ld
sudo ln -s arm-elf-objcopy arm-none-eabi-objcopy
sudo ln -s arm-elf-size arm-none-eabi-size
Get basic CMIS stuff here (section 5 zip file): http://dev.frozeneskimo.com/notes/compiling_your_own_cmsis_code_for_the_mbed
in the unzipped folder:
make
cp mbed_test.bin /Volumes/MBED
Reset your mBed and you should see the blinking light. It is going at the wrong speed, some issue with the timer stuff.
Cheers Andy