Hey,
maybe you can help me giving some background information about the two lines in the following:
Yesterday I started by downloading the ftp://ftp.lansystems.co.uk/pub/midibox/mios32_toolchain_intelmac_20101024.zip
I didn´t bother about the intelmac(yeah, I don´t know much about compiling yet) and it didn´t work.
After that I started to install XCode(yeah, I didn´t read the first sentence of the howto) and after that I tried the way with installing gputils and sdcc.
mios32
export PATH=$PATH:/usr/local/stm32/bin //What is this for? Where does it come from sdcc, gputils or ?
export MIOS32_PATH=/mios32/trunk //This is a part of the svn files which are platform independent, source C whatever?
export MIOS32_BIN_PATH=$MIOS32_PATH/bin
export MIOS32_GCC_PREFIX=arm-none-eabi
export MIOS32_FAMILY=STM32F10x
export MIOS32_PROCESSOR=STM32F103RE
export MIOS32_BOARD=MBHP_CORE_STM32
export MIOS32_LCD=clcd
mios32 end
In the Wiki I found setting up the toolchain in OS X:
…
2- install the STM32 toolchain
The MIDIbox community have created a modified GNU Compiler Collection, ready for use with the ARM Cortex M3 platform. The toolchain contains all of the tools required to build MIOS32 applications including GCC and NEWLIB.
The download is only for Intel Mac, also the PATH is slightly different:
…
In our case, we need to set up the path variable for the STM32 toolchain: type in the terminal
export PATH=$PATH:/usr/local/mios32_toolchain/bin
and then we need to set up variables for mios32 itself:
export MIOS32_PATH=~/svn/mios32/trunk
export MIOS32_BIN_PATH=$MIOS32_PATH/bin
export MIOS32_GCC_PREFIX=arm-none-eabi
export MIOS32_FAMILY=STM32F10x
export MIOS32_PROCESSOR=STM32F103RE
export MIOS32_BOARD=MBHP_CORE_STM32
export MIOS32_LCD=clcd
Here I considered that you have put all the files downloaded from the svn server in the directory â€~/svn/mios32/trunk†but up to you to put them elsewhere if you want and change the “MIOS32_PATH†variable accordingly.
Can I compile Newlib for PPC? GCC is a part of the XCode/ Developer Tools from OS X?
I hope you have some more patience with me.
See you.
Michael