Newbie MIOS32 toolchain question
Posted 12 October 2011 - 18:19
I've been trying to get my toolchain install sorted, but running up against a few snags. I'm not sure if all the wiki info is up to date, and not been able to find answers searching the forums so please go easy if the answers are out there! I've mainly been following the guide at http://www.midibox.o...oolchain_core
I'm running Windows 7 64 bit and my target board is the LPC17.
1. MinGW errors - it seems it doesn't play nicely with Win7 64 bit and the postinstaller script dies with a memory allocation error. However MinGW does seem to work afterwards - should I be concerned?
2. Environment variables - the guide linked above says to configure this:
I'd just like to check that these are all appropriate if my target build is the LPC17? Or will it be ok with having the same core CPU? Is there anything that needs setting up as LPC17 in order for compiled in libraries to build the right target?
3. Downloading from WebSVN. I can't seem to download any of the content from the WebSVN - I just get 35 bytes of nothing downloading. Could someone explain whether this is normal and I'll have to install the full SVN client end?
I'm just trying to pull down some of the tutorials and supporting libraries in order to try compiling examples to test everything. I hope to get this done while i'm waiting for my hardware parts to arrive! (I've got the LPCExpresso and bootloaded it ok so far...)
Many thanks guys
Posted 12 October 2011 - 18:55
Would still appreciate advice on points 1 and 2 though.
Posted 12 October 2011 - 19:17
regarding 1) if everything else works, don´t worry
2) you need to adjust for LPC17... these settings are for the old STM32 core... here are my environment variables for reference...
Posted 12 October 2011 - 19:21
After some guesswork I set the environment vars to:
.. and had a successful make (tried one of the tutorial apps). No errors! I'm not sure how critical the MIOS32_BOARD value is?
I now have to wait until my parts arrive before I can try a download, but I'm very excited.
Now off to post my other question in the apps forum!
Posted 12 October 2011 - 19:31
Have fun coding for MIDIbox - it is really nice!
Posted 03 May 2012 - 14:52
I have installed the toolchain as described here : http://www.midibox.o...oolchain_core
But I still have errors when i try the make command in the 1st tutorial folder (001_forwarding_midi). Here is a screen :
What I have done wrong ?
Maybe I have to type
in a particular place ?
I have written it just after typing cmd in the command window, so the actual PATH was C:\Users\Cubess. Maybe the previous commands (set MIOS32, etc) don't have to be typed here ?
Sorry I'm also a Newbie.
Posted 03 May 2012 - 15:19
Now i have this :
C:/Users/.../mios32/trunk/include/makefile/common.mk:126: *** multiple target patterns. Stop.
Restart everything to the begining and now i have this :
rm -f project.hex
Creating object file for app.c
make: arm-none-aebi-gcc: Command not found
make: *** [project_build/app.o] Error 127
Edited by Cubess95, 03 May 2012 - 17:56.
Posted 18 May 2012 - 16:23
Have a good day.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users