Hi,
Thank you for your help.
"When you pull up a regular command prompt can you run
arm-none-eabi-gcc --version
to double check that it's actually on your system path?"
I got the wrong info, which implied that the tool chain was not on my system path.
Now I make it work and get the right version info.
"What environment are you running make from? Does Windows 7 include build toolchain or do you have MiniGW/cygwin set up?"
I run make in the cmd line of windows 7. I think the g++ toolchain has been included. And also I have MiniGW set up.
"What version of make are you using?
make --version"
I got the info like:
GNU Make 3.81
Copyright(c)2006.....
...
This program built for i386-pc-mingw32
===============================================
Now I do as following:
1. open the command line by runing cmd.exe on win7.
2. change to the directory of D:\Program Files\maple-ide-0.0.6\hardware\leaflabs\bootloaders\maple
2. Add the gcc toolchain to the user environment path, including the directory of:
D:\Program Files\maple-ide-0.0.6\hardware\tools\arm\bin;
D:\Program Files\maple-ide-0.0.6\hardware\tools\arm\lib;
D:\Program Files\maple-ide-0.0.6\hardware\tools\arm\libexec\gcc\arm-none-eabi\4.4.1
D:\Program Files\maple-ide-0.0.6\hardware\tools\arm\arm-none-eabi\bin
D:\Program Files\maple-ide-0.0.6\hardware\tools\arm\arm-none-eabi\include
D:\Program Files\maple-ide-0.0.6\hardware\tools\arm\arm-none-eabi\lib
3. Run make , and got the new error:
Compiling C:main.c
arm-none-eabi-gcc -c -mthumb ...
...
Assembler messages:
Fatal error: can't create build/main.o:No such file or directory
make:***[build/main.o]Error 1
Could you help me about this?
PS:
1. What I want to do finally is to download the bootloader file (hex ?) to a raw maple through UART1 by the tool Flash Loader Demo.
2. I had read the flash content from a maple already with bootloader into a hex file.
3. However the raw maple downloaded with the read flash file won't work.(the led did not blink, and the no signal from the 8MHz crystal oscillator)
4. I will be also appreciate if an complied bootloader (hex file?) is supplied.
Thank you!
-Icing