Bootloader compilation problem

smoothie-forum
(kiabonov_SW) #1

I have to make some changes to the bootloader code, the part defining ISP pinout. It seems that my every attempt to compile the sorce code finishes with errors.

I’ve tried to make the .bin file with BuildShell using the procedure that arthurwolf suggested :

  • Download the Smoothie source code
  • Run ./linux_install ( or whatever is appropriate for your OS )
  • Run ./BuildShell
  • In the same shell, download the bootloader’s source code
  • run make

BuildShell generated firmware files ( .hex, .bin ,.elf ) but no .bin file for bootloader. Also compilation finished with error:

Not a git repository ( or any of the parent directories) .git

The .git folder was downloaded with Bootloader files.
I had two failed attempts to fix this problem. At first i used command

git init

which resulted with creation of .git folder but compilation finished with error:

fatal: bad default revision 'HEAD'

. Then i changed the path directly to the Bootloader folder where .git folder is located. I got the following errors:

FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct
make: *** NO rule to make target 'build/system_LPC17xx.o', needed by ' build/nxp.ar', Stop.

Compilation with Eclipse finished with the same errors.

What am i doing wrong ?

Thanks in advance

Imported from wikidot

(kiabonov_SW) #2

Nevermind, i managed to successfully compile the bootloader code using Keil µVision 4 IDE.